-
-
Notifications
You must be signed in to change notification settings - Fork 7
Closed
Description
When using the example to create the output.bin file, imgtool crashes.
Command
imgtool sign --key ecdsa-p256-signing-priv-key.pem --encrypt ecdsa-p256-encrypt-pub-key.pem input.bin output.bin --align 32 --max-align 32 --version 1.2.3+4 --header-size 0x20000 --pad-header --slot-size 0x1E0000
Error:
/github-mcuboot/scripts/imgtool/image.py", line 568, in add_header
header = struct.pack(fmt, struct.error: ushort format requires 0 <= number <= (0x7fff * 2 + 1)
When I use a header-size of 0x2000 instead of 0x20000, the tool is working. But it is unclear, if 2000 is correct or not.
Metadata
Metadata
Assignees
Labels
No labels