| SRKTOOL(1) | i.MX CST Documentation | SRKTOOL(1) |
srktool - Generate SRK Table and eFuse hash for secure boot on NXP i.MX processors (HAB4 and AHAB)
srktool --ahab_ver --table file --efuses file --digest algo --sign_digest algo --certs certs,... [--fuse_format format] [--license] [--version] [--verbose]
srktool --hab_ver 4 --table file --efuses file --digest sha256 --certs certs,... [--fuse_format format] [--license] [--version] [--verbose]
srktool is a utility for generating Super Root Key (SRK) tables and eFuse hash binaries required for enabling secure boot on NXP i.MX SoCs using either HAB4 or AHAB mechanisms.
It processes up to four X.509 certificates (PEM or DER format), and produces a binary SRK table and a corresponding hash file suitable for programming into fuses.
For AHAB, one of:
For HAB4, only "sha256" is supported.
This option is only valid for AHAB.
Generate an AHAB-compatible SRK table and eFuse file with SHA-512 digest and certificate signatures using SHA-384:
srktool --ahab_ver \
--digest sha512 --sign_digest sha384 \
--table srk_table.bin --efuses srk_fuse.bin \
--certs srk1.pem,srk2.pem,srk3.pem
Generate a HAB4-compatible SRK table using SHA-256 and a mix of full and digest-style certificates:
srktool --hab_ver 4 --digest sha256 \
--table srk_table.bin --efuses srk_fuse.bin \
--certs srk1.pem,srk2.pem,%srk3.pem
| 2025-06-04 |