please choosego to mobile | Continue to access the PC version
Author: gaara

Mali GPU driver

[Copy link]

11

threads

286

posts

1936

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1936
Published in 2015-10-3 04:30:02 | Show all floors
makama80 replied at 2015-10-2 17:48
Just a suggestion: can we pick the fbturbo / xf86-video-mali (whatever is there) from the linux dist ...

The processor is not same and get bad exec format.

11

threads

286

posts

1936

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1936
Published in 2015-10-3 06:41:35 | Show all floors
ok,for fist time i get working opengles ,in software,no crash on glmark2-es2,so going forward with your driver and we will see.

18

threads

200

posts

888

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
888
Published in 2015-10-4 01:55:29 | Show all floors
loboris replied at 2015-10-2 11:27
Thanks for your work.
I cannot load the kernel modules on OPI H3 boards.
I can compile ump and mal ...

changed source

This thread contains more resources

You need to Log in to download or view,No account?    Register

x
Orange PI 2
www.orangepi.pp.ua

0

threads

18

posts

292

credits

Intermediate member

Rank: 3Rank: 3

credits
292
Published in 2015-10-4 02:27:37 | Show all floors
cant convert script.bin to fex

bin2fex script.bin script.fex
fexc-bin: script.bin: version: 36360.1.2
fexc-bin: script.bin: size: 36360 (78 sections)
E: fexc-bin: script.bin: recovery_para.recovery_key: unknown GPIO port type 12
(script.bin from Lubuntu_1404_For_OrangePi2-mini2_v0_9_0_.img.xz)

may be i am using old version bin2fex where i can get new version

11

threads

286

posts

1936

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
1936
Published in 2015-10-4 07:25:14 | Show all floors
goldenfenix replied at 2015-10-4 02:27
cant convert script.bin to fex

bin2fex script.bin script.fex

sudo apt-get update
sudo apt-get install sunxi-tools

0

threads

18

posts

292

credits

Intermediate member

Rank: 3Rank: 3

credits
292
Published in 2015-10-4 17:56:56 | Show all floors
not all ok

Jan  1 08:00:15 localhost kernel: [    9.955211] Init Mali gpu successfully
Jan  1 08:00:15 localhost kernel: [    9.955224] Mali<2>: mali_module_init() registering driver
Jan  1 08:00:15 localhost kernel: [    9.955296] Mali<2>: mali_probe(): Called for platform device mali-utgard
Jan  1 08:00:15 localhost kernel: [    9.955352] Mali<2>: Using device defined memory settings (dedicated: 0x00000000@0x00000000, shared: 0x3EACC000)
Jan  1 08:00:15 localhost kernel: [    9.955365] Mali<2>: Using device defined frame buffer settings (0x00708000@0x70200000)
Jan  1 08:00:15 localhost kernel: [    9.955376] Mali<2>: Memory Validator installed for Mali physical address base=0x70200000, size=0x00708000
Jan  1 08:00:15 localhost kernel: [    9.955397] Mali<2>: Using default PMU domain config: (2) gr1_pp_cores, (0) gr2_pp_cores, (1) l2_count.
Jan  1 08:00:15 localhost kernel: [    9.955409] Mali<2>: Mali PMU: Creating Mali PMU core
Jan  1 08:00:15 localhost kernel: [    9.955416] Mali<2>: Mali PMU: mask 0xf, pp_core 2, l2_core 1
Jan  1 08:00:15 localhost kernel: [    9.955451] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP0
Jan  1 08:00:15 localhost kernel: [    9.955459] Mali<2>: Mali PP: Base address of PP core: 0x1c48000
Jan  1 08:00:15 localhost kernel: [    9.955513] Mali<2>: Found Mali GPU Mali-400 MP r1p1
Jan  1 08:00:15 localhost kernel: [    9.955523] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00000001)
Jan  1 08:00:15 localhost kernel: [    9.955533] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00000004)
Jan  1 08:00:15 localhost kernel: [    9.955541] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00000008)
Jan  1 08:00:15 localhost kernel: [    9.955549] Mali<2>: Mali PM domain: Creating Mali PM domain (mask=0x00000002)
Jan  1 08:00:15 localhost kernel: [    9.955633] Mali<2>: Mali L2 cache: Created Mali_L2:  64K, 4-way, 64byte cache line,  64bit external bus
Jan  1 08:00:15 localhost kernel: [    9.955656] Mali<2>: Mali MMU: Creating Mali MMU: Mali_GP_MMU
Jan  1 08:00:15 localhost kernel: [    9.955679] Mali<2>: Mali GP: Creating Mali GP core: Mali_GP
Jan  1 08:00:15 localhost kernel: [    9.955705] Mali<2>: Mali MMU: Creating Mali MMU: Mali_PP0_MMU
Jan  1 08:00:15 localhost kernel: [    9.955723] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP0
Jan  1 08:00:15 localhost kernel: [    9.955730] Mali<2>: Mali PP: Base address of PP core: 0x1c48000
Jan  1 08:00:15 localhost kernel: [    9.955749] Mali<2>: Mali MMU: Creating Mali MMU: Mali_PP1_MMU
Jan  1 08:00:15 localhost kernel: [    9.955767] Mali<2>: Mali PP: Creating Mali PP core: Mali_PP1
Jan  1 08:00:15 localhost kernel: [    9.955774] Mali<2>: Mali PP: Base address of PP core: 0x1c4a000
Jan  1 08:00:15 localhost kernel: [    9.955794] Mali<2>: 2+0 PP cores initialized
Jan  1 08:00:15 localhost kernel: [    9.955808] Mali<2>: Mali GPU Utilization: No utilization handler installed
Jan  1 08:00:15 localhost kernel: [    9.956273] Mali<2>: mali_probe(): Successfully initialized driver for platform device mali-utgard
Jan  1 08:00:15 localhost kernel: [    9.956378] Mali: Mali device driver loaded
Jan  1 08:00:15 localhost kernel: [   10.023827] mali_drm: Unknown symbol drm_sman_cleanup (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023858] mali_drm: Unknown symbol drm_sman_set_range (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023876] mali_drm: Unknown symbol drm_sman_takedown (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023887] mali_drm: Unknown symbol drm_sman_alloc (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023922] mali_drm: Unknown symbol drm_sman_init (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023945] mali_drm: Unknown symbol drm_sman_owner_clean (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023959] mali_drm: Unknown symbol drm_sman_owner_cleanup (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023969] mali_drm: Unknown symbol drm_sman_set_manager (err 0)
Jan  1 08:00:15 localhost kernel: [   10.023983] mali_drm: Unknown symbol drm_sman_free_key (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480202] mali_drm: Unknown symbol drm_sman_cleanup (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480273] mali_drm: Unknown symbol drm_sman_set_range (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480322] mali_drm: Unknown symbol drm_sman_takedown (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480355] mali_drm: Unknown symbol drm_sman_alloc (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480455] mali_drm: Unknown symbol drm_sman_init (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480512] mali_drm: Unknown symbol drm_sman_owner_clean (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480556] mali_drm: Unknown symbol drm_sman_owner_cleanup (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480588] mali_drm: Unknown symbol drm_sman_set_manager (err 0)
Oct  4 17:55:09 localhost kernel: [  194.480627] mali_drm: Unknown symbol drm_sman_free_key (err 0)
root@orangepi:/home/orangepi# lsmod
Module                  Size  Used by
mali                  344514  0
drm                   177014  0
ump                    38853  1 mali

18

threads

200

posts

888

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
888
Published in 2015-10-4 20:51:35 | Show all floors
Edited by magicse at 2015-10-4 14:53

copy my drm.ko to modules and start it
Orange PI 2
www.orangepi.pp.ua

0

threads

18

posts

292

credits

Intermediate member

Rank: 3Rank: 3

credits
292
Published in 2015-10-4 23:12:54 | Show all floors
Edited by goldenfenix at 2015-10-4 23:15

magicse replied at 2015-10-4 20:51
copy my drm.ko to modules and start it

I alredy made a copy  drm.ko
Its yours from mali_r4_p0_modules01102015.zip.
(my system from image Lubuntu_1404_For_OrangePi2-mini2_v0_9_0_.img.xz)

18

threads

200

posts

888

credits

Moderator

Rank: 7Rank: 7Rank: 7

credits
888
Published in 2015-10-4 23:33:57 | Show all floors
goldenfenix replied at 2015-10-4 17:12
I alredy made a copy  drm.ko
Its yours from mali_r4_p0_modules01102015.zip.
(my system ...

modprobe --dump-modversions mali_drm.ko
and modinfo mali_drm.ko
listing Pls
Orange PI 2
www.orangepi.pp.ua

0

threads

18

posts

292

credits

Intermediate member

Rank: 3Rank: 3

credits
292
Published in 2015-10-4 23:49:29 | Show all floors
magicse replied at 2015-10-4 23:33
modprobe --dump-modversions mali_drm.ko
and modinfo mali_drm.ko
listing Pls

root@orangepi:/home/orangepi# modprobe --dump-modversions /lib/modules/3.4.39/mali_drm.ko
0x75646f6da1136ef1      le_layout
0x5f6d7264642c78ee      release
0x6d6b5f5f12da5bb2      alloc
0x5f6d7264ed256cae      sman_free_key
0x65615f5f2e5810c6      abi_unwind_cpp_pr1
0x5f6d7264a237e931      sman_set_manager
0x5f6d7264d7f1ab84      sman_owner_cleanup
0x5f6d7264f22b410a      mmap
0x5f6d72649dc25a34      sman_owner_clean
0x6e675f5fb1ad28e0      u_mcount_nc
0x6574756d228a7782      x_unlock
0x65726676999e8297      e
0x74616c703b5a8e52      form_device_register_full
0x5f6d726433e154ba      sman_init
0x6e69727027e1a049      tk
0x5f6d72649cd85086      platform_exit
0x6574756d0da3ccc4      x_lock
0x74616c703b43e9fa      form_device_unregister
0x74616c70cd41f4ee      form_driver_register
0x5f6d7264533b589c      platform_init
0x5f6d72649745d638      err
0x5f6d726411a94fbf      ioctl
0x5f6d726492f2d102      sman_alloc
0x5f6d7264e256edfd      sman_takedown
0x686769688a7d1c31      _memory
0x6572666b037a0cba      e
0x5f6d726443c9a91c      sman_set_range
0x74616c7074762cec      form_driver_unregister
0x5f6d7264498dcb5e      ut_debug_printk
0x5f6d7264f0a0bf79      sman_cleanup
0x5f6d726444011c1f      poll
0x5f6d7264257a77e0      fasync
0x5f6d7264f1205523      open

root@orangepi:/home/orangepi# modinfo /lib/modules/3.4.39/mali_drm.ko
filename:       /lib/modules/3.4.39/mali_drm.ko
license:        GPL and additional rights
description:    DRM module for Mali-200, Mali-400
author:         ARM Ltd.
vermagic:       3.4.39 SMP preempt mod_unload modversions ARMv7 p2v8
srcversion:     450E1C15271237167BDD6D8
depends:        drm
vermagic:       3.4.39 SMP preempt mod_unload modversions ARMv7 p2v8
You need to log in before you can reply login | Register

Points Rule

Quick reply Top Return list