1
0
Fork 0

bootscript: try to boot more before giving up

steinar/yocto-build-makeover
Martin T. H. Sandsmark 2017-08-22 15:28:03 +02:00
parent accdf1001e
commit 7fe6264cbc
1 changed files with 2 additions and 3 deletions

View File

@ -98,8 +98,8 @@
"bootz ${loadaddr} ${initrd} ${fdt_addr};\0" \
"altbootcmd=echo Running from fallback root...; " \
"run memboot; " \
"if test ${bootcount} -gt 2; then " \
"echo WARN: Failed too much, turning off; " \
"if test ${bootcount} -gt 10; then " \
"echo WARN: Failed too much, resetting bootcount and turning off; " \
"setenv bootcount 0; " \
"saveenv; " \
"poweroff; " \
@ -122,7 +122,6 @@
"run mmcboot; " \
"echo WARN: unable to boot from either RAM or eMMC; " \
"setenv upgrade_available 1; " \
"setenv bootcount 1; " \
"saveenv; " \
"reset; "