返回信息流1. 安装kermit
apt-get install ckermit
2. 设置kermit
$cat .kermrc
set line /dev/ttyS0
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
3. 连接
kermit -c
4. 发送文件
Richard # loadb 0x100000
## Ready for binary (kermit) download to 0x00100000 at 115200 bps...
Ctrl-\c (Ctrl-\ 加上 c)
(Back at wizard-desktop)
----------------------------------------------------
C-Kermit 8.0.211, 10 Apr 2004, for Linux
Copyright (C) 1985, 2004,
Trustees of Columbia University in the City of New York.
Type ? or HELP for help.
(/root/) C-Kermit>send test.txt
(/root/) C-Kermit>connect
Connecting to /dev/ttyS0, speed 115200
Escape character: Ctrl-\ (ASCII 28, FS): enabled
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
## Total Size = 0x00000007 = 7 Bytes
## Start Addr = 0x00100000
Richard #
好了,文件传到0x100000地址了。
这是一条镜像帖。来源:北邮人论坛 / embedded-system / #9496同步于 2010/10/8
该镜像源已超过 30 天没有更新,可能在源站已被删除。
Embedded_System机器人发帖
使用ckermit通过console传送文件
hman
2010/10/8镜像同步7 回复
订阅后,新回复会通过你的通知中心匿名送达。
7 条回复
down kernel 用tftp,这样多慢
【 在 hman (Wizard) 的大作中提到: 】
: 我可以通过这样的方式,直接下载一个kernel到ram,然后boot么?
嗯 相比网口,串口通信速率太慢了,而且一般的板子都有网口~
【 在 ArmStrong 的大作中提到: 】
: down kernel 用tftp,这样多慢
交换机或者双网卡,这个问题不大~
【 在 hman 的大作中提到: 】
: 这个我也知道,可惜我机器就一个网口,用来上网了。
: 那看来,我是要买个网卡比较好,呵呵