repo.or.cz
/
u-boot-openmoko
/
mini2440.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Fixed tools/env utilities
[u-boot-openmoko/mini2440.git]
/
tools
/
scripts
/
send_image
blob
9b89d6b059845684615c9eb9689ba5abdc41df48
1
#!/usr/bin/kermit +
2
# usage: send_image FILE_NAME OFFSET
3
# e.g. send_image output.bin 1F00000
4
set line /dev/ttyS0
5
set speed 115200
6
set serial 8N1
7
set carrier-watch off
8
set handshake none
9
set flow-control none
10
robust
11
set file type bin
12
set file name lit
13
set rec pack 1000
14
set send pack 1000
15
set window 5
16
set prompt Kermit>
17
18
out \13
19
in 10 =>
20
out loadb \%2 \13
21
in 10 download ...
22
send \%1
23
out \13
24
in 10 ## Start Addr
25
quit
26
exit 0