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.
Solved! Go to Solution.
Hi Kirill
one can check below for similar problem
Porting Linux to a new board — Christian's Blog
Best regards
igor
For application UART you should use ttyAPPX, e.g. ttyAPP0.