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

Port Mali Linux Driver on Arndale 5250

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

  1. How to write platform data for Arndale 5250 board
  2. Where can I get ubuntu source code which has mali driver integrated with linux kernel for Arndale 5250

Regards,

Madhu

Parents
  • 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

Reply
  • 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

Children