Discussion
Banana Pi (A20) hardware accelerated video and image decoding
10
24586
View: 24586|Reply: 10
|
[Discussion]
Banana Pi (A20) hardware accelerated video and image decoding
[Copy link]
|
|
Allwinner A10, A13, and A20 SoC's all uses the same type of CedarX (CedarV VPU and CedarA APU via libve) for hardware accelerated video and audio decoding.
"VidOn.Me" XBMC build with Allwinner A10 HW-acceleration
http://forum.xbmc.org/showthread.php?tid=165232&page=3
CedarX
CedarX is Allwinner's multimedia co-processing technology for hardware accelerated video and image decoding, as used inside their A10 SoC's and others.
http://linux-sunxi.org/CedarX |
|
|
|
|
|
|
|
Now we haven't test the XBMC if it can run on BP |
|
|
|
|
|
|
|
I had tried the manual compile of xbmc with the a20 library.
but it ended with an error while the /dev/mali doesn't exist.
(Tested on Raspbian 3.0 und Lubuntu)
(Seems like the same problem posted on the XBMC Forum http://forum.xbmc.org/showthread.php?tid=199354.)
Is there any known workaround for that problem?
Or can it only be fixed by the Image?
Kindly Regards |
|
|
|
|
|
|
|
Read this and it looks like it's looking for the openGL ES libraries first error, and could not start them up second error. |
|
|
|
|
|
|
|
Reply 3# CAdmin
You can contact user xefi, Lemaker has help him sovle the problem |
|
|
|
|
|
|
|
So Tony there is a working XMBC hardware accelerated code base for the the Pi? |
|
|
|
|
|
|
|
Reply 6# ChicagoBob
You will hear some good news about XBMC soon from xeli. |
|
|
|
|
|
|
|
Reply 6# ChicagoBob
http://forum.lemaker.org/redirect.php?tid=1037&goto=lastpost#lastpost |
|
|
|
|
|
|
|
@bananapiX
I took a crack at building the module this is how far I got:- curl -O http://malideveloper.arm.com/downloads/drivers/DX910/r4p1-01rel0/DX910-SW-99002-r4p1-01rel0.tgz
- tar -zxvf DX910-SW-99002-r4p1-01rel0.tgz
- cd DX910-SW-99002-r4p1-01rel0/driver/src/devicedrv/mali
- KDIR=/usr/src/linux-$(uname -r) BUILD=release make
- # ERROR: Kernel configuration is invalid.
- # include/generated/autoconf.h or include/config/auto.conf are missing.
- # Run 'make oldconfig && make prepare' on kernel src to fix it.
- cd /usr/src/linux-$(uname -r)/ # Cloned from LeMaker github
- sudo make oldconfig && sudo make prepare
- cd -
- KDIR=/usr/src/linux-$(uname -r) BUILD=release make
- # /bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
- sudo apt-get install mlton-runtime-arm-linux-gnueabihf
- KDIR=/usr/src/linux-$(uname -r) BUILD=release CROSS_COMPILE=arm-linux-gnueabihf- make
- # /home/bananapi/mali/DX910-SW-99002-r4p1-01rel0/driver/src/devicedrv/mali/linux/mali_kernel_linux.c:620:3: error: size of unnamed array is negative BUILD_BUG_ON(!IS_ALIGNED(sizeof(_mali_uk_post_notification_s), sizeof(u64)));
- # comment out all effected lines beginning with BUILD_BUG_ON and recompile
- KDIR=/usr/src/linux-$(uname -r) BUILD=release CROSS_COMPILE=arm-linux-gnueabihf- make
- # /bin/sh: 1: scripts/mod/modpost: not found
- # stuck here
Copy the Code probably need tony_zhang to provide a kernel headers package for the lemaker 3.4.90 build to get any further. |
|
|
|
|
|
|