From: Date: Tue, 09 Apr 2013 14:12:28 -0000 Subject: No subject Message-ID: List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de for(i=3D1;i<10;i++) do echo "lion-0722" done Then, i used mkimage tool to produce a script. Then, i load it to dram, and run it with autoscr cmd. But failed, the log message is: LION # fatload mmc 0:1 0 scriptcmd0722 reading scriptcmd0722 120 bytes read LION # autoscr 0 ## Executing script@00000000 Unknown command 'for(i=3D1' - try 'help' Unknown command 'i<10' - try 'help' Unknown command 'i++)' - try 'help' syntax error syntax error ... ... Best wishes,