Edited by magicse at 2015-12-1 22:14
Ready for use
Lubuntu 1404 0.9.0 with GPU mali driver
How install kernel part of drivers
https://drive.google.com/open?id=0B2ZvWXG-omrARWx5U2x0Q2hQX3c
(Game start)
LEVEL 1
Add to script.fex (without this recods You'll get error message in syslog) :
[mali_para]
mali_used = 1
mali_clkdiv = 1
mali_extreme_freq = 600
mali_extreme_vol = 1400
Copy modules ump.ko mali.ko drm.ko and mali_drm.ko to /lib/modules/3.4.39/
Copy Libs (libGLES* libGLES* LibUmp LibMali) to /usr/lib
Copy include to /usr/include
Create rules for dev
sudo cat <<eof>/etc/udev/rules.d/50-mali.rules
KERNEL=="mali", MODE="0666", GROUP="video"
KERNEL=="ump", MODE="0666", GROUP="video"
KERNEL=="cedar_dev", MODE="0666", GROUP="video"
EOF
To allow hardware acceleration without root privileges, you have to give write permissions to following device files:
sudo chmod 666 /dev/mali /dev/ump /dev/cedar_dev
sudo chown root:video /dev/mali
sudo chown root:video /dev/ump
sudo chown root:video /dev/cedar_dev
You must have to assign the group to the user:
sudo usermod -aG video [$USER] for me user ->orangepi
Modify /etc/modules to add the following lines:
ump
mali
drm
mali_drm
Say "Hi !" to kernel about new friends, type in a terminal "depmod -a" so it will parse the new modules.
reboot
Check syslog
grep -i "mali" /var/log/syslog
Level 1 done
LEVEL 2
Need to build xf86-video-fbturbo and configure X.11 xorg