<PhoenixMage>
I am trying to load a fitImage, the kernel and dtb are both valid, I can run imxtract, load them into memory and use booti to boot but trying to boot the fitImage directly isnt working, any tips on troubleshooting further?
<PhoenixMage>
I attempting to use bootm <fit_img_addr> to boot it
<PhoenixMage>
Or rather "bootm <fit_img_addr> -"
<PhoenixMage>
Jus tdrops to say reset the board after attempting to load the config, no Starting kernel
naoki has joined #u-boot
Gravis has quit [Ping timeout: 268 seconds]
Gravis has joined #u-boot
persmule has joined #u-boot
<PhoenixMage>
hmmm, the other odd issue I have is I cant imxtract if the kernel is compressed
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
mwalle has quit [Ping timeout: 260 seconds]
mwalle has joined #u-boot
ikarso has joined #u-boot
vagrantc has joined #u-boot
davlefou has quit [Ping timeout: 260 seconds]
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #u-boot
davlefou has joined #u-boot
cottsay08 has joined #u-boot
cottsay has quit [Ping timeout: 248 seconds]
cottsay08 is now known as cottsay
hanetzer has quit [Ping timeout: 256 seconds]
hanetzer has joined #u-boot
hanetzer has joined #u-boot
hanetzer has quit [Changing host]
guillaume_g has joined #u-boot
mncheck has joined #u-boot
vagrantc has quit [Quit: leaving]
apritzel__ has joined #u-boot
flyback has quit [Ping timeout: 240 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
flyback has joined #u-boot
<qschulz>
PhoenixMage: why the - ? bootm <addr> is usually enough
<qschulz>
you'll need to check the load addresses in your fitimage
<qschulz>
also check fdt_addr_r value or something like that, if it's set to no relocation of the dtb
<qschulz>
check the addresses used by bootm when unpacking the images to check they're not overlapping
enyc has joined #u-boot
jahro_me has joined #u-boot
<jahro_me>
Good morning! I have prepared a sdcard to install debian on my rock64 board. I have used https://d-i.debian.org/daily-images/arm64/daily/netboot/SD-card-images/ Installation succeeded, however, when i reboot the system, the system doesn't boot. I have used the whole sdcard and probably rewritten the bootloader. How to install properly? Can I still fix the sdcard?
<apalos>
or if you need shim, nvme scan && efidebug boot add -b 0 debian nvme 0 boot/debian/shimaa64.efi && efidebug boot order 1
<apalos>
but if your boards boot solely of the sd card and you ovewritten the bootloader
<apalos>
you have to install the bootloader again and re-install
<apalos>
and just dont format the etnire diesk next time :)
<apalos>
just create the partitions you need
<jahro_me>
ok, thanks a lot. this sounds promising. but i am not sure, if I understood everything correctly. I have currently another netboot installation running.
<jahro_me>
I have used the entire disk
<apalos>
the question where is the bootloader ? In the SD card?
<jahro_me>
so, after installation succeeds, I will not restart the board, but run grub-install
<jahro_me>
everything is on sdcard
<apalos>
or that board has a spi flash or something?
<apalos>
ok if everything is on the sdcard you must *not* format teh entire sd card during the installation
<apalos>
because you'll wipe out u-boot in the process
<apalos>
and the board wont boot :>
<apalos>
alternatively you can install the OS on a usb stick or something
<apalos>
or an external nvme
<jahro_me>
ok, i will try again and will be using the largest continuous free space
<jahro_me>
but the netboot image will reside on the sdcard?
<jahro_me>
after installation
<jahro_me>
hmm, i could use a chrooted environment
<qschulz>
FYI, extlinux support broken in master. My fitImage does not boot at all anymore when loaded via extlinux, but fine when loaded with bootm directly
<qschulz>
git bisect start --first-parent returns 2d4591353452638132d711551fec3495b7644731 which is the next merge commit after 2022.10
<qschulz>
broken on Rockchip RK3399 (Puma SoM) at the very least
gsz has joined #u-boot
vagrantc has joined #u-boot
grgy has quit [Remote host closed the connection]
grgy has joined #u-boot
gsz has quit [Quit: leaving]
<jahro_me>
apalos, wouldn't it be possible, to repair the 'broken' sdcard by moving the data a few ('how many?') bytes further and place u-boot at the beginning? of course, one needs to find the exact instrcutions for that
mmu_man has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
apritzel__ has quit [Ping timeout: 260 seconds]
torez has quit [Remote host closed the connection]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
<jahro_me>
apalos: the installation with the "use largest continuous free space" method worked. I have now a working xfce4 DE. On thing, that bugs me is, i have display errors.. trying to fix that, but the system works
<jahro_me>
i will try, if i get the errors on the other board too
<jahro_me>
apalos: thanks for the hint
AdonisExberger has joined #u-boot
AdonisExberger has quit [Excess Flood]
mmu_man has quit [Ping timeout: 256 seconds]
mmu_man has joined #u-boot
<apalos>
jahro_me: yw
chron0 has quit [Ping timeout: 260 seconds]
chron0 has joined #u-boot
qschulz has quit [Read error: Connection reset by peer]