Please select To the mobile version | Continue to access the desktop computer version

OrangePi

 Login            
 Register            
Search
Hot search: orangepi
12Next
Return to list New
View: 5986|Reply: 15

Allwinner H6 Mali T720 driver

[Copy link]

1

Threads

1

Posts

7

Credits

Novice

Rank: 1

Credits
7
Post time 2018-4-17 10:59:10 | Show all posts |Read mode
Edited by orange3.14 at 2018-4-17 11:03

Is there a way to get Mali T720 working in Linux?
My goal is to use OpenCL and ARM Compute Library.  I don't think Mali 450 hardware can support OpenCL even with its better driver support.

current setup
Orange Pi Lite2
Allwinner H6 Mali T720 driver
Ubuntu + Xfce (Orange Pi version)



0

Threads

9

Posts

126

Credits

Registered member

Rank: 2

Credits
126
Post time 2019-4-5 04:06:03 | Show all posts
aivaras replied at 2019-4-5 00:54
i havent seen working gpu aceleration in linux(could be that i wasnt searching to much), only andr ...

same here, the opi3 is a very good android mediaplayer you are getting the same specs of a ziddo h6 pro , i even stole their firmware to fix google play , but under linux is only good if you plan to make it a server unless the Panfrost effort makes a working driver , i doubt it but who knows i would be very happy to be wrong

2

Threads

3

Posts

23

Credits

Novice

Rank: 1

Credits
23
Post time 2018-5-12 00:39:10 | Show all posts
Mali-400 and 450 do not support OpenCL. And the driver is not installed in the Ubuntu images provided by OrangePi. If we want to install drivers we must do it by ourself. Mali-T720 of the H6 cpu supports OpenCL instead. But, and here is my problem, if you do not install the kernel drivers extensions you will not play OpenCL. At this moment I am searching the way to install them, because the kernel must be recompiled, it is hard to find the right way. The company should provide the kernel with these drivers!!!!

4

Threads

96

Posts

907

Credits

Senior member

Rank: 4

Credits
907
Post time 2018-5-12 14:58:48 | Show all posts
There are some scripts provided to create a cross compiling environment for the kernel: https://github.com/orangepi-xunlong/OrangePi_Build

0

Threads

19

Posts

120

Credits

Registered member

Rank: 2

Credits
120
Post time 2018-8-8 17:50:15 | Show all posts
i've tried to compile the kernel, but there are many bugs in the script, no sucess

4

Threads

13

Posts

116

Credits

Registered member

Rank: 2

Credits
116
Post time 2018-10-19 06:07:35 | Show all posts
I have a guide to install the BSP kernel but its version 3.10.65. Mali t720 is selected in graphics driver options but I do not think it does anything.
http://www.orangepi.org/orangepi ... tid=3619&extra=

4

Threads

13

Posts

116

Credits

Registered member

Rank: 2

Credits
116
Post time 2018-10-19 23:11:55 | Show all posts
I found the Mali drivers from Arm at https://developer.arm.com/produc ... vers/midgard-kernel I downloaded the latest linux kernel driver but cannot work out how to install it for the BSP kernel, if it is even possible.

1

Threads

3

Posts

15

Credits

Novice

Rank: 1

Credits
15
Post time 2019-2-8 06:48:52 | Show all posts
add some hot to this topic. Looking forward to play 0AD on orange pi 3 (if possible)

5

Threads

13

Posts

38

Credits

Novice

Rank: 1

Credits
38
Post time 2019-3-7 01:05:34 | Show all posts

I haven't tried this yet. But it may work to copy this right over the kernel tree in OrangePiH6_Linux4_9/Linux4_9.


Then reconfigure the kernel and rebuild the kernel and the release image.


The tar ball has some directories to strip off like this:

  1. TX011-SW-99002-r28p0-01rel0/driver/product/kernel
Copy the Code

So recursive copy everything below that directory into your kernel tree.


5

Threads

13

Posts

38

Credits

Novice

Rank: 1

Credits
38
Post time 2019-3-7 01:50:11 | Show all posts
Looked at the tar ball and I was wrong in my previous post.  It looks like you build the kernel driver out-of-tree and it uses Scons as the build tool. I have not tried to build it yet but may spend a few minutes on it and see where it gets me.

5

Threads

13

Posts

38

Credits

Novice

Rank: 1

Credits
38
Post time 2019-3-7 02:16:24 | Show all posts
Seems that the driver from ARM requires the DDK to build (I think???).  But the DDK requires a commercial license (I think???).

But forget all that, we need to support this effort:

https://linux-sunxi.org/Mali#Midgard_.28Mali_T6xx.2C_T7xx.2C_T8xx.29_and_Bifrost_.28G7x.29



12Next
Return to list New
You have to log in before you can reply Login | Register

Points Rules

Archiver|Mobile edition|Darkroom|OrangePi En ( 粤ICP备14086627号-2

2019-8-22 17:08 GMT+8 , Processed in 0.038347 second(s), 23 queries .

Powered by Discuz! X3.2

© 2014-2015 orangepibbs en.

Quick Reply To Top Return to the list