Setup your workspace#
Setting-up Serial Debug (all SOM)#
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. Here is an example with picocom
$ picocom -b 115200 /dev/ttyUSB0
Setting up the serial console can also be done via 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 (QEMU)#
To get a serial debug console, if running with libvirt, run the following command
$ virsh -c qemu:///system console ${VM_NAME}