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 <hector.palacios@digi.com>
This commit is contained in:
Hector Palacios 2021-11-10 16:22:38 +01:00
parent d81444a574
commit 75fca73cc5
1 changed files with 2 additions and 2 deletions

View File

@ -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