xref: /openbmc/u-boot/tools/kermit/send_cmd (revision 17998eff)
1*901d0ea1SMasahiro Yamada#!/usr/bin/kermit +
2*901d0ea1SMasahiro Yamadaset line /dev/ttyS0
3*901d0ea1SMasahiro Yamadaset speed 115200
4*901d0ea1SMasahiro Yamadaset serial 8N1
5*901d0ea1SMasahiro Yamadaset carrier-watch off
6*901d0ea1SMasahiro Yamadaset handshake none
7*901d0ea1SMasahiro Yamadaset flow-control none
8*901d0ea1SMasahiro Yamadarobust
9*901d0ea1SMasahiro Yamadaset file type bin
10*901d0ea1SMasahiro Yamadaset file name lit
11*901d0ea1SMasahiro Yamadaset rec pack 1000
12*901d0ea1SMasahiro Yamadaset send pack 1000
13*901d0ea1SMasahiro Yamadaset window 5
14*901d0ea1SMasahiro Yamadaset prompt Kermit>
15*901d0ea1SMasahiro Yamada
16*901d0ea1SMasahiro Yamada#out \13
17*901d0ea1SMasahiro Yamada#in 10 =>
18*901d0ea1SMasahiro Yamadaout \%1 \%2 \%3 \%4 \%5 \%6 \%7\13
19*901d0ea1SMasahiro Yamadain 10 =>
20*901d0ea1SMasahiro Yamadaquit
21*901d0ea1SMasahiro Yamadaexit 0
22