include: env: phytec: Add raucinit to k3_mmc environment
Initialize the environment for booting an RAUC image when 'doraucboot' is set to 1. Signed-off-by: Daniel Schultz <d.schultz@phytec.de>
This commit is contained in:
6
include/env/phytec/k3_mmc.env
vendored
6
include/env/phytec/k3_mmc.env
vendored
@@ -7,12 +7,14 @@
|
||||
/* Logic for TI K3 based SoCs to boot from a MMC device. */
|
||||
|
||||
#include <env/phytec/overlays.env>
|
||||
#include <env/phytec/rauc.env>
|
||||
|
||||
mmcargs=setenv bootargs console=${console} earlycon=${earlycon}
|
||||
root=/dev/mmcblk${mmcdev}p${mmcroot} rootwait rw
|
||||
root=/dev/mmcblk${mmcdev}p${mmcroot} ${raucargs} rootwait rw
|
||||
mmcloadimage=load mmc ${mmcdev}:${mmcpart} ${kernel_addr_r} Image
|
||||
mmcloadfdt=load mmc ${mmcdev}:${mmcpart} ${fdt_addr_r} ${fdtfile}
|
||||
mmcboot=run mmcargs;
|
||||
mmcboot=if test ${doraucboot} = 1; then run raucinit; fi;
|
||||
run mmcargs;
|
||||
mmc dev ${mmcdev};
|
||||
mmc rescan;
|
||||
run mmcloadimage;
|
||||
|
||||
Reference in New Issue
Block a user