rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
yollom has joined #u-boot
<yollom>
I'm getting "Wrong Ramdisk Image Format" when trying to load an Ubuntu initrd.img
<yollom>
Oddly, I can use lsinitrd from dracut to list the files, but not lsinitramfs
<yollom>
The initrd.img is a LZ4 archive
<yollom>
What does U-Boot expect by default? Can I configure U-Boot to use this initrd.img?
<mps>
hm, build bmp_logo is disabled now
d-s-e has joined #u-boot
d-s-e has quit [Ping timeout: 255 seconds]
d-s-e has joined #u-boot
<FergusL>
Hi, trying to get more recent stuff to run on rk3326(rg351m), I have yet to solder serial headers but I'm wondering if there's a go-to root filesystem that one could recommend to at least get visual confirmation that it is working? I'll need that in the end anyway
<FergusL>
also, google is no help for one thing: rg351m is based on odroid go advance which has this SPI reset button at the back -- is it known if the 351m has such a button as well? I opened it to check for the serial but didn't look at that
mckoan is now known as mckoan|away
<shiz>
yollom: uboot expects initrds to be in FIT format too
<shiz>
from my experience
<shiz>
you can wrap it in a FIT
<yollom>
shiz: thanks, yah, realized that "legacy" was referring to FIT and not the initrd image/archive itself
<yollom>
Was about to try to rebuild with legacy support enabled, but creating a fit image might be easier
<shiz>
i can grab the fit script i used a few days ago if it helps
<yollom>
shiz: That would be great!
<shiz>
alright, now where did i stash that...
<yollom>
Do I need to put everything in the FIT or can I get away with just the initrd?
<shiz>
if your initrd is really lzo compressed, be sure to change the comperssion flag :)
<shiz>
it tells mkimage how it is currently compressed, not what to compress it with
mmu_man has joined #u-boot
naoki has quit [Quit: naoki]
<marex>
yollom: you could also try bootz/booti command which does not expect uImage/fitImage iirc
<marex>
FergusL: you can build one using OpenEmbedded or debootstrap one with debian , or just build simple one with busybox static build
<FergusL>
marex oh okay thanks! I think debootstrap will work for that
<marex>
FergusL: well in that case, look at systemd mkosi
<marex>
FergusL: that is a wrapper around debootstrap which spits out fully configured image, which ... well ... might be useful if you dont want to do the manual dpkg --reconfigure -a on the target
<FergusL>
marex that will help a lot! now it sounds like it's what systemd has for its containers, interesting!
monstr has joined #u-boot
<marex>
FergusL: yes, they used it for VMs first, then containers and now they even seem to plan to use it for initrd generation too
<marex>
FergusL: and the tool is rather simple, which is nice, its basically a wrapper around all those debootstraps and compatible tools for other distros
d-s-e has quit [Ping timeout: 268 seconds]
slobodan has joined #u-boot
<yollom>
shiz: unfortunately, I got the same error after running `mkimage -f custom.its custom.itb`, loading the itb into memory and then running bootm/booti
mmu_man has quit [Ping timeout: 256 seconds]
zibolo has joined #u-boot
<shiz>
it worked for bootm for me
<shiz>
does yoru build have CONFIG_FIT?
camus has quit [Quit: camus]
camus has joined #u-boot
camus has quit [Remote host closed the connection]
zibolo has quit [Ping timeout: 248 seconds]
zibolo has joined #u-boot
monstr has quit [Remote host closed the connection]
tlwoerner has quit [Quit: Leaving]
d-s-e has joined #u-boot
tlwoerner has joined #u-boot
jaganteki has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
<FergusL>
I think things have started moving on my device, I reflashed u-boot onto a working ubuntu 20.04 sdcard for which I had slightly modified the boot.ini (their u-boot used that) by disabling a gpio and I could confirm after reflashing mainline u-boot that it didn't have the same effect. I'm still getting used to u-boot so next time is generating
<FergusL>
boot.scr
<FergusL>
next step
d-s-e has quit [Ping timeout: 276 seconds]
d-s-e has joined #u-boot
goliath has quit [Quit: SIGSEGV]
d-s-e has quit [Ping timeout: 255 seconds]
guillaume_g has quit [Quit: Konversation terminated!]