xypron changed the topic of #u-boot to: #u-boot SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot 2023.01 / Merge Window is OPEN, -next is CLOSED / Release v2023.01 is scheduled for 2023-01-09 / Channel archives at https://libera.irclog.whitequark.org/u-boot
vagrantc has quit [Quit: leaving]
GNUtoo has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 260 seconds]
GNUtoo has joined #u-boot
thopiekar_ has quit [Ping timeout: 260 seconds]
thopiekar has joined #u-boot
GNUtoo has quit [Ping timeout: 255 seconds]
GNUtoo has joined #u-boot
GNUtoo has quit [Remote host closed the connection]
GNUtoo has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
thopiekar has quit [Ping timeout: 260 seconds]
thopiekar_ has joined #u-boot
<hays> does pali@kernel.org hang in here? I've a question about mox-imager
<hays> marex: or perhaps you know about it?
<hays> getting "Error parsing command line" using mox-imager and looking at the argparse code... it kinda looks like there's no way to get through it
PhoenixMage has joined #u-boot
naoki has quit [Quit: naoki]
persmule has quit [Remote host closed the connection]
redbrain has quit [Read error: Connection reset by peer]
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
redbrain has joined #u-boot
<hays> fixed. this line needs to be int c not char c. https://gitlab.nic.cz/turris/mox-imager/-/blob/master/mox-imager.c#L435
<hays> ARM64 has an unsigned char
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #u-boot
<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?
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
<PhoenixMage> qschulz: Its a vendor u-boot and is using a 2017 u-boot version and bootm <fit_img_addr> throws the help output
<PhoenixMage> qschulz: The its is using $kernel_addr_c as the load address which is where I imxtract it manually with no problems
<PhoenixMage> Using $kernel_addr_r causes it to overwrite the fitImage
sszy has joined #u-boot
mncheck has quit [Remote host closed the connection]
mmu_man has joined #u-boot
persmule has quit [Ping timeout: 255 seconds]
persmule has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
mmu_man has joined #u-boot
ikarso has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
hanetzer has quit [Quit: WeeChat 3.6]
hanetzer has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
ldevulder has quit [Remote host closed the connection]
torez has joined #u-boot
mmu_man has joined #u-boot
ldevulder has joined #u-boot
<Forty-Bot> jahro_me: try debian-arm on OFTC
persmule has quit [Remote host closed the connection]
mncheck has joined #u-boot
persmule has joined #u-boot
<jahro_me> thx
ikarso has quit [Quit: Connection closed for inactivity]
mmu_man has quit [Ping timeout: 240 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
vfazio has quit [Remote host closed the connection]
vfazio has joined #u-boot
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
justGrit has quit [Quit: ZNC 1.8.2 - https://znc.in]
justache has joined #u-boot
justache has quit [Remote host closed the connection]
rburkholder has quit [Remote host closed the connection]
justache has joined #u-boot
rburkholder has joined #u-boot
guillaume_g has quit [Quit: Konversation terminated!]
<apalos> jahro_me: still around?>
<apalos> There's a 'known bug' in the installation
<apalos> when debian installs (and most distros fwiw) it tries to install GRUB
<apalos> since setvariable at runtime is not supported in u-boot, we retrun EFI_NOT_SUPPORTED
<apalos> however instead of debian working around this, they spit our an error an refuse to install grub
<apalos> what you need to do is manually boot debian and run grub-install
<apalos> you can boot the image manually like this:
<jahro_me> yes, i am still here
<apalos> nvme scan && efidebug boot add -b 0 debian nvme 0 boot/debian/grubaa64.efi && efidebug boot order 1
<apalos> and then reset
<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]
qschulz has joined #u-boot
qschulz has quit [Quit: qschulz]
macromorgan has quit [Quit: Leaving]
naoki has quit [Quit: naoki]
finga4 has quit [Ping timeout: 268 seconds]
finga4 has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
qschulz has joined #u-boot
___nick___ has quit [Ping timeout: 252 seconds]
Rahix has quit [Quit: ZNC - https://znc.in]
Rahix has joined #u-boot
vagrantc has quit [Quit: leaving]
mmu_man has joined #u-boot
mncheck has quit [Ping timeout: 268 seconds]
xroumegue has quit [Ping timeout: 256 seconds]
xroumegue has joined #u-boot
Wouter0100 has quit [Quit: The Lounge - https://thelounge.chat]
Wouter0100 has joined #u-boot
m5zs7k has quit [Ping timeout: 260 seconds]
m5zs7k has joined #u-boot
mmu_man has quit [Ping timeout: 240 seconds]
naoki has joined #u-boot