[PATCH v2 6/6] rockchip: Use atf as firmware and move u-boot to loadables in FIT

Jonas Karlman jonas at kwiboo.se
Fri Jan 20 09:27:03 CET 2023


The FIT generated after the switch to using binman is using different
values for firmware and loadables properties compared to the old script.

With the old script:
 firmware = "atf-1";
 loadables = "u-boot", "atf-2", ...;

After switch to binman:
 firmware = "u-boot";
 loadables = "atf-1", "atf-2", ...;

This change result in SPL jumping directly into U-Boot proper instead of
initializing TF-A.

With this patch the properties changes to:
 firmware = "atf-1";
 loatables = "u-boot", "atf-1", "atf-2", ...;

This result in "atf-1" being listed in both properties. However, SPL is
smart enough not to load "atf-1" twice.

Fixes: e0c0efff2a02 ("rockchip: Support building the all output files in binman")
Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
v2:
- New patch

 arch/arm/dts/rockchip-u-boot.dtsi | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index e35902bb63..a24fddfca3 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -114,8 +114,8 @@
 				@config-SEQ {
 					description = "NAME.dtb";
 					fdt = "fdt-SEQ";
-					firmware = "u-boot";
-					fit,loadables;
+					firmware = "atf-1";
+					fit,loadables = "u-boot";
 				};
 			};
 		};
-- 
2.39.1



More information about the U-Boot mailing list