LinuxCommandLibrary
GitHubF-DroidGoogle Play Store

imgtool

manages MCUboot firmware images

TLDR

Create MCUboot image
$ imgtool create --key [key.pem] --align 4 --version 1.0.0 [app.bin] [signed.bin]
copy
Sign image
$ imgtool sign --key [key.pem] [input.bin] [output.bin]
copy
Get image info
$ imgtool getinfo [image.bin]
copy
Generate keys
$ imgtool keygen --key [key.pem] --type rsa-2048
copy

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.

INSTALL

sudo apt install mame-tools
copy
sudo dnf install mame-tools
copy
sudo pacman -S mame-tools
copy
sudo zypper install mame-tools
copy
nix profile install nixpkgs#mame-tools
copy

CAVEATS

Part of MCUboot project. Specific image format. Cryptographic keys required.

HISTORY

imgtool is part of MCUboot, an open-source secure bootloader for microcontrollers.

SEE ALSO

openssl(1)

Braincup
Open source brain training for math, memory and focus
Braincup mini-games
41 mini-games · Apache-2.0
No ads · No tracking
Play in browser
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid
276 stars
From the maker of Linux Command Library
Copied to clipboard
Braincup
Open source brain training for math, memory and focus. 41 mini-games, from mental arithmetic to Sudoku, N-Back and Solo Chess.
Apache-2.0 licensed · No ads · No tracking · No account
From the maker of Linux Command Library
Download Braincup on the App StoreGet Braincup on Google PlayGet Braincup on F-Droid