我目前正在使用带有串口连接器的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 " "
输出而不是输入也不起作用。