|
you use which uart?
for the bananaPi ,con3 head 6,8,10 config for the uart3,and the J12 for the uart0
if your can not sure wihch uart for the ttys0,ttys1,you can do this:
cd /sys/bus/platform/devices
you can see
sunxi-uart.0,sunxi-uart.3 if you set uart_para3 used=1;
if uart_para2 used=1,sunxi-uart.2
and then
if you want to uart_para3
cd uart_para3/tty
you can see
uart device file
in my pi ,is the ttyS1
so,if you want to use the con3 pin 6,8,10
config uart_para3 used=1
cd /sys/bus/platform/devices/sunxi-uart.3/tty
see the ttysX for you. |
|