Hallo Andrea, How can I understand which version (you said r3p0 mali) is to be used with my board? Is there a reference page? In addiction, based on the installed kernel, could in compile only the mali driver and add it as external module? Do I need to recompile the whole kernel?
Thank you for the support!! Simon Il giorno lunedì 7 luglio 2014 08:47:42 UTC+2, Andreas Baierl ha scritto: > > Hello, > > you have to ensure > 1) that mali kernel module is available within your kernel either as a > module or compiled in > So if there is neither a /dev/mali nor or kernel module, contact your > lemaker for further help. They haven't released any kernel sources until > now afaik. So I won't try to help anymore, until they will do that btw. > 2) mali kernel driver does match the ABI of the userspace binary. In the > case your board is using a linux-sunxi kernel, this will be r3p0 > Without mali, you will not be able to do a next step towards xbmc. > > Regards > > > Am 04.07.2014 17:23, schrieb Simo Xefil: > > > Hello, > > I'm here again, searching for help. I've purchased a banana-pi board > based on AllWinner A20 chip. > I'm trying to compile XBMC following your instructions ( > http://linux-sunxi.org/XBMC) on a BananaPI device (http://www.lemaker.org/) > with Lubuntu provided by the constructor: > http://www.lemaker.org/index.php?m=content&c=index&a=show&catid=9&id=38 > > root@lemaker:~# cat /etc/debian_version > jessie/sid > root@lemaker:~# lsb_release -a > No LSB modules are available. > Distributor ID: Ubuntu > Description: Ubuntu 14.04 LTS > Release: 14.04 > Codename: trusty > > root@lemaker:~# lshw > lemaker > description: Computer > width: 32 bits > *-core > description: Motherboard > physical id: 0 > *-memory > description: System memory > physical id: 0 > size: 873MiB > *-cpu > physical id: 1 > bus info: cpu@0 > size: 912MHz > capacity: 912MHz > capabilities: cpufreq > *-network > description: Ethernet interface > physical id: 1 > logical name: eth0 > serial: 02:89:06:03:25:36 > size: 100Mbit/s > capacity: 1Gbit/s > capabilities: ethernet physical tp aui bnc mii fibre 10bt 10bt-fd > 100bt 100bt-fd 1000bt 1000bt-fd autonegotiation > configuration: autonegotiation=on broadcast=yes driver=sunxi_gmac > driverversion=SUNXI GMAC driver V0.1 duplex=full ip=172.18.0.180 link=yes > multicast=yes port=MII speed=100Mbit/s > > root@lemaker:~# uname -a > Linux lemaker 3.4.90 #1 SMP PREEMPT Wed Jun 25 19:54:01 CST 2014 armv7l > armv7l armv7l GNU/Linux > > > > Following these instructions on linux-sunxi I'm on a blocked point. This > is what I've done until here: > - due some dependencies issues during xmbc compile I've manually > installed the 'UMP (Unified Memory Provider) userspace library' from > http://linux-sunxi.org/Mali_binary_driver > - then, due samba-4.0 path issues I've applied this patch and added > 'export CXXFLAGS="-I/usr/include/samba-4.0";' before start compiling. > > These steps allowed me to compile succesfully XBMC, but it's not > starting. > > The first error I've encured was: > > root@lemaker:/allwinner/xbmc-pvr-binhf/bin# ./xbmc > /allwinner/xbmc-pvr-binhf/lib/xbmc/xbmc.bin: error while loading shared > libraries: libGLESv2.so: cannot open shared object file: No such file or > directory > > Looking for called shared libraries on the binary: > > root@lemaker:/allwinner/xbmc-pvr-binhf/bin# ldd > /data/apps/allwinner/xbmc-pvr-binhf/lib/xbmc/xbmc.bin | grep "not found" > libGLESv2.so => not found > > > > So, searching for this file, I've seen the sunxi-mali had it. Maybe > during the dependencies compile, this was skipped due some error. Moved to > 'sunxi-mali' folder, I've tried to recompile it manually, but gives me > these errors: > > root@lemaker:/data/software/xbmc-install/xbmca10/tools/a10/depends/ > opengles/sunxi-mali# make install > make -f Makefile.config > ABI="armhf" (Detected) > Error: Failed to open /dev/mali: No such file or directory > VERSION="" (Detected) > Error: Failed to open /dev/mali: No such file or directory > Error: Failed to open /dev/mali: No such file or directory > Error: Failed to open /dev/mali: No such file or directory > Error: Failed to open /dev/mali: No such file or directory > Error: Failed to open /dev/mali: No such file or directory > make[1]: Entering directory > `/data/software/xbmc-install/xbmca10/tools/a10/depends/opengles/sunxi-mali' > Makefile.config:57: Unknown/unhandled Mali Version "" > Makefile.config:58: Use VERSION=(r2p4,r3p0,r3p1,r3p2-01rel1) instead > Error: Failed to open /dev/mali: No such file or directory > Makefile.config:59: *** Unknown/unhandled Mali Version "". Stop. > make[1]: Leaving directory `/data/software/xbmc-install/xbmca10/tools/a10/ > depends/opengles/sunxi-mali' > make: *** [config.mk] Error 2 > > > mali module is not installed and not possible to load it, maybe due > incompatible HW? > > # lsmod > Module Size Used by > rfcomm 58154 0 > bnep 14285 2 > bluetooth 263337 10 bnep,rfcomm > dm_crypt 16196 0 > 8192cu 453451 0 > mali_drm 2616 0 > drm 208898 1 mali_drm > ump 52441 0 > lcd 3802 0 > # modprobe mali > modprobe: FATAL: Module mali not found. > > > > So i tried to provide by myself the configure options. ABI based on > architecture: armhf and version choosen the last. > > # make config VERSION=r3p2-01rel1 ABI=armhf > rm -f config.mk > make config.mk > make[1]: Entering directory > `/data/software/xbmc-install/xbmca10/tools/a10/depends/opengles/sunxi-mali' > make -f Makefile.config > ABI="armhf" (Provided) > VERSION="r3p2-01rel1" (Provided) > EGL_TYPE="framebuffer" (Detected) > make[2]: Entering directory `/data/software/xbmc-install/xbmca10/tools/a10 > /<span style="color: #000;" class= > > ... -- You received this message because you are subscribed to the Google Groups "linux-sunxi" group. To unsubscribe from this group and stop receiving emails from it, send an email to linux-sunxi+unsubscr...@googlegroups.com. For more options, visit https://groups.google.com/d/optout.