From a7fdb72a46ef61b16f8572c00505db97a376d950 Mon Sep 17 00:00:00 2001 From: Gabriel Valcazar Date: Fri, 14 Sep 2018 13:10:08 +0200 Subject: [PATCH] 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 --- .../u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt index 19911c9c7..f47c90b5f 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx8x-sbc-express/install_linux_fw_sd.txt @@ -92,15 +92,18 @@ fi # Set 'bootcmd' to the second part of the script that will # - Reset environment to defaults # - Save the environment +# - Force on-the-fly updates to avoid possible verification errors # - Partition the eMMC user data area for Linux # - Update the 'linux' partition # - Update the 'recovery' partition # - Update the 'rootfs' partition # - Configure recovery to wipe 'update' partition +# - Disable on-the-fly updates # - Run 'recovery' and let the system boot after setenv bootcmd " env default -a; saveenv; + setenv otf-update yes; echo \"\"; echo \"\"; echo \">> Creating Linux partition table on the eMMC\"; @@ -152,6 +155,7 @@ setenv bootcmd " echo \"\"; setenv boot_recovery yes; setenv recovery_command wipe_update; + setenv otf-update; saveenv; echo \"\"; echo \"\";