Discussion

Banana Pi (A20) hardware accelerated video and image decoding

10 24452
eliliu  
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

CAdmin  
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

ged  
@bananapiX
I took a crack at building the module this is how far I got:
  1. curl -O http://malideveloper.arm.com/downloads/drivers/DX910/r4p1-01rel0/DX910-SW-99002-r4p1-01rel0.tgz
  2. tar -zxvf DX910-SW-99002-r4p1-01rel0.tgz
  3. cd DX910-SW-99002-r4p1-01rel0/driver/src/devicedrv/mali
  4. KDIR=/usr/src/linux-$(uname -r) BUILD=release make
  5. # ERROR: Kernel configuration is invalid.
  6. #         include/generated/autoconf.h or include/config/auto.conf are missing.
  7. #         Run 'make oldconfig && make prepare' on kernel src to fix it.
  8. cd /usr/src/linux-$(uname -r)/ # Cloned from LeMaker github
  9. sudo make oldconfig && sudo make prepare       
  10. cd -
  11. KDIR=/usr/src/linux-$(uname -r) BUILD=release make
  12. #        /bin/sh: 1: arm-none-linux-gnueabi-gcc: not found
  13. sudo apt-get install mlton-runtime-arm-linux-gnueabihf
  14. KDIR=/usr/src/linux-$(uname -r) BUILD=release CROSS_COMPILE=arm-linux-gnueabihf- make
  15. # /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)));
  16. # comment out all effected lines beginning with BUILD_BUG_ON and recompile
  17. KDIR=/usr/src/linux-$(uname -r) BUILD=release CROSS_COMPILE=arm-linux-gnueabihf- make
  18. # /bin/sh: 1: scripts/mod/modpost: not found
  19. # 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.

You have to log in before you can reply Login | Sign Up

Points Rules