Installing Serial on the Asus Tinker Board

Created 11/02/2017 | Configuring UART to use as a serial port

The Tinker Board contains UART on pins 8 and 10, the same as on the Raspberry Pi GPIO port.  The Debian Linux supplied by Asus has the UART enabled by default as a serial console on ttyS1 with a baud rate of 115200.

To use the UART pins for serial communication with our Serial Pi Plus or RS485 Pi you will need to disable the console on ttyS1. 

There are two ways you can disable the console on TinkerOS Debian.

Method 1:

Remove the SD card containing the Debian image from the Tinker Board and plug it into a card reader on your PC.  Open the card in your file manager and select the extlinux folder.

There should be a file called extlinux.conf, open this in your text editor.

The text file should contain the following text:

label kernel-4.4
     kernel /zImage
     fdt /rk3288-miniarm.dtb
    append  earlyprintk console=ttyS1,115200n8 root=/dev/mmcblk0p2 rw init=/sbin/init

Remove the console section from the text file so it now reads:

label kernel-4.4
        kernel /zImage
        fdt /rk3288-miniarm.dtb
        append  earlyprintk root=/dev/mmcblk0p2 rw init=/sbin/init

Save the file and put the SD card back into the Tinker Board.  When the board boots the UART port should now be accessible from a terminal program on /dev/ttyS1.

Method 2:

Within Linux on the Tinker Board open the file /media/linaro/D32E-178C/extlinux/extlinux.conf using nano.

sudo nano /media/linaro/D32E-178C/extlinux/extlinux.conf

If nano is not installed you can install it using:

sudo apt-get install nano

Edit the file the same way as in method 1 removing the console section.  Save the file using Ctrl-x and y.

Reboot the Tinker Board.

sudo reboot

 When the board reboots the UART port should now be accessible from a terminal program on /dev/ttyS1.

 

Shop

Support

Products added to basket

Items

Total (inc shipping)

CheckoutView Basket

Free Shipping on all orders over £25

Click to contact us.
X

Have any Questions?

Send us any questions about this page or product and we will reply within 24 hours.

Submit your Message

X

Have any Questions?

Thank you for contacting us.

We will respond to your enquiry in the next 24 hours.

You can find answers to many questions and additional product support in our Knowledge Base and the Community Forum.