imx287: system console throw AUART0

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 

imx287: system console throw AUART0

ソリューションへジャンプ
1,233件の閲覧回数
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.

ラベル(2)
0 件の賞賛
返信
1 解決策
1,089件の閲覧回数
BrilliantovKiri
Senior Contributor I

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

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
1,089件の閲覧回数
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 件の賞賛
返信
1,090件の閲覧回数
BrilliantovKiri
Senior Contributor I

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

0 件の賞賛
返信