[PATCH v4 06/10] rockchip: binman: Use the FIT template in the SPI image
Jonas Karlman
jonas at kwiboo.se
Sat Mar 29 16:06:09 CET 2025
From: Simon Glass <sjg at chromium.org>
At present simple-bin-spi relies on the u-boot.itb file created by the
simple-bin image. Use the template to avoid this, since Binman may
change to process images in parallel in the future.
Signed-off-by: Simon Glass <sjg at chromium.org>
Signed-off-by: Jonas Karlman <jonas at kwiboo.se>
---
Changes in v4:
- Drop filename for the SPI FIT
- Split from "VBE serial part H: Implement VBE on Rockchip RK3399"
Changes in v3:
- Keep the filename for the SPI FIT
This is an alternative for the issue reported and fixed in [1] and [2].
[1] https://lore.kernel.org/u-boot/20250129132529.807031-3-naoki@radxa.com/
[2] https://lore.kernel.org/u-boot/20250220-has_rom-u-boot-rockchip-spi-bin-v2-3-d1768ee87808@cherry.de/
---
arch/arm/dts/rockchip-u-boot.dtsi | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
diff --git a/arch/arm/dts/rockchip-u-boot.dtsi b/arch/arm/dts/rockchip-u-boot.dtsi
index f860bfc1ba72..73149b2d8bdd 100644
--- a/arch/arm/dts/rockchip-u-boot.dtsi
+++ b/arch/arm/dts/rockchip-u-boot.dtsi
@@ -207,8 +207,7 @@
#ifdef HAS_FIT
fit {
- type = "blob";
- filename = "u-boot.itb";
+ insert-template = <&fit_template>;
#else
u-boot-img {
#endif
--
2.49.0
More information about the U-Boot
mailing list