can't find ttyAMA1

キャンセル
次の結果を表示 
表示  限定  | 次の代わりに検索 
もしかして: 
2,978件の閲覧回数
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,955件の閲覧回数
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

元の投稿で解決策を見る

0 件の賞賛
返信
2 返答(返信)
2,968件の閲覧回数
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,956件の閲覧回数
muaxi8
Contributor V

Using default.config is ok, kernel configuration problem

0 件の賞賛
返信