Name Date Size

..25-Oct-20244 KiB

.gitignoreH A D25-Oct-202423

common/H25-Oct-20244 KiB

include/linux/mali/H25-Oct-20244 KiB

KbuildH A D25-Oct-20249 KiB

KconfigH A D25-Oct-20243.5 KiB

linux/H25-Oct-20244 KiB

MakefileH A D25-Oct-20245.6 KiB

platform/H25-Oct-20244 KiB

readme.txtH A D25-Oct-20241.1 KiB

regs/H25-Oct-20244 KiB

timestamp-arm11-cc/H25-Oct-20244 KiB

timestamp-default/H25-Oct-20244 KiB

readme.txt

1Building the Mali Device Driver for Linux
2-----------------------------------------
3
4Build the Mali Device Driver for Linux by running the following make command:
5
6KDIR=<kdir_path> USING_UMP=<ump_option> BUILD=<build_option> make
7
8where
9    kdir_path: Path to your Linux Kernel directory
10    ump_option: 1 = Enable UMP support(*)
11                0 = disable UMP support
12    build_option: debug = debug build of driver
13                  release = release build of driver
14
15(*)  For newer Linux Kernels, the Module.symvers file for the UMP device driver
16     must be available. The UMP_SYMVERS_FILE variable in the Makefile should
17     point to this file. This file is generated when the UMP driver is built.
18
19The result will be a mali.ko file, which can be loaded into the Linux kernel
20by using the insmod command.
21
22Use of UMP is not recommended. The dma-buf API in the Linux kernel has
23replaced UMP. The Mali Device Driver will be built with dma-buf support if the
24kernel config includes enabled dma-buf.
25
26The kernel needs to be provided with a platform_device struct for the Mali GPU
27device. See the mali_utgard.h header file for how to set up the Mali GPU
28resources.
29