Alexander Kanevskiy Posted June 11, 2016 Posted June 11, 2016 Gentlemen, which ports are confirmed to be working with 4.x kernels on Lamobo R1 ? I'm using Ubuntu image 5.10, with installed updates: Ubuntu 14.04.4 LTS 4.5.5-sunxi. So far, seen only working UART3 (/dev/ttyS1) on pins 8/10 of CON3. U-boot seen on UART0 (J13), but under Linux, don't see anything on either UART0 or UART2. Anyone seen better results ?
zador.blood.stained Posted June 11, 2016 Posted June 11, 2016 You can activate more ports by editing Device Tree file (/boot/dtb/sun7i-a20-lamobo-r1.dtb for your device) - please check this and this threads as a reference.
Alexander Kanevskiy Posted June 11, 2016 Author Posted June 11, 2016 The funny part that in dtb at least uart0 is enabled. but it works kind of funny way: from external to R1 data can be transferred, so RX line works, from R1 to external device, it doesn't work. TX pin seems to be working incorrectly. I checked pin mapping, PB22/PB23 seems to be ok. potentially it can conflict with IR1, but IR1 is disabled.
zador.blood.stained Posted June 11, 2016 Posted June 11, 2016 UART0 is probably in use by getty/serial-getty, you'll have to disable it first (In Ubuntu Trusty you'll have to edit/remove /etc/init/ttyS0.conf)
Alexander Kanevskiy Posted June 12, 2016 Author Posted June 12, 2016 I'm sure, that there is no getty there root@lamobor1:~# fuser /dev/ttyS0 root@lamobor1:~#
Recommended Posts