•   
  • 1
  • 76
  • 77
  • 78(current)
  • 79
  • 80
  • 104
  •   
Allwinner A10 : Is XBMC ported to MALI-400MP ?
I know this is not exactly right place to ask, but would it be possible to build working .apk for mele a2000 with android? Would hw acceleration based on empatzero code work then?
Reply
no
Reply
i am compiling the package again but tis time i am having this error
/bin/sh: 1: ./bootstrap:permission denied

i have not seen this error before
Reply
(2012-10-30, 14:35)rfreiha Wrote: i am compiling the package again but tis time i am having this error
/bin/sh: 1: ./bootstrap:permission denied

i have not seen this error before

Fixed this issue but redownloading this file from the source, now i have the sqlite3 ..no and i have all the sql packages, i think someone here had the same problem
Reply
I had to sudo make because it tries to put all sorts of shit in /allwinner/
Reply
Vaevitus2 sorry i could not compile it, anyone has successfully compiled an armhf version for the linaro?
Reply
(2012-10-30, 18:19)rfreiha Wrote: Vaevitus2 sorry i could not compile it, anyone has successfully compiled an armhf version for the linaro?

if yes, *.deb would be AWESOME! Smile

Reply
(2012-10-30, 18:24)hansarsch Wrote:
(2012-10-30, 18:19)rfreiha Wrote: Vaevitus2 sorry i could not compile it, anyone has successfully compiled an armhf version for the linaro?

if yes, *.deb would be AWESOME! Smile

Failed too...
Reply
So, I started to write a how-to on native compiling. But it kept crashing so I decided to write one for cross-compiling instead.
Guess what? I keep getting the same error while trying to crosscompile....
Code:
configure: Using Python 2.7
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [configure] Error 1
config.log says this:
Code:
/usr/lib/libpython2.7.so: file not recognized: File format not recognized

Tried to reinstall libpython2.7, python2.7 and some more things but nothing helped. Anyone knows how to fix this? Can't find anything useful on Google.

Edit: I think I found the problem. Will report back later.
Edit2: Guess not. Still the same problem.
Reply
(2012-10-31, 22:15)Snippo Wrote: So, I started to write a how-to on native compiling. But it kept crashing so I decided to write one for cross-compiling instead.
Guess what? I keep getting the same error while trying to crosscompile....
Code:
configure: Using Python 2.7
checking for main in -lEGL... no
configure: error: Could not find a required library. Please see the README for your platform.
make: *** [configure] Error 1
config.log says this:
Code:
/usr/lib/libpython2.7.so: file not recognized: File format not recognized

Tried to reinstall libpython2.7, python2.7 and some more things but nothing helped. Anyone knows how to fix this? Can't find anything useful on Google.

Edit: I think I found the problem. Will report back later.
Edit2: Guess not. Still the same problem.

On what os are you trying to compile it (linaro or lubuntu)?
Reply
Guys, most of the stuff is on http://linux-sunxi.org/XBMC

To compile on armhf...
Code:
sudo apt-get update
sudo apt-get build-dep xbmc
sudo apt-get install git build-essential swig default-jre cmake libgtk2.0-bin automake

That should be the dependency basics, on armhf i found a few broken packages, ill explain that later.

To compile:
Code:
sudo git clone git://github.com/empatzero/xbmca10.git
cd xbmca10/tools/a10/depends
sudo make
cd libmad
sudo make
cd ..
cd xbmc
sudo make

if on the last step you are getting a SQLITE 3 no error...
Code:
wget http://www.sqlite.org/sqlite-autoconf-3071401.tar.gz
tar zxfv sq*
cd sq*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://downloads.sourceforge.net/project/libpng/libpng15/1.5.13/libpng-1.5.13.tar.gz?r=http%3A%2F%2Fsourceforge.net%2Fprojects%2Flibpng%2Ffiles%2Flibpng15%2F1.5.13%2F&ts=1351752731&use_mirror=ufpr
tar zxfv libpng*
cd libpng*
sudo cp scripts/makefile.linux Makefile
sudo make
sudo make install
cd..
wget ftp://ftp.csx.cam.ac.uk/pub/software/programming/pcre/pcre-8.31.tar.gz
cd pcre*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://www.mega-nerd.com/SRC/libsamplerate-0.1.8.tar.gz
tar zxfv libsample*
sudo ./configure
sudo make
sudo make install
cd ..
wget http://download.savannah.gnu.org/releases/freetype/freetype-2.3.5.tar.gz
tar zxfv free*
cd free*
sudo ./configure
sudo make
sudo make install

then do the make on xbmca10/tools/a10/depends/xbmc again.

Once compiled, go to the xbmca10 folder and do a "sudo make install"
And thats it. To run it follow the "start xbmc" part on http://linux-sunxi.org/XBMC

but be advised that running XBMC whiout killing X11 will make the UI run too slow.
Its recomended to copy the "xbmca10/tools/a10/depends/package/root/etc/xbmc-watchdog.sh" intro /etc and add it on /etc/rc.local, in this way XBMC will always launch on boot, and it will auto kill X11
Reply
Shiv,

Is this a Mele that you successfully built armhf XBMC on? If so, what Linux are you using?

[poo]
Reply
Hi Shivansps,

Great news that you have successfully manage to build a working xbmc with acceleration enabled. would it be possible for you to post a working image file so we can try it please. This would be greatly appreciated.


Rich.
Reply
Here are the steps I needed to take to cross-compile for armhf. I ran into quite a lot of problems so it might contain some errors.

Create SD card. You'll need a 8GB SD-card for this. Download the Linaro 12.08 dd-able image from j1nx.
Code:
sudo dd if=linarodesktop.12.08.img of=/dev/mmcblk0
wget -nd http://db.tt/6QB7geWV -O u-boot.bin                    % http://forum.doozan.com/read.php?6,9527
wget -nd http://db.tt/vANm95EH -O sun4i-spl.bin
dd if=sun4i-spl.bin of=/dev/mmcblk0 bs=1024 seek=8
dd if=u-boot.bin of=/dev/mmcblk0 bs=1024 seek=32

Code:
Insert the SD card in you A10 device and boot. You might have to reinstall openssh-server if you want to use ssh.
sudo add-apt-repository ppa:nathan-renniewaldock/xbmc-nightly    % Try xbmc-stable if it doesn't work for some reason
sudo apt-get update
sudo apt-get install nano python-software-properties bash-completion git wget swig default-jre cmake libgtk2.0-bin
sudo apt-get build-dep xbmc
sudo apt-get install --reinstall libpython2.7 python2.7 python2.7-dev libssh2*    % This seemed to fix the errors I got while crosscompiling
                                                                                % Try to purge and then reinstall if it still doesn't work

Shutdown the device, insert the SD card back in your PC and do the following.
Code:
sudo apt-get install gcc-arm-linux-gnueabihf swig default-jre cmake libgtk2.0-bin g++-4.6-arm-linux-gnueabihf
sudo dd if=/dev/mmcblk0 of=rootfs_xbmc.img
sudo fdisk -l

Find sector size and start value of the root partition (mmcblk0p2 for me). Change offset to: offset=sector size * start
Code:
sudo mount -o loop,offset=71303168 rootfs_xbmc.img /mnt/rootfs-a10
sudo ln -s /usr/bin/arm-linux-gnueabihf-g++-4.6 /usr/bin/arm-linux-gnueabihf-g++
sudo ln -s /mnt/rootfs-a10/lib/arm-linux-gnueabihf /lib/arm-linux-gnueabihf
sudo ln -s /mnt/rootfs-a10/usr/lib/arm-linux-gnueabihf /usr/lib/arm-linux-gnueabihf
sudo ln -s /mnt/rootfs-a10/usr/include/arm-linux-gnueabihf /usr/include/arm-linux-gnueabihf

Git clone etc. See http://linux-sunxi.org/XBMC#Update_XBMC_build_config

When finished:
Edit the username (to linaro in my case) and path (to ...-binhf) in xbmc-watchdog.sh .
Then create the package. Install it on the A10 device with:
Code:
sudo gdebi xbmca10.deb
Reply
Hey Shivan, thanks for posting up your guide, I've gotten through most of it and am confident that I'll have it up and running within a couple hours.

I'm a bit too tired to point out where exactly, but your SqLite code is missing a couple of minor things like a "cd" and some other stuff, but overall it's very informative.

Starting from the Linaro 12.08 beta from j1nx on my Oval Elephant, I ended up needing to build libssh from source (0.5.2) instead of a simple install to get the xbmc make to find it.
Reply
  •   
  • 1
  • 76
  • 77
  • 78(current)
  • 79
  • 80
  • 104
  •   
 
Thread Rating:
  • 15 Vote(s) - 4.13 Average



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