Hi,
I have Arndale 5250 board which has a mali GPU. I have downloaded ubuntu images (linaro) based on 3.10.37 kernel and written it to a SD card and it boots successfully.
Now my intention is to boot same board with mainline kernel along with mali driver. I have downloaded mainline linux kernel from kernel.org and linux GPU driver.
I had taken config and board.dtb file from ubuntu binary and converted into dts file and used the same for building linux kernel. With the image built I was able to boot Arndale 5250 board succussfully. Next I integrated mali driver as a part of kernel and rebuilt the kernel. While booting new image on board, mali gpu doesn't get probed/initialized. It shows following error message
.mali: Platform data not specified
mali: probe of 11800000.mali failed with error -2
Similar error was reported for which suggested solution states the "Platform data not specified" error should now be fixed with the "CONFIG_MALI_PLATFORM_THIRDPARTY_NAME=arndale_octa" option, which includes the "drivers/gpu/arm/midgard/platform/arndale_octa" directory.
But my driver downloaded from malideveloper.arm.com doesn't contain platform data for arndale.
Please let me know
Regards,
Madhu
Hi Rich,
Thanks for the reply.
I had tried the Guillaumes posts. I have listed the issue in the thread description itself. Linaro release contain platform configuration files for arndale_octa (5420) but my board is arndale (5250). Now I am trying to port arndale_octa platform config file to arndale......
Thankyou and Regards,
Hi madhu_blr,
The Linaro kernel under linaro/configs/ contains the various configuration fragments for both Arndale Octa and the older Arndale board with 5250, as well as other platforms, as referenced by Guillaume in the other thread. You can still follow the steps outlined there using the same kernel repo, just replace any mention of arndale_octa with arndale; for example, instead of using the lt-arndale_octa.conf fragment, use lt-arndale.conf.
Hope this helps,
Rich
Thanks for your help.
I was able to bring up mali driver and run sample application on Arndale Exynos 5250 board.
We can checkout and build the source or extract platform data and integrate with mainline kernel.
Do we have any test suite for testing openCL and GPU?
Hi madhu_blr
There are many different tests and/or benchmarks you can run...
One set of small examples we have developed ourselves can be found in our OpenCL SDK.
In the past, I have also used CompuBench from Kishonti.
I hope that helps,
Kind Regards,
Michael McGeagh
Hi Michael McGeagh,
Thanks for your reply.
I had executed OpenCL SDK most of them show profiling time like
Profiling information:
Queued time: 0.127ms
Wait time: 0.153041ms
Run time: 547.43ms
Do we have any option/scripts/suite to test all openCL APIs and GPU functionality?
Our drivers are fully Khronos Compliant, so the best answer would be to run the Khronos Comformance Suite of tests and you will see that we pass them all.
Was that what you were asking?
This goes for both Open CL 1.1 Full Profile, as well as Open GL ES 1.1, 2.0, 3.0
Is there a particular path you wish to test?
Our intention was to find out any OSS packages needed to run APIs of openCL in our application
Thanks & Regards,
Hi Madhu,
If I understand your question correctly, in order for any application to use OpenCL API, you need to include the OpenCL headers, and link against the OpenCL library.
No other 'OSS packages' are required.
This holds true for almost all API's, such as Open GL ES.
I hope this helps,
Hi Michael,
Thank you. That is what I was looking for...............