[PATCH 12/12] arm: env: Add support for booting different HW revisions of XEA boards

Lukasz Majewski lukma at denx.de
Fri Mar 22 12:43:15 CET 2024


In the scenario of recovery, the FitImage is used to boot the system.
This patch provides support for deciding which dtb configuration shall
be used.

Signed-off-by: Lukasz Majewski <lukma at denx.de>

---

 board/liebherr/xea/xea.env | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/board/liebherr/xea/xea.env b/board/liebherr/xea/xea.env
index ac6ac898ec..9dec4016a0 100644
--- a/board/liebherr/xea/xea.env
+++ b/board/liebherr/xea/xea.env
@@ -112,7 +112,7 @@ sf_swu=
 	sf read ${loadaddr} ${sf_kernel_offset} ${sf_swu_size} ;
 	setenv bootargs root=/dev/ram0 rw ;
 	run addargs ;
-	bootm ${loadaddr} ;
+	bootm ${loadaddr}#conf-imx28-${arch}-${board_som_rev}.dtb ;
 	fi
 net_mmc=
 	if run netload mmcargs addargs ; then
-- 
2.39.2



More information about the U-Boot mailing list