This is an old revision of the document!


Installing EDE on MK802 device

Introduction

MK802 is small and cheap ARM powered mini PC with HDMI output, designed for playing media, browsing internet or to be put in general use.

Here is image of one of available models:

 MK802 image

By default, MK802 comes with Android, but this tutorial will show you how to run EDE on Linux (to be precise, Ubuntu) compiled and prepared for MK802. This tutorial is written using MK802+ model (Allwinner A10 CPU, DDR3 1GB RAM and 4GB ROM), but is applicable for all newer MK802 versions.

Ingredients

Assuming you already have MK802 and MicroSD card (this is the place where will be Ubuntu installed as we are not going to overwrite default Android installation on device ROM), first go to this page and download Lubuntu version that matches your device memory size, then follow instructions (written on the same page) on how to install it on MicroSD card.

:!: You can use external USB drive instead of MicroSD card; things will be considerably faster then.

It is advised you use 720p version, because graphics will be faster.

By default, this image is intended for plugging MK802 device in TV. In case you are going to plug device in computer, make sure to download zipped evh.bin files from here and replace with appropriate version on your MicroSD card.

After this, plug in card and you should have running Ubuntu with LXDE environment (password for logging in is miniand).

Installing required packages

After you have running Ubuntu, installing required packages is simple; just run these commands:

$ sudo apt-get update
$ sudo apt-get install g++ jam libfltk1.3-dev libdbus-1-dev

Installing EDE

From here, installing EDE from source code should not be a problem: please read InstallingFromSource for further instructions. However, if you got error like:

C++ applets/clock/Clock.o 
Link applets/clock/clock.so 
/usr/bin/ld: /opt/ede/lib/libedelib.a(Debug.o): relocation R_ARM_THM_MOVW_ABS_NC against `a local symbol' can not be used when making a shared object; recompile with -fPIC
/opt/ede/lib/libedelib.a: could not read symbols: Bad value
collect2: ld returned 1 exit status

this is known Ubuntu bug so make sure to recompile edelib as shared library (running ./configure –enable-shared in edelib folder will do it).

Print/export