projects
/
oweals
/
u-boot.git
/ blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
history
|
raw
|
HEAD
rockchip: clk: bind reset driver
[oweals/u-boot.git]
/
tools
/
kermit
/
send_image
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