<pbiel>
Hi I've been exploring fimware update on DRA821 and looking for a way to update as much as possible. I've been working on A/B update scheme, so I need a place to make a slot selection. Bootflow on my platform is roughly as follows: R5 Core SPL -> A72 SPL -> A72 u-boot proper. The best place to put the bank selection mechanism would be in R5 SPL. However it is currently not possible and there is no board customization point to plug in such
<pbiel>
board specific functionality. In a nutshell SPL currently iterates over bootable partitions and selectes the first bootable. I was thinking about perhaps adding there a weak function like spl_mmc_boot_partition_select. Other way to select the partiton is though CONFIG_SYS_MMCSD_FS_BOOT_PARTITION but this is obviosly a static, compile time assignment. Looking for any comments that would help me designing something that would fit naturally in
<pbiel>
u-boot SPL
eballetbo has joined #u-boot
mmu_man has joined #u-boot
<marex>
pbiel: talk to NishanthMenon
warpme_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
mckoan is now known as mckoan|away
<mps>
I'm getting these warnings when building 2026.07 for alpine (musl) https://tpaste.us/rN5e
memset has quit [Remote host closed the connection]
memset has joined #u-boot
warpme_ has joined #u-boot
artiepoole_ has quit [Quit: ZNC 1.9.0+deb2build3 - https://znc.in]
artiepoole has joined #u-boot
mmu_man has quit [Ping timeout: 252 seconds]
Dr_Who has joined #u-boot
gsz has joined #u-boot
warpme_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
memset has quit [Remote host closed the connection]
memset has joined #u-boot
memset has quit [Remote host closed the connection]
memset has joined #u-boot
mmu_man has joined #u-boot
mmu_man has quit [Ping timeout: 265 seconds]
ikarso has quit [Quit: Connection closed for inactivity]
warpme_ has joined #u-boot
mmu_man has joined #u-boot
gsz has quit [Ping timeout: 257 seconds]
memset has quit [Remote host closed the connection]
memset has joined #u-boot
frieder has quit [Remote host closed the connection]
monstr has joined #u-boot
dsimic has quit [Ping timeout: 265 seconds]
dsimic has joined #u-boot
helene has quit [Read error: Connection reset by peer]
helene has joined #u-boot
pono has quit [Ping timeout: 272 seconds]
mmu_man has quit [Ping timeout: 264 seconds]
pono has joined #u-boot
monstr has quit [Remote host closed the connection]
<qschulz>
can someone help me with the u-boot custodian workflow? I'm a bit confused, especially around which base branch/commit to use for my branches
<qschulz>
I wrote this https://paste.ack.tf/0b290e. With some questions at the end. I can reword if it's confusing or unclear
pbiel has quit [Remote host closed the connection]
pbiel has joined #u-boot
memset has quit [Remote host closed the connection]
<marex>
qschulz: review patches , rb/ab patches, collect patches from patchwork/lore/wherever, apply patches ideally to date-stampled branch, push to CI, if CI passes, submit a PR
memset has joined #u-boot
<qschulz>
marex: what's the base commit for my date-stampled branch (wrt next AND master)
<marex>
qschulz: I generally use u-boot/master or u-boot/next
sszy has quit [Remote host closed the connection]
warpme_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
<qschulz>
so if it happens you have more than one PR for a release, you start from a brand new date-stampled branch at the time you start to work on it, instead of adding commits on top of the previous PR?
<marex>
qschulz: sure, once PR is done and send it to Tartarus , I do not touch it
<qschulz>
marex: ah so you use your branches as tags essentially
<marex>
qschulz: tags are useless as they can be moved to different commit SHAs , branches , well , do not have that problem
<qschulz>
what do you mean
<marex>
qschulz: but I use git send-email and that always contains the commit SHA in it
<qschulz>
git push -f branch
<qschulz>
and you can sign tags, which you cannot do with branches
<qschulz>
(git request-pull also adds the commit hash anyway as far as I understood)
<marex>
ultimately the best identifier is the commit sha, because that is the only sure identifier of a tree state at specific point
<qschulz>
(i like tags because it really says "no further development here")
<marex>
commit sha is the only stable identifier :)
<qschulz>
marex: correct, although you need to attach it to something (tag/branch) to avoid it being git gc'ed but that's details :)
<marex>
branch, tags which point to dangling commit shas are horrid, please dont do that
<qschulz>
well... they aren't dangling if they belong in a tag/branch so not sure to answer what I can do wrong there
<qschulz>
s/to answer//
peeweep2 has joined #u-boot
mmu_man has joined #u-boot
<qschulz>
marex: is the Awaiting Upstream status in patchwork used for next? (b4 seems to be configured to say Accepted regardless of the target branch)
peeweep has quit [*.net *.split]
peeweep2 is now known as peeweep
<dlech>
qschulz, FWIW, this is the script I made to automate pull requests (I just became a custodian earlier this year) and I use `b4 review tui` to track things send thank you emails when I pick up a patch.
memset has quit [Remote host closed the connection]
<marex>
tldr, everyone has their own comfy workflow they built over last N years :)
memset has joined #u-boot
<dlech>
yup :-)
<qschulz>
dlech: thanks! I know kcxt tried using b4-review in the past and wasn't too happy about it so I'm a bit wary of using it :)
<qschulz>
(it's marked as alpha after all!)
apritzel has quit [Ping timeout: 244 seconds]
<dlech>
It's been working fine for me so far. I typically don't have to manage a lot of patches though so less chance of running into problems for me.
warpme_ has joined #u-boot
mmu_man has quit [Ping timeout: 264 seconds]
memset has quit [Remote host closed the connection]
memset has joined #u-boot
goliath has joined #u-boot
<Tartarus>
qschulz: Catching up
<Tartarus>
A tag with a summary in it gives a nice merge message, which I prefer
<Tartarus>
Otherwise I can copy/paste it out of the email
<Tartarus>
`b4 pr` I think checks that the sha in the email matches what goes in FETCH_HEAD
<Tartarus>
But there's a certain level of trust built in to the system as well
darkxst has quit [Ping timeout: 246 seconds]
darkxst has joined #u-boot
warpme_ has quit [Quit: My Mac has gone to sleep. ZZZzzz…]
ikarso has joined #u-boot
<qschulz>
Tartarus: thanks
<qschulz>
is there any preference for the patchwork state of a dts/upstream patch that ended up not being picked up because a bump happened since the series was posted?
<Tartarus>
Deferred?
<Tartarus>
I only try and be careful about "Rejected"
<Tartarus>
And if not Deferred "Not Applicable"
<qschulz>
doesn't deferred mean "look at it later"?
<qschulz>
we know we won't need it as the bump has already been merged
<qschulz>
is there a reason for not specifying a `timeout` for a specific job we're expecting to exceed the default 1h from the project? c.f. https://docs.gitlab.com/ci/yaml/#timeout
<Tartarus>
Honestly, I was hoping we'd be able to keep that consistently under an hour
<Tartarus>
Might need to talk with OSU OSL again about it, but it's also shared runners with other projects
<Tartarus>
So it could just be bad timing
<qschulz>
sudo apt-get install more-cpus more-ram
<Tartarus>
heh
goliath has quit [Quit: SIGSEGV]
mmu_man has joined #u-boot
eballetbo has quit [Quit: Connection closed for inactivity]
gsz has joined #u-boot
<darkling>
You wouldn't download a memory stick.
slobodan has joined #u-boot
polprog has quit [Ping timeout: 243 seconds]
apritzel has joined #u-boot
goliath has joined #u-boot
Biswa62 has joined #u-boot
<Biswa62>
Is there a general way to relate Linux's regmap functions with u-boot's regmap functions? I am trying to port a driver from Linux to u-boot.
slobodan_ has joined #u-boot
slobodan has quit [Ping timeout: 251 seconds]
apritzel has quit [Ping timeout: 245 seconds]
<marex>
they should roughly match
Stat_headcrabbed has quit [Quit: Stat_headcrabbed]
<Biswa62>
so, regmap_bulk_read/write is same as regmap_raw_read/write?
apritzel has joined #u-boot
gsz has quit [Ping timeout: 243 seconds]
Biswa62 has quit [Quit: please reply, I'll see the irc log :)]
apritzel has quit [Ping timeout: 248 seconds]
urja has quit [Ping timeout: 244 seconds]
urja has joined #u-boot
apritzel has joined #u-boot
rainbyte has quit [Quit: rainbyte]
memset has quit [Remote host closed the connection]
memset has joined #u-boot
memset has quit [Remote host closed the connection]
memset has joined #u-boot
rainbyte has joined #u-boot
absc has joined #u-boot
apritzel has quit [Remote host closed the connection]
apritzel has joined #u-boot
goliath has quit [Quit: SIGSEGV]
apritzel has quit [Ping timeout: 248 seconds]
slobodan__ has joined #u-boot
slobodan_ has quit [Ping timeout: 251 seconds]
absc has quit [Quit: Got to go. irctk 1.1.0-beta]
slobodan__ has quit [Remote host closed the connection]