public inbox for u-boot@lists.denx.de
 help / color / mirror / Atom feed
* [U-Boot] hush while confusion
@ 2009-10-22  8:38 David Collier
  2009-10-22 11:31 ` Wolfgang Denk
  0 siblings, 1 reply; 11+ messages in thread
From: David Collier @ 2009-10-22  8:38 UTC (permalink / raw)
  To: u-boot

thanks to everyone I have a working bootcmd which stops if the mmc card
is extracted.

what I'd like to do is put it in a while loop - this is an embedded
system and it has nothing better to do than to try again.

but if I set up 

bootcmd=while [ .... ]; do ; mmcinit && ext2load mmc 0:1 0x10400000
/boot/uImage && bootm 0x10400000 ; done

no matter what I have put in or around the [..] area, it barfs.

Could anyone show me a working example of a hush while loop please? Or
tell me what I'm doing wrong :-)


David Collier

www.dexdyne.com

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

end of thread, other threads:[~2009-10-23  9:35 UTC | newest]

Thread overview: 11+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-10-22  8:38 [U-Boot] hush while confusion David Collier
2009-10-22 11:31 ` Wolfgang Denk
2009-10-22 13:22   ` David Collier
2009-10-22 13:27     ` Örjan Friberg
2009-10-22 18:07       ` Wolfgang Denk
2009-10-22 18:18         ` Örjan Friberg
2009-10-22 13:28     ` David Collier
2009-10-22 18:05       ` Wolfgang Denk
2009-10-23  8:57         ` David Collier
2009-10-23  9:35           ` Wolfgang Denk
2009-10-22 13:29     ` Wolfgang Denk

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