[U-Boot] start a second kernel/filesystem if first one is corrupted

Arno Steffen arno.steffen at googlemail.com
Thu Jan 14 10:04:24 CET 2010


@ Wolfgang W.

I am using a OMAP board with a Cortex A8

Ok, it normaly executes commands after each other. But in case the rootfs is
invalid in boots kernel and ends up with kernel panic which causes a reboot.
In this way the second command will not be executed
bootcmd=run boot_fs1; run boot_fs2

Bootcount is a great idea, but don't know right now how to do this. Also it
will stress the flash, as it has to change the environment every time it
boots.

@Wolfgang D.

Although I add hush to my config file
#define CONFIG_HUSH_PARSER    1 /* use "hush" command parser */

and it compiles hush.c to hush.o I get

Unknown command 'if'


More information about the U-Boot mailing list