Packages

The linux-sunxi community provides a repository with packages for various distributions at http://packages.linux-sunxi.org/ This mostly contains packages specific for sunxi hardware.

= Available packages =

The following packages are available:
 * fbturbo X driver: a sped up version of the fbdev driver, which also supports 3D acceleration.
 * libump: ARMs Universal Memory Provider, as needed by the fbturbo driver.
 * Mesa with SDK: needed for building and running the lima mesa driver.

= debian/ubuntu =

There are specific repositories available for debian and ubuntu.

Add the repository to your /etc/apt/sources.list: deb http://packages.linux-sunxi.org/ubuntu/ quantal main deb-src http://packages.linux-sunxi.org/ubuntu/ quantal main The above is for ubuntu, quantal quetzal (12.10), replace this with your own distribution and distribution version codename.

To have apt prefer packages from linux-sunxi over the distributions own, you need to set linux-sunxi to a higher preference than the standard packages. Create /etc/apt/preferences.d/00-linux-sunxi with the following content: Package: * Pin: origin packages.linux-sunxi.org Pin-Priority: 990

You should now be able to apt-get install packages from this repository. If you want to re-install packages but this time round from the sunxi repos, use: apt-get install --reinstall packagename

= fedora =

...

= Possible issues =

libump break r3p0 X11 binary driver
The r3p0 X11 binary driver has issues. It was not properly linked, and does not link against libdrm, libdri2 and 2 X libraries.

The easiest solution currently, is to just run through our binary drivers howto again to overwrite the packaged libump.

It should be possible to fix up the sunxi-mali repository to provide an empty library with the right dependencies, with a hacked r3p0 X11 libMali.so depending on that empty library. But libv currently cannot be bothered :)