[PATCH] iot2050: binman: add missing-msg for blobs

From: Ivan Mikhaylov ivan.mikhaylov@siemens.com
Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.
Signed-off-by: Ivan Mikhaylov ivan.mikhaylov@siemens.com --- arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 +++++ tools/binman/missing-blob-help | 11 +++++++++++ 2 files changed, 16 insertions(+)
diff --git a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi index b0c758477d..4f0435cea5 100644 --- a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi +++ b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi @@ -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"; }; }; }; diff --git a/tools/binman/missing-blob-help b/tools/binman/missing-blob-help index dc2d9c9811..d7c0c6bf16 100644 --- a/tools/binman/missing-blob-help +++ b/tools/binman/missing-blob-help @@ -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

Hi Ivan,
On Thu, 9 Dec 2021 at 06:11, Ivan Mikhaylov fr0st61te@gmail.com wrote:
From: Ivan Mikhaylov ivan.mikhaylov@siemens.com
Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.
Signed-off-by: Ivan Mikhaylov ivan.mikhaylov@siemens.com
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 +++++ tools/binman/missing-blob-help | 11 +++++++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
nits below (I can fix when applying if you like?)
diff --git a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi index b0c758477d..4f0435cea5 100644 --- a/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi +++ b/arch/arm/dts/k3-am65-iot2050-boot-image.dtsi @@ -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"; }; };
}; diff --git a/tools/binman/missing-blob-help b/tools/binman/missing-blob-help index dc2d9c9811..d7c0c6bf16 100644 --- a/tools/binman/missing-blob-help +++ b/tools/binman/missing-blob-help @@ -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
+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
+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

On Thu, 2021-12-09 at 17:15 -0700, Simon Glass wrote:
Hi Ivan,
On Thu, 9 Dec 2021 at 06:11, Ivan Mikhaylov fr0st61te@gmail.com wrote:
From: Ivan Mikhaylov ivan.mikhaylov@siemens.com
Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.
Signed-off-by: Ivan Mikhaylov ivan.mikhaylov@siemens.com
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 +++++ tools/binman/missing-blob-help | 11 +++++++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
nits below (I can fix when applying if you like?)
Simon, yes, please.
Thanks.

On Thu, 2021-12-09 at 17:15 -0700, Simon Glass wrote:
Hi Ivan,
On Thu, 9 Dec 2021 at 06:11, Ivan Mikhaylov fr0st61te@gmail.com wrote:
From: Ivan Mikhaylov ivan.mikhaylov@siemens.com
Add the 'missing-msg' for blobs for more detailed output on missing system firmware and SEBoot blobs.
Signed-off-by: Ivan Mikhaylov ivan.mikhaylov@siemens.com
arch/arm/dts/k3-am65-iot2050-boot-image.dtsi | 5 +++++ tools/binman/missing-blob-help | 11 +++++++++++ 2 files changed, 16 insertions(+)
Reviewed-by: Simon Glass sjg@chromium.org
nits below (I can fix when applying if you like?)
Simon, yes, please.
Thanks.
Applied to u-boot-dm/next, thanks!
participants (2)
-
Ivan Mikhaylov
-
Simon Glass