<qschulz>
I sent a mail to that address with a bit more text than just my username, but it's not entirely clear now what I was supposed to do?
prabhakalad has quit [Quit: Konversation terminated!]
f_ has joined #u-boot
prabhakalad has joined #u-boot
enok has quit [Ping timeout: 268 seconds]
Guest82 has joined #u-boot
zear has quit [Ping timeout: 260 seconds]
naoki has quit [Quit: naoki]
enok has joined #u-boot
mmu_man has joined #u-boot
Stat_headcrabed has joined #u-boot
rvalue has joined #u-boot
KREYREN_ has quit [Remote host closed the connection]
axioms has quit [Quit: Konversation terminated!]
f_ has quit [Ping timeout: 260 seconds]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
dsimic has quit [Ping timeout: 260 seconds]
dsimic has joined #u-boot
Stat_headcrabed has joined #u-boot
zear has joined #u-boot
milkylainen has joined #u-boot
<milkylainen>
hello ubooters.
<milkylainen>
I've got a funky issue with mkimage signing fit images. Tried the latest git repo host tools build too. Same thing. I've got a devicetree constisting of a kernel, ramdisk and a bunch of fdts. And the config nodes are pretty much similar. Yet for some reason the first config node comes out with a different hashed-string length than the others.
<milkylainen>
But when I try the same on another machine, I get the famous size whine error when sining, and there all the nodes end up the same size.
Stat_headcrabed has quit [Quit: Stat_headcrabed]
<marex>
sjg1: xypron: ^
GNUtoo has quit [Ping timeout: 268 seconds]
<milkylainen>
It has flown under my radar for some time. An awake developer noticed that the hashed-string length and hash changed when resigning with the same key.
<milkylainen>
Not just the timestamp that is.
<milkylainen>
For the first configuration object..
<milkylainen>
first node turns out 0 0x96, and the rest 0 0xcd, but if I resign it, I get 0xcd in all nodes. Feels like some sort of initialization, string termination issue?
monstr has quit [Ping timeout: 252 seconds]
Stat_headcrabed has joined #u-boot
GNUtoo has quit [Ping timeout: 268 seconds]
GNUtoo has joined #u-boot
qqq has quit [Remote host closed the connection]
Stat_headcrabed has quit [Quit: Stat_headcrabed]
thopiekar has quit [Ping timeout: 272 seconds]
thopiekar has joined #u-boot
thopiekar has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 252 seconds]
enok has quit [Ping timeout: 268 seconds]
<Tartarus>
milkylainen: Ugh, can you bisect when this was broken?
<Tartarus>
qschulz: OK thanks, lemme check my older emails as well
qqq has joined #u-boot
Guest82 has quit [Quit: Client closed]
Stat_headcrabed has joined #u-boot
thopiekar has joined #u-boot
<milkylainen>
Tartarus: Haven't checked yet. Ubuntus default mkimage from the toolset package (2022.01?) behaves the same. Not sure how long I can go back with my signing methods.
<milkylainen>
2022.01+dfsg-2ubuntu2.5
mmu_man has joined #u-boot
enok has joined #u-boot
<Tartarus>
OK
jclsn has quit [Quit: WeeChat 4.2.2]
linfax has quit [Ping timeout: 255 seconds]
warpme has joined #u-boot
<warpme>
hi *
<warpme>
i'm trying to use umc command to access from PC (Fedora39) board emmc. uboot is 2024.04. Issuing "ums 0 mmc 1" gives me on board uart "UMS: LUN 0, dev mmc 1, hwpart 0, sector 0x0, count 0x1d1f000" and constant stream of |/-\|/-\/-" However on PC dmesg i'm getting: https://gist.github.com/warpme/7b15dd0f14995b4a79c973d04e8732e5 This is Fedora39 with 6.8.4 kernel. Has anybody idea how to move forward wth this?
mckoan is now known as mckoan|away
vagrantc has joined #u-boot
<marex>
warpme: try different cable or different port on your host machine
<marex>
71 is cable issues
alperak has quit [Quit: Connection closed for inactivity]
frieder has quit [Remote host closed the connection]
<milkylainen>
Hmm. Maybe I was wrong all along? Maybe it's the other way around. All other proplengths are wrong? In fit_config_process_sig it calculates the propstring lengths as 148. Then for some reason it uses fdt_size_dt_strings(fit) in fit_image_write_sig and calculates another size altogether?
<milkylainen>
It sets the property with region_proplen and populates the strdata object with the dt_string sizes?
<milkylainen>
ergh?
mmu_man has joined #u-boot
<milkylainen>
Ok. So it is the size of the fdt region. But why would it vary between process runs?
<milkylainen>
I'd be fine if it was some legacy thing that nobody used. But the hash value varies.
<milkylainen>
Which is kinda annoying?
enok has joined #u-boot
KREYREN has joined #u-boot
enok has quit [Ping timeout: 268 seconds]
f_ has quit [Ping timeout: 260 seconds]
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
Clamor has quit [Ping timeout: 268 seconds]
Clamor has joined #u-boot
enok has joined #u-boot
Clamor has quit [Read error: Connection reset by peer]
<marex>
milkylainen: up to date mkimage should align things properly for you
<marex>
milkylainen: and yes, if you have strings like date in the fitImage, the size may vary
<milkylainen>
marex: as in now? I pulled today.
<milkylainen>
marex: I've tried building hosttools from today and it behaves the same as the one in ubuntu.
<milkylainen>
marex: It's just the first config node that seems to vary. Not any of the others, although they share the same timestamp.
<milkylainen>
The property length goes from 150 (148 + 2 for end?) to 205 or something like that. For the same string list.
<marex>
milkylainen: you can use fdtdump on the fitImage and see what is in it
<marex>
the fitImage is plain DT with binary data included in it
KREYREN has quit [Remote host closed the connection]
KREYREN has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
warpme has quit [Quit: My MacBook has gone to sleep. ZZZzzz…]
profcowculus has joined #u-boot
<milkylainen>
didn't help much.
enok has joined #u-boot
alperak has quit [Quit: Connection closed for inactivity]
slobodan has joined #u-boot
KREYREN_ has joined #u-boot
KREYREN has quit [Remote host closed the connection]
jfsimon1981 has joined #u-boot
jfsimon1981_b has joined #u-boot
jfsimon1981 has quit [Remote host closed the connection]
scarodj1 has quit [Quit: Leaving.]
mmu_man has quit [Ping timeout: 252 seconds]
mmu_man has joined #u-boot
peterm6881 has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
enok has quit [Ping timeout: 252 seconds]
mmu_man has quit [Ping timeout: 260 seconds]
slobodan has quit [Ping timeout: 252 seconds]
slobodan has joined #u-boot
mmu_man has joined #u-boot
ikarso has quit [Quit: Connection closed for inactivity]
persmule has quit [Remote host closed the connection]
mmu_man has quit [Ping timeout: 268 seconds]
mmu_man has joined #u-boot
sakman has quit [Remote host closed the connection]