[PATCH 3/3] rockchip: Fix binman error

FUKAUMI Naoki naoki at radxa.com
Wed Jan 29 14:25:29 CET 2025


After adding the below configs, binman produces an error.

 CONFIG_SPL_DFU
 CONFIG_SPL_ENV_SUPPORT
 CONFIG_SPL_USB_DWC3_GENERIC
 CONFIG_SPL_USB_GADGET

binman: Section '/binman/simple-bin-spi': Symbol '_binman_u_boot_any_prop_size'
   in entry '/binman/simple-bin-spi/mkimage/u-boot-spl/u-boot-spl-nodtb': Entry 'u-boot-any' not found in list (u-boot-tpl-nodtb,u-boot-tpl-dtb,u-boot-tpl,u-boot-spl-nodtb,u-boot-spl-dtb,u-boot-spl,mkimage,fit,simple-bin-spi)

Add "no-write-symbols;" to u-boot-tpl and u-boot-spl.

Signed-off-by: FUKAUMI Naoki <naoki at radxa.com>
---
 arch/arm/dts/rk3399-u-boot.dtsi   | 2 ++
 arch/arm/dts/rockchip-u-boot.dtsi | 4 ++++
 2 files changed, 6 insertions(+)

diff --git a/arch/arm/dts/rk3399-u-boot.dtsi b/arch/arm/dts/rk3399-u-boot.dtsi
index 70f35b6c197..0e3143f8235 100644
--- a/arch/arm/dts/rk3399-u-boot.dtsi
+++ b/arch/arm/dts/rk3399-u-boot.dtsi
@@ -45,9 +45,11 @@
 			};
 #elif defined(CONFIG_TPL)
 			u-boot-tpl {
+				no-write-symbols;
 			};
 #endif
 			u-boot-spl {
+				no-write-symbols;
 			};
 		};
 		fit {
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index c8c928c7e50..fd005a24890 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -27,9 +27,11 @@
 			};
 #elif defined(CONFIG_TPL)
 			u-boot-tpl {
+				no-write-symbols;
 			};
 #endif
 			u-boot-spl {
+				no-write-symbols;
 			};
 		};
 
@@ -187,9 +189,11 @@
 			};
 #elif defined(CONFIG_TPL)
 			u-boot-tpl {
+				no-write-symbols;
 			};
 #endif
 			u-boot-spl {
+				no-write-symbols;
 			};
 		};
 
-- 
2.43.0



More information about the U-Boot mailing list