From: "Jérémie Dautheribes (Schneider Electric)" <jeremie.dautheribes@bootlin.com>
To: "NXP i.MX U-Boot Team" <uboot-imx@nxp.com>,
u-boot@lists.u-boot-project.org
Cc: "Jérémie Dautheribes (Schneider Electric)"
<jeremie.dautheribes@bootlin.com>,
"Miquèl Raynal" <miquel.raynal@bootlin.com>,
"Thomas Petazzoni" <thomas.petazzoni@bootlin.com>,
"Tom Rini" <trini@konsulko.com>, "Simon Glass" <sjg@chromium.org>,
"Alper Nebi Yasak" <alpernebiyasak@gmail.com>,
"Stefano Babic" <sbabic@nabladev.com>,
"Fabio Estevam" <festevam@gmail.com>,
"Marek Vasut" <marex@nabladev.com>,
"Denis Mukhin" <dmukhin@ford.com>,
"Rasmus Villemoes" <rv@rasmusvillemoes.dk>,
"Ilias Apalodimas" <ilias.apalodimas@linaro.org>,
"Krzysztof Drobiński" <krzysztof@kd-solutions.pl>,
"Peng Fan" <peng.fan@nxp.com>, "Alice Guo" <alice.guo@nxp.com>,
"Simona Toaca" <simona.toaca@nxp.com>, "Ye Li" <ye.li@nxp.com>,
"Quentin Schulz" <quentin.schulz@cherry.de>,
"Christophe Guerreiro" <christophe.guerreiro@non.se.com>
Subject: [PATCH v2 4/7] imx93-u-boot: wrap SPL and U-Boot nodes in a CST node if AHAB_BOOT enabled
Date: Wed, 02 Sep 2026 15:41:31 +0200 [thread overview]
Message-ID: <20260902-imx93-secureboot-v2-4-5947b92a5072@bootlin.com> (raw)
In-Reply-To: <20260902-imx93-secureboot-v2-0-5947b92a5072@bootlin.com>
When CONFIG_AHAB_BOOT is enabled, wrap the SPL and U-Boot binman nodes in
a CST node so that binman signs them automatically.
Reviewed-by: Simon Glass <sjg@chromium.org>
Signed-off-by: Jérémie Dautheribes (Schneider Electric) <jeremie.dautheribes@bootlin.com>
---
arch/arm/dts/imx93-u-boot.dtsi | 54 +++++++++++++++++++++++++++---------------
1 file changed, 35 insertions(+), 19 deletions(-)
diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi
index bd970c955cf..569b3ef5d9c 100644
--- a/arch/arm/dts/imx93-u-boot.dtsi
+++ b/arch/arm/dts/imx93-u-boot.dtsi
@@ -47,32 +47,48 @@
filename = "flash.bin";
pad-byte = <0x00>;
- spl {
- type = "nxp-imx9image";
- cfg-path = "spl/u-boot-spl.cfgout";
+#ifdef CONFIG_AHAB_BOOT
+ nxp-imx93cst@0 {
+ filename = "spl.signed.bin";
args;
-
- boot-from = "sd";
- soc-type = "IMX9";
- append = "mx93a1-ahab-container.img";
- container;
- image = "a55", "u-boot-spl-ddr.bin", "0x2049A000";
+#endif
+ spl {
+ type = "nxp-imx9image";
+ cfg-path = "spl/u-boot-spl.cfgout";
+ args;
+
+ boot-from = "sd";
+ soc-type = "IMX9";
+ append = "mx93a1-ahab-container.img";
+ container;
+ image = "a55", "u-boot-spl-ddr.bin", "0x2049A000";
+ };
+#ifdef CONFIG_AHAB_BOOT
};
+#endif
- u-boot {
- type = "nxp-imx9image";
- cfg-path = "u-boot-container.cfgout";
+#ifdef CONFIG_AHAB_BOOT
+ nxp-imx93cst@1 {
+ filename = "u-boot-container.signed.bin";
args;
-
- boot-from = "sd";
- soc-type = "IMX9";
- container;
- image0 = "a55", "bl31.bin", "0x204E0000";
- image1 = "a55", "u-boot.bin", "0x80200000";
+#endif
+ u-boot {
+ type = "nxp-imx9image";
+ cfg-path = "u-boot-container.cfgout";
+ args;
+
+ boot-from = "sd";
+ soc-type = "IMX9";
+ container;
+ image0 = "a55", "bl31.bin", "0x204E0000";
+ image1 = "a55", "u-boot.bin", "0x80200000";
#if defined(CONFIG_OPTEE)
- image2 = "a55", "tee.bin", "0x96000000";
+ image2 = "a55", "tee.bin", "0x96000000";
#endif
+ };
+#ifdef CONFIG_AHAB_BOOT
};
+#endif
};
};
};
--
2.55.0
next prev parent reply other threads:[~2026-09-02 13:42 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-09-02 13:41 [PATCH v2 0/7] binman: add nxp_imx93cst etype for i.MX93 flash.bin signing Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` [PATCH v2 1/7] binman: add nxp_imxcst base etype for i.MX CST signing Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` [PATCH v2 2/7] binman: nxp_imx8mcst: use the nxp_imxcst base etype Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` [PATCH v2 3/7] tools: binman: add nxp_imx93cst etype for i.MX93 flash.bin signing Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` Jérémie Dautheribes (Schneider Electric) [this message]
2026-09-02 13:41 ` [PATCH v2 5/7] doc: imx: ahab: add AHAB introduction Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` [PATCH v2 6/7] doc: imx: ahab: add i.MX93 secure boot guide Jérémie Dautheribes (Schneider Electric)
2026-09-02 13:41 ` [PATCH v2 7/7] binman: test: add code coverage for nxp_imx93cst etype Jérémie Dautheribes (Schneider Electric)
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20260902-imx93-secureboot-v2-4-5947b92a5072@bootlin.com \
--to=jeremie.dautheribes@bootlin.com \
--cc=alice.guo@nxp.com \
--cc=alpernebiyasak@gmail.com \
--cc=christophe.guerreiro@non.se.com \
--cc=dmukhin@ford.com \
--cc=festevam@gmail.com \
--cc=ilias.apalodimas@linaro.org \
--cc=krzysztof@kd-solutions.pl \
--cc=marex@nabladev.com \
--cc=miquel.raynal@bootlin.com \
--cc=peng.fan@nxp.com \
--cc=quentin.schulz@cherry.de \
--cc=rv@rasmusvillemoes.dk \
--cc=sbabic@nabladev.com \
--cc=simona.toaca@nxp.com \
--cc=sjg@chromium.org \
--cc=thomas.petazzoni@bootlin.com \
--cc=trini@konsulko.com \
--cc=u-boot@lists.u-boot-project.org \
--cc=uboot-imx@nxp.com \
--cc=ye.li@nxp.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.