// Switch between version
sudo update-alternatives --config gcc
sudo update-alternatives --config g++
3. Compile and install Mali Driver:
add a file to /etc/udev/rules.d/ and call it 50-mali.rules with following content:
KERNEL=="mali", MODE="0660", GROUP="video"
KERNEL=="ump", MODE="0660", GROUP="video"
add the following to /etc/apt/source.list:
deb http://packages.linux-sunxi.org/ubuntu/quantal main
deb-src http://packages.linux-sunxi.org/ubuntu/quantal main
Run the following in console:
sudo apt-get install libump
apt-get install debhelper dh-autoreconf fakeroot pkg-config
apt-get install git build-essential autoconf automake
apt-get install xutils-dev
git clone --recursive https://github.com/linux-sunxi/sunxi-mali.git
cd sunxi-mali
make config
sudo make install