Skip to content

Linux in the MK802IIIs

Rafael Bailón edited this page May 19, 2015 · 1 revision

Getting root

MK802IIIs came rooted so we only needed a virtual terminal app for Android. Just in case of needing root, follow this instructions.

We are using FLOSS ConnectBot app from Fdroid

Installing GNU/Linux

Installing a GNU/Linux distribution on PC is as easy as downloading an iso file, writing it into a CD or DVD and clicking "Next" on graphical installer.

Because the are hundreds (if not thousands) of different ARM devices with their own SoC, GNU/Linux installation on these devices has their own instructions.

Linux kernel and modules (drivers) are compiled ad-hoc for each type of device and distributed separately from user-space programs. The so-called rootfs that contains software built for ARM architecture and are compatible with every ARM device.

Kernel and rootfs are interchangeable. There are two (modified) versions of Linux that can run on the MK802IIIs available on the internet: 3.0.8+ and 3.0.36+. The most used rootfs for our device is Picuntu 0.9, a modified version of Ubuntu 12.10.

We are using Linux 3.0.36+ and Picuntu 0.9 currently, but we will try to install a more recent version of Ubuntu or another ARM-compatible distribution as Debian, openSUSE or Fedora.

Writing Linux kernel into device NAND

Detailed information about Linux on NAND

Kernel in some ARM devices is not located in /boot folder but in an internal NAND memory. MK802IIIs, based on RK3066 SoC, is one of these devices. An application called RKFlashtool is needed for writing Linux into NAND from a PC. RKFlashtool is command-line based but there is also a GUI called RKFlashtool-GUI.

Linux kernel compilation instructions: http://hwswbits.blogspot.com.es/2013/03/compiling-picuntu-kernel-ubuntu-linux.html

http://hwswbits.blogspot.com.es/2013/10/booting-to-linux-instead-of-android.html

Getting a rootfs

Connecting to the internet

Driver module for MT5931 WiFi module, the one included in the MK802IIIs, is not mainlined on Linux.

We have found the driver code and install instructions but we have not succeeded installing this driver in the minicomputer.

Maybe we could try with .ko files from here or compile this kernel.

Bluetooth

MK802IIIs includes a Mediatek MT6622 bluetooth module. Eva doesn't need bluetooth communication, but we have found a linux driver code

GPU

MK802IIIs has a Mali 400 GPU.

Not tested install instructions: