Skip to main content

Serial Connection

The serial connection is a method of communication between the host computer and the development board using a serial interface. It allows you to monitor the output and interact with the board during the boot process and after the Linux system has started. This method is particularly useful when modifying the bootloader or the Linux kernel, as it provides access to the board even if the system is not fully operational.

important

Make sure that the board is connected as described in the Connect the Board section.

note
The instructions below assume a Debian-based Linux distribution and were verified on Ubuntu 24.04 LTS.

The recommended way to access the serial console on Linux is to use the tio utility. Any other terminal emulator that supports serial communication can also be used.

To install tio, run the following command:

sudo apt update
sudo apt install tio

To list the available serial devices, run the following command:

tio --list

Choose the appropriate serial device from the list (e.g., /dev/ttyUSB0) and run the following command to access the board:

tio /dev/ttyUSB0 -b 921600

After running the command, you should be able to interact with the board through the serial console.