How to set UART2 on J41 as a debug console UART?

Hi all,

Can I set the UART2 as a UART for debug console?

I find “cat /proc/cmdline” has “debug_uartport=lsport,2” setting. How about “debug_uartport=lsport,1”?

Thanks.

hello garretzou,

there’re 3 UARTs supported on Nano

  • UART0 on the M.2 Key.
  • UART1 at J41 40-pin connector.
  • UART2 for debug, only Tx and Rx available.

To use UART2 for no debug use-case, just remove console-port from the kernel device tree.
you should also check Topic 1068403 for details.
thanks