Skip to contentSkip to conversation

iot2050: binman: add missing-msg for blobs

PATCH In review Ivan Mikhaylov 2 participants 4 messages Dec 9, 2021 – Dec 15, 2021 Arm (32-bit)

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iot2050: binman: add missing-msg for blobs

From: Ivan Mikhaylov <[email protected]>

Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.

---
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi |  5 +++++
 tools/binman/missing-blob-help               | 11 +++++++++++
 2 files changed, 16 insertions(+)
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi +5 -0
index b0c758477d..4f0435cea5 100644
@@ -19,6 +19,7 @@
 		blob-ext@0x000000 {
 			offset = <0x000000>;
 			filename = "tiboot3.bin";
+			missing-msg = "iot2050-seboot";
 		};
 
 		blob@0x080000 {
@@ -187,21 +188,25 @@
 		blob-ext@0x6c0000 {
 			offset = <0x6c0000>;
 			filename = "sysfw.itb";
+			missing-msg = "iot2050-sysfw";
 		};
 		/* PG1 sysfw, advanced variant */
 		blob-ext@0x740000 {
 			offset = <0x740000>;
 			filename = "sysfw.itb_HS";
+			missing-msg = "iot2050-sysfw";
 		};
 		/* PG2 sysfw, basic variant */
 		blob-ext@0x7c0000 {
 			offset = <0x7c0000>;
 			filename = "sysfw_sr2.itb";
+			missing-msg = "iot2050-sysfw";
 		};
 		/* PG2 sysfw, advanced variant */
 		blob-ext@0x840000 {
 			offset = <0x840000>;
 			filename = "sysfw_sr2.itb_HS";
+			missing-msg = "iot2050-sysfw";
 		};
 	};
 };
tools/binman/missing-blob-help +11 -0
index dc2d9c9811..d7c0c6bf16 100644
@@ -18,6 +18,17 @@ scp-sunxi:
 SCP firmware is required for system suspend, but is otherwise optional.
 Please read the section on SCP firmware in board/sunxi/README.sunxi64
 
+iot2050-seboot:
+See the documentation for IOT2050 board. Your image missing SEBoot
+which is mandatory for board startup. Prebuilt SEBoot located at
+meta-iot2050/tree/master/recipes-bsp/u-boot/files/prebuild/tiboot3.bin.
+
+iot2050-sysfw:
+See the documentation for IOT2050 board. Your image missing system
+firmware which is mandatory for board startup. Prebuilt system firmware
+located at meta-iot2050/tree/master/recipes-bsp/u-boot/files/prebuild/
+with sysfw prefix.
+
 k3-rti-wdt-firmware:
 If CONFIG_WDT_K3_RTI_LOAD_FW is enabled, a firmware image is needed for
 the R5F core(s) to trigger the system reset. One possible source is
Signature · 1 line
2.34.0
Reviewed-by on v1 1/1
#1 lore raw

Hi Ivan,

Quoted 11 lines · Ivan Mikhaylov

From: Ivan Mikhaylov <[email protected]>

Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.

---
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi |  5 +++++
 tools/binman/missing-blob-help               | 11 +++++++++++
 2 files changed, 16 insertions(+)

nits below (I can fix when applying if you like?)

Quoted 44 lines
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi +5 -0
index b0c758477d..4f0435cea5 100644
@@ -19,6 +19,7 @@
                blob-ext@0x000000 {
                        offset = <0x000000>;
                        filename = "tiboot3.bin";
+                       missing-msg = "iot2050-seboot";
                };
 
                blob@0x080000 {
@@ -187,21 +188,25 @@
                blob-ext@0x6c0000 {
                        offset = <0x6c0000>;
                        filename = "sysfw.itb";
+                       missing-msg = "iot2050-sysfw";
                };
                /* PG1 sysfw, advanced variant */
                blob-ext@0x740000 {
                        offset = <0x740000>;
                        filename = "sysfw.itb_HS";
+                       missing-msg = "iot2050-sysfw";
                };
                /* PG2 sysfw, basic variant */
                blob-ext@0x7c0000 {
                        offset = <0x7c0000>;
                        filename = "sysfw_sr2.itb";
+                       missing-msg = "iot2050-sysfw";
                };
                /* PG2 sysfw, advanced variant */
                blob-ext@0x840000 {
                        offset = <0x840000>;
                        filename = "sysfw_sr2.itb_HS";
+                       missing-msg = "iot2050-sysfw";
                };
        };
 };
tools/binman/missing-blob-help +0 -0
index dc2d9c9811..d7c0c6bf16 100644

tools/binman/missing-blob-help scp-sunxi: · line 22

Quoted 5 lines
tools/binman/missing-blob-help +2 -0
@@ -18,6 +18,17 @@ scp-sunxi:
 SCP firmware is required for system suspend, but is otherwise optional.
 Please read the section on SCP firmware in board/sunxi/README.sunxi64
 
+iot2050-seboot:
+See the documentation for IOT2050 board. Your image missing SEBoot

image is missing

tools/binman/missing-blob-help scp-sunxi: · line 27

Quoted 5 lines
tools/binman/missing-blob-help +5 -0
+which is mandatory for board startup. Prebuilt SEBoot located at
+meta-iot2050/tree/master/recipes-bsp/u-boot/files/prebuild/tiboot3.bin.
+
+iot2050-sysfw:
+See the documentation for IOT2050 board. Your image missing system

image is missing

Quoted 10 lines
tools/binman/missing-blob-help +4 -1
+firmware which is mandatory for board startup. Prebuilt system firmware
+located at meta-iot2050/tree/master/recipes-bsp/u-boot/files/prebuild/
+with sysfw prefix.
+
 k3-rti-wdt-firmware:
 If CONFIG_WDT_K3_RTI_LOAD_FW is enabled, a firmware image is needed for
 the R5F core(s) to trigger the system reset. One possible source is
--

2.34.0

Regards,
Simon

#2 lore raw
Quoted 17 lines · Simon Glass

Hi Ivan,

Quoted 7 lines · Ivan Mikhaylov

From: Ivan Mikhaylov <[email protected]>

Add the 'missing-msg' for blobs for more detailed output on missing system
firmware and SEBoot blobs.

Quoted 5 lines

---
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi |  5 +++++ tools/binman/missing-blob-help               | 11 +++++++++++

 2 files changed, 16 insertions(+)
Quoted 3 lines

nits below (I can fix when applying if you like?)

Simon, yes, please.

Thanks.

#3 lore raw
Quoted 17 lines · Simon Glass

Hi Ivan,

Quoted 7 lines · Ivan Mikhaylov

From: Ivan Mikhaylov <[email protected]>

Add the 'missing-msg' for blobs for more detailed output on missing system
firmware and SEBoot blobs.

Quoted 5 lines

---
 arch/arm/dts/k3-am65-iot2050-boot-image.dtsi |  5 +++++ tools/binman/missing-blob-help               | 11 +++++++++++

 2 files changed, 16 insertions(+)
Quoted 3 lines

nits below (I can fix when applying if you like?)

Simon, yes, please.

Thanks.

Applied to u-boot-dm/next, thanks!