binman: add nxp_imx93cst etype for i.MX93 flash.bin signing
A message that is not in the archive (sent off-list or not yet received): [email protected]
Hello all,
One of my colleagues has identified a few issues in the documentation with CST v4.0.1. I'll send out a version 3 fixing these.
Best regards,
Jérémie
Quoted 59 lines · Jérémie Dautheribes (Schneider Electric)
Hello,
This series adds support for signing i.MX93 images by leveraging binman and CST, the NXP tool used for secure boot. This introduces a new binman entry type (etype) for this purpose.
The implementation is largely derived from the existing i.MX8M support, since the two share much of the same signing infrastructure.
This procedure has been tested on the imx93-evk board, using both ECDSA and RSA-PSS keys.
Patch 1: introduces the new etype
Patch 2: updates theimx93-u-boot.dtsidescription to include the new signing nodes
Patches 3-4: documentation
Patch 5: adds test coverage---
Changes in v2:
- Following Simong Glass' feedback:
- Created a new common class shared between thenxp_imx8mcstand thenxp_imx93cstetypes
- rewrote the doc in reStructuredText and mention binman instead of imx-mkimage
- took into account the other minor suggestions
- Link to v1: https://patch.msgid.link/[email protected]---
Jérémie Dautheribes (Schneider Electric) (5):
tools: binman: addnxp_imx93cstetype for i.MX93 flash.bin signing
imx93-u-boot: wrap SPL and U-Boot nodes in a CST node ifAHAB_BOOTenabled
doc: imx: ahab: add AHAB introduction
doc: imx: ahab: add i.MX93 secure boot guide
binman: test: add code coverage fornxp_imx93cstetype.gitignore | 2 + arch/arm/dts/imx93-u-boot.dtsi | 54 ++- doc/board/nxp/index.rst | 2 + doc/imx/ahab/guides/mx93_secure_boot.rst | 297 +++++++++++++ doc/imx/ahab/guides/mx93_secure_boot.txt | 269 ++++++++++++ doc/imx/ahab/introduction_ahab.rst | 465 +++++++++++++++++++++ doc/imx/ahab/introduction_ahab.txt | 445 ++++++++++++++++++++ doc/imx/index.rst | 14 + tools/binman/etype/nxp_imx8mcst.py | 60 +-- tools/binman/etype/nxp_imx93cst.py | 112 +++++ tools/binman/etype/nxp_imxcst.py | 121 ++++++ tools/binman/ftest.py | 85 ++++ tools/binman/test/vendor/nxp_imx93_csf.dts | 18 + .../binman/test/vendor/nxp_imx93_csf_imagename.dts | 24 ++ 14 files changed, 1899 insertions(+), 69 deletions(-)---
base-commit:d3e8597e46b635ec556a057bc42f0b0859654bdf
change-id: 20260814-imx93-secureboot-b914e7b6cbbfBest regards,
--
Jérémie Dautheribes (Schneider Electric) <[email protected]>
Signature · 3 lines
Jérémie Dautheribes, Bootlin Embedded Linux and Kernel engineering https://bootlin.com