Allwinner A10 : Is XBMC ported to MALI-400MP ?
The easiest way to build xbmca10 is on miniand lubuntu as explained by Shivansps. But the build process is extremely slow. You can try cross-compiling on your more powerful PC running ubuntu 12.04 (at least). It's not hard but surely you need some knowledge of Linux build systems.

1. on miniand (mk802 device runing miniand lubuntu) install xbmc build dependencies

Code:
> apt-get build-dep xbmc
> apt-get install libmysqlclient-dev

2. shutdown miniand and copy root file system on your PC

Code:
> mkdir -p ~/mk802/{rootfs,tarballs}
> cd ~/mk802
> cp -r /media/<sdcard root partition>/* rootfs/
> sudo ln -s ~/mk802/rootfs/lib/arm-linux-gnueabi /lib/arm-linux-gnueabi
> sudo ln -s ~/mk802/rootfs/usr/lib/arm-linux-gnueabi /usr/lib/arm-linux-gnueabi
> sudo ln -s ~/mk802/rootfs/usr/include/arm-linux-gnueabi /usr/include/arm-linux-gnueabi

3. install arm cross-compiler

Code:
>  sudo apt-get install gcc-arm-linux-gnueabi

4. get the source

Code:
> cd ~/mk802
> git clone git://github.com/empatzero/xbmca10.git

5. adjust dir paths in tools/a10/depends/depends.mk

Code:
TARBALLS=$(HOME)/mk802/tarballs
SDKSTAGE=$(HOME)/mk802/rootfs

6. build xbmc10

Code:
> cd ~/mk802/xbmca10/tools/a10/depends
> export PATH=$PATH:~/mk802/rootfs/usr/bin:~/mk802/rootfs/usr/local/bin     (required to have correct mysql_config in your path)
> make && make -C xbmc

You may see errors if some build tools are missing. As my PC has most of the build tools already installed, the build goes without any issue. Try searching for appropriate package and install them.

7. build deb package

Code:
> cd ~/mk802/xbmca10/
> sudo make install
> cd ~/mk802/xbmca10/tools/a10/depends/package
> make

The generated xbmca10.deb should be installed on your miniand lubuntu like this:

Code:
> sudo apt-get install gdebi
> sudo gdebi xbmca10.deb

8. Edit /etc/environment and append a line (mk802)

Code:
A10HWR=1

9. Reboot lubuntu and from terminal run

Code:
> sudo start xbmc

That's it.

There is no way to quit xbmc and bring back the lubuntu desktop. You should connect to your device with ssh to stop it or just remove the power.

EDIT: I don't know why mysql dependency is there, you can try configuring with --disable-mysql option (tools/a10/depends/xbmc/Makefile)

Enjoy!
Reply
 
Thread Rating:
  • 15 Vote(s) - 4.13 Average


Messages In This Thread
RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - by cristatus - 2012-10-14, 09:00


Logout Mark Read Team Forum Stats Members Help
Allwinner A10 : Is XBMC ported to MALI-400MP ?4.1315