Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
10 changes: 8 additions & 2 deletions docs/imgtool.md
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,16 @@ primary slot and adds a header and trailer that the bootloader is expecting:
extension, otherwise binary format is used

Options:
--vid TEXT Unique vendor identifier, format:
(<raw_uuid>|<domain_name)>
--cid TEXT Unique image class identifier, format:
(<raw_uuid>|<image_class_name>)
--vector-to-sign [payload|digest]
send to OUTFILE the payload or payloads
digest instead of complied image. These data
can be used for external image signing
--hmac-sha [auto|256|512] sha algorithm used in HKDF/HMAC in ECIES key
exchange TLV
--sha [auto|256|384|512] selected sha algorithm to use; defaults to
"auto" which is 256 if no cryptographic
signature is used, or default for signature
Expand Down Expand Up @@ -102,6 +108,8 @@ primary slot and adds a header and trailer that the bootloader is expecting:
secondary slot. [required]
--pad Pad image to --slot-size bytes, adding
trailer magic
--test When padding the image, mark it for a test
swap (implies --pad)
--confirm When padding the image, mark it as confirmed
(implies --pad)
-M, --max-sectors INTEGER When padding allow for this amount of
Expand All @@ -116,8 +124,6 @@ primary slot and adds a header and trailer that the bootloader is expecting:
capabilities,so it can be installed in the
primary slot, and encrypted when swapped to
the secondary.
--skip-encryption Set encryption flags and TLV's without
applying encryption.
--compression [disabled|lzma2|lzma2armthumb]
Enable image compression using specified
type. Will fall back without image
Expand Down
Loading