Skip to contentSkip to conversation

riscv: binman: Add help message for missing blobs

PATCH Superseded Rick Chen 3 participants 3 messages Feb 16, 2023 – Feb 17, 2023 RISC-V

v1 of 2 Superseded Latest is v2 →

lore
Share & tools
lore

Rick Chen

author
#0 lore raw

PATCH 1/1 riscv: binman: Add help message for missing blobs

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

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 4 ++++
 2 files changed, 5 insertions(+)
arch/riscv/dts/binman.dtsi +1 -0
index b8fc8f7f35..156cb00971 100644
@@ -45,6 +45,7 @@
 
 					opensbi_blob: opensbi {
 						filename = "fw_dynamic.bin";
+						missing-msg = "opensbi";
 					};
 				};
 
tools/binman/missing-blob-help +4 -0
index c61ca02a35..654ad642a3 100644
@@ -37,3 +37,7 @@ https://github.com/siemens/k3-rti-wdt.
 tee-os:
 See the documentation for your board. You may need to build Open Portable
 Trusted Execution Environment (OP-TEE) with TEE=/path/to/tee.bin
+
+opensbi:
+See the documentation for your board. The OpenSBI git repo is at
+https://github.com/riscv/opensbi.git
Signature · 1 line
2.17.1
Reviewed-by on v1 1/1
#1 lore raw

Hi Rick,

Quoted 26 lines · Rick Chen

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

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 4 ++++
 2 files changed, 5 insertions(+)
arch/riscv/dts/binman.dtsi +1 -0
index b8fc8f7f35..156cb00971 100644
@@ -45,6 +45,7 @@
 
 					opensbi_blob: opensbi {
 						filename = "fw_dynamic.bin";
+						missing-msg = "opensbi";
 					};
 				};
 
tools/binman/missing-blob-help +0 -0
index c61ca02a35..654ad642a3 100644

tools/binman/missing-blob-help https://github.com/siemens/k3-rti-wdt. · line 43

Quoted 7 lines
tools/binman/missing-blob-help +4 -0
@@ -37,3 +37,7 @@ https://github.com/siemens/k3-rti-wdt.
 tee-os:
 See the documentation for your board. You may need to build Open Portable
 Trusted Execution Environment (OP-TEE) with TEE=/path/to/tee.bin
+
+opensbi:
+See the documentation for your board. The OpenSBI git repo is at
+https://github.com/riscv/opensbi.git

Hi Rick,

Could we add something like
"build fw_dynamic.bin first and re-build u-boot with OPENSBI=/path/to/fw_dynamic.bin"

Other than that,

Quoted 3 lines
Signature · 1 line
2.17.1
#2 lore raw

Hi Leo

Quoted 36 lines · Rick Chen
Quoted 26 lines

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

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 4 ++++
 2 files changed, 5 insertions(+)
arch/riscv/dts/binman.dtsi +1 -0
index b8fc8f7f35..156cb00971 100644
@@ -45,6 +45,7 @@
 
                                      opensbi_blob: opensbi {
                                              filename = "fw_dynamic.bin";
+                                             missing-msg = "opensbi";
                                      };
                              };
 
tools/binman/missing-blob-help +0 -0
index c61ca02a35..654ad642a3 100644

tools/binman/missing-blob-help https://github.com/siemens/k3-rti-wdt. · line 43

Quoted 7 lines
tools/binman/missing-blob-help +4 -0
@@ -37,3 +37,7 @@ https://github.com/siemens/k3-rti-wdt.
 tee-os:
 See the documentation for your board. You may need to build Open Portable
 Trusted Execution Environment (OP-TEE) with TEE=/path/to/tee.bin
+
+opensbi:
+See the documentation for your board. The OpenSBI git repo is at
+https://github.com/riscv/opensbi.git

Hi Rick,

Quoted 2 lines

Could we add something like
"build fw_dynamic.bin first and re-build u-boot with OPENSBI=/path/to/fw_dynamic.bin"

OK.

Thanks,
Rick

Quoted 7 lines

Other than that,

Quoted 3 lines

--
2.17.1