Hi All,
I would like to know how to integrate mali r5p0-06rel0 for OdroidXU3 board.
I have user TX011-SW-99002-r5p1-00rel1 along with chromebook-platform patch.
Has some body make it working on latest kernel.
-Anand Moon
Hi Anand,
We've now released a kernel with the r5p0 drivers already integrated and some development configuration options turned on. You can find it ready to get built on Github:
ARM-software/linux at odroidxu3-3.10.y-mali-midgard-r5p0 · GitHub
It's good to hear that ODROID-XU3 is getting into mainline although I don't expect this to have the Mali GPU driver integrated, unless it's on a HardKernel branch, so the easiest thing to do is still to stick to this 3.10 kernel.
Best regards,
Guillaume
Hi Guillaume,
Thanks for the input.
I have build this odroidxu3 mali and it seems to working. Looking forward to getting this merged in Hardkernel
Is their any tools to verify mali working.
We have a set of tests that we run, however they arent given out publicly, but to Partners who have licensed our GPU and driver. So unfortunately this test suite is unavailable to you (unless you are a partner, in which case, you should be contacting ARM Support).
However, simply running any OpenGL ES application and obtaining the expected performance, would verify that Mali is working for you. An example of what to run could be a benchmark.
Kind Regards,
Michael McGeagh
Note:
It's also necessary to install the user-side r5p0-06rel0 binary drivers for Mali-T62x to use OpenGL ES and OpenCL on ODROID-XU3. They can be downloaded here:
User Space Drivers
Best wishes,
Hi,
I'm having an issue with the 3.10.69 kernel on an ODROID-XU3, running a Ubuntu user land.
I built the kernel from the repo linked earlier in the thread
(https://github.com/ARM-software/linux/tree/odroidxu3-3.10.y-mali-midgard-r5p0)
The kernel builds & boots successfully, and the mali_kbase module loads without complaint, but when I try and run any OpenCL code the application terminates with an Unknown OpenCL error.
With strace I have narrowed this down to a missing /dev/mali0 sysfs handle, which doesn't make much sense as the kernel module is clearly loaded (according to lsmod anyway).
The kernel module was built with the odroidxu3_defconfig file available and has options configured like so:
$ grep MALI .config
CONFIG_MALI_MIDGARD=m
CONFIG_MALI_GATOR_SUPPORT=y
CONFIG_MALI_MIDGARD_DVFS=y
CONFIG_MALI_MIDGARD_RT_PM=y
# CONFIG_MALI_MIDGARD_ENABLE_TRACE is not set
CONFIG_MALI_MIDGARD_DEBUG_SYS=y
CONFIG_MALI_EXPERT=y
# CONFIG_MALI_DEVFREQ is not set
CONFIG_MALI_DEBUG_SHADER_SPLIT_FS=y
CONFIG_MALI_PLATFORM_FAKE=y
CONFIG_MALI_PLATFORM_THIRDPARTY=y
CONFIG_MALI_PLATFORM_THIRDPARTY_NAME="5422"
# CONFIG_MALI_DEBUG is not set
# CONFIG_MALI_NO_MALI is not set
# CONFIG_MALI_TRACE_TIMELINE is not set
# CONFIG_MALI_SYSTEM_TRACE is not set
# CONFIG_MALI_GPU_TRACEPOINTS is not set
I've tried a couple of combinations of options, but I can't seem to get /dev/mali0 to show up in the sysfs tree, despite the module clearly being loaded:
$ lsmod | grep mali
mali_kbase 236932 0
I have the appropriate binary drivers for the T62X (r5p0-06rel0) installed.
Neither the X11 or fbdev versions make any difference. I don't imagine either of those have any chance of working with the /dev/mali0 device missing.
Does anyone have any further suggestions for what I can try?
There are these two potentially relevant message relating to the Mali device in dmesg:
[ 7.895860] [c6] mali 11800000.mali: Invalid irq res name: '/mali'
[ 7.900908] [c6] mali: probe of 11800000.mali failed with error -22
Thanks.