[PATCH V5 08/12] iot2050: Add script for signing artifacts

Tom Rini trini at konsulko.com
Sat Feb 4 17:21:37 CET 2023


On Sat, Feb 04, 2023 at 07:34:46AM +0100, Jan Kiszka wrote:
> On 03.02.23 19:51, Tom Rini wrote:
> > On Fri, Feb 03, 2023 at 01:26:37PM +0100, Jan Kiszka wrote:
> > 
> >> From: Jan Kiszka <jan.kiszka at siemens.com>
> >>
> >> There are many ways to get a signed firmware for the IOT2050 devices,
> >> namely for the parts under user-control. This script documents one way
> >> of doing it, given a signing key. Augment the board documentation with
> >> the required procedure around it.
> >>
> >> Signed-off-by: Jan Kiszka <jan.kiszka at siemens.com>
> > [snip]
> >> +# currently broken in upstream
> >> +#source/tools/binman/binman replace -i flash.bin -f fit at 0x380000.fit fit at 0x380000
> >> +dd if=fit at 0x380000.fit of=flash.bin bs=$((0x1000)) seek=$((0x380000/0x1000)) conv=notrunc
> > 
> > Is that still a true comment?
> > 
> 
> binman: Node '/fit at 0x380000/images/u-boot': Offset 0x0 (0) size 0xb8870
> (755824) is outside the section '/fit at 0x380000' starting at 0x0 (0) of
> size 0x400 (1024)
> 
> And for the second call:
> 
> binman: Node '/fit at 0x380000': Replacing sections is not implemented yet
> 
> We tried fixing but eventually had to give up. binman is not easy to
> understand in these corners.

OK, thanks.

-- 
Tom
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 659 bytes
Desc: not available
URL: <https://lists.denx.de/pipermail/u-boot/attachments/20230204/59483bda/attachment.sig>


More information about the U-Boot mailing list