cat /proc/devices
Character devices:252 mali
# ls -l /dev/malicrw-rw---- 1 root root 252, 0 Aug 22 08:20 mali
mknod /dev/mali c 252 0
insmod mali.ko mali_major=250 mali_debug_level=6
# ls -l /dev/malicrw-rw---- 1 root root 250, 0 Jan 1 00:11 /dev/mali
# cat /proc/devices | grep "mali"250 mali
# cat /proc/interrupts | grep "mali" 27: 1 e-ic mali_core_irq_handlers 28: 1 e-ic mali_core_irq_handlers 29: 1 e-ic mali_mmu_irq_handlers
# ls -l /dev/fb0crw-rw---- 1 root video 29, 0 2011-10-06 12:10 /dev/fb0# export FRAMEBUFFER=/dev/fb0
insmod ump.ko
#cat /proc/devicesCharacter devices:... 29 fb...250 mali251 ump
insmod ump.ko ump_major=251; insmod mali.ko mali_major=250 mali_debug_level=6
# ls /lib/gles20/libEGL.so libEGL.so.1.4 libGLESv2.so.2 libMali.solibEGL.so.1 libGLESv2.so libGLESv2.so.2.0 libstdc++.so.6
# ./main.exe./main.exe: error while loading shared libraries: libEGL.so: cannot open shared object file: No such file or directory
ls -l /lib/gles20/
ls -l /dev/fbls -l /dev/ump
strings /lib/gles20/libMali.so | grep r2p
find . -name "config.h"
./arch/config.h:67:2: error: #error "Checking config.h"./arch/config.h:67:2: error: #error "Checking config.h"./arch/config.h:67:2: error: #error "Checking config.h"./arch/config.h:67:2: error: #error "Checking config.h"
root@James-VM:/opt/GX910-SW-99002-r2p0-05rel0/driver/src/devicedrv/mali# find . -name "config.h"./arch-pb-virtex5-m200/config.h
/* removing ZBT { .type = MEMORY, .description = "Mali ZBT", .alloc_order = 5, .base = 0x0FE00000, .size = 0x00100000, .flags = _MALI_CPU_WRITEABLE | _MALI_CPU_READABLE | _MALI_PP_READABLE | _MALI_PP_WRITEABLE | _MALI_GP_READABLE | _MALI_GP_WRITEABLE },*/
.type = MALI200, .base = 0xC7000000,
.description = "MALI GP2", .base = 0xC7002000,
.type = MMU, .base = 0xC7003000,
{ .type = OS_MEMORY, .description = "OS Memory", .base = 0x78000000, .size = 0x03000000, .alloc_order = 10, .flags = _MALI_CPU_WRITEABLE | _MALI_CPU_READABLE | _MALI_PP_READABLE | _MALI_PP_WRITEABLE |_MALI_GP_READABLE | _MALI_GP_WRITEABLE, .cpu_usage_adjust = 0x00000000 },
.flags = _MALI_MMU_WRITEABLE | _MALI_MMU_READABLE,