Software

From TinkerBoard Wiki
Revision as of 01:04, 26 November 2017 by Igorpec (talk | contribs) (Armbian)
Jump to: navigation, search

Operating Systems

TinkerOS

Latest version v2.0.1 - Debian stretch based. 2017/08/21

TinkerOS 1.8 Download page: https://www.asus.com/uk/Single-Board-Computer/Tinker-Board/HelpDesk_Download/

Direct links:

                 linaro-stretch-alip-v2.0.1.zip [790MB]
                 linaro-stretch-alip-v1.8.zip [762MB] 
                 linaro-jessie-alip-v16.zip [928MB]
                 debian v1.4 [695MB]

Android

Android 6.01 Marshmallow. 2017/05/15

Direct download: android image [239MB]


How to install Google Play Store: Installing Play Store

Armbian

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:

Desktop

       [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

Server

       [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

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

Volumio - the Audiophile Music Player Operating system.

Direct download: volumio-2.170 [270 MB]

Yocto

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 (chromeOS)

FlintOS boots straight into chromium, and works just like ChromeOS

Download: http://flintos.io/download

Lubuntu

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.

Ubuntu -LXQt

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

Remote access

TightVNC

Follow the instructions on http://www.yuriybaldyasov.com/2017/05/15/asus-tinker-board-tightvnc-server-installation-steps/

X11vnc

sudo apt-get install x11vnc

The following file shoud be opened ~/.config/lxsessions/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.

Vino

Similar process is found on https://wiki.archlinux.org/index.php/Vino

VPN Server

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.

Virtual Keyboard

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

U-boot

 Get source code:
 $ git clone https://github.com/TinkerBoard/debian_u-boot.git -b linux4.4-rk3288
 Building image:
 $ cd debian_u-boot
 $ make CROSS_COMPILE=arm-linux-gnueabi- 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
 Flash image:
 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

Kernel

 Get source code:
 $ git clone https://github.com/TinkerBoard/debian_kernel.git -b linux4.4-rk3288
 Building image:
 $ cd debian_kernel
 $ make ARCH=arm miniarm-rk3288_defconfig -j16
 $ make zImage ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16
 $ make modules ARCH=arm CROSS_COMPILE=arm-linux-gnueabi- -j16
 $ make ARCH=arm rk3288-miniarm.dtb CROSS_COMPILE=arm-linux-gnueabi- -j16
 Flash image:
 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 http://selvaline.blogspot.com.tr/2015/09...d-via.html

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

kernel

 Get source code:
 $ git clone https://github.com/TinkerBoard/android_kernel.git -b m-mr1-rk3288
 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