This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

mali r5p0-06rel0 odroidxu3

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

Parents Reply Children
  • 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.