ccimx8x-sbc-express: force otf-update in the install_linux_fw_sd script
We have seen errors when verifying the rootfs update on 2 GiB variants. Forcing otf-update prevents these errors from happening. https://jira.digi.com/browse/DUB-855 Signed-off-by: Gabriel Valcazar <gabriel.valcazar@digi.com>
This commit is contained in:
parent
da13b50f42
commit
a7fdb72a46
|
|
@ -92,15 +92,18 @@ fi
|
||||||
# Set 'bootcmd' to the second part of the script that will
|
# Set 'bootcmd' to the second part of the script that will
|
||||||
# - Reset environment to defaults
|
# - Reset environment to defaults
|
||||||
# - Save the environment
|
# - Save the environment
|
||||||
|
# - Force on-the-fly updates to avoid possible verification errors
|
||||||
# - Partition the eMMC user data area for Linux
|
# - Partition the eMMC user data area for Linux
|
||||||
# - Update the 'linux' partition
|
# - Update the 'linux' partition
|
||||||
# - Update the 'recovery' partition
|
# - Update the 'recovery' partition
|
||||||
# - Update the 'rootfs' partition
|
# - Update the 'rootfs' partition
|
||||||
# - Configure recovery to wipe 'update' partition
|
# - Configure recovery to wipe 'update' partition
|
||||||
|
# - Disable on-the-fly updates
|
||||||
# - Run 'recovery' and let the system boot after
|
# - Run 'recovery' and let the system boot after
|
||||||
setenv bootcmd "
|
setenv bootcmd "
|
||||||
env default -a;
|
env default -a;
|
||||||
saveenv;
|
saveenv;
|
||||||
|
setenv otf-update yes;
|
||||||
echo \"\";
|
echo \"\";
|
||||||
echo \"\";
|
echo \"\";
|
||||||
echo \">> Creating Linux partition table on the eMMC\";
|
echo \">> Creating Linux partition table on the eMMC\";
|
||||||
|
|
@ -152,6 +155,7 @@ setenv bootcmd "
|
||||||
echo \"\";
|
echo \"\";
|
||||||
setenv boot_recovery yes;
|
setenv boot_recovery yes;
|
||||||
setenv recovery_command wipe_update;
|
setenv recovery_command wipe_update;
|
||||||
|
setenv otf-update;
|
||||||
saveenv;
|
saveenv;
|
||||||
echo \"\";
|
echo \"\";
|
||||||
echo \"\";
|
echo \"\";
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue