Am Dienstag, dem 12.03.2024 um 09:59 +0100 schrieb Leonard Anderweit: > Add RAUC boot logic to the environment. This is the first board to > utilize this environment. > > Signed-off-by: Leonard Anderweit <l.anderw...@phytec.de>
Tested-by: Teresa Remmet <t.rem...@phytec.de> > --- > board/phytec/phycore_imx8mp/phycore_imx8mp.env | 7 ++++++- > 1 file changed, 6 insertions(+), 1 deletion(-) > > diff --git a/board/phytec/phycore_imx8mp/phycore_imx8mp.env > b/board/phytec/phycore_imx8mp/phycore_imx8mp.env > index 73202c3b129a..d58d25476f6b 100644 > --- a/board/phytec/phycore_imx8mp/phycore_imx8mp.env > +++ b/board/phytec/phycore_imx8mp/phycore_imx8mp.env > @@ -1,9 +1,14 @@ > +#include <env/phytec/rauc.env> > + > bootcmd= > if test ${dofastboot} = 1; then > fastboot 0; > fi; > mmc dev ${mmcdev}; > if mmc rescan; then > + if test ${doraucboot} = 1; then > + run raucinit; > + fi; > if run loadimage; then > run mmcboot; > else > @@ -23,7 +28,7 @@ loadimage=fatload mmc ${mmcdev}:${mmcpart} > ${loadaddr} ${image} > loadfdt=fatload mmc ${mmcdev}:${mmcpart} ${fdt_addr} ${fdt_file} > 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 ...; -- PHYTEC Messtechnik GmbH | Barcelona-Allee 1 | 55129 Mainz, Germany Geschäftsführer: Dipl.-Ing. Michael Mitezki, Dipl.-Ing. Bodo Huber, Dipl.-Ing. (FH) Markus Lickes | Handelsregister Mainz HRB 4656 | Finanzamt Mainz | St.Nr. 266500608, DE 149059855