[PATCH 2/2] imx93-u-boot: use nxp-imx9image etype for binman node

Jérémie Dautheribes jeremie.dautheribes at bootlin.com
Thu Nov 27 18:29:20 CET 2025


From: "Jérémie Dautheribes (Schneider Electric)" <jeremie.dautheribes at bootlin.com>

Similar to the imx95, use the nxp-imx9image etype for the binman node to
facilitate further modifications.

Signed-off-by: Jérémie Dautheribes (Schneider Electric) <jeremie.dautheribes at bootlin.com>
---
 arch/arm/dts/imx93-u-boot.dtsi | 51 +++++++++++++---------------------
 1 file changed, 20 insertions(+), 31 deletions(-)

diff --git a/arch/arm/dts/imx93-u-boot.dtsi b/arch/arm/dts/imx93-u-boot.dtsi
index 8d1a29d0bdb..dc86746ac90 100644
--- a/arch/arm/dts/imx93-u-boot.dtsi
+++ b/arch/arm/dts/imx93-u-boot.dtsi
@@ -43,43 +43,32 @@
 			};
 		};
 
-		spl {
-			filename = "spl.bin";
-
-			mkimage {
-				args = "-n spl/u-boot-spl.cfgout -T imx8image -e 0x2049A000";
-
-				blob {
-					filename = "u-boot-spl-ddr.bin";
-				};
-			};
-		};
-
-		u-boot-container {
-			filename = "u-boot-container.bin";
-
-			mkimage {
-				args = "-n u-boot-container.cfgout -T imx8image -e 0x0";
-
-				blob {
-					filename = "u-boot.bin";
-				};
-			};
-		};
-
 		imx-boot {
 			filename = "flash.bin";
 			pad-byte = <0x00>;
 
-			spl: blob-ext at 1 {
-				filename = "spl.bin";
-				offset = <0x0>;
-				align-size = <0x400>;
-				align = <0x400>;
+			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";
 			};
 
-			uboot: blob-ext at 2 {
-				filename = "u-boot-container.bin";
+			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";
 			};
 		};
 	};
-- 
2.43.0



More information about the U-Boot mailing list