|
Edited by magicse at 2015-10-2 13:37
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 or xf86-video-mali
and configure X.11 xorg
May be someone make it.
|
|