From 75fca73cc5ff3114ce48271fa55ba5b3f08b4526 Mon Sep 17 00:00:00 2001 From: Hector Palacios Date: Wed, 10 Nov 2021 16:22:38 +0100 Subject: [PATCH] u-boot: cc6ul: fix script adding missing call to 'uuu' Add missing call to 'uuu' and erase the partition before creating the UBI volumes. Also add larger timeouts to erase operations. Signed-off-by: Hector Palacios --- .../u-boot/u-boot-dey/ccimx6ul/install_linux_fw_uuu.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ul/install_linux_fw_uuu.sh b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ul/install_linux_fw_uuu.sh index fad0cd070..fe346999c 100644 --- a/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ul/install_linux_fw_uuu.sh +++ b/meta-digi-arm/recipes-bsp/u-boot/u-boot-dey/ccimx6ul/install_linux_fw_uuu.sh @@ -261,8 +261,8 @@ uuu fb: ucmd setenv fastboot_buffer \${loadaddr} uuu "fb[-t 10000]:" ucmd run partition_nand_linux if [ "${SINGLEMTDSYS}" = true ]; then + uuu "fb[-t 30000]:" ucmd nand erase.part system uuu "fb[-t 10000]:" ucmd run ubivolscript - nand erase.part system fi if [ "${DUALBOOT}" = true ]; then @@ -285,7 +285,7 @@ fi if [ "${SINGLEMTDSYS}" != true ] && [ "${DUALBOOT}" != true ]; then # Erase the 'Update' partition - uuu fb: ucmd nand erase.part update + uuu "fb[-t 20000]:" ucmd nand erase.part update fi if [ "${DUALBOOT}" != true ]; then