README.md 872 B

Oolong

Kernel module for testing forked from the Mali kernel module for the chai project. Support for tracing included in a branch.

Usage (Rockchip)

Clone oolong and Linux into the same folder.

Compile Linux with GPU support in the device tree. See here.

If desired, run black for tracing support.

Compile module:

ARCH=arm CROSS_COMPILE=arm-linux-gnueabihf- make M=$PWD -C ../linux CONFIG_MALI_MIDGARD=m CONFIG_MALI_DEVFREQ=y CONFIG_MALI_DMA_FENCE=y CONFIG_MALI_EXPERT=y CONFIG_MALI_PLATFORM_THIRDPARTY=y CONFIG_MALI_PLATFORM_THIRDPARTY_NAME=rk

This command generates mali_kbase.ko. Load it:

insmod mali_kbase.ko

Then run chai or green.