can't find ttyAMA1

取消
显示结果 
显示  仅  | 搜索替代 
您的意思是: 
已解决

can't find ttyAMA1

跳至解决方案
2,972 次查看
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 项奖励
回复
1 解答
2,949 次查看
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

在原帖中查看解决方案

0 项奖励
回复
2 回复数
2,962 次查看
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 项奖励
回复
2,950 次查看
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

0 项奖励
回复