
22 Jul
2013
22 Jul
'13
2:05 p.m.
Hi TigerLiu@viatech.com.cn,
On Mon, 22 Jul 2013 19:44:18 +0800, TigerLiu@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.