Allwinner A10 : Is XBMC ported to MALI-400MP ?
Hi,

I just tried to cross compile xbmc from empatzero's repo under ubuntu 12.04 64-Bit with linaro quantal alip rootfs. I followed the instructions from here:

http://linux-sunxi.org/XBMC

First of all I would like to know which repo is currently better rella's or empatzero's?

When running make there are a few problems...

1. the tarball directory is not created... no problem mkdir ~/tarballs

2. downloading the mali opengl es sdk seems to be broken...

Code:
gzip: stdin: not in gzip format
tar: Child returned status 1
tar: Error is not recoverable: exiting now
make[1]: *** [.include] Error 2
make[1]: Leaving directory `/home/oliver/lab/xbmca10/tools/a10/depends/opengles'
make: *** [all] Error 2

This can be fixed by manually downloading the tar.gz file:

cd ~/tarballs; wget http://malideveloper.arm.com/downloads/M...nux.tar.gz

3. the mali drivers are no longer included..

cat xbmca10/tools/a10/depends/opengles/tmp/linux-sunxi-mali-libs-6b38cce/README:

Code:
This repository is DEPRECATED and should not be used anymore.

Please use the sunxi-mali repository instead. It is available at
https://github.com/linux-sunxi/sunxi-mali

You can clone it by running:

> git clone https://github.com/linux-sunxi/sunxi-mali.git
> git submodule init
> git submodule update

The following steps solved it for me.

Code:
cd ~/tarballs
git clone https://github.com/linux-sunxi/sunxi-mali.git
mv sunxi-mali linux-sunxi-mali-libs-6b38cce
cd linux-sunxi-mali-libs-6b38cce
git submodule init
git submodule update
cd lib
ln -s mali/r3p0 .
cd ~/tarballs
rm mali-libs-v2.tar.gz
tar cvzf mali-libs-v2.tar.gz linux-sunxi-mali-libs-6b38cce

after this make runs fine and builds all the dependencies, but make -C xbmc fails with the following error:

Code:
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [all] Error 1
make: Leaving directory `/home/oliver/lab/xbmca10/tools/a10/depends/xbmc'
Reply


Messages In This Thread
RE: Allwinner A10 : Is XBMC ported to MALI-400MP ? - by Rok1337 - 2013-03-31, 16:46
Logout Mark Read Team Forum Stats Members Help
Allwinner A10 : Is XBMC ported to MALI-400MP ?15