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,
Regarding your first question about clk_mali, I will ask our resident expert guillaume.tucker if he has any suggestions regarding this.
Regarding your patch question, that depends on what the patch affects. For example if it is a patch in our Mali Kernel Side component, then we should look into that. If however it affects the kernel, or the integration files, then you should contact Hard Kernel in this instance.
Kind Regards,
Michael McGeagh
hi Michael,
Now that Odroidxu3 support in getting integrated in the linux mainline. I am trying the latest kernel.
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.
I worked it from linux-4.0 kernel for tizen
Thanks.
Hi dofmind,
I have created the trizen gerrit account but still cannot access the url.
What more thing I need to do to access the repository.
Did you get trizen to run on OdroidXU3 board.
I also made some progress but I am stuck with some issues with regulators and voltage scaling.
Hmm i don't know why you cannot access the url even if you have gerrit account.
Please refer following url, it can be accessed via gitweb without any account.
https://review.tizen.org/git/?p=platform/kernel/linux-exynos.git;a=summary
I know tizen 3.0 binary developing is released daily as snapshot binary.
http://download.tizen.org/snapshots/tizen
I used tizen 3.0 tv profile binary for odroid xu3 board.
http://download.tizen.org/snapshots/tizen/tv/latest/
You need to use tizen u-boot to run tizen on odroid xu3 board
Please refer sandbox/songinha/tizen branch of tizen u-boot git
https://review.tizen.org/git/?p=platform/kernel/u-boot.git;a=summary
I cannot find any guide page for tizen on odroid xu3, but there is the page for odroid u3
https://wiki.tizen.org/wiki/How_to_Build_and_Load_Tizen_on_Odroid_U3
Already there is devfreq feature on mali r5p0-06rel0 for mali dvfs and i modified some,
but i didn't test on odroidxu3 yet.
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 for your valuable inputs.
Finally I got the tizen account working. I am able to checkout the code.
It seems like getting the u-boot working for odroid U3 is bit tedious.
Is it be possible for you create a small doc on how to update the u-boot and the kernel on the sdcard.
Any inputs will be valuable.
-Anand Moon.