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

2010-01-14 Thread Arno Steffen
2010/1/14 Wolfgang Denk > > Dear Arno Steffen, > > please keep the mailing list on Cc: > > In message <804f0d21001140252v164b7df0p1d1e94f3d316...@mail.gmail.com> you > wrote: > > > > > > Although I add hush to my config file > > > > #define CONFIG_HUSH_PARSER    1 /* use "hush" command parser */

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

2010-01-14 Thread Wolfgang Denk
Dear Arno Steffen, please keep the mailing list on Cc: In message <804f0d21001140252v164b7df0p1d1e94f3d316...@mail.gmail.com> you wrote: > > > > Although I add hush to my config file > > > #define CONFIG_HUSH_PARSER1 /* use "hush" command parser */ > > > > > > and it compiles hush.c to hush.

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

2010-01-14 Thread Arno Steffen
2010/1/14 Wolfgang Denk > Dear Arno Steffen, > > In message <804f0d21001140104o3543921cx2b4422fbc8a9...@mail.gmail.com> you > wrote: > > > > 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 > re

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

2010-01-14 Thread Wolfgang Denk
Dear Arno Steffen, In message <804f0d21001140104o3543921cx2b4422fbc8a9...@mail.gmail.com> you wrote: > > 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 wil

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

2010-01-14 Thread Arno Steffen
@ 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

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

2010-01-13 Thread Wolfgang Denk
Dear Arno Steffen, In message <804f0d21001130702x2aaa39e8t8677d5360885c...@mail.gmail.com> you wrote: > > To make a more stable system I want to put a second reduced linux > (kernel/rootfs) onto flash memory. > This should be boot automatically, if #1 fails for any reason. This is a standard mod

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

2010-01-13 Thread Wolfgang Wegner
Hi, On Wed, Jan 13, 2010 at 04:02:10PM +0100, Arno Steffen wrote: > To make a more stable system I want to put a second reduced linux > (kernel/rootfs) onto flash memory. > This should be boot automatically, if #1 fails for any reason. > I tried to add this in bootcmd, but execution will be interu

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

2010-01-13 Thread Arno Steffen
To make a more stable system I want to put a second reduced linux (kernel/rootfs) onto flash memory. This should be boot automatically, if #1 fails for any reason. I tried to add this in bootcmd, but execution will be interuppted if the first bootm failes. Is there any chance to do so? (maybe it is