xref: /openbmc/u-boot/tools/kermit/README (revision e8f80a5a)
1*83d290c5STom Rini# SPDX-License-Identifier: GPL-2.0+
2901d0ea1SMasahiro Yamada#
3901d0ea1SMasahiro Yamada# (C) Copyright 2001
4901d0ea1SMasahiro Yamada# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
5901d0ea1SMasahiro Yamada
6901d0ea1SMasahiro YamadaThis directory contains scripts that help to perform certain actions
7901d0ea1SMasahiro Yamadathat need to be done frequently when working with U-Boot.
8901d0ea1SMasahiro Yamada
9901d0ea1SMasahiro YamadaThey are meant as EXAMPLE code, so it is very likely that you will
10901d0ea1SMasahiro Yamadahave to modify them before use.
11901d0ea1SMasahiro Yamada
12901d0ea1SMasahiro Yamada
13901d0ea1SMasahiro YamadaShort description:
14901d0ea1SMasahiro Yamada==================
15901d0ea1SMasahiro Yamada
16901d0ea1SMasahiro Yamadadot.kermrc:
17901d0ea1SMasahiro Yamada
18901d0ea1SMasahiro Yamada	Example for "~/.kermrc" Kermit init file for use with U-Boot
19901d0ea1SMasahiro Yamada
20901d0ea1SMasahiro Yamada	by Wolfgang Denk, 24 Jun 2001
21901d0ea1SMasahiro Yamada
22901d0ea1SMasahiro Yamadaflash_param:
23901d0ea1SMasahiro Yamada
24901d0ea1SMasahiro Yamada	"kermit" script to automatically initialize the environment
25901d0ea1SMasahiro Yamada	variables on your target. This is most useful during
26901d0ea1SMasahiro Yamada	development when your environment variables are stored in an
27901d0ea1SMasahiro Yamada	embedded flash sector which is erased whenever you install a
28901d0ea1SMasahiro Yamada	new U-Boot image.
29901d0ea1SMasahiro Yamada
30901d0ea1SMasahiro Yamada	by Swen Anderson, 10 May 2001
31901d0ea1SMasahiro Yamada
32901d0ea1SMasahiro Yamadasend_cmd:
33901d0ea1SMasahiro Yamada
34901d0ea1SMasahiro Yamada	send_cmd U_BOOT_COMMAND
35901d0ea1SMasahiro Yamada
36901d0ea1SMasahiro Yamada	"kermit" script to send a U-Boot command and print the
37901d0ea1SMasahiro Yamada	results. When used from a shell with history (like the bash)
38901d0ea1SMasahiro Yamada	this indirectly adds kind of history to U-Boot ;-)
39901d0ea1SMasahiro Yamada
40901d0ea1SMasahiro Yamada	by Swen Anderson, 10 May 2001
41901d0ea1SMasahiro Yamada
42901d0ea1SMasahiro Yamadasend_image:
43901d0ea1SMasahiro Yamada
44901d0ea1SMasahiro Yamada	send_image FILE_NAME OFFSET
45901d0ea1SMasahiro Yamada
46901d0ea1SMasahiro Yamada	"kermit" script to automatically download a file to the
47901d0ea1SMasahiro Yamada	target using the "loadb" command (kermit binary protocol)
48901d0ea1SMasahiro Yamada
49901d0ea1SMasahiro Yamada	by Swen Anderson, 10 May 2001
50