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:
parent
d81444a574
commit
75fca73cc5
|
|
@ -261,8 +261,8 @@ uuu fb: ucmd setenv fastboot_buffer \${loadaddr}
|
||||||
uuu "fb[-t 10000]:" ucmd run partition_nand_linux
|
uuu "fb[-t 10000]:" ucmd run partition_nand_linux
|
||||||
|
|
||||||
if [ "${SINGLEMTDSYS}" = true ]; then
|
if [ "${SINGLEMTDSYS}" = true ]; then
|
||||||
|
uuu "fb[-t 30000]:" ucmd nand erase.part system
|
||||||
uuu "fb[-t 10000]:" ucmd run ubivolscript
|
uuu "fb[-t 10000]:" ucmd run ubivolscript
|
||||||
nand erase.part system
|
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DUALBOOT}" = true ]; then
|
if [ "${DUALBOOT}" = true ]; then
|
||||||
|
|
@ -285,7 +285,7 @@ fi
|
||||||
|
|
||||||
if [ "${SINGLEMTDSYS}" != true ] && [ "${DUALBOOT}" != true ]; then
|
if [ "${SINGLEMTDSYS}" != true ] && [ "${DUALBOOT}" != true ]; then
|
||||||
# Erase the 'Update' partition
|
# Erase the 'Update' partition
|
||||||
uuu fb: ucmd nand erase.part update
|
uuu "fb[-t 20000]:" ucmd nand erase.part update
|
||||||
fi
|
fi
|
||||||
|
|
||||||
if [ "${DUALBOOT}" != true ]; then
|
if [ "${DUALBOOT}" != true ]; then
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue