
22 Oct
2009
22 Oct
'09
10:38 a.m.
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