please choosego to mobile | Continue to access the PC version
View: 31305|Reply: 17

Allwinner H6 Mali T720 driver

[Copy link]

1

threads

1

posts

7

credits

Novice

Rank: 1

credits
7
Published in 2018-4-17 10:59:10 | Show all floors |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

130

credits

Registered member

Rank: 2

credits
130
Published in 2019-4-5 04:06:03 | Show all floors
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
Published in 2018-5-12 00:39:10 | Show all floors
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

931

credits

Senior member

Rank: 4

credits
931
Published in 2018-5-12 14:58:48 | Show all floors
There are some scripts provided to create a cross compiling environment for the kernel: https://github.com/orangepi-xunlong/OrangePi_Build

0

threads

18

posts

122

credits

Registered member

Rank: 2

credits
122
Published in 2018-8-8 17:50:15 | Show all floors
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
Published in 2018-10-19 06:07:35 | Show all floors
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
Published in 2018-10-19 23:11:55 | Show all floors
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
Published in 2019-2-8 06:48:52 | Show all floors
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
Published in 2019-3-7 01:05:34 | Show all floors

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 code

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


5

threads

13

posts

38

credits

Novice

Rank: 1

credits
38
Published in 2019-3-7 01:50:11 | Show all floors
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
Published in 2019-3-7 02:16:24 | Show all floors
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



You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list