- 1 Operating Systems
- 2 How-tos in TinkerOS
- 3 How-tos in Android
Latest version v2.0.7 - Debian stretch based. 2018/06/22
debian v1.4 [695MB]
Android 6.01 Marshmallow v188.8.131.52. 2018/07/12
How to install Google Play Store: Installing Play Store
Latest version: 5.35, updated: 2017/110/25, download page: https://www.armbian.com/tinkerboard
Recommended images with kernel 4.13.x, direct download links:
[590 MB] 4.13.16 https://dl.armbian.com/tinkerboard/Ubuntu_xenial_next_desktop.7z https://dl.armbian.com/tinkerboard/Ubuntu_xenial_next_desktop.7z.torrent [570 MB] 4.4.102 https://dl.armbian.com/tinkerboard/Ubuntu_xenial_default_desktop.7z https://dl.armbian.com/tinkerboard/Ubuntu_xenial_default_desktop.7z.torrent
[210 MB] 4.13.16 https://dl.armbian.com/tinkerboard/Ubuntu_xenial_next.7z https://dl.armbian.com/tinkerboard/Ubuntu_xenial_next.7z.torrent [240 MB] 4.13.16 https://dl.armbian.com/tinkerboard/Debian_stretch_next.7z https://dl.armbian.com/tinkerboard/Debian_stretch_next.7z.torrent
DietPi configurable distro NB: GPU features are disabled for this board (eg: Kodi, Desktop). Ideal for server usage
Download page: http://dietpi.com/#download [116 MB]
Volumio - the Audiophile Music Player Operating system.
Download page: Under Tinkerboard
Direct download: volumio-2.411 [~273 MB]
Yocto customized source tree which enables VPU (hardware accelerated decoding and encoding), GPU, WiFi, video processing libraries (FFMPEG, OpenCV etc.,)
Direct download: Yocto[925 MB]
FlintOS boots straight into chromium, and works just like ChromeOS
ELAR systems have a Lubuntu SD image for ASUS Tinker Board here -> Download: Lubuntu
In the latest image (version 3.0), SD card will be resized upon the first boot to extend to the max size of the SD. The root account password is forced to be changed in first login as well. This has improved the security issue preventing others to login to your system as the SSH is enabled by default in this image. WiFi and Bluetooth both works fine and system performance has been improved as well.
Sound/Audio works great without any issue. Enjoy listening to a Bonus Sound Track "A Way To The Heaven" composed and arranged by Saeid Ghazagh, available in "Music" folder.
ELAR systems also have an Ubuntu-LXQt Desktop SD image for ASUS Tinker Board here -> Download: Ubuntu-LXQt Desktop
All features available in Lubuntu Image, also available on this Image as well.
How-tos in TinkerOS
Follow the instructions on http://www.yuriybaldyasov.com/2017/05/15/asus-tinker-board-tightvnc-server-installation-steps/
sudo apt-get install x11vnc
The following file shoud be opened ~/.config/lxsession/LXDE/autostart and this line should be added to the bottom:
@x11vnc -noxrecord -forever
-noxrecord fixes a problem it has with stack smashing on this board
-forever option keeps the server alive after a connect and disconnect from a client
It must be restarted to run without a terminal.
Similar process is found on https://wiki.archlinux.org/index.php/Vino
A guide for RPi can be used also for Tinker Board and can be found on: https://pimylifeup.com/raspberry-pi-vpn-server/
Netflix, Hulu, Amazon Prime
A guide is published on tinkerboarding forum.
Netflix is also available on android via Google Play.
If you do not have a USB keyboard it is possible to install virtual keyboard via ssh with command 'sudo apt-get matchbox-keyboard'. To run the virtual keyboard run the 'matchbox-keyboard' in the terminal.
How to build Kernel/U-boot source code
Get source code:
$ git clone https://github.com/TinkerBoard/debian_u-boot.git -b release
$ cd debian_u-boot $ make CROSS_COMPILE=arm-linux-gnueabihf- O=miniarm-rk3288 tinker-rk3288_defconfig all -j4 $ ./miniarm-rk3288/tools/mkimage -n rk3288 -T rksd -d miniarm-rk3288/spl/u-boot-spl-dtb.bin u-boot.img $ cat miniarm-rk3288/u-boot.bin >> u-boot.img
Prepare one sdcard which has the full Debian image inside. then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx $ sudo dd if=[path]/u-boot.img of=/dev/sdx seek=64
Install the related packages:
$ sudo apt-get install git-core gitk git-gui gcc-arm-linux-gnueabihf gcc-arm-linux-gnueabi device-tree-compiler gcc-aarch64-linux-gnu mtools parted libssl-dev fakeroot
Get source code:
$ git clone https://github.com/TinkerBoard/debian_kernel.git -b release
$ cd debian_kernel $ make miniarm-rk3288_defconfig ARCH=arm -j16 $ make zImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 $ make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
(Note: As of 2018-01-05, if may be necessary to edit the Makefile to add -Wno-misleading-indentation to the CFLAGS_MODULE if you are using GCC 6 and up.) $ make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 CFLAGS_MODULE=-Wno-misleading-indentation
$ make rk3288-miniarm.dtb ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16 $ make dtbs ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- -j16
Prepare one sdcard which has the full Debian image inside.
1. Install WIFI module to root file system: 1.1 Insert sd card to linux pc and then mount partition 2 (rootfs partition) suppose the block device of the sdcard is /dev/sdx Example: $ sudo mkdir –p /media/users/sdx2 $ sudo mount /dev/sdx2 /media/users/sdx2 1.2 Open terminal to kernel folder and enter the following commands $ sudo make ARCH=arm INSTALL_MOD_PATH=/media/users/sdx2 modules_install $ sudo umount /media/users/sdx2
2. Replace the kernel image: 2.1 Insert sd card to linux pc and then mount partition 1 (boot partition) suppose the block device of the sdcard is /dev/sdx Example: $ sudo mkdir –p /media/users/sdx1 $ sudo mount /dev/sdx1 /media/users/sdx1 2.2 Open terminal to kernel folder and copy zImage and rk3288-miniarm.dtb to partition 1 $ cp arch/arm/boot/zImage /media/users/sdx1 $ cp arch/arm/boot/dts/rk3288-miniarm.dtb /media/users/sdx1 $ sudo umount /media/users/sdx1
NOTE: The step 1.1 and 2.1 should be skipped since most of the linux distribution will mount the sdcard automatically.
How-tos in Android
How to root
In order to root Android you need to follow steps described at How to install SuperSu on Android via adb
An example of a full script can be found on https://tinkerboarding.co.uk/forum/thread-264.html?highlight=android
How to build Kernel source code
Android 6.0.1 kernel
Get source code: $ git clone https://github.com/TinkerBoard/android-6.0.1_kernel.git -b release
Building image: $ cd android_kernel $ make rockchip_defconfig -j4 $ make rk3288-miniarm.img -j4
Flash image: Prepare one sdcard which has the full Android image inside. then insert the sdcard into a linux based OS, and suppose the block device of the sdcard is /dev/sdx $ sudo dd if=./resource.img of=/dev/sdx seek=32768 $ sudo dd if=./kernel.img of=/dev/sdx seek=65536
How to build Android(AOSP) source code
Install Google's repo command tool ref: https://source.android.com/setup/downloading
Make sure you have a bin/ directory in your home directory and that it is included in your path: mkdir ~/bin PATH=~/bin:$PATH
Download the Repo tool and ensure that it is executable: curl https://storage.googleapis.com/git-repo-downloads/repo > ~/bin/repo chmod a+x ~/bin/repo
Android 6.0.1 AOSP
Get source code: $ repo init -u https://firstname.lastname@example.org/TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-6.0.1 $ repo sync -d
Find the build SOP document at the below path. [source code]/RKDocs/android_SOP_eng_6.0.1.docx
Android 7.1.2 AOSP
Get source code: $ repo init -u https://email@example.com/TinkerBoard_Android/manifest.git -b sbc/tinkerboard/asus/Android-7.1.2 $ repo sync -d
Find the build SOP document at the below path. [source code]/RKDocs/android_SOP_eng_7.1.2.docx