2017-02-09 113 views
0

我目前正在使用带有串行连接器的C-kermit到我的ARM板。所以,如果我在c-kermit连接的终端上键入reboot,电路板将重新启动。好吧,然后在启动时键入Space,进入U-Boot。这工作正常。用C-Kermit重新启动并停止映像启动

但我想为它写一个脚本。所以,如果我执行这个脚本,我已经在U-boot终端。

我目前使用.kermrc如下:

set line /dev/ttyUSB3 
set speed 115200 
set carrier-watch off 
set handshake none 
set flow-control none 
robust 
set file type bin 
set file name lit 
set rec pack 1000 
set send pack 1000 
set window 5 
connect 
input "reboot" 
input " " 
input " " 

输出,而不是输入也不起作用。

回答