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 _______________________________________________ U-Boot mailing list U-Boot@lists.denx.de http://lists.denx.de/mailman/listinfo/u-boot