...
Use the following as a reference for the connector interfaces on the PEB-D-RPI expansion board that will be used in this document.
USB to Serial UART Interface
...
You should see 'Testing UART1!' output on the UART1 USB serial console. If not, check the USB serial port settings on the host PC and ensure that it is configured for 115200 baud rate.
Enable UART1 as Console in Linux
To enable UART1 as an additional console in Linux, run the following commands. Note that this setting will persist between boots but will not affect the default console in U-Boot and Linux.
Code Block | ||
---|---|---|
| ||
systemctl enable serial-getty@ttymxc0.service
systemctl start serial-getty@ttymxc0.service |
Configuring UART1 as Default Console in U-Boot and Linux
If you would like to use UART1 as the default console in U-Boot and Linux, boot into U-Boot and test the Linux configuration by running the following commands:
...