congfigs/bootcmd: run recovery if bootm fails
This commit is contained in:
parent
847feac483
commit
292f453210
|
@ -11,7 +11,6 @@
|
|||
#define BOOTSTRAP_CFG_MONITOR_BASE BOOTSTRAP_TEXT_BASE
|
||||
#endif
|
||||
|
||||
|
||||
/*
|
||||
* The following #defines are needed to get flash environment right
|
||||
*/
|
||||
|
@ -50,7 +49,8 @@
|
|||
#define CFG_ENV_ADDR 0x9f040000
|
||||
#define CFG_ENV_SIZE 0x10000
|
||||
|
||||
#define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; else run_recovery ; fi"
|
||||
/* check if boot cycle threshold reached : if not try to boot linux if this fails run recovery */
|
||||
#define CONFIG_BOOTCOMMAND "inccycle ; if checkcycle ; then bootm 0x9f050000 ; run_recovery ; else run_recovery ; fi"
|
||||
|
||||
#define CONFIG_NET_MULTI
|
||||
|
||||
|
|
Loading…
Reference in New Issue