Mali GPU driver 看全部

Guys guys I have my own Arch linux version made for an OrangePi PC, ¿Could someone please help me with the OpenGL drivers? I tried almost everything and couldn't make it yet =/
  • 272# lazant
  • 2017-9-16 13:58:07
Edited by lazant at 2017-9-16 14:03

Hi Guys

I build mainline kernel and U-Boot and make Arch linux image.
Arch Linux image with Mainline kernel and U-Boot

I tried install mali driver into this image, but run modprobe return error.
  1. # modprobe mali
  2. modprobe: ERROR: could not insert 'mali': Exec format error

  3. # modinfo mali
  4. filename:       /lib/modules/4.13.0-1-SUNXI+/kernel/drivers/gpu/mali/mali.ko
  5. version:        
  6. author:         ARM Ltd.
  7. license:        GPL
  8. srcversion:     0FC2D152EE4DD53C22C77B5
  9. depends:        ump
  10. vermagic:       3.4.39 SMP preempt mod_unload modversions ARMv7 p2v8
  11. parm:           mali_debug_level:Higher number, more dmesg output (int)
  12. parm:           mali_max_job_runtime:Maximum allowed job runtime in msecs.
  13. Jobs will be killed after this no matter what (int)
  14. parm:           mali_l2_max_reads:Maximum reads for Mali L2 cache (int)
  15. parm:           mali_dedicated_mem_start:Physical start address of dedicated Mali GPU memory. (uint)
  16. parm:           mali_dedicated_mem_size:Size of dedicated Mali GPU memory. (uint)
  17. parm:           mali_shared_mem_size:Size of shared Mali GPU memory. (uint)
  18. parm:           mali_boot_profiling:Start profiling as a part of Mali driver initialization (int)
  19. parm:           mali_max_pp_cores_group_1:Limit the number of PP cores to use from first PP group. (int)
  20. parm:           mali_max_pp_cores_group_2:Limit the number of PP cores to use from second PP group (Mali-450 only). (int)

My board is Orange Pi 2.
I used magicse uploaded driver.


Could anyone help me?

Edited by aIRPLANE at 2017-9-18 13:09
quote: lazant replied at 2017-9-16 13:58
Hi Guys

I build mainline kernel and U-Boot and make Arch linux image.

After
  1. modprobe mali
u need wrote
  1. dmesg
for watch why driver not loaded...

It's also necessary to compile the mali driver for your kernel.


quote: I tried install mali driver into this image, but run modprobe return error.


There is no MALI in mainline.
http://linux-sunxi.org/Linux_mainlining_effort
  • 275# thc013
  • 2017-9-21 23:49:47
hmm mayby this will help

https://github.com/Icenowy/sunxi-mali

it is not official supported so not much information about it

but these source build with the newer kernels



1 ..545556.. 57NextPage