Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

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
titleTarget (Linux)
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:

...