imgtool
manages MCUboot firmware images
TLDR
Create MCUboot image
$ imgtool create --key [key.pem] --align 4 --version 1.0.0 [app.bin] [signed.bin]
Sign image$ imgtool sign --key [key.pem] [input.bin] [output.bin]
Get image info$ imgtool getinfo [image.bin]
Generate keys$ imgtool keygen --key [key.pem] --type rsa-2048
SYNOPSIS
imgtool command [options]
DESCRIPTION
imgtool manages MCUboot firmware images. It creates, signs, and inspects bootloader-compatible images.
The tool is essential for secure boot workflows. It handles image headers, signatures, and version information.
PARAMETERS
COMMAND
Operation to perform.create
Create signed image.sign
Sign existing image.getinfo
Show image information.keygen
Generate signing keys.--key FILE
Key file.--help
Display help information.
CAVEATS
Part of MCUboot project. Specific image format. Cryptographic keys required.
HISTORY
imgtool is part of MCUboot, an open-source secure bootloader for microcontrollers.
