AnsweredAssumed Answered

Change debug UART

Question asked by Niklas Molin on Feb 23, 2014
Latest reply on Aug 9, 2017 by Per Ekelund

Hi.

 

I have a custom board, based on the SabreSD image.

I need to change the debug UART from UART1 to UART2 and wonder how I do this in an easy way (using Yocto)?

This also includes changing the UART when starting uboot.

 

I have done following changes (u-boot):

mx6sabresd.h:

Changed CONFIG_MXC_UART_BASE -> UART2_BASE

CONFIG_CONSOLE>_DEV -> "ttymxc1"

What is CONFIG_MACH_TYPE used for, do I need to change this if I have a i.mx6D instead of Q?

 

In defconfig I changed

CONFIG_DEBUG_IMX_UART_PORT=2

and CONFIG_CMDLINE to use ttymxc1 instead of ttymxc0

 

Best regards,

Niklas

Outcomes