I just downloaded the recent mainline image for the NanoPi Neo (h3-mainline-ubuntu-core-qte-sd4g-20170228). It boots and runs fine. However, I was trying to access the UART1 on /dev/ttyS1, but apparently it is not enabled by default.
The dmesg output is:
I can see that ttyS0 gets initialized, but I don't see anything related to ttyS1 or ttyS2. By using setserial I can see that ttyS0 is attached to interrupt 32, but ttyS1 is attached to interrupt 0 (which probably means none). I tried using minicom to talk over ttyS1. It can open the port, but nothing goes through it. I was using ttyS1 before with the Armbian image, and it was working fine. By updating it to the most recent ubuntu core it stopped working.
Any ideas on how to fix this?
Thanks!
The dmesg output is:
Code: Select all
dmesg | grep tty
[ 0.000000] Kernel command line: console=ttyS0,115200 earlyprintk root=/dev/mmcblk0p2 rootfstype=ext4 rw rootwait fsck.repair=yes panic=10 isolcpus=1
[ 0.298986] console [ttyS0] disabled
[ 0.319160] 1c28000.serial: ttyS0 at MMIO 0x1c28000 (irq = 32, base_baud = 1500000) is a U6_16550A
[ 0.948494] console [ttyS0] enabled
I can see that ttyS0 gets initialized, but I don't see anything related to ttyS1 or ttyS2. By using setserial I can see that ttyS0 is attached to interrupt 32, but ttyS1 is attached to interrupt 0 (which probably means none). I tried using minicom to talk over ttyS1. It can open the port, but nothing goes through it. I was using ttyS1 before with the Armbian image, and it was working fine. By updating it to the most recent ubuntu core it stopped working.
Any ideas on how to fix this?
Thanks!