Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2024.04, v2024.07-rc1 are OUT / Merge Window is CLOSED, next branch is CLOSED / Release v2024.07 is scheduled for 01 July 2024 / Channel archives at https://libera.irclog.whitequark.org/u-boot
naoki has quit [Quit: naoki]
mmu_man has quit [Ping timeout: 256 seconds]
jclsn has quit [Ping timeout: 256 seconds]
jclsn has joined #u-boot
mmu_man has joined #u-boot
akaWolf has quit [Read error: Connection reset by peer]
akaWolf has joined #u-boot
akaWolf has quit [Client Quit]
akaWolf has joined #u-boot
Net147 has quit [Ping timeout: 268 seconds]
akaWolf has quit [Read error: Connection reset by peer]
akaWolf has joined #u-boot
akaWolf has quit [Read error: Connection reset by peer]
Net147 has joined #u-boot
Net147 has quit [Changing host]
Net147 has joined #u-boot
akaWolf has joined #u-boot
mmu_man has quit [Ping timeout: 256 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
enok has joined #u-boot
Forty-Bot has quit [Ping timeout: 252 seconds]
enok has quit [Ping timeout: 255 seconds]
sakman_ has joined #u-boot
stefanro has joined #u-boot
sakman has quit [Ping timeout: 256 seconds]
abws has quit [Quit: abws]
joeskb7 has quit [Ping timeout: 252 seconds]
naoki has joined #u-boot
naoki has quit [Client Quit]
enok has joined #u-boot
jmontleon has joined #u-boot
monstr has joined #u-boot
joeskb7 has joined #u-boot
sakman_ is now known as sakman
enok has quit [Ping timeout: 252 seconds]
enok has joined #u-boot
jmontleon has quit [Quit: Leaving]
warpme has joined #u-boot
warpme has quit [Client Quit]
warpme has joined #u-boot
enok has quit [Ping timeout: 264 seconds]
enok has joined #u-boot
enok has quit [Quit: enok]
enok71 has joined #u-boot
Sout has quit [Ping timeout: 255 seconds]
enok71 is now known as enok
Sout_ has joined #u-boot
enok has quit [Ping timeout: 256 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
warpme has quit [Client Quit]
warpme has joined #u-boot
ikarso has joined #u-boot
mckoan|away is now known as mckoan
mmu_man has joined #u-boot
f_ has joined #u-boot
mmu_man has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
jfsimon1981 has joined #u-boot
jfsimon1981_b has quit [Ping timeout: 256 seconds]
slobodan has joined #u-boot
goliath has joined #u-boot
jfsimon1981_b has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
edwinistrator2 has quit [Quit: Ping timeout (120 seconds)]
edwinistrator2 has joined #u-boot
warpme has joined #u-boot
dsimic has quit [Ping timeout: 268 seconds]
dsimic has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
warpme has joined #u-boot
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
tgamblin has quit [Remote host closed the connection]
MrCryo has joined #u-boot
tgamblin has joined #u-boot
schroes has quit [Ping timeout: 260 seconds]
schroes has joined #u-boot
schroes has quit [Remote host closed the connection]
schroes has joined #u-boot
MrCryo has quit [Quit: MrCryo]
MrCryo has joined #u-boot
MrCryo has quit [Remote host closed the connection]
thopiekar has quit [Ping timeout: 252 seconds]
mckoan is now known as mckoan|away
thopiekar has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
jmontleon has joined #u-boot
thopiekar has joined #u-boot
akaWolf has quit [Ping timeout: 268 seconds]
Stat_headcrabed has joined #u-boot
xroumegue has quit [Ping timeout: 246 seconds]
thopiekar has quit [Ping timeout: 272 seconds]
<Stat_headcrabed> mps: I didn't found any code passing mac address to linux kernel in vf2's mainline uboot implementation. Is it actually works?
xroumegue has joined #u-boot
MrCryo has joined #u-boot
slobodan has quit [Read error: Connection reset by peer]
slobodan has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
rvalue- has joined #u-boot
thopiekar has joined #u-boot
rvalue has quit [Ping timeout: 252 seconds]
MrCryo has quit [Remote host closed the connection]
rvalue- is now known as rvalue
<mps> Stat_headcrabed: TBH also I didn't looked to code.
<mps> so, I'm not sure if it works (if it exists in u-boot)
<mps> and nowadays I'm using vf2 as server so I don't reboot it often and test it much
<Stat_headcrabed> Hmmm
<Stat_headcrabed> I just asked about that in Heinrich's Mars CM board support series.
<mps> Stat_headcrabed: I'm not even sure this feature is needed, except maybe in some special cases
<mps> or I don't understand issue well
<Stat_headcrabed> emmm?
<Stat_headcrabed> I think we should use vendor-provided mac address as default
<mps> Stat_headcrabed: is it essentially needed that u-boot pass mac address to kernel?
<Stat_headcrabed> Kernel doesn't have a method to read mac address from eeprom
<Stat_headcrabed> And adding a driver for that to kernel is completely a mess
<mps> ah, understand
<Stat_headcrabed> We have vendor-defined mac address stored in the on-board eeprom now
<mps> ok, I will check on next reboot
<Stat_headcrabed> OK
<mps> maybe even this weekend
<marex> search for fdt_fixup_ethernet() , that's what patches local-mac-address into DT via /aliases/ethernet%d entries
<marex> boot/fdt_support.c:void fdt_fixup_ethernet(void *fdt)
<mps> marex: grep doesn't show it for me
rvalue has quit [Ping timeout: 268 seconds]
<mps> sorry
<mps> it is there
<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
qqq has quit [Remote host closed the connection]
<jmontleon> Oh, the process was described here. I thought there was a purpose to it. https://github.com/u-boot/u-boot/blob/master/doc/board/thead/lpi4a.rst#booting
<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]
mwebb has joined #u-boot