rcn-ee has quit [Read error: Connection reset by peer]
sjg1 has quit [Read error: Connection reset by peer]
ndesaulniers has quit [Read error: Connection reset by peer]
rcn-ee has joined #u-boot
sjg1 has joined #u-boot
ndesaulniers has joined #u-boot
kallisti5[m] has quit [Ping timeout: 246 seconds]
Domon has quit [Ping timeout: 246 seconds]
jevinskie[m] has quit [Ping timeout: 246 seconds]
macromorgan has quit [Ping timeout: 248 seconds]
kallisti5[m] has joined #u-boot
Domon has joined #u-boot
jevinskie[m] has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
thopiekar has joined #u-boot
ikarso has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
camus has quit [Ping timeout: 246 seconds]
camus has joined #u-boot
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
camus has quit [Read error: Connection reset by peer]
camus1 has joined #u-boot
camus1 is now known as camus
prabhakarlad has joined #u-boot
ladis has joined #u-boot
rvalue- has joined #u-boot
rvalue has quit [Ping timeout: 252 seconds]
rvalue- is now known as rvalue
camus has quit [Ping timeout: 252 seconds]
camus has joined #u-boot
hanetzer has joined #u-boot
sbach has quit [Read error: Connection reset by peer]
sbach has joined #u-boot
jagan has joined #u-boot
mmu_man has joined #u-boot
apritzel_ has joined #u-boot
jagan has quit [Quit: Connection closed]
mmu_man has quit [Ping timeout: 272 seconds]
ladis_ has joined #u-boot
ladis has quit [Ping timeout: 252 seconds]
rvalue has quit [Ping timeout: 252 seconds]
rvalue- has joined #u-boot
jagan has joined #u-boot
rvalue- is now known as rvalue
mmu_man has joined #u-boot
camus has quit [Ping timeout: 252 seconds]
camus has joined #u-boot
camus has quit [Quit: camus]
camus has joined #u-boot
camus has quit [Ping timeout: 272 seconds]
camus has joined #u-boot
apritzel__ has joined #u-boot
apritzel_ has quit [Ping timeout: 252 seconds]
rvalue has quit [Read error: Connection reset by peer]
rvalue has joined #u-boot
torez has joined #u-boot
prabhakarlad has quit [Ping timeout: 244 seconds]
prabhakarlad has joined #u-boot
ladis_ has quit [Remote host closed the connection]
ladis_ has joined #u-boot
WoC- has quit [Quit: Leaving]
WoC has joined #u-boot
ladis_ has quit [Quit: Leaving]
minimal has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
prabhakarlad has quit [Quit: Client closed]
prabhakarlad has joined #u-boot
mmu_man has quit [Ping timeout: 272 seconds]
justache is now known as justPardoned
macromorgan has joined #u-boot
jclsn has quit [Quit: WeeChat 3.7]
jclsn has joined #u-boot
mmu_man has joined #u-boot
<marex>
Forty-Bot: that u-boot signing goop in OE ... what about rewriting the whole logic into python ?
cottsay has quit [Quit: TTFN]
cottsay has joined #u-boot
prabhakarlad has quit [Quit: Client closed]
jclsn has quit [Quit: WeeChat 3.7]
jclsn has joined #u-boot
jclsn has quit [Client Quit]
jclsn has joined #u-boot
jclsn has quit [Client Quit]
jclsn has joined #u-boot
jclsn has quit [Client Quit]
jclsn has joined #u-boot
Gravis has quit [Ping timeout: 250 seconds]
Gravis has joined #u-boot
jclsn has quit [Client Quit]
jclsn has joined #u-boot
brassado has joined #u-boot
brassado is now known as sam_sepi0l
jagan has quit [Quit: Connection closed]
<cambrian_invader>
marex: incremental changes :)
<cambrian_invader>
also easier to extend; you can't prepend/append regular python functions (although I think it works for tasks)
<cambrian_invader>
the whole for loops over the config/machine is awful
<cambrian_invader>
IMO that could easily be fixed by switching to bash, but the bitbake parser doesn't even do all of POSIX shell...
<cambrian_invader>
the signing is still broken because it signs the images and not the config, but I have a follow-up for that
macromorgan has quit [Read error: Connection reset by peer]
macromorgan has joined #u-boot
apritzel__ has quit [Ping timeout: 255 seconds]
mmu_man has quit [Ping timeout: 272 seconds]
prabhakarlad has joined #u-boot
<marex>
cambrian_invader: the whole shell code in that bbclass is awful
mmu_man has joined #u-boot
<marex>
cambrian_invader: I should know, I wrote the initial version
<cambrian_invader>
why did you do the mkconfig dance in the first place?
persmule has quit [Remote host closed the connection]
<marex>
cambrian_invader: mkconfig ?
<cambrian_invader>
sorry, mkimage
<marex>
cambrian_invader: the initial version just wrote the fitImage .its and ran mkimage on that
<cambrian_invader>
oh, and then someone hacked in the signing
<marex>
cambrian_invader: there was no mkimage -F (I think it is) at that point which auto-generates that its
<marex>
cambrian_invader: that , yeah
<marex>
cambrian_invader: I think the better approach there would be to chop it into smaller bits and implement those in python, since that would be far saner
persmule has joined #u-boot
<cambrian_invader>
maybe, but I've already stared at those bbclasses too much already
<marex>
cambrian_invader: already already ? ;-)
<marex>
cambrian_invader: clearly
<cambrian_invader>
see, it rots your brain!
<marex>
hehe
<marex>
cambrian_invader: that one sure does ... it really could use some serious clean up / rework
<cambrian_invader>
I think it's as sane as it's going to get for now... there's a lot of corner cases and stuff that needs to get deployed
<marex>
I wonder if splitting it into smaller pieces , written in python , and then somehow let users assemble those , might help
<marex>
so that users could generate the .its content as they need
<marex>
currently it is rather rigid
<cambrian_invader>
yeah, currently there's no way to modify the fit
<cambrian_invader>
the signing should be broken off from the generation, like what's done in kernel-fitimage
<cambrian_invader>
although tbh it's still a pain to modify the kernel fitimage
<cambrian_invader>
for example, the default config is set in stone based on the devicetree order
<marex>
cambrian_invader: rework is sorely needed
<marex>
cambrian_invader: I only started it back then to get some fitImage support into OE, because uImage has been legacy since forever
<marex>
cambrian_invader: and the switch to fitImage has been required ...
<cambrian_invader>
I added a board without fitimage in 2020
<cambrian_invader>
but it certainly is nice
persmule has quit [Remote host closed the connection]
persmule has joined #u-boot
Gravis has quit [Ping timeout: 252 seconds]
Gravis has joined #u-boot
<marex>
cambrian_invader: is that something you are proud of ? :)
* cambrian_invader
shrugs
<marex>
heh
<cambrian_invader>
it was far easier than figuring out FIT at the time
<cambrian_invader>
I did it out of convenience
<marex>
ha ... I conveniently tftpboot fitImages because I don't have to figure out the placement of DT and blobs repeatedly, so learning it once might be a good investment
<cambrian_invader>
yes, I like it for that reason as well
<cambrian_invader>
but the documentation is not very good IMO