xlazom00 / meson_gx_mali_450

Amlogic GX Mali support for Mali-450 based SoCs, for Mainline Linux only

Home Page:http://linux-meson.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Mali Utgard support for Amlogic Meson GX Family

The Following SoCs are using the Mali-450 IP :

  • Meson GXBB : S905
  • Meson GXL : S905X and S905D

This distribution adds platform support for these families.

HowTo

Apply the linux patches to upstream linux source and build.

$ KDIR=/path/to/amlogic/upstream/linux ARCH=arm64 CROSS_COMPILE=aarch64-linux-gnu- ./build.sh

Copy mali.ko to root filesystem and boot.

Sources

Original Mali kernel driver can be downloaded from : https://developer.arm.com/products/software/mali-drivers/utgard-kernel

The xf86-video-armsoc should be used in user space for X11 :

along the r6p1-01rel0 libMali.so binary you can find at :

In the buildroot/package/opengl/src/lib/arm64/r6p1/m450-X/ directory.

Place it into /usr/lib/mali/ and configured to fetch the EGL libraries by adding a file into :

/etc/ld.so.conf.d/mali.conf

containing :

/usr/lib/mali

And running :

# ldconfig

Mali libraries should have the following symlinks :

libEGL.so -> libEGL.so.1
libEGL.so.1 -> libEGL.so.1.4
libEGL.so.1.4 -> libMali.so
libGLESv1_CM.so -> libGLESv1_CM.so.1
libGLESv1_CM.so.1 -> libGLESv1_CM.so.1.1
libGLESv1_CM.so.1.1 -> libMali.so
libGLESv2.so -> libGLESv2.so.2
libGLESv2.so.2 -> libGLESv2.so.2.0
libGLESv2.so.2.0 -> libMali.so
libMali.so

About

Amlogic GX Mali support for Mali-450 based SoCs, for Mainline Linux only

http://linux-meson.com


Languages

Language:C 81.8%Language:C++ 16.5%Language:Makefile 1.5%Language:Objective-C 0.2%Language:Shell 0.0%