I'm running Armbian jessie linux with sunxi kernel 3.4.112 on an Olimex A20 
micro board.
I find that opening serial port device /dev/ttyS2 causes the system to 
crash. The board heartbeat LED either stops or blinks rapidly. The board 
itself is not pingable.
I can reproduce this issue with a simple cat /dev/ttyS2 or fd = 
open("/dev/ttyS2", O_RDWR | O_NOCTTY | O_NDELAY);.

/dev/ttyS2 is linked to UART6. In the Fex file, I have configured it like 
so:

[uart_para6]
 uart_used = 1
 uart_port = 6
 uart_type = 2
 uart_tx = port:PI12<3><default><default><default>
 uart_rx = port:PI13<3><default><default><default>

Note that the UART6 is on MUX3 as it should be according to sunxi's pio 
documentation for A20 <http://linux-sunxi.org/A20/PIO#PI12_.28268.29>.

Any ideas?

-- 
You received this message because you are subscribed to the Google Groups 
"linux-sunxi" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to