public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] Can I have a backup boot option ?
@ 2008-11-24 12:42 Mark Jackson
  2008-11-24 12:56 ` Wolfgang Denk
  0 siblings, 1 reply; 3+ messages in thread
From: Mark Jackson @ 2008-11-24 12:42 UTC (permalink / raw)
  To: u-boot

Our current system works fine (booting from flash or nfs), but I'd also like to add a "recovery" feature.

If an end-user inserts an MMC card containing some "magic marker" files, the target will detect these and boot from the MMC card instead of using the standard boot option.

For portability, I guess I could use the Hush option and construct some big if..else..fi statement to check for the MMC card files and boot accordingly. Is this a simple-ish task ?

An easier, but less portable, way would be to hard-code the checks in the startup code before the standard boot process.

I've done a quick check of the README and the source code, but nothing else seems to stand out as a possible solution.

Anyone got any ideas ?

Thanks
Mark

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Can I have a backup boot option ?
  2008-11-24 12:42 [U-Boot] Can I have a backup boot option ? Mark Jackson
@ 2008-11-24 12:56 ` Wolfgang Denk
  2008-11-24 14:31   ` Mark Jackson
  0 siblings, 1 reply; 3+ messages in thread
From: Wolfgang Denk @ 2008-11-24 12:56 UTC (permalink / raw)
  To: u-boot

Dear Mark,

In message <492AA134.7010008@mimc.co.uk> you wrote:
> 
> If an end-user inserts an MMC card containing some "magic marker" files, the target will detect these and boot from the MMC card instead of using the standard boot option.
...
> I've done a quick check of the README and the source code, but nothing else seems to stand out as a possible solution.

Note: please restrict your line lenght to some 70 or so characters.

There are several  auto-update  /  recovery  solutions  available  in
current  source  code.  Just look around - search for file names that
contain auto_update or fwupdate, and/or read doc/README.update

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
Sorry, but my karma just ran over your dogma.

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [U-Boot] Can I have a backup boot option ?
  2008-11-24 12:56 ` Wolfgang Denk
@ 2008-11-24 14:31   ` Mark Jackson
  0 siblings, 0 replies; 3+ messages in thread
From: Mark Jackson @ 2008-11-24 14:31 UTC (permalink / raw)
  To: u-boot

Wolfgang Denk wrote:
> Dear Mark,
> 
> In message <492AA134.7010008@mimc.co.uk> you wrote:
>> If an end-user inserts an MMC card containing some "magic marker" ...
> ...
>> I've done a quick check of the README and the source code, but ...
> 
> Note: please restrict your line lenght to some 70 or so characters.

Hmmm ... I'm sure I'd already done that ... Thunderbird must have reset 
itself ??

> There are several  auto-update  /  recovery  solutions  available  in
> current  source  code.  Just look around - search for file names that
> contain auto_update or fwupdate, and/or read doc/README.update

Ah, excellent.  Thanks for the pointers.

> Best regards,
> 
> Wolfgang Denk
> 

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2008-11-24 14:31 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2008-11-24 12:42 [U-Boot] Can I have a backup boot option ? Mark Jackson
2008-11-24 12:56 ` Wolfgang Denk
2008-11-24 14:31   ` Mark Jackson

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox