Specifications

4.2. Configuring the "cu" command
The cu command is part of the UUCP package and can be used to act as a dial-in terminal. It can also do
simple file transfers, which can be used in U-Boot for image download.
On RedHat systems you can check if the UUCP package is installed as follows:
$ rpm -q uucp
If necessary, install the UUCP package from your distribution media.
To configure cu for use with U-Boot and Linux please make sure that the following entries are present in the
UUCP configuration files; depending on your target configuration the serial port and/or the console baudrate
may be different from the values used in this example: (/dev/ttyS0, 115200 bps, 8N1):
/etc/uucp/sys:
#
# /dev/ttyS0 at 115200 bps:
#
system S0@115200
port serial0_115200
time any
/etc/uucp/port:
#
# /dev/ttyS0 at 115200 bps:
#
port serial0_115200
type direct
device /dev/ttyS0
speed 115200
hardflow false
You can then connect to the serial line using the command
$ cu S0@115200
Connected.
To disconnect, type the escape character '~' followed by '.' at the beginning of a line.
See also: cu(1), info uucp.
4.3. Configuring the "kermit" command
The name kermit stands for a whole family of communications software for serial and network connections.
The fact that it is available for most computers and operating systems makes it especially well suited for our
purposes.
kermit executes the commands in its initialization file, .kermrc, in your home directory before it executes
any other commands, so this can be easily used to customize its behaviour using appropriate initialization
commands. The following settings are recommended for use with U-Boot and Linux:
4.2. Configuring the "cu" command 31