Tartarus changed the topic of #u-boot to: SOURCE MOVED TO https://source.denx.de/u-boot/u-boot.git / U-Boot v2025.01, v2025.04-rc2 are OUT / Merge Window is CLOSED, next branch is OPEN / Release v2025.04 is scheduled for 07 April 2025 / Channel archives at https://libera.irclog.whitequark.org/u-boot
naoki has joined #u-boot
tchebb_ has joined #u-boot
tchebb has quit [Ping timeout: 276 seconds]
hanetzer has quit [Ping timeout: 246 seconds]
hanetzer has joined #u-boot
Daanct12 has joined #u-boot
vagrantc has quit [Quit: leaving]
<Peng_Fan> marex, sjg1: I got a bit lost with xPL :)
<sjg1> marex: Yes UPL sounds better, although there is now a UPL in U-Boot (Universal Payload Specification)
tchebb_ has quit [Ping timeout: 276 seconds]
tchebb has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
sally_ has joined #u-boot
goliath has quit [Quit: SIGSEGV]
persmule has quit [Quit: Leaving]
jclsn has quit [Ping timeout: 272 seconds]
jclsn has joined #u-boot
persmule has joined #u-boot
rpifan has joined #u-boot
<rpifan> hi
hellodub has joined #u-boot
teejay has quit [Read error: Connection reset by peer]
teejay has joined #u-boot
mmu_man has quit [Ping timeout: 268 seconds]
persmule has quit [Remote host closed the connection]
clamor has joined #u-boot
saimazoon has quit [Ping timeout: 246 seconds]
Bahlovebug is now known as Bahhumbug
clamor has quit [Ping timeout: 244 seconds]
clamor has joined #u-boot
LeSpocky has quit [Ping timeout: 260 seconds]
prabhakalad has quit [Quit: Konversation terminated!]
prabhakalad has joined #u-boot
jclsn has quit [Quit: WeeChat 4.5.1]
monstr has joined #u-boot
mmu_man has joined #u-boot
sally_ is now known as sally
umbramalison has quit [Ping timeout: 265 seconds]
umbramalison has joined #u-boot
haritz has joined #u-boot
haritz has quit [Changing host]
haritz has joined #u-boot
MyNetAz has quit [Remote host closed the connection]
ikarso has joined #u-boot
MyNetAz has joined #u-boot
naoki has quit [Ping timeout: 268 seconds]
<clamor> Is there ofnode version of graph parsing helper? Like of_graph_get_endpoint_by_regs or similar
goliath has joined #u-boot
naoki has joined #u-boot
clamor has quit [Ping timeout: 244 seconds]
rpifan_ has joined #u-boot
<marex> sjg1: that is UPS , another delivery company , no ?
<marex> Peng_Fan: yesterday I got OEI basically running, SM partly because it depends on ELE it seems, so ... how do I start the ELE via JTAG ?
rpifan has quit [Ping timeout: 252 seconds]
frytaped has joined #u-boot
Daanct12 has quit [Quit: WeeChat 4.5.1]
persmule has joined #u-boot
rpifan_ has quit [Ping timeout: 276 seconds]
clamor has joined #u-boot
<xypron> sjg1: bootdevs can appear and disappear during runtime. How does this go together with std->hunters_used |= BIT(seq); which blocks used hunters? We need to be able to hunt for new devices at any time.
<xypron> sjg1: uclass_find_first_device() is used quite a lot. Why is it in dm/uclass-internal.h? Given the usage shouldn't it be moved to dm/uclass.h?
<sjg1> xypron: If you want to start again, you would need to clear that. The current approach is to run the boot once, hunting for devices as we go, until something boots. But, yes, if you want to start again, you'll need to add a function to clear it
<xypron> Couldn't the boodev hunt command request clearing?
<sjg1> xypron: The normal case is to probe devices when they are found...it is quite tricky to get things right if a device is not probed. E.g. there is no priv data so it might crash. So I decided to hide away the tricky function
<sjg1> xypron: Yes, it could
<xypron> sjg1: We track if USB devices are added or removed. So this is a very real case.
<sjg1> xypron: Yes. Also the user could remove or insert the network cable, so when a new round of booting starts, resetting the hunters is reasonable. I suppose we need a new method in struct bootdev_hunter to actually shut USB down
<xypron> sjg1: Isn't USB watched by a cyclic?
<xypron> sandbox_defconfig has a cyclic function for MMC.
<sjg1> xypron: But calling usb_init() twice won't rescan; you must call usb_uninit() in between
naoki has quit [Remote host closed the connection]
rpifan_ has joined #u-boot
frytaped has quit [Quit: WeeChat 4.4.2]
<marex> xypron: doing USB ops using background thread would be something I would like to do very much, but ... time ... didn't get to it
goliath has quit [Quit: SIGSEGV]
<marex> and by background thread I mean cyclic, similar to SD card plug/unplug detection
<xypron> Thanks marex. So up to now it is only MMC.
clamor has quit [Ping timeout: 272 seconds]
yann-kaelig has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 248 seconds]
rvalue- is now known as rvalue
clamor has joined #u-boot
goliath has joined #u-boot
<Tartarus> This is what got Jerome doing the cooperative multitasking thing I believe.
monstr has quit [Remote host closed the connection]
<apalos> Tartarus: partially yes
<apalos> and the tpm, which takes some cycles to respond over a spi bus
<marex> Tartarus: this is not cooperative multitasking though, that would have to have each thread call yeild()
<marex> Tartarus: here it is some opportunistic single threaded operation with hooks
<marex> maybe what we need is some sort of DM-specific poll (do you have work?) hook
<marex> like we have .probe/.remove/.bind/.unbind , maybe we need .poll there ?
<marex> and then let the cyclic framework iterate over those poll hooks ?
<marex> a subsystem can pace itself and do work in chunks somehow too ... which does become cooperative multitasking, yes
dsimic has quit [Ping timeout: 252 seconds]
dsimic has joined #u-boot
rpifan__ has joined #u-boot
rpifan_ has quit [Ping timeout: 252 seconds]
rpifan_ has joined #u-boot
rpifan__ has quit [Ping timeout: 244 seconds]
yann-kaelig has quit []
rpifan__ has joined #u-boot
rpifan_ has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 248 seconds]
rpifan_ has joined #u-boot
rpifan__ has quit [Ping timeout: 260 seconds]
mmu_man has joined #u-boot
clamor has quit [Read error: Connection reset by peer]
rpifan_ has quit [Remote host closed the connection]