Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2021.04, v2021.07-rc4 are OUT / Merge Window is CLOSED and next is OPEN / Release v2021.07 is scheduled for 05 July 2021 / http://www.denx.de/wiki/U-Boot / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has joined #u-boot
georgem has quit [Quit: Connection closed for inactivity]
vagrantc has quit [Ping timeout: 272 seconds]
tchebb has joined #u-boot
cottsay has quit [Quit: TTFN]
cottsay has joined #u-boot
agust has joined #u-boot
frieder has joined #u-boot
gsz has joined #u-boot
vagrantc has joined #u-boot
vagrantc has quit [Quit: leaving]
monstr has joined #u-boot
sszy has joined #u-boot
LokeshV has joined #u-boot
LokeshV is now known as lokeshvutla
mckoan|away is now known as mckoan
guillaume_g has joined #u-boot
bq has quit [Ping timeout: 252 seconds]
bq has joined #u-boot
smartin has joined #u-boot
fdanis_away has quit [Quit: Coyote finally caught me]
cottsay has quit [Quit: TTFN]
cottsay has joined #u-boot
Daulity has joined #u-boot
lokeshvutla has quit [Ping timeout: 252 seconds]
milkylainen_ has joined #u-boot
g5pw has quit [Remote host closed the connection]
g5pw has joined #u-boot
tnovotny has joined #u-boot
alpernebbi has joined #u-boot
alan_o has quit [Ping timeout: 272 seconds]
alan_o has joined #u-boot
<milkylainen_> marex: Posted two patches, but no response so far.
LokeshV has joined #u-boot
agust has quit [Quit: Leaving.]
agust has joined #u-boot
sszy has quit [Ping timeout: 258 seconds]
sszy has joined #u-boot
georgem has joined #u-boot
macromorgan is now known as Guest9735
Guest9735 has quit [Killed (osmium.libera.chat (Nickname regained by services))]
macromorgan has joined #u-boot
g5pw has quit [Changing host]
g5pw has joined #u-boot
monstr has quit [Ping timeout: 244 seconds]
ilunev has joined #u-boot
monstr has joined #u-boot
<milkylainen_> cmd zboot must be the epitome of unusable cmdline interface messes.
pgreco has quit [Quit: ZNC 1.8.2 - https://znc.in]
pgreco has joined #u-boot
<marex> milkylainen_: is zboot and bootz the same thing ?
<milkylainen_> marex: nope. and every bloody command has it's own syntax.
<marex> milkylainen_: excellent
<milkylainen_> raw initrd in booti is %p:%x
<milkylainen_> initrd in x86 is %p %x
<milkylainen_> no :
<marex> I still dont understand why booti even exists ... what sort of braindeath is that
<marex> booting arm64 Image could've been an extension to bootz
<milkylainen_> booti.. that's ARM64 right?
<marex> yes
<milkylainen_> Yes. I still don't get the 15 variants of boot.
<milkylainen_> Just probe the loadaddr and be done with it. Choose parameters internally
<milkylainen_> marex: The zboot interface is broken too.
<milkylainen_> zboot [addr] [size] [initrd addr] [initrd size] [setup] [cmdline]
<milkylainen_> with several of them being "optional" as per the help
<milkylainen_> Now how the hell can they be "optional" with that kind of input?
<milkylainen_> Yeah. Ignore [size]. Now is initrd addr size or what?
<marex> milkylainen_: defrag is needed ?
<milkylainen_> marex: Mm. U-boot boot interfaces need a 2xxx revamp...
<marex> milkylainen_: maybe we need some more standardized interface in general ?
<milkylainen_> marex: That would be nice. Atleast make it somewhat portable for the userside across different architectures.
<milkylainen_> Moving U-boot between archs creates a bit of a interface mess.
<milkylainen_> Ie. Moving a "boot solution" for a vendor / user between archs...
pgreco has quit [Quit: ZNC 1.8.2 - https://znc.in]
pgreco has joined #u-boot
<marex> milkylainen_: sounds good, I think you have your share of work cut out for you :)
<milkylainen_> :)
<cambrian_invader> bootm works with everything afaik, but you do have to have a FIT and not (e.g.) a vmlinuz
<cambrian_invader> I think a lot of these commands are around forever because of the existance of `boot.scr`s which expect certain commands to exist
<milkylainen_> cambrian_invader: I saw the note. Prefer to not use FIT image.
<cambrian_invader> what's your reasoning?
<marex> cambrian_invader: bootm works with uImage/fitImage only
<cambrian_invader> right
<marex> milkylainen_: fitImage is the recommended format, so yes, please use it
<cambrian_invader> the only issue I have with FITs are that you have to know what address to load your images ahead of time
tnovotny has quit [Quit: Leaving]
<marex> cambrian_invader: do you
<cambrian_invader> afaik, yes
<marex> no
<marex> it depends on the image
<cambrian_invader> ok, so say I have a FIT with a kernel, fdt, and initramfs, none of which have load properties
<cambrian_invader> does that work out of the box?
<marex> cambrian_invader: it depends
<Sout_> hmm is there a default load address?
LokeshV has quit [Quit: Leaving]
lokeshvutla has joined #u-boot
<Sout_> btw load address is in ram location not on disk location. i know once load the kernel it has a location it will look at iirc (unless the ramfs image is embedded in the kernel ?)
<cambrian_invader> marex: ok, so bootm_find_os calls fit_image_get_load and will fail if it doesn't find a load address
<cambrian_invader> so you must have a load address for your kernel at the very least
<cambrian_invader> which means you need to know at image creation time where to load your kernel
<marex> cambrian_invader: so are you trying to find a specific counter-example ?
<marex> cambrian_invader: you can create a fitImage without kernel embedded in it, e.g. for firmware ... and that might not need load address
<marex> but that discussion is completely pointless
<cambrian_invader> sure, but I'm talking about replacements for e.g. booti/bootz
<marex> Sout_: there is $loadaddr , which is the default load address
Sout_ is now known as Sout
<marex> FDT gets relocated to end of RAM
<marex> initramfs, depends ...
kpo has quit [Ping timeout: 272 seconds]
<milkylainen_> cambrian_invader: you mean beside yet another layer of wrapping?
<milkylainen_> Not much, besides that.
samueldr has quit [Read error: Connection reset by peer]
mvaittin has quit [Read error: Connection reset by peer]
cpackham[m] has quit [Read error: Connection reset by peer]
cpackham[m] has joined #u-boot
samueldr has joined #u-boot
mvaittin has joined #u-boot
ilunev has quit [Quit: Textual IRC Client: www.textualapp.com]
alpernebbi has quit [Quit: alpernebbi]
<dgilmore> every system that follows the distro default has variables defined that specify suitable locations for kernel, initramfs, fdt, etc
<milkylainen_> dgilmore: ?
<milkylainen_> dgilmore: Sure. But I don't understand if you were answering me or someone else? I don't see how "distro defaults" is related to bootcmds being a bit of a miss.
sszy has quit [Ping timeout: 252 seconds]
<dgilmore> just commenting that there are multiple defined places to load things.
tlwoerner_ is now known as twoerner
twoerner has quit [Quit: Leaving]
tlwoerner has joined #u-boot
frieder has quit [Remote host closed the connection]
redbrain has joined #u-boot
mckoan is now known as mckoan|away
Tartarus has quit [*.net *.split]
rfs613 has quit [*.net *.split]
rfs613 has joined #u-boot
Tartarus_ has joined #u-boot
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #u-boot
monstr has quit [Remote host closed the connection]
sigmaris has quit [Ping timeout: 272 seconds]
sigmaris has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
Tartarus_ is now known as Tartarus
lokeshvutla has quit [Remote host closed the connection]
smartin has quit [Quit: smartin]
Guest38 has joined #u-boot
gsz has quit [Quit: leaving]
redbrain has quit [Ping timeout: 250 seconds]
Guest38 has quit [Quit: Client closed]
agust has quit [Quit: Leaving.]