UART1 as main console on Dahlia board


I want to move the main stdout console of my yocto build to the UART1 of the dahlia carrier board (pin 12/13 of the x20 Primary Extension Header) .

I added the following lines to my devicetree overlay :

&{/chosen} {
	bootargs = "console=ttymxc1,115200 earlycon";
	stdout-path = &uart2;

I also added this line to my yocto machine conf :

SERIAL_CONSOLES = “115200;ttymxc1”

But this broke the system.
Is there other configuration to modify ?

Hi @neunz !

Please refer to this article: Configuring Serial Port Debug Console (Linux/U-Boot) | Toradex Developer Center

It is better to stick to the default debug UART.

Best regards,