使用C-Kermit重新启动并停止映像启动

时间:2017-02-09 21:03:23

标签: serial-port embedded-linux kermit

我目前正在使用带有串口连接器的c-kermit到我的ARM板。因此,如果我在c-kermit连接终端中键入reboot,则主板会重新启动。好吧,然后我键入Space,当它启动时,进入U-Boot。这很好用。

但我想为它编写一个脚本。所以,如果我执行这个脚本,我已经在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 " "

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

1 个答案:

答案 0 :(得分:0)

如果以下链接可以帮助您解决问题,请检查。

http://blog.mezeske.com/?p=483