Specifications

~/.kermrc:
set line /dev/ttyS0
set speed 115200
set carrier-watch off
set handshake none
set flow-control none
robust
set file type bin
set file name lit
set rec pack 1000
set send pack 1000
set window 5
This example assumes that you use the first serial port of your host system (/dev/ttyS0) at a baudrate of
115200 to connect to the target's serial console port.
You can then connect to the serial line:
$ kermit -c
Connecting to /dev/ttyS0, speed 115200.
The escape character is Ctrl-\ (ASCII 28, FS)
Type the escape character followed by C to get back,
or followed by ? to see other options.
----------------------------------------------------
Due to licensing conditions you will often find two kermit packages in your GNU/Linux distribution. In
this case you will want to install the ckermit package. The gkermit package is only a command line tool
implementing the kermit transfer protocol.
If you cannot find kermit on the distribution media for your Linux host system, you can download it
from the kermit project home page: http://www.columbia.edu/kermit/
4.4. Using the "minicom" program
minicom is another popular serial communication program. Unfortunately, many users have reported
problems using it with U-Boot and Linux, especially when trying to use it for serial image download. It's use
is therefore discouraged.
4.5. Permission Denied Problems
The terminal emulation program must have write access to the serial port and to any locking files that are used
to prevent concurrent access from other applications. Depending on the used Linux distribution you may have
to make sure that:
the serial device belongs to the same group as the cu command, and that the permissions of cu have
the setgid bit set
the kermit belongs to the same group as cu and has the setgid bit set
the /var/lock directory belongs to the same group as the cu command, and that the write permissions
for the group are set
4.3. Configuring the "kermit" command 32