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
Pali has quit [Ping timeout: 268 seconds]
mmu_man has quit [Ping timeout: 268 seconds]
cottsay has quit [Ping timeout: 252 seconds]
cottsay has joined #u-boot
jwillikers has joined #u-boot
jybz has quit [Ping timeout: 272 seconds]
richbridger has joined #u-boot
aquijoule_ has quit [Read error: Connection reset by peer]
jybz has joined #u-boot
jwillikers has quit [Remote host closed the connection]
milkylainen has quit [Quit: Ping timeout (120 seconds)]
manu has quit [Read error: Connection reset by peer]
manu has joined #u-boot
LeSpocky_ has joined #u-boot
LeSpocky has quit [Ping timeout: 272 seconds]
samueldr has quit [Remote host closed the connection]
jordemort has quit [Write error: Connection reset by peer]
mvaittin has quit [Remote host closed the connection]
cpackham[m] has quit [Remote host closed the connection]
cpackham[m] has joined #u-boot
mvaittin has joined #u-boot
samueldr has joined #u-boot
jordemort has joined #u-boot
jordemort has quit [Quit: node-irc says goodbye]
cpackham[m] has quit [Quit: node-irc says goodbye]
mvaittin has quit [Quit: node-irc says goodbye]
samueldr has quit [Quit: node-irc says goodbye]
qschulz has quit [Ping timeout: 240 seconds]
vigneshr has joined #u-boot
agust has joined #u-boot
LeSpocky_ is now known as LeSpocky
redbrain has joined #u-boot
milkylainen has joined #u-boot
fdanis_away is now known as fdanis
matthias_bgg has joined #u-boot
mckoan|away is now known as mckoan
flyback has quit [Ping timeout: 244 seconds]
sszy has joined #u-boot
flyback has joined #u-boot
cpackham[m] has joined #u-boot
mvaittin has joined #u-boot
jordemort has joined #u-boot
samueldr has joined #u-boot
jordemort has quit [Quit: Client limit exceeded: 20000]
swiftgeek has quit [Ping timeout: 272 seconds]
cpackham[m] has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
samueldr has quit [Quit: Client limit exceeded: 20000]
swiftgeek has joined #u-boot
cpackham[m] has joined #u-boot
mvaittin has joined #u-boot
samueldr has joined #u-boot
jordemort has joined #u-boot
jordemort has quit [Quit: Client limit exceeded: 20000]
cpackham[m] has quit [Quit: Client limit exceeded: 20000]
mvaittin has quit [Quit: Client limit exceeded: 20000]
samueldr has quit [Quit: Client limit exceeded: 20000]
eduardas has joined #u-boot
cpackham[m] has joined #u-boot
qschulz has joined #u-boot
cpackham[m] has quit [Remote host closed the connection]
tnovotny has joined #u-boot
Pali has joined #u-boot
cpackham[m] has joined #u-boot
mvaittin has joined #u-boot
samueldr has joined #u-boot
jordemort has joined #u-boot
lukma has quit [Ping timeout: 252 seconds]
lukma has joined #u-boot
<rfried> mwalle: done
<mwalle> rfried: thanks! :)
akaWolf has quit [Ping timeout: 268 seconds]
sszy has quit [Ping timeout: 240 seconds]
<gcl> xypron: I've got an odd EFI console problem on the RockPro64-rk3399
<gcl> xypron: when nothing is connected to HDMI, the console is fast, and grub is responsive
<gcl> xypron: but if I connect a monitor and U-Boot is driving the display it is very slow. I presume because the framebuffer console isn't optimized
<gcl> have you witnessed this at all?
mmu_man has joined #u-boot
akaWolf has joined #u-boot
<gcl> anyone tried recent U-Boot on the Rockpro64? I'm seeing USB-related hangs when booting via UEFI.
<gcl> ExitBootServices() doesn't complete. I've bisected it down to the first enabling of USB3: commit 3ae64582fb, "rockchip: rockpro64: Enable USB3.0 Host"
<gcl> I can work around it by commenting out the ohci_shutdown_phy() and ehci_shutdown_phy()
<xypron> gcl: is maintained by marex
<xypron> usb is ...
<xypron> gcl: I don't have a monitor on my small devices
<sigmaris> gcl: sounds similar to the issue described in https://lists.denx.de/pipermail/u-boot/2021-April/446439.html maybe
akaWolf has quit [Ping timeout: 258 seconds]
jwillikers has joined #u-boot
<gcl> sigmaris: I was just talking to pbrobinson and he pointed me at the same patch
<gcl> I'm going to give it a spin and see what I see.
akaWolf has joined #u-boot
jwillikers has quit [Remote host closed the connection]
jwillikers has joined #u-boot
jwillikers has quit [Remote host closed the connection]
jwillikers has joined #u-boot
<gcl> sigmaris: yes, that patch works around the problem and I can boot
tlwoerner has quit [Remote host closed the connection]
tlwoerner has joined #u-boot
redbrain has quit [Quit: leaving]
alpernebbi has joined #u-boot
Gravis has quit [Ping timeout: 272 seconds]
Gravis has joined #u-boot
springb0k has joined #u-boot
tnovotny has quit [Quit: Leaving]
kmaincent has joined #u-boot
matthias_bgg has quit [Quit: Leaving]
LokeshVutla has joined #u-boot
eduardas has quit [Quit: Konversation terminated!]
jason1235 has left #u-boot [#u-boot]
mckoan is now known as mckoan|away
<jordemort> back on trying to TFTP boot my imx7 sabre derivative - i've got a FIT image w/ a kernel, initramfs, and dtb bundled together in it, i can load the kernel over TFTP and start it, but it does not run my initramfs. the kernel sees it, and "tries to unpack it as an initramfs" and then immediately frees the associated memory and moves on. the initramfs definitely contains an /init that's executable, and i switched over to trying a "known good"
<jordemort> initramfs that works when loaded as a legacy image and when it is packed as a FIT image it still doesn't see it
<jordemort> i'm using yocto to build my FIT image, my best guess is that i've got something wrong and i'm mangling the format of my initramfs somehow and it's not getting unpacked correctly
<jordemort> full boot log is here, any ideas on how i might be messing this up would be greatly appreciated: https://gist.github.com/jordemort/6c6285fede887692316baf5ae7be630a
<jordemort> oh i think i might have figured it out, it looks like there's a `root=/dev/ram` that's sneaking in there when i run my netboot command, amazing what a night's sleep will do for you
<jordemort> nah that doesn't seem to have been it, bummer
<cambrian_invader> so what is /init ?
<cambrian_invader> and do you need to set root=/dev/ram0?
<cambrian_invader> with 5.10, I just needed to set rdinit to something sane
<cambrian_invader> and have you tried loading the initrd separately?
vagrantc has joined #u-boot
<jordemort> i need to bundle it into a single FIT image, because that's all the factory is willing to take
<jordemort> i don't think i need or want to set root=/dev/ram0, that's leftover from the original firmware and i'm pulling it out but it doesn't seem to make a difference to if the initramfs is recognized (not 100% sure there, rebuilding u-boot now to make sure it's really gone instead of just hand-hacking it( /init is a shell script, which runs fine when loaded separately
<jordemort> i.e. if i don't do a FIT image, and just load my zImage and my dtb and my initramfs separately and boot, everything works fine
<jordemort> but i need to provide a single FIT image to the factory, because they're going to change an environment variable in their u-boot build and then boot it, and the intention is for it to download my image from a TFTP server, which will boot into an initramfs that subsequently re-flashes and takes over the device
<jordemort> none of this would be a problem if the factory was willing to flash my firmware in a reasonable way with a cable, like i've been doing, but they've covered up the debug port at that point in the manufacturing and won't change their process, so i have to figure out how to install it over the network :/
<jordemort> is there a tool that can be used to pull apart a fit image and examine the contents of it?
fdanis is now known as fdanis_away
<cambrian_invader> jordemort: do you have USB in your design?
<jordemort> cambrian_invader: yes, but no longer accessible at the point in manufacturing that the factory wants to do the flashing
<cambrian_invader> :l
<jordemort> i know
<jordemort> they want to put their firmware on the device, fully assemble it, test everything using their firmware, and then flash my firmware over the network
<cambrian_invader> and you can't get them to load a fit+initramfs separately?
<jordemort> this isn't really "our" design, we're just whiteboxing/OEMing it
<jordemort> i might be able to talk them into it but it would require them to change their existing u-boot script from what they use for all their other customers
<jordemort> i already talked them into changing loadaddr and a couple other things so my giant image would actually load but i don't know how much farther i can push em on that
<cambrian_invader> can you try running bootm subcommands
<jordemort> and i should be able to get a fit image w/ everything bundled working in theory
<cambrian_invader> and going all the way until "go"
<cambrian_invader> and then verify that everything is extracted to the correct location
<cambrian_invader> perhaps do a checksum
<jordemort> ooh ok i'll try that
<jordemort> that looks promising, thanks
<jordemort> gonna reflash to my latest u-boot build first
<jordemort> cambrian_invader: here is a run through bootm subcommands https://gist.github.com/jordemort/7f964db8274ecb0cfc860f6befe89524 - looking at the addresses it's spitting out, i kinda think `bootm prep` overwrote the initramfs?
<cambrian_invader> did it?
<cambrian_invader> also: have you tried specificying a load address for the initramfs in your FIT?
<jordemort> no, doesn't seem to, tried md5summing ${initramfs_start} thru size before and after bootm prep and it's the same
<jordemort> i have not tried that, i'll need to look into how to do that w/ yocto
<jordemort> the md5sum in memory doesn't seem to match the md5sum of the separate cpio.gz that yocto built, i'm not sure that's relevant though
vstehle has quit [Ping timeout: 268 seconds]
<cambrian_invader> jordemort: you can also try loading the initrd manually
<cambrian_invader> and doing cmp.l on the one loaded by FIT
LokeshVutla has quit [Remote host closed the connection]
<cambrian_invader> Tartarus: squashfuse?
<Tartarus> Whatever we would need to be able to make/use our squashfs tests :)
jwillikers has quit [Remote host closed the connection]
alpernebbi has quit [Quit: alpernebbi]
<lvrp16> stupid question, is there a "break" equivalent for for loops?
<Pali> break?
<lvrp16> yeah, like exit out of the for loop
<lvrp16> sorry, I should be more specific: the u-boot shell, is there a way to break out of a for loop
vagrantc has quit [Quit: leaving]
iopaniuk has quit [Read error: Connection reset by peer]
dgilmore has quit [Ping timeout: 272 seconds]
lvrp16 has quit [Read error: Connection reset by peer]
paulbarker has quit [Read error: Connection reset by peer]
ldts has quit [Read error: Connection reset by peer]
smurray has quit [Ping timeout: 272 seconds]
sjg1 has quit [Read error: Connection reset by peer]
smurray has joined #u-boot
dgilmore has joined #u-boot
sjg1 has joined #u-boot
agust has quit [Ping timeout: 265 seconds]
agust has joined #u-boot
lvrp16 has joined #u-boot
ldts has joined #u-boot
iopaniuk has joined #u-boot
paulbarker has joined #u-boot
lvrp16 has quit []
lvrp16 has joined #u-boot
<jordemort> success! it seems like INITRAMFS_IMAGE_BUNDLE = "1" in yocto is the Wrong Thing when doing a fitImage
<jordemort> i think it glued my initramfs into the kernel, and then made another copy of it in the fit, and then when the kernel came up it was like "what is this even"
<jordemort> i was wondering why my image was so much larger than sizeof(kernel) + sizeof(initramfs) :D
mmu_man has quit [Ping timeout: 268 seconds]
agust has quit [Quit: Leaving.]
<cambrian_invader> lvrp16: no
<lvrp16> cambrian_invader: thanks