Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.07, v2024.10-rc2 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2024.10 is scheduled for 07 October 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
goliath has quit [Quit: SIGSEGV]
jan_V2 has quit [Quit: Ping timeout (120 seconds)]
jan_V2 has joined #u-boot
tgamblin_ has joined #u-boot
tgamblin has quit [Ping timeout: 255 seconds]
flyback has quit [Ping timeout: 272 seconds]
flyback has joined #u-boot
jclsn has quit [Ping timeout: 258 seconds]
jclsn has joined #u-boot
naoki has quit [Quit: naoki]
naoki has joined #u-boot
Jones42_ has joined #u-boot
Jones42 has quit [Ping timeout: 244 seconds]
Jones42 has joined #u-boot
Jones42_ has quit [Ping timeout: 252 seconds]
memset has quit [Remote host closed the connection]
memset has joined #u-boot
vpw has joined #u-boot
vagrantc has quit [Quit: leaving]
Clamor has joined #u-boot
tec has quit [Quit: bye!]
tec has joined #u-boot
gsz has joined #u-boot
persmule has quit [Remote host closed the connection]
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
naoki has quit [Ping timeout: 260 seconds]
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
Stat_headcrabed has joined #u-boot
warpme has joined #u-boot
naoki has joined #u-boot
gsz has quit [Ping timeout: 255 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
flom84 has joined #u-boot
flom84 has quit [Client Quit]
vpw has quit [Ping timeout: 258 seconds]
vardhan has joined #u-boot
gsz has joined #u-boot
Clamor has quit [Ping timeout: 260 seconds]
Clamor has joined #u-boot
flom84 has joined #u-boot
vardhan_ has joined #u-boot
vardhan has quit [Ping timeout: 272 seconds]
flom84 has quit [Ping timeout: 255 seconds]
rvalue has quit [Ping timeout: 248 seconds]
naoki has quit [Quit: naoki]
zsoltiv_ has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rvalue has joined #u-boot
vardhan__ has joined #u-boot
vardhan_ has quit [Ping timeout: 276 seconds]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 272 seconds]
rvalue- is now known as rvalue
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
goliath has joined #u-boot
persmule has joined #u-boot
apalos has quit [Quit: ZNC 1.8.1 - https://znc.in]
apalos has joined #u-boot
<derRichard> Tartarus: test/py/tests/test_ut.py is more of a mess than i have expected. in the good case, setup_bootflow_image() silently fails. mount_image() fails, and it falls back to copy_prepared_image()
<derRichard> *after* my changes, mount_image() no longer fails because it does not need sudo nor root permissions and image creation files because the path to mkimage is wrong
enok has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
Clamor has quit [Read error: Connection reset by peer]
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 244 seconds]
Clamor has joined #u-boot
Clamor has quit [Ping timeout: 255 seconds]
Clamor has joined #u-boot
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
dsimic has quit [Ping timeout: 252 seconds]
slobodan has joined #u-boot
dsimic has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
rockosov has quit [Ping timeout: 244 seconds]
rockosov has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
jdiez has joined #u-boot
<jdiez> hi. is it possible to boot a FIT image with a kernel and ramdisk, but no fdt image? I'm trying to boot a yocto build with meta-updater, and the FIT image this builds contains a FDT that is not exactly what I want and I'd like to use the FDT passed to u-boot by the raspberry pi bootloader
<jdiez> I can boot the FIT image like this, without the ramdisk: `bootm $loadaddr - $fdt_addr` (fdt_addr is the fdt provided by the rpi bootloader)
<jdiez> and I'm not sure I can know the address of the ramdisk ahead of time, to put it in the second argument instead of '-'
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
<marex> jdiez: see help bootm , look for : and #
<marex> jdiez: there is a section which lets you pick an image for each of the three parameters using : , so ... bootm $loadaddr:kernel-1 $loadaddr:ramdisk-1 $someotheraddr
<marex> that should work
<jdiez> marex: brilliant, thank you!
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
<jdiez> I'm also getting a "data abort exception" when trying to start the kernel. the PC is very close to the entry point of the kernel (0x00008000 -> 0x00080024), but I'm fairly certain this kernel is compiled correctly for this machine: https://paste.sr.ht/~jdiez/fd6d0e9b563b36fc5c554d77c7e0708c44b837a6
<jdiez> could it be because the ramdisk load address is undefined, and the kernel tries to access it early on?
<marex> the fitImage load code checks for overlaps, so unlikely
<marex> if this is arm64, then the entrypoint shouldn't be at 4-byte aligned offset
<marex> it has to be at 2 MiB aligned offset
<jdiez> this is 32 bit arm
<marex> do you have fdt_high set ?
<jdiez> yeah, it is 0xffffffff
<marex> which soc / system / ... is this ? U-Boot version ?
<jdiez> rpi zero w, u-boot 2024.01
<marex> right, so fdt_high=0xffffffff you shouldn't use in most cases
<marex> that means use fdt in place , and that may not work well
<marex> try and unset it
<jdiez> same result
<jdiez> not sure what is meant by "fdt in place", but my understanding is that the 2nd stage RPi bootloader creates a FDT according to /boot/config.txt, which is passed to u-boot at $fdt_addr
<marex> that's possible, yes, rpi does something about passing DT around
<jdiez> and my intention is to pass that to the kernel as-is without using the FDT in my FIT image
<jdiez> which i think is now happening with the image selections in the `bootm` command, but the ramdisk may still not be passed properly
<marex> try some ... bootm $loadaddr:kernel-1 $loadaddr:ramdisk-1 $fdt_addr ... maybe ?
<jdiez> yeah, that's what I did in the log above
<marex> ramdisk should be relocated unless you have initrd_high set to 0xffffffff
<jdiez> initrd_high is also 0xffffffff
<jdiez> (ramdisk-1 doesn't have a set loadaddress)
<marex> jdiez: could it be you need to set both load address and entrypoint for the kernel to 0x8000 ?
<marex> seems like that might be it
<jdiez> those are set
<jdiez> should I unset initrd_high?
<marex> you have load address 0x8000 and entry point 0x8_0000 (one extra zero)
<jdiez> oh true, wtf
<marex> Load Address: 0x00008000 Entry Point: 0x00080000
<jdiez> okay that is most likely it (:
vardhan__ has quit [Ping timeout: 265 seconds]
<jdiez> yay it works, thanks a ton marex \o/
<marex> you're welcome
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
gsz has quit [Ping timeout: 244 seconds]
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
tlwoerner_ has joined #u-boot
tlwoerner has quit [Remote host closed the connection]
tlwoerner__ has joined #u-boot
tlwoerner_ has quit [Ping timeout: 248 seconds]
sukrutb has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #u-boot
ja_02 has quit [Remote host closed the connection]
enok has joined #u-boot
ja_02 has joined #u-boot
slobodan has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
<derRichard> Tartarus: btw. building tools/docker/Dockerfile fails: http://paste.debian.net/plainh/7cb99cc6
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
ja_02 has quit [Ping timeout: 258 seconds]
slobodan has quit [Read error: Connection reset by peer]
warpme has joined #u-boot
slobodan has joined #u-boot
ja_02 has joined #u-boot
naoki has joined #u-boot
ja_02 has quit [Ping timeout: 255 seconds]
ja_02 has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
enok has quit [Ping timeout: 264 seconds]
slobodan has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #u-boot
enok has joined #u-boot
Stat_headcrabed has quit [Client Quit]
Clamor has quit [Read error: Connection reset by peer]
enok has quit [Ping timeout: 272 seconds]
ikarso has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
warpme has quit [Ping timeout: 245 seconds]
slobodan has quit [Ping timeout: 264 seconds]
vagrantc has joined #u-boot
warpme has joined #u-boot
warpme has quit [Ping timeout: 260 seconds]
warpme has joined #u-boot
warpme has quit [Ping timeout: 248 seconds]
vardhan__ has joined #u-boot
joeskb7 has quit [Ping timeout: 272 seconds]
<Tartarus> Sigh, it's been a while since I re-ran it to populate the cache, yeah, sorry
<Tartarus> You can just nuke that locally
joeskb7 has joined #u-boot
vardhan__ has quit [Quit: Leaving]
warpme has joined #u-boot
warpme has quit [Ping timeout: 252 seconds]
warpme has joined #u-boot
warpme has quit [Ping timeout: 248 seconds]