[U-Boot-Users] is it possible to make the booting sequence in U-boot?
Bin Xu
xubin0712 at hotmail.com
Fri Oct 5 00:57:11 CEST 2007
Hi, Jean,
Thanks a lot! But I am not sure, is there the "if " command in uboot? I read the manual and did not find it. I am just work on it for a few weeks, so...
Thanks and Regards,
Bin
> Date: Fri, 5 Oct 2007 00:30:42 +0200
> Subject: Re: [U-Boot-Users] is it possible to make the booting sequence in U-boot?
> From: plagnioj at jcrosoft.com
> To: xubin0712 at hotmail.com; u-boot-users at lists.sourceforge.net
>
> You can try to boot your first kernel image and if it does not found your
> kernel switch to the other with the "if" command.
>
> And if you have a watchdog you can incrise your ttl and if your system does
> not boot in a predefine laps time you reboot and try your second image.
>
> This the algo
> Set env try First
> Boot From First
> if not enter in entry point
> Set env try First
> Boot From second
> if not enter in entry point
> Error Message No system available
> else
> if watchdog timeout
> Error Message No system available
> else
> Banzai System Start
> endif
> endif
> else
> if watchdog timeout
> Error Message No system available
> else
> Set env try First
> Boot From second
> if not enter in entry point
> Error Message No system available
> else
> if watchdog timeout
> Error Message No system available
> else
> Banzai System Start
> endif
> endif
> endif
> endif
>
>
> Best Regards
> Le 5/10/07 0:17, « Bin » <xubin0712 at hotmail.com> a écrit :
>
> >
> >
> > Hi, All,
> >
> > I am trying to make two different booting methods with some booting sequence
> > in u-boot, like the bios in PC does. Basically I have kernel Image 1 in NAND
> > and File system 1 on hard drive, kernel image 2 and File system 2 also on
> > the same NAND Flash. The goal here is try to boot the system from Image 1
> > and file system 1 first, and if the hard drive fails, the bootloader
> > (u-boot) will try to boot from Image 2 and File system 2 *automatically*. My
> > question is, is it possible to achieve this in uboot? If so, any hints?
> >
> > Any suggestions are appreciated.
> >
> > Thanks and Regards,
> >
> > Bin
>
>
_________________________________________________________________
Peek-a-boo FREE Tricks & Treats for You!
http://www.reallivemoms.com?ocid=TXT_TAGHM&loc=us
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.denx.de/pipermail/u-boot/attachments/20071004/a48a0d6b/attachment.htm
More information about the U-Boot
mailing list