<Stat_headcrabed>
marex: So that function would automatically patch dtb passed to kernel?
<marex>
Stat_headcrabed: it does insert content of environment variable(s) ethaddr/eth%daddr into DT nodes referenced by /aliases/ethernet%d as local-mac-address property
<marex>
that's how MAC address is passed from U-Boot to Linux
<marex>
make sure your DT does contain the aliases and U-Boot env does contain ethaddr variables
rvalue has joined #u-boot
<Stat_headcrabed>
Thanks
<Stat_headcrabed>
got it
thopiekar has quit [Ping timeout: 256 seconds]
thopiekar has joined #u-boot
f_[xmpp] has quit [Changing host]
f_[xmpp] has joined #u-boot
f_ has joined #u-boot
f_ has quit [Changing host]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
vagrantc has joined #u-boot
mmu_man has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
___nick___ has joined #u-boot
___nick___ has quit [Client Quit]
___nick___ has joined #u-boot
akaWolf has joined #u-boot
enok has joined #u-boot
f_ has quit [Quit: To contact me, send a memo using MemoServ, PM f_[xmpp], or send an email. See https://vitali64.duckdns.org/.]
pgreco_ has joined #u-boot
pgreco has quit [Ping timeout: 268 seconds]
ungeskriptet8 has joined #u-boot
ungeskriptet has quit [Ping timeout: 256 seconds]
ungeskriptet8 is now known as ungeskriptet
ungeskriptet2 has joined #u-boot
ungeskriptet has quit [Ping timeout: 264 seconds]
ungeskriptet2 is now known as ungeskriptet
___nick___ has quit [Ping timeout: 252 seconds]
jmontleon has quit [Quit: Leaving]
vagrantc has quit [Quit: leaving]
enok has quit [Ping timeout: 268 seconds]
enok has joined #u-boot
jmontleon has joined #u-boot
<jmontleon>
Is anyone familiar with chain booting on riscv, specifically on the Lichee Pi 4a? I can chain boot upstream u-boot from the vendor u-boot, but when I actually try to run Linux it fails with `Unhandled exception: Environment call from M-mode`. I was wondering if there is a way to make this work at present?
enok has quit [Ping timeout: 268 seconds]
<marex>
booting U-Boot proper from U-Boot proper was never officially supported
<Tartarus>
It's one of those neat tricks that's been possible for forever, but not "supported" because really, you should just have proper u-boot itself in the right place
<jmontleon>
That makes sense, ideally. I'm having trouble trying to efi boot with the vendor u-boot. It's seems based off something pretty old, 2020.01 or something I believe, and thought maybe something newer would work better. The VisionFive2 works ok, but not stuck with a custom u-boot.
slobodan has quit [Ping timeout: 268 seconds]
<conchuod>
The solution I guess is improving mainline U-Boot so that the vendor one isn't needed, but there's not a massive amount of interest in these boards with mainline anything I feel :/
<conchuod>
Most of the T-Head SoCs, or maybe all?, require you to use mainline OpenSBI to boot a mainline kernel because the vendor SDKs all use the ancient version that doesn't set up something (I think the interrupt controller) how mainline expects.
<conchuod>
If that barrier wasn't there, perhaps there'd be more interest in them.
<jmontleon>
i've been able to boot 6.8.9, im just stuck using extlinux and decompressing the kernel, since fedora kernels have CONFIG_EFI_ZBOOT enabled. And using opensbi 1.4 fw_dynamic.bin. though the old 0.9 one would boot as well. I'm just hung up on efi booting with `Failed to update FDT and exit boot services`, like so https://paste.centos.org/view/284f82ac I'm building a debug kernel to see if I can see any more but that'll be a bit.
<jmontleon>
similar flow on vf2 works pretty nicely, u-boot -> grub2 -> fedora.
ikarso has quit [Quit: Connection closed for inactivity]