AnsweredAssumed Answered

imx287: system console throw AUART0

Question asked by Kirill Brilliantov on Jul 27, 2015
Latest reply on Jul 27, 2015 by igorpadykov

Hello!

I work with custom board and it have system console on AUART0.

 

I add AUART support to DTS-file:

apbx@80040000 {

    auart0: serial@8006a000 {

        pinctrl-names = "default";

        pinctrl-0 = <&auart0_2pins_a>;

        status = "okay";

    };

 

    auart1: serial@8006c000 {

        pinctrl-names = "default";

        pinctrl-0 = <&auart1_2pins_a>;

        status = "okay";

    };

 

    auart2: serial@8006e000 {

        pinctrl-names = "default";

        pinctrl-0 = <&auart2_2pins_a>;

        status = "okay";

    };

};

 

And to Linux:

CONFIG_SERIAL_MXS_AUART=y

CONFIG_SERIAL_MXS_AUART_CONSOLE=y

CONFIG_CMDLINE="console=ttyAMA0,115200 root=/dev/mmcblk0p3 rw rootwait ip=off"

CONFIG_CMDLINE_FORCE=y

 

/etc/inittab:

::respawn:/sbin/getty -L /dev/ttyAMA0 115200

 

Unfortunately I can't any output after power plug.

May be I should use another device for AUART0, device ttyAMA0 I use for debug UART?

Thank you and excuse my bad english.

Outcomes