- preparations
- base images
- ...
- unboxing
- additional hardware
Setup your workspace#
You will need…
a Windows or Linux computer
RS232 adapter, e.g. standard conform USB-to-RS232 adapter
Setting-up Serial Debug (all SOM) on Linux#
To get a serial debug console, make sure to connect the serial debug cable as documented in the Tria User Manual for your main board and use your preferred serial terminal. Below a few examples for common terminals.
with picocom#
With picocom that would be
$ picocom -b 115200 /dev/ttyUSB0
with minicom#
With minicom, create a file in /etc/minicom/ named minirc.<console-name>, e.g. minirc.serial-imx8plus with the following content
# Machine-generated file - use "minicom -s" to change parameters.
pu port /dev/ttyUSB0
pu baudrate 115200
pu bits 8
pu parity N
pu stopbits 1
pu linewrap Yes
pu addcarreturn Yes
pu rtscts No
And then, to run it
$ minicom serial-imx8plus
Setting-up Serial Debug (all SOM) on Windows#
To get a serial debug console, make sure to connect the serial debug cable as documented in the Tria User Manual for your main board and use your preferred serial terminal. Below a few examples for common terminal.
with putty#
With putty, choose
Connection type
=Serial
Serial line
=COM*
Speed
=115200
then click Open
Finding the COM port name
The name of the Serial line
can be found with the help of
the Device Manager
.
Look for Ports (COM & LPT)
to get the name of your serial adapter
Setting-up Serial Debug (QEMU)#
To get a serial debug console, if running with libvirt, run the following command
$ virsh -c qemu:///system console ${VM_NAME}