Skip to contentSkip to conversation

riscv: binman: Add help message for missing blobs

PATCH In review Rick Chen 3 participants 3 messages Feb 17, 2023 RISC-V

lore
Share & tools
lore

Rick Chen

author
#0 lore raw

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

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

---
Changes in v2
- Add more descriptions about fw_dynamic.bin

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 6 ++++++
 2 files changed, 7 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 +6 -0
index c61ca02a35..4448ac9311 100644
@@ -37,3 +37,9 @@ 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
+You may need to build fw_dynamic.bin first and re-build u-boot with
+OPENSBI=/path/to/fw_dynamic.bin
Signature · 1 line
2.17.1
Reviewed-by on v2 1/1
#1 lore raw
Quoted 5 lines · Rick Chen

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

Quoted 37 lines

---
Changes in v2
- Add more descriptions about fw_dynamic.bin

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 6 ++++++
 2 files changed, 7 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 +6 -0
index c61ca02a35..4448ac9311 100644
@@ -37,3 +37,9 @@ 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
+You may need to build fw_dynamic.bin first and re-build u-boot with
+OPENSBI=/path/to/fw_dynamic.bin
Signature · 1 line
2.17.1
Reviewed-by
#2 lore raw
Quoted 18 lines · Yu-Chien Peter Lin
Quoted 5 lines · Rick Chen

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

Quoted 8 lines

---
Changes in v2
- Add more descriptions about fw_dynamic.bin

---
 arch/riscv/dts/binman.dtsi     | 1 +
 tools/binman/missing-blob-help | 6 ++++++
 2 files changed, 7 insertions(+)

Thanks