[meta-freescale] Change DEBUG console port on SabreSD image

Fabio Estevam festevam at gmail.com
Mon Feb 24 07:45:23 PST 2014


On Mon, Feb 24, 2014 at 12:31 PM, Niklas Molin <niklas.p.molin at gmail.com> wrote:
> Hi.
>
> I'm working on a custom board and basing my image on the SabreSD board.
> We used UART2 as Debug console port and wonder how I change from UART1 to
> UART2 for the DEBUG console port?

This is more a question to the U-boot list. Not really meta-fsl-arm related.

>
> Got u-boot I found mx6sabresd.h and changed CONFIG_MXC_UART_BASE to
> UART2_BASE.
> Do I also need to change CONFIG_CONSOLE_DEV to ttymxc1, or can I still use
> ttymxc0?

You need to use ttymxc1.

> For the Linux-image I found in defconfig:
> CONFIG_CMDLINE(which includes the ttymxc and CONFIG_DEBUG_IMX_UART_PORT,
> which I'll change to 2.
>
> I just wanted to check if this is the right approach?
>
> Do I need to change the ttymxc number or is it enough to change the UART
> port number?

Make sure you also change the configuration of the UART pads IOMUX to
the correct ones that are used by your hardware.

Regards,

Fabio Estevam


More information about the meta-freescale mailing list