Differences
This shows you the differences between two versions of the page.
installingonmk802 [2013/06/01 01:13] sanel created |
installingonmk802 [2015/10/03 14:54] |
||
---|---|---|---|
Line 1: | Line 1: | ||
- | ====== Installing EDE on MK802 device ====== | ||
- | |||
- | ===== Introduction ===== | ||
- | |||
- | [[https://www.miniand.com/products/MK802%20Android%20Mini%20PC|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. | ||
- | |||
- | 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 | ||
- | [[https://www.miniand.com/forums/forums/2/topics/1|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 | ||
- | [[http://www.rikomagic.co.uk/forum/viewtopic.php?f=2&t=13&start=20#p382|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: | ||
- | |||
- | <code> | ||
- | $ sudo apt-get update | ||
- | $ sudo apt-get install g++ jam libfltk1.3-dev libdbus-1-dev | ||
- | </code> | ||
- | |||
- | ===== 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: | ||
- | |||
- | <code> | ||
- | 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 | ||
- | </code> | ||
- | |||
- | this is [[https://bugs.launchpad.net/ubuntu/+source/gcc-4.4/+bug/503448|known]] Ubuntu bug | ||
- | so make sure to recompile edelib as shared library (running //./configure --enable-shared// | ||
- | in edelib folder will do it). | ||