|
楼主 |
发表于 2013-2-17 02:25:37
|
显示全部楼层
为了方便某些长城后面地区的朋友,先将帖子关键部分转过来:
IT IS WORKING!!!
Many thanks again Dmitriy! I would have searched at least a week more finding the fixes for the Problems without your help!!
I Compiled (almost) like the sunxi-tutorial ,and now it runs quite smooth!
here are all the steps i took in orderto make it work
root@mele:~/# apt-get update
root@mele:~/# apt-get upgrade
root@mele:~/# apt-get install git
root@mele:~/# mkdir melehacking
root@mele:~/# cd melehacking
root@mele:~/melehacking# git clone git://github.com/rellla/xbmca10.git
root@mele:~/melehacking# apt-get build-dep xbmc
root@mele:~/melehacking# apt-get install swig default-jre cmake libgtk2.0-bin
#install missing extra build dependency (before 1. make)
apt-get install libssh-4 libssh-dev
root@mele:~/melehacking# apt-get remove libegl1-mesa libegl1-mesa-dev libegl1-mesa-drivers libgles2-mesa
libgles2-mesa-dev
root@mele:~/melehacking# dd if=/dev/zero of=/swap bs=1M count=384
root@mele:~/melehacking# mkswap -c /swap
root@mele:~/melehacking# swapon /swap
root@mele:~/melehacking# cd xbmca10/tools/a10/depends
root@mele:~/melehacking/xbmca10/tools/a10/depends# make
# needed to install wget at this point and retry...(apt-get install wget)
#-->root@mele:/allwinner/xbmc-pvr-bin/lib/xbmc# echo -e "\nA10HWR=1" >> /etc/environment<--
#this line only adds a variable to /etc/environment and doesent need to be executed from this (non-
#existing)path, so:
echo -e "\nA10HWR=1" >> /etc/environment
root@mele:~/melehacking/xbmca10/tools/a10/depends# make -C xbmc
root@mele:~/melehacking/xbmca10/tools/a10/depends# cd ../../../
root@mele:~/melehacking/xbmca10# make install
root@mele:~/melehacking/xbmca10/tools/a10/depends# cd package
root@mele:~/melehacking/xbmca10/tools/a10/depends/package# make
#RUNNING XBMC
#1.Prevent X-server from running
mv /ext/init/lightdm.config /etc/init/lightdm.config.noboot
#Change rights for drivers
chmod 777 /dev/ump
chmod 777 /dev/mali
#reboot once
#startXBMC AS SUDO!
sudo ./allwinner/xbmc-pvr-binhf/lib/xbmc/xbmc.bin
#I got only video output on my tv , not on monitor!!
Regards , Martin |
|