From: Yunus Bas Date: Tue, 3 Dec 2024 09:42:35 +0000 (+0100) Subject: board: phytec: phycore_imx8mm: Add RAUC boot logic to environment X-Git-Tag: v2025.04-rc1~17^2~64^2~15 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=6b535ce0fdb88e4ecff3282500a1ebd282ebd489;p=pandora-u-boot.git board: phytec: phycore_imx8mm: Add RAUC boot logic to environment Add RAUC boot logic to the environment. Signed-off-by: Yunus Bas --- diff --git a/board/phytec/phycore_imx8mm/phycore_imx8mm.env b/board/phytec/phycore_imx8mm/phycore_imx8mm.env index 44fa3731b8a..a7d14e774a0 100644 --- a/board/phytec/phycore_imx8mm/phycore_imx8mm.env +++ b/board/phytec/phycore_imx8mm/phycore_imx8mm.env @@ -1,6 +1,11 @@ +#include + bootcmd= mmc dev ${mmcdev}; if mmc rescan; then + if test ${doraucboot} = 1; then + run raucinit; + fi; if run loadimage; then run mmcboot; else @@ -17,7 +22,7 @@ loadimage=fatload mmc ${mmcdev}:${mmcpart} ${loadaddr} ${image} loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile} mmcargs= setenv bootargs console=${console} - root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw + root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw mmcautodetect=yes mmcboot= echo Booting from mmc ...;