Hi tiger...@viatech.com.cn,

On Mon, 22 Jul 2013 19:44:18 +0800, <tiger...@viatech.com.cn> wrote:

> Hi, Albert:
> >Did you try the commands live in your U-Boot console?
> >Did you make sure hush shell is enabled in your U-boot?
> I am sure I have enabled hush shell.
> 
> I think "for" iteration syntax is error:
> "for(i=1;i<10;i++)"
> 
> But I don't know how to write it correctly!

This is why I suggested that you experiment in your U-Boot console,
where you can quickly try things. One thing I'd test first is whether
your C-like use of 'for' is valid at all for Hush, or for Bourne shell
(from which Hush derives IIUC) -- I suspect it might not be.

> Best wishes,

Amicalement,
-- 
Albert.
_______________________________________________
U-Boot mailing list
U-Boot@lists.denx.de
http://lists.denx.de/mailman/listinfo/u-boot

Reply via email to