[PATCH 6/6] board: phycore-imx93: env: Add common RAUC boot logic

Primoz Fiser primoz.fiser at norik.com
Thu Apr 10 10:41:22 CEST 2025


From: Martin Schwan <m.schwan at phytec.de>

Add a common RAUC boot logic environment and make use of it in the
i.MX93 environment. The RAUC boot logic is deactivated by default and
can be activated by setting "doraucboot" to "1".

Signed-off-by: Martin Schwan <m.schwan at phytec.de>
Reviewed-by: Leonard Anderweit <l.anderweit at phytec.de>
Signed-off-by: Primoz Fiser <primoz.fiser at norik.com>
---
 board/phytec/phycore_imx93/phycore_imx93.env | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/board/phytec/phycore_imx93/phycore_imx93.env b/board/phytec/phycore_imx93/phycore_imx93.env
index 3a36597cae84..3b2f30118e76 100644
--- a/board/phytec/phycore_imx93/phycore_imx93.env
+++ b/board/phytec/phycore_imx93/phycore_imx93.env
@@ -1,10 +1,14 @@
 /* SPDX-License-Identifier: (GPL-2.0+ OR MIT) */
 
+#include <env/phytec/rauc.env>
 #include <env/phytec/overlays.env>
 
 bootcmd=
 	mmc dev ${mmcdev};
 	if mmc rescan; then
+		if test ${doraucboot} = 1; then
+			run raucinit;
+		fi;
 		if run loadimage; then
 			run mmcboot;
 		else
-- 
2.34.1



More information about the U-Boot mailing list