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 joined #u-boot
jclsn has quit [Ping timeout: 260 seconds]
jclsn has joined #u-boot
KREYREN has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 246 seconds]
redbrain has quit [Read error: Connection reset by peer]
redbrain has joined #u-boot
jfsimon1981_b has joined #u-boot
jfsimon1981 has quit [Ping timeout: 246 seconds]
joeskb7 has quit [Ping timeout: 240 seconds]
enok has joined #u-boot
enok has quit [Read error: Connection reset by peer]
monstr has joined #u-boot
monstr has quit [Read error: Connection reset by peer]
naoki has quit [Quit: naoki]
monstr has joined #u-boot
<tlwoerner> Kwiboo: thank you!! your hint from the other day (variables set by bootmeth) was exactly what i was trying to find ($devtype $devnum and $distro_bootpart)
<tlwoerner> using those i can write a u-boot rauc script that will work regardless whether the device is booting from emmc or sdcard
joeskb7 has joined #u-boot
warpme has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
monstr has joined #u-boot
monstr has quit [Remote host closed the connection]
frieder has joined #u-boot
goliath has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
frieder has quit [Remote host closed the connection]
warpme has joined #u-boot
enok has joined #u-boot
MrCryo has joined #u-boot
frieder has joined #u-boot
monstr has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
ladis has joined #u-boot
rvalue has joined #u-boot
monstr has quit [Ping timeout: 252 seconds]
enok has quit [Ping timeout: 268 seconds]
mckoan|away is now known as mckoan
stefanro has quit [Remote host closed the connection]
stefanro has joined #u-boot
stefanro has quit [Client Quit]
stefanro has joined #u-boot
alpernebbi has quit [Ping timeout: 255 seconds]
ikarso has joined #u-boot
alpernebbi has joined #u-boot
sszy has joined #u-boot
mrnuke has quit [Ping timeout: 268 seconds]
mrnuke_ has joined #u-boot
rfried has quit [Quit: Ping timeout (120 seconds)]
rfried has joined #u-boot
jfsimon1981_b has quit [Remote host closed the connection]
mckoan is now known as mckoan|away
mmu_man has joined #u-boot
MrCryo has quit [Ping timeout: 272 seconds]
MrCryo has joined #u-boot
dsimic has quit [Ping timeout: 240 seconds]
dsimic has joined #u-boot
Stat_headcrabed has joined #u-boot
MrCryo has quit [Ping timeout: 256 seconds]
slobodan has joined #u-boot
slobodan_ has joined #u-boot
mmu_man has quit [Ping timeout: 272 seconds]
MrCryo has joined #u-boot
slobodan has quit [Ping timeout: 255 seconds]
mmu_man has joined #u-boot
MrCryo has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
Stat_headcrabed has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
MrCryo has joined #u-boot
MrCryo has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
f_ has joined #u-boot
qsx has quit [Remote host closed the connection]
qsx has joined #u-boot
MrCryo has joined #u-boot
MrCryo_ has joined #u-boot
MrCryo has quit [Ping timeout: 256 seconds]
MrCryo_ has quit [Ping timeout: 256 seconds]
MrCryo has joined #u-boot
MrCryo has quit [Remote host closed the connection]
Stat_headcrabed has joined #u-boot
MrCryo has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
goliath has quit [Quit: SIGSEGV]
<marex> xypron: hey, do you know what this arm systemready stuff is all about ? Is U-Boot doing something in that direction ?
<marex> apalos: ^
<Tartarus> marex: what parts, exactly? "make sure U-Boot can be used for systemready IR" has been part of it since the beginning
<Tartarus> The higher levels start to be iffy only around what levels of ACPI "fun" we can truly provide
frieder has quit [Remote host closed the connection]
<marex> Tartarus: oh
ikarso has quit [Quit: Connection closed for inactivity]
warpme has joined #u-boot
MrCryo has quit [Quit: MrCryo]
MrCryo has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
<qschulz> tlwoerner: I'm interested BTW, if I can avoid modifying boot_targets from C code, I'll take it :)
<qschulz> Tartarus: any plan on updating dts/upstream to v6.9 for next?
<qschulz> Tartarus: I've run the script myself but no clue if I'm supposed to send a patch with it or if this is handled by you only... etc
<qschulz> Tartarus: whenever you have time, would like your opinion on https://lore.kernel.org/u-boot/59c3ee19-f1c5-425d-912d-d418c7a2990b@cherry.de/ as well :)
<Tartarus> Ah, right, yeah, v6.9 is out
<Tartarus> I guess my hard question is, too late for master, or not.
<Tartarus> I should start by seeing if I put something in doc/
<Tartarus> But I think, next is open, so yeah, too late for master
<Tartarus> So next, yes, I should go fire that off again. It's not something that send-email's well
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
<qschulz> Tartarus: ack, will not try then. No hurry if it's for next, just wanted to know what was the process to get it bumped :)
<Tartarus> Gotta think how I came up with a CC list last time
joeskb7 has quit [Quit: Lost terminal]
joeskb7 has joined #u-boot
<Tartarus> Done
<qschulz> Tartarus: thanks <3
sszy has quit [Quit: http://quassel-irc.org - Chat comfortably. Anywhere.]
___nick___ has joined #u-boot
Stat_headcrabed has quit [Quit: Stat_headcrabed]
f_ has quit [Quit: To contact me, send a memo using MemoServ, PM f_[xmpp], or send an email. See https://vitali64.duckdns.org/.]
<conchuod> xypron: Do you have any interest in moving any of the riscv stuff to OF_UPSTREAM btw?
<conchuod> We've got some stuff for other mpfs boards that'll be sent soonTM and I was gonna get icicle moved over then, wondering about the others.
<conchuod> marex: Did you have a particular reason for wanting the fallback in https://lore.kernel.org/all/d73d4435-75d6-4cea-b38e-07c7ceae3980@foss.st.com/ ?
mmu_man has quit [Ping timeout: 272 seconds]
ikarso has joined #u-boot
___nick___ has quit [Quit: https://quassel-irc.org - Chat comfortably. Anywhere.]
alan_o has quit [Remote host closed the connection]
alan_o has joined #u-boot
mmu_man has joined #u-boot
MrCryo has quit [Remote host closed the connection]
ungeskriptet3 has joined #u-boot
ungeskriptet has quit [Ping timeout: 264 seconds]
ungeskriptet3 is now known as ungeskriptet
<marex> conchuod: last time I checked, the IP they have on MP15 (the older SoC) and MP13 (the newer SoC) was virtually identical
<marex> conchuod: that's why I pitched the idea of using fallback compatible
<conchuod> marex: The latest response was a bit ENOPARSE to me, but ye I still think it should have a fallback. I was mostly wondering if you already had some code using the older SoC's compatible that'd benefit from the fallback since that'd be increased motivation for me insisting on one.
<marex> conchuod: yeah, comparing RM0436 and RM0475 , they did add a bunch of bits
<marex> (RM0436 is MP15 datasheet, RM0475 is MP13 datasheet)
<marex> conchuod: the ... stuff about "secure" device tree (I wanted to ask about that, but decided not to) and all that is I think related to their TFA/OpTee-OS efforts
<marex> conchuod: those two projects seems to have invented their own bindings for a lot of things :(
<marex> conchuod: I wouldn't hard-insist on the fallback compatible, but unless they can point out a bit that changed meaning (which I dont see so far), I think it is the more right way
<conchuod> I'm probably just gonna ignore anything to do with that, since it apparently uses a compatible that got NAKed already.
<marex> conchuod: I think that's for the best
alpernebbi has quit [Ping timeout: 272 seconds]
slobodan_ has quit [Ping timeout: 268 seconds]
alpernebbi has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
Wouter0100670440 has joined #u-boot
ikarso has joined #u-boot
Wouter0100670440 is now known as Wouter0100
mmu_man has quit [Ping timeout: 255 seconds]
ladis has quit [Remote host closed the connection]
mmu_man has joined #u-boot
ladis has joined #u-boot
<xypron> conchuod: Linux distributions have an interest in minimizing the number of U-Boot images they have to provide. In HSS's copy of OpenSBI you anyway need device-trees. Identifying the specific MPFS board in HSS and providing the matching dtb from HSS might make maintaining the different MPFS boards in U-Boot easier. We still should set $fdtfile according to the board, e.g. based on the compatible string.
<conchuod> xypron: "In HSS's copy of OpenSBI you anyway need device-trees." That's not actually true, I wish it were.
<conchuod> We only use a handful of files from OpenSBI due to space constraints, we can't even use the libraries it provides as they're too big.
<xypron> conchuod: Anyway we should find a way to support all MFPS boards by one U-Boot binary.
<conchuod> I think there might already be support in the HSS for passing a DTB to U-Boot though, just that it's not been used so far. I'm pretty sure the other boards do absolutely nothing differently to the icicle in U-Boot, so using a single binary should work.
<xypron> How would U-Boot detect which board it is running from?
<xypron> Currently we have multiple device-trees in Linux.
<conchuod> The dtb would be different, so it could use the compatible as you mentioned earlier, no?
<xypron> That would be a clean design.
<conchuod> xypron: I need to check up on how the HSS handles the dtb, I think it requires that it be built into the payload, so you could have the same U-Boot binary but you still need a per-board payload.bin. I dunno if that is problematic.
<xypron> It might be helpful, if we could ecall HSS to get the board type.
<xypron> conchuod: Then we could translate the result in the board file.
<xypron> Have a look at VisionFive 2 and Milk-V Mars. One defconfig for both.
<conchuod> Ye, I've seen your patches for that.
<conchuod> Obviously that'd require a new HSS, but that's far from impossible. Would you want to get a string back from that or some numerical identifier?
<xypron> Do you already use different imlementation IDs?
<conchuod> I don't think the different boards report different implementation IDs, no.
<xypron> You could use Get machine implementation ID (FID #6)
<conchuod> I'll mention it to Ivan tomorrow though, that might be something we could plumb in, given we already report a custom mvendorid/march and don't need to worry about conflicting with some SiFive indetifiers.
<xypron> Or a vendor specific SBI extension.
<xypron> conchuod: good night
<conchuod> 👍
persmule has quit [Remote host closed the connection]
flyback has quit [Quit: Leaving]
flyback has joined #u-boot
ladis has quit [Remote host closed the connection]
ladis has joined #u-boot