imx287: system console throw AUART0

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

imx287: system console throw AUART0

Jump to solution
591 Views
BrilliantovKiri
Senior Contributor I

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.

Labels (2)
0 Kudos
1 Solution
447 Views
BrilliantovKiri
Senior Contributor I

For application UART you should use ttyAPPX, e.g. ttyAPP0.

View solution in original post

0 Kudos
2 Replies
447 Views
igorpadykov
NXP Employee
NXP Employee

Hi Kirill

one can check below for similar problem

Porting Linux to a new board — Christian's Blog

Best regards

igor

0 Kudos
448 Views
BrilliantovKiri
Senior Contributor I

For application UART you should use ttyAPPX, e.g. ttyAPP0.

0 Kudos