xref: /OK3568_Linux_fs/u-boot/tools/kermit/README (revision 4882a59341e53eb6f0b4789bf948001014eff981)
1*4882a593Smuzhiyun#
2*4882a593Smuzhiyun# (C) Copyright 2001
3*4882a593Smuzhiyun# Wolfgang Denk, DENX Software Engineering, wd@denx.de.
4*4882a593Smuzhiyun#
5*4882a593Smuzhiyun# SPDX-License-Identifier:	GPL-2.0+
6*4882a593Smuzhiyun#
7*4882a593Smuzhiyun
8*4882a593SmuzhiyunThis directory contains scripts that help to perform certain actions
9*4882a593Smuzhiyunthat need to be done frequently when working with U-Boot.
10*4882a593Smuzhiyun
11*4882a593SmuzhiyunThey are meant as EXAMPLE code, so it is very likely that you will
12*4882a593Smuzhiyunhave to modify them before use.
13*4882a593Smuzhiyun
14*4882a593Smuzhiyun
15*4882a593SmuzhiyunShort description:
16*4882a593Smuzhiyun==================
17*4882a593Smuzhiyun
18*4882a593Smuzhiyundot.kermrc:
19*4882a593Smuzhiyun
20*4882a593Smuzhiyun	Example for "~/.kermrc" Kermit init file for use with U-Boot
21*4882a593Smuzhiyun
22*4882a593Smuzhiyun	by Wolfgang Denk, 24 Jun 2001
23*4882a593Smuzhiyun
24*4882a593Smuzhiyunflash_param:
25*4882a593Smuzhiyun
26*4882a593Smuzhiyun	"kermit" script to automatically initialize the environment
27*4882a593Smuzhiyun	variables on your target. This is most useful during
28*4882a593Smuzhiyun	development when your environment variables are stored in an
29*4882a593Smuzhiyun	embedded flash sector which is erased whenever you install a
30*4882a593Smuzhiyun	new U-Boot image.
31*4882a593Smuzhiyun
32*4882a593Smuzhiyun	by Swen Anderson, 10 May 2001
33*4882a593Smuzhiyun
34*4882a593Smuzhiyunsend_cmd:
35*4882a593Smuzhiyun
36*4882a593Smuzhiyun	send_cmd U_BOOT_COMMAND
37*4882a593Smuzhiyun
38*4882a593Smuzhiyun	"kermit" script to send a U-Boot command and print the
39*4882a593Smuzhiyun	results. When used from a shell with history (like the bash)
40*4882a593Smuzhiyun	this indirectly adds kind of history to U-Boot ;-)
41*4882a593Smuzhiyun
42*4882a593Smuzhiyun	by Swen Anderson, 10 May 2001
43*4882a593Smuzhiyun
44*4882a593Smuzhiyunsend_image:
45*4882a593Smuzhiyun
46*4882a593Smuzhiyun	send_image FILE_NAME OFFSET
47*4882a593Smuzhiyun
48*4882a593Smuzhiyun	"kermit" script to automatically download a file to the
49*4882a593Smuzhiyun	target using the "loadb" command (kermit binary protocol)
50*4882a593Smuzhiyun
51*4882a593Smuzhiyun	by Swen Anderson, 10 May 2001
52