[PATCH v10 07/10] sandbox: binman: Add support for generating multiple images

Sughosh Ganu sughosh.ganu at linaro.org
Sat Aug 12 17:30:21 CEST 2023


Add support for all sandbox variants to support generating multiple
images. This also requires tweaking the binman node of the sandbox_vpl
variant to work with the multiple-images property.

Signed-off-by: Sughosh Ganu <sughosh.ganu at linaro.org>
Signed-off-by: Simon Glass <sjg at chromium.org>
Reviewed-by: Simon Glass <sjg at chromium.org>
---
Changes since V9: None

 arch/sandbox/dts/sandbox.dts      | 1 +
 arch/sandbox/dts/sandbox_vpl.dtsi | 5 +++++
 arch/sandbox/dts/test.dts         | 1 +
 3 files changed, 7 insertions(+)

diff --git a/arch/sandbox/dts/sandbox.dts b/arch/sandbox/dts/sandbox.dts
index 12d3eff5fa..1039b029f4 100644
--- a/arch/sandbox/dts/sandbox.dts
+++ b/arch/sandbox/dts/sandbox.dts
@@ -22,6 +22,7 @@
 	};
 
 	binman: binman {
+		multiple-images;
 	};
 
 	memory {
diff --git a/arch/sandbox/dts/sandbox_vpl.dtsi b/arch/sandbox/dts/sandbox_vpl.dtsi
index c7dc00a8d2..83e7657d5d 100644
--- a/arch/sandbox/dts/sandbox_vpl.dtsi
+++ b/arch/sandbox/dts/sandbox_vpl.dtsi
@@ -4,6 +4,11 @@
  */
 
 &binman {
+	image: image {
+	};
+};
+
+&image {
 	u-boot-tpl-elf {
 		no-expanded;
 	};
diff --git a/arch/sandbox/dts/test.dts b/arch/sandbox/dts/test.dts
index f351d5cb84..9b731a29cf 100644
--- a/arch/sandbox/dts/test.dts
+++ b/arch/sandbox/dts/test.dts
@@ -67,6 +67,7 @@
 	};
 
 	binman: binman {
+		multiple-images;
 	};
 
 	config {
-- 
2.34.1



More information about the U-Boot mailing list