can't find ttyAMA1

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

can't find ttyAMA1

Jump to solution
2,126 Views
muaxi8
Contributor V

I can't find ttyAMA1 under my 2160A custom board,i need to operate ttyAMA1.

root@localhost:~# dmesg |grep -i ttyA
[ 0.000000] Kernel command line: console=ttyAMA0,115200 root=/dev/mtdblock3 rootfstype=jffs2 rw earlycon=pl011,mmio32,0x21c0000 ramdisk_size=0x2000000 default_hugepagesz=16m hugepagesz=16m hugepages=2 pci=pcie_bus_perf run othargs
[ 0.755829] 21c0000.serial: ttyAMA0 at MMIO 0x21c0000 (irq = 18, base_baud = 0) is a SBSA
[ 0.764106] printk: console [ttyAMA0] enabled

Device Tree Configuration:

&uart0 {
status = "okay";
};

&uart1 {
status = "okay";
};

0 Kudos
Reply
1 Solution
2,103 Views
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

View solution in original post

0 Kudos
Reply
2 Replies
2,116 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please check the device tree status of node 21d0000.serial

root@TinyLinux:~# cat /proc/device-tree/soc/serial\@21d0000/status

0 Kudos
Reply
2,104 Views
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

0 Kudos
Reply