What do we need to do? Do we have all the pieces?
Mali (same lib executable) works on both my BPi-M1(A20) and my OPI-2E+(H3) both running 3.4 kernel series.
All M2U images are 3.10 kernel series. Is there a different libMali.so for this kernel series? When editing 3.10 kernel config, you are unable to compile mali as a module as you would in 3.4. Rather the only option is to compile it into the kernel.
What changed between kernel version 3.4 series and 3.10?
Here are my various libMali.so’s from a few different distros
2017-07-10-ubuntu-16.04-mate-desktop-beta-bpi-m2u-sd-emmc.img
-rw-r–r-- 1 root root 1008014 Jan 9 2016 /usr/lib/libMali.so
-rw-r–r-- 1 root root 1706364 Feb 25 2016 /usr/lib/mali/libMali.so
-rw-rw-r-- 1 root root 1441057 Oct 27 2016 /usr/local/lib/libMali.so
-rw-r–r-- 1 root root 1008014 Jan 9 2016 /var/lib/bananapi/others/usr/lib/libMali.so
-rw-r–r-- 1 root root 1706364 Feb 25 2016 /var/lib/bananapi/others/usr/lib/mali/libMali.so
Armbian - OPI+2E
-rw-r–r-- 1 root root 1706364 Jun 14 18:58 /usr/lib/arm-linux-gnueabihf/mali-egl/libMali.so
Things moved to safe storage…
-rw-r–r-- 1 root root 1706364 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/lib/mali/libMali.so
-rw-r–r-- 1 root root 811116 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r2p4/armel /framebuffer/libMali.so
-rw-r–r-- 1 root root 3369116 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r2p4/armhf /x11/libMali.so
-rw-r–r-- 1 root root 979780 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p0/armel/android/libMali.so
-rw-r–r-- 1 root root 999880 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p0/armhf/framebuffer/libMali.so
-rw-r–r-- 1 root root 1706364 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p0/armhf/x11/libMali.so
-rw-r–r-- 1 root root 1022268 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p1/armhf/framebuffer/libMali.so
-rw-r–r-- 1 root root 1031444 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p1/armhf/x11/libMali.so
-rw-r–r-- 1 root root 610084 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p2-01rel1/armhf/framebuffer/libMali.so
-rw-r–r-- 1 root root 610084 Jan 1 2017 /disk2/PI-STORAGE/BPI-SDD/usr/src/sunxi-mali/lib/mali/r3p2-01rel1/armh/x11/libMali.so
@BPI_Justin @sinovoip, @noralee :
Why are there 3 different versions of libMali.so in your distro’s? Can you take some time and find the proper libMali.so for us. It’s gotta be in the R40 DDK that you got from AllWinner. Or they gave you the materials to build the library.
.
And, a few links…
Mali GPU Drivers | Open Source Mali Utgard GPU Kernel Drivers – ARM Developer
OrangePI-Kernel/linux-3.4/modules/mali at master · loboris/OrangePI-Kernel
A New Mali-400 Open-Source Graphics Driver Is In Development - Phoronix Forums
edit. sry about the spacing. fracking autowrap