AnsweredAssumed Answered

I want to change the console port.

Question asked by Chang Hee Lim on Jul 5, 2019
Latest reply on Jul 8, 2019 by mahi

I am working in a standalone linux build environment.

The CPU uses i.mx6 solo, and the project base uses i.mx6dl sabresd.

The debug console port from the hardware team is working on a board that has been changed from uart1 to uart3.

I changed console to uart3 in uboot and checked the logs. However, the kernel did not find a way to change it.

The current state is using mfgtools to detect the failure during download, and I want to see console for debugging.

When I run bootm from uboot and enter the kernel, I cofirmed that the value of bootarg is passed to ttymxc2.

The kernel option is CONFIG_CMDLINE = "noinitrd console = ttymxc2,115200".


I added the following code to the device tree "imx6qdl-sabresd.dtsi".

chosen {
  stdout-path = &uart1;
 bootargs = "console=ttymxc2,115200";
 stdout-path = &uart3;

  pinctrl_uart3: uart3grp {
  fsl,pins = <


&uart3 {
 pinctrl-names = "default";
 pinctrl-0 = <&pinctrl_uart3>;
 status = "okay";


How do I see the console in the kernel?

Thank you for your help.