Firefly Open Source Community

   Login   |   Register   |
New_Topic
12345
New Topic

Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 2/28/2015 09:59:55     

Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

        Hi all, this is the first update of  Mali kernel driver TX011-SW-99002-r5p1-00rel0 for Firefly stock kernel 3.10.37 .

firefly-mali-driver-TX011-SW-99002-r5p1-00rel0.tar.gz

412.35 KB, Down times: 628

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 2/28/2015 11:39:40     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

Last edited by busybee In 9/15/2015 11:31 Editor

Test OpenGL ES Linux support on Firefly-RK3288 Development Board
════════════════════════════════════════════════════════════════

Introduction
────────────

Firefly-RK3288 development board is equipped with the powerful Mali
T764 GPU. Lately, ARM has released the binary user-space fbdev
driver. We, the Firefly team, have taken a first stab at it.

Environment:
- Firefly-RK3288 development board with latest dual boot firmware
installed.
- 64 bit Ubuntu Linux (12.04 or later) host pc.


Kernel
──────

First, we need to update the mali kernel driver.

Download Linux kernel driver TX041-SW-99002-r5p1-00rel0.tgz in
[http://malideveloper.arm.com/develop-for-mali/drivers/open-source-mali-t6xx-gpu-kernel-device-drivers/]

The porting process involves: replace the old driver files with new
ones, apply the kds patch, fix the compiling errors and update the
config file.

To make life easier, we've packaged all the files into
firefly-mali-driver-TX011-SW-99002-r5p1-00rel0.tar.gz .

╭────
│ cd /path/to/your/firefly/sdk
│ ls kernel  # kernel directory should be here
│ tar xzf /path/to/firefly-mali-driver-TX011-SW-99002-r5p1-00rel0.tar.gz
╰────

Then compile it:
╭────
│ cd kernel
│ make firefly-rk3288-linux_defconfig
│ make -j8 firefly-rk3288.img
│ make modules
╰────

The compiled mali module is located at drivers/gpu/arm/midgard/. Copy
mali_kbase.ko to your board:
╭────
│ scp drivers/gpu/arm/midgard/mali_kbase.ko root@BOARD_IP:/system/lib/modules/
╰────

(Why `/system/lib/modules/' ? Just because /etc/rc.local willl insmod
it automatically.)

Then follow the steps described in
[http://wiki.t-firefly.com/index.php/Firefly-RK3288/Build_kernel/en] ,
to pack zImage and initrd to linux-boot.img .

Flash linux-boot.img to recovery partition of the board.


User-space drivers
──────────────────

Download mali-t76x_r5p0-06rel0_linux_1+fbdev.tar.gz in:
[http://malideveloper.arm.com/develop-for-mali/features/mali-t6xx-gpu-user-space-drivers/]

Then install it to the board:
╭────
│ cat /path/to/mali-t76x_r5p0-06rel0_linux_1+fbdev.tar.gz \
│    | ssh root@BOARD_IP tar --strip-components=1 -xzf - -C /usr/lib
╰────


Compile Mali OpenGL ES SDK demos
────────────────────────────────

Download Mali_OpenGL_ES_SDK_v2.4.4.71fdbd_Linux_x64.tar.gz in
[http://malideveloper.arm.com/develop-for-mali/sdks/opengl-es-sdk-for-linux/]

Please choose Linux X64 archive.

To build the SDK demos, you need a cross compile toolchain. If you
have not installed yet, try this linaro toolchain:
[http://releases.linaro.org/14.09/components/toolchain/binaries/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux.tar.xz]
(Extract it to /opt)

You also need to install cmake (sudo apt-get install cmake).

╭────
│ tar xzf /path/to/Mali_OpenGL_ES_SDK_v2.4.4.71fdbd_Linux_x64.tar.gz
│ cd Mali_OpenGL_ES_SDK_v2.4.4
│ mkdir build-arm
│ cd build-arm
│ export TOOLCHAIN_ROOT=/opt/gcc-linaro-arm-linux-gnueabihf-4.9-2014.09_linux/bin/arm-linux-gnueabihf-
│ cmake -DTARGET=arm ..
│ make install
│ cd ..
│ # bin_arm contains all the result files
│ scp -r bin_arm root@BOARD_IP:/root
╰────


Set 32bit framebuffer
─────────────────────

Before running demos, the fbdev should be in 32 bit mode.

Run following commands on the board:
╭────
│ sudo -s
│ cat << EOF >/etc/init/fbset.conf
│ # fbset - run fbset to set truecolor fbmo
│ description "run fbset before lightdm"
│ start on startup and started udev or starting lightdm
│ task
│ script
│     [ -x /bin/fbset ] && /bin/fbset -a -nonstd 1 -depth 32 -rgba "8/0,8/8,8/16,8/24"
│ end script
│ EOF
│ cat << EOF >/etc/X11/xorg.conf
│ Section "Screen"
│     Identifier "Default Screen"
│     DefaultDepth 24
│ EndSection
│ EOF
╰────

Then reboot the device.


Run demos
─────────

Before running demos, make sure you have:
1. Flashed the new Linux kernel.
2. Updated mali_kbase.ko
3. Installed Mali user drivers
4. Uploaded Mali demos
5. Configured 32bit framebuffer

Then open a terminal, run one of the demo:
╭────
│ sudo -i
│ cd bin_arm/opengles_30/skybox
│ ./skybox
╰────

Enjoy!


Video
──────



        http://youtu.be/UBWfFCDTtGI



Reply

Use props Report

543

Credits

19

Prestige

15

Contribution

advanced

Rank: 4

Credits
543
Posted at 2/28/2015 11:57:17     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

    Do the new kernel drivers work with the older userspace drivers, r5p0-06rel0 correctly?
    ARM mentioned in their forums, you need to use the exact same kernel driver version and userspace drivers otherwise things don't work.
    Maybe it works because only Mali T880 support was added and ARM didn't change other things.

    Userspace drivers step
  1. cat /path/to/mali-t76x_r5p0-06rel0_linux_1+fbdev.tar.gz \
  2. │    | ssh root@BOARD_IP tar --strip-components=1 -xf - -C /usr/lib
Copy the code
   
    Is it just copy zip content to /usr/lib?
    Maybe Firefly team can also try testing the following if possible.
    VLC, MPlayer video playback with GLES support/ in settings and see if videos play better.
    Maybe even build Kodi/XBMC with OpenGL GLES support and see if it can run in fullscreen.
    Video playback isn't going to be perfect because of VPU drivers, but maybe it's a little better.
Maybe X11 drivers are also needed, but ARM said only at end of March 2015, they are going to release, so long still.
    If it wasn't for Firefly, most RK3288 Rockchip users wouldn't even know how most things on their devices work and Linux support would be almost impossible

Reply

Use props Report

15

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
15
Posted at 3/1/2015 03:45:41     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

oh this is nifty, nice to see some new mali drivers ill have to test them out
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 3/2/2015 16:27:37     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

I have success to compile the driver and test with the mali sdk demo.(r5p1 by busybee - with firefly board)

but some error is happen

1.when the screen is in  save power , when i press keyboard or click mouse ,the screen show abnormal.
  Sometimes I can see the normal desktop ,sometimes the board is auto reboot (most auto restart ).
  so , i think maybe it's a mali driver bug or the 32bit framebuffer bug?

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/2/2015 18:21:34     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

Yes, ganggangstyle-en, there's a kernel crash after resume from screen suspend
  1. [ 1410.118154] rk3288-lcdc lcdc0: un supported hwc size!
  2. [ 1410.122418] (NULL device *): fault address=0x00000500,dte addr pa=0x2e23b000,va=0xee23b000
  3. [ 1410.122496] (NULL device *): lv1_offset=0x0,lv1_entry_pa=0x2e23b000,lv1_entry_va=0xee23b000
  4. [ 1410.122554] (NULL device *): lv1_entry_value(*lv1_entry_va)=0x00000000,lv2_base=0x00000000
  5. [ 1410.122606] (NULL device *): lv2_offset=0x0,lv2_entry_pa=0x00000000,lv2_entry_va=0xc0000000
  6. [ 1410.122659] (NULL device *): lv2_entry value(*lv2_entry_va)=0x0000a1ff
  7. [ 1410.122745] rk_iommu ff930300.vopb_mmu: IOMMU:Page fault detected at 0x500 from bus id 6 of type read on vopb
  8. [ 1410.122811] rk_iommu ff930300.vopb_mmu: Generating Kernel OOPS... because it is unrecoverable.
  9. [ 1410.122924] ------------[ cut here ]------------
  10. [ 1410.122965] kernel BUG at drivers/iommu/rockchip-iommu.c:494!
  11. [ 1410.123011] Internal error: Oops - BUG: 0 [#1] PREEMPT SMP ARM
  12. [ 1410.123078] Modules linked in: mali_kbase
  13. [ 1410.123146] CPU: 0 PID: 0 Comm: swapper/0 Not tainted 3.10.0 #112
  14. [ 1410.123216] task: c0cf2540 ti: c0ce2000 task.ti: c0ce2000
  15. [ 1410.123288] PC is at default_fault_handler+0xac/0xd0
  16. [ 1410.123338] LR is at default_fault_handler+0xac/0xd0
  17. [ 1410.123391] pc : [&lt;c0574c2c&gt;]    lr : [&lt;c0574c2c&gt;]    psr: 60030193
  18. [ 1410.123391] sp : c0ce3e38  ip : 00000000  fp : 00000000
  19. [ 1410.123448] r10: 2e23b000  r9 : c0ce2000  r8 : ee23a010
  20. [ 1410.123494] r7 : 00000500  r6 : 0000018b  r5 : 00000000  r4 : ee24b210
  21. [ 1410.123549] r3 : c09f2add  r2 : c0ce3dfc  r1 : 00000003  r0 : 00000052
  22. [ 1410.123604] Flags: nZCv  IRQs off  FIQs on  Mode SVC_32  ISA ARM  Segment kernel
  23. [ 1410.123650] Control: 10c5387d  Table: 2d76806a  DAC: 00000015
  24. [ 1410.123693]
  25. [ 1410.123693] PC: 0xc0574bac:
  26. [ 1410.123818] 4bac  e59f107c e59f207c ebf5d73e e1a00008 e8bd85fe e3550002 8a000015 e3550001
  27. [ 1410.123911] 4bcc  1a000005 e58da000 e1a03007 e5940138 e59f1054 e59f2054 ea00000c e3550000
  28. [ 1410.124010] 4bec  1a00000b e59f2048 e3160020 e59f3044 e5940138 e59f1040 01a03002 e58d3000
  29. [ 1410.124128] 4c0c  e5983018 e1a02007 e58d3004 e7e43356 ebf5d724 e5940138 e59f1020 ebf5d721
  30. [ 1410.124235] 4c2c  e7f001f2 c09e174c c0813a24 c09e176e c09e179b c0996fa5 c099541d c09e17a5
  31. [ 1410.124337] 4c4c  c09e17e9 e92d45f8 e2806024 e1a05000 e1a00006 eb08a74b e5954020 e3540000
  32. [ 1410.124429] 4c6c  e1a07000 ca000000 e7f001f2 e2444001 e5854020 e3540000 03a0a001 059f80b4
  33. [ 1410.124517] 4c8c  0a00000f ea000016 e595301c e7933104 e583a008 e5980000 e3a01ffa e1530000
  34. [ 1410.124549]
  35. [ 1410.124549] LR: 0xc0574bac:
  36. [ 1410.124650] 4bac  e59f107c e59f207c ebf5d73e e1a00008 e8bd85fe e3550002 8a000015 e3550001
  37. [ 1410.124739] 4bcc  1a000005 e58da000 e1a03007 e5940138 e59f1054 e59f2054 ea00000c e3550000
  38. [ 1410.124848] 4bec  1a00000b e59f2048 e3160020 e59f3044 e5940138 e59f1040 01a03002 e58d3000
  39. [ 1410.124966] 4c0c  e5983018 e1a02007 e58d3004 e7e43356 ebf5d724 e5940138 e59f1020 ebf5d721
  40. [ 1410.125056] 4c2c  e7f001f2 c09e174c c0813a24 c09e176e c09e179b c0996fa5 c099541d c09e17a5
  41. [ 1410.125153] 4c4c  c09e17e9 e92d45f8 e2806024 e1a05000 e1a00006 eb08a74b e5954020 e3540000
  42. [ 1410.125259] 4c6c  e1a07000 ca000000 e7f001f2 e2444001 e5854020 e3540000 03a0a001 059f80b4
  43. [ 1410.125350] 4c8c  0a00000f ea000016 e595301c e7933104 e583a008 e5980000 e3a01ffa e1530000
  44. [ 1410.125382]
  45. [ 1410.125382] SP: 0xc0ce3db8:
  46. [ 1410.125487] 3db8  0000003c 00000006 c0d9e8d2 c002f8f0 00000000 00000000 00000000 c0ce3e20
  47. [ 1410.125577] 3dd8  ee24de10 c0574c30 00000000 c000d918 00000000 c000d6ac 00000052 00000003
  48. [ 1410.125665] 3df8  c0ce3dfc c09f2add ee24b210 00000000 0000018b 00000500 ee23a010 c0ce2000
  49. [ 1410.125752] 3e18  2e23b000 00000000 00000000 c0ce3e38 c0574c2c c0574c2c 60030193 ffffffff
  50. [ 1410.125837] 3e38  c0996fa5 c4820b3c 2e23b000 ee23a010 00000000 00000000 ee23a034 00000500
  51. [ 1410.125924] 3e58  0000002f c0575b9c 0000018b ee23a010 c0d7e410 ee237c80 c0ce2000 ee0073c0
  52. [ 1410.126025] 3e78  0000002f c0cf4ec0 c0cf4ed0 c0094570 88a63185 c1ed68c8 00000000 88a63185
  53. [ 1410.126123] 3e98  c1ed68c8 ee0073c0 ee007410 ee237c80 c0ce3f3c c0cf4ec0 c0ce2000 c0cf4ed0
  54. [ 1410.126156]
  55. [ 1410.126156] R2: 0xc0ce3d7c:
  56. [ 1410.126258] 3d7c  706f762e 6d6d5f62 c0020075 00000400 c002f8f0 00000000 00000000 00000006
  57. [ 1410.126340] 3d9c  00000006 00000000 0000003c 00000000 c002e9dc 0000003c c002ea2c 0000003c
  58. [ 1410.126423] 3dbc  00000006 c0d9e8d2 c002f8f0 00000000 00000000 00000000 c0ce3e20 ee24de10
  59. [ 1410.126507] 3ddc  c0574c30 00000000 c000d918 00000000 c000d6ac 00000052 00000003 c0ce3dfc
  60. [ 1410.126601] 3dfc  c09f2add ee24b210 00000000 0000018b 00000500 ee23a010 c0ce2000 2e23b000
  61. [ 1410.126689] 3e1c  00000000 00000000 c0ce3e38 c0574c2c c0574c2c 60030193 ffffffff c0996fa5
  62. [ 1410.126773] 3e3c  c4820b3c 2e23b000 ee23a010 00000000 00000000 ee23a034 00000500 0000002f
  63. [ 1410.126860] 3e5c  c0575b9c 0000018b ee23a010 c0d7e410 ee237c80 c0ce2000 ee0073c0 0000002f
  64. [ 1410.126891]
  65. [ 1410.126891] R3: 0xc09f2a5d:
  66. [ 1410.126992] 2a5c  61762072 2e64696c 74655320 676e6974 70616d20 206f7420 01000a30 726e7530
  67. [ 1410.127080] 2a7c  73696765 5f726574 6474656e 63697665 77203a65 69746961 6620676e 2520726f
  68. [ 1410.127168] 2a9c  6f742073 63656220 20656d6f 65657266 7355202e 20656761 6e756f63 203d2074
  69. [ 1410.127255] 2abc  000a6425 726e7528 73696765 65726574 656e2064 65645f74 65636976 73250029
  70. [ 1410.127343] 2adc  20732520 203a7325 00567025 73257325 7025203a 73250056 4c554e28 656e204c
  71. [ 1410.127431] 2afc  65645f74 65636976 25203a29 6d005670 64657869 20574820 20646e61 63205049
  72. [ 1410.127519] 2b1c  6b636568 206d7573 74746573 73676e69 01000a2e 3a732533 20776820 6d757363
  73. [ 1410.127607] 2b3c  69616620 6572756c 3001000a 203a7325 6c696166 74206465 6f6d206f 25206576
  74. [ 1410.127694] 2b5c  6f742073 696e6920 656e5f74 25203a74 01000a64 6c6c6133 6e5f636f 65647465
  75. [ 1410.127724]
  76. [ 1410.127724] R4: 0xee24b190:
  77. [ 1410.127815] b190  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  78. [ 1410.127893] b1b0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  79. [ 1410.127971] b1d0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  80. [ 1410.128051] b1f0  00000000 00000000 00000000 00000000 ee1bf740 ffffffff 00000000 00000000
  81. [ 1410.128137] b210  00000000 ee1be200 ee3f6540 ee24b41c ee24b01c ee0777cc ee0777c0 c0d22580
  82. [ 1410.128217] b230  ee1bf7c0 00000002 00000007 00000000 00000000 00000001 00000000 ee24b24c
  83. [ 1410.128298] b250  ee24b24c 00000000 00000000 c0d226e0 c0d1c064 00000000 00000000 00000020
  84. [ 1410.128400] b270  00030003 ee24b474 ee24b074 7fffffff 00010001 ee24b284 ee24b284 00000000
  85. [ 1410.128436]
  86. [ 1410.128436] R8: 0xee239f90:
  87. [ 1410.128530] 9f90  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  88. [ 1410.128611] 9fb0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  89. [ 1410.128690] 9fd0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  90. [ 1410.128773] 9ff0  00000000 00000000 00000000 00000000 ee237b40 ee24df5c c02ef354 00000000
  91. [ 1410.128859] a010  ee237d40 ee237d40 ee24de10 ee24b210 00000001 00000001 c4820b3c ee237b50
  92. [ 1410.128945] a030  00000001 00000001 ee237d00 c0574b80 2e23b000 ee237d00 ee237cc0 ee3fb880
  93. [ 1410.129027] a050  ee3fb880 00010001 00000000 00000000 00000000 00000000 00000000 00000000
  94. [ 1410.129109] a070  00000000 00000000 00000000 00000000 f000043c 0000416d 00000002 00000000
  95. [ 1410.129139]
  96. [ 1410.129139] R9: 0xc0ce1f80:
  97. [ 1410.129231] 1f80  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  98. [ 1410.129311] 1fa0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  99. [ 1410.129389] 1fc0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  100. [ 1410.129468] 1fe0  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  101. [ 1410.129552] 2000  00000002 00010003 00000000 c0cf2540 c0d05af8 00000000 00000015 c0cf2540
  102. [ 1410.129640] 2020  c1ed8f40 c0ce2000 edbb4fc0 ed027500 00000000 ed726e00 c0ce3f94 c0ce3f10
  103. [ 1410.129720] 2040  c079daf4 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  104. [ 1410.129799] 2060  00000000 00000000 00000000 00000000 00000000 00000000 00000000 00000000
  105. [ 1410.129842] Process swapper/0 (pid: 0, stack limit=0xc0ce2238)
  106. [ 1410.129882] Stack: (0xc0ce3e38 to 0xc0ce4000)
  107. [ 1410.129928] 3e20:                                                       c0996fa5 c4820b3c
  108. [ 1410.129993] 3e40: 2e23b000 ee23a010 00000000 00000000 ee23a034 00000500 0000002f c0575b9c
  109. [ 1410.130058] 3e60: 0000018b ee23a010 c0d7e410 ee237c80 c0ce2000 ee0073c0 0000002f c0cf4ec0
  110. [ 1410.130123] 3e80: c0cf4ed0 c0094570 88a63185 c1ed68c8 00000000 88a63185 c1ed68c8 ee0073c0
  111. [ 1410.130188] 3ea0: ee007410 ee237c80 c0ce3f3c c0cf4ec0 c0ce2000 c0cf4ed0 00000000 c0094788
  112. [ 1410.130252] 3ec0: 0000002f ee0073c0 ee007410 c0097158 0000002f 00000000 c0ceb3dc c0093f5c
  113. [ 1410.130317] 3ee0: 0000002f c000e3ac 0000002f fed91000 c0ce3f08 c0008538 c050e3d0 60030013
  114. [ 1410.130381] 3f00: ffffffff c000d600 c0ce3f50 00000598 88a58210 0000014d c1ed8318 00000000
  115. [ 1410.130446] 3f20: 88a56eb2 0000014d c0cf4ec0 c0ce2000 c0cf4ed0 00000000 044778a3 c0ce3f50
  116. [ 1410.130511] 3f40: c0070094 c050e3d0 60030013 ffffffff 88a58210 0000014d c0ce2000 c1ed8318
  117. [ 1410.130573] 3f60: c0ce2000 c1ed8318 00000000 c0d7e94c 00000000 c0cf4ec0 00000000 c050e5d4
  118. [ 1410.130636] 3f80: c0ce2000 c0ce2000 00000000 c07a3218 0000406a 410fc0d1 00000000 c000e730
  119. [ 1410.130699] 3fa0: 02a23ec6 c006f474 c07a46fc c0ceb078 00000000 00000000 c0cf34bc 0000406a
  120. [ 1410.130762] 3fc0: 00000000 c006f4ec c07a46fc c0a92a50 ffffffff ffffffff c0a9265c 00000000
  121. [ 1410.130825] 3fe0: 00000000 c0adcf18 10c5387d c0cea434 c0adcf14 00008074 00000000 00000000
  122. [ 1410.130952] [&lt;c0574c2c&gt;] (default_fault_handler+0xac/0xd0) from [&lt;c0575b9c&gt;] (rockchip_iommu_irq+0x140/0x1f8)
  123. [ 1410.131051] [&lt;c0575b9c&gt;] (rockchip_iommu_irq+0x140/0x1f8) from [&lt;c0094570&gt;] (handle_irq_event_percpu+0xb0/0x28c)
  124. [ 1410.131129] [&lt;c0094570&gt;] (handle_irq_event_percpu+0xb0/0x28c) from [&lt;c0094788&gt;] (handle_irq_event+0x3c/0x5c)
  125. [ 1410.131206] [&lt;c0094788&gt;] (handle_irq_event+0x3c/0x5c) from [&lt;c0097158&gt;] (handle_fasteoi_irq+0xc8/0x130)
  126. [ 1410.131283] [&lt;c0097158&gt;] (handle_fasteoi_irq+0xc8/0x130) from [&lt;c0093f5c&gt;] (generic_handle_irq+0x20/0x30)
  127. [ 1410.131364] [&lt;c0093f5c&gt;] (generic_handle_irq+0x20/0x30) from [&lt;c000e3ac&gt;] (handle_IRQ+0x64/0x8c)
  128. [ 1410.131442] [&lt;c000e3ac&gt;] (handle_IRQ+0x64/0x8c) from [&lt;c0008538&gt;] (gic_handle_irq+0x34/0x58)
  129. [ 1410.131517] [&lt;c0008538&gt;] (gic_handle_irq+0x34/0x58) from [&lt;c000d600&gt;] (__irq_svc+0x40/0x70)
  130. [ 1410.131555] Exception stack(0xc0ce3f08 to 0xc0ce3f50)
  131. [ 1410.131614] 3f00:                   c0ce3f50 00000598 88a58210 0000014d c1ed8318 00000000
  132. [ 1410.131679] 3f20: 88a56eb2 0000014d c0cf4ec0 c0ce2000 c0cf4ed0 00000000 044778a3 c0ce3f50
  133. [ 1410.131728] 3f40: c0070094 c050e3d0 60030013 ffffffff
  134. [ 1410.131811] [&lt;c000d600&gt;] (__irq_svc+0x40/0x70) from [&lt;c050e3d0&gt;] (cpuidle_enter_state+0x54/0xec)
  135. [ 1410.131902] [&lt;c050e3d0&gt;] (cpuidle_enter_state+0x54/0xec) from [&lt;c050e5d4&gt;] (cpuidle_idle_call+0x16c/0x27c)
  136. [ 1410.131980] [&lt;c050e5d4&gt;] (cpuidle_idle_call+0x16c/0x27c) from [&lt;c000e730&gt;] (arch_cpu_idle+0x8/0x38)
  137. [ 1410.132071] [&lt;c000e730&gt;] (arch_cpu_idle+0x8/0x38) from [&lt;c006f474&gt;] (cpu_idle_loop+0x1b8/0x224)
  138. [ 1410.132158] [&lt;c006f474&gt;] (cpu_idle_loop+0x1b8/0x224) from [&lt;c006f4ec&gt;] (freezing_slow_path+0x0/0x64)
  139. [ 1410.132232] [&lt;c006f4ec&gt;] (freezing_slow_path+0x0/0x64) from [&lt;ffffffff&gt;] (0xffffffff)
  140. [ 1410.132294] Code: ebf5d724 e5940138 e59f1020 ebf5d721 (e7f001f2)
  141. [ 1410.132347] ---[ end trace 3a52d3bd7d6c4a79 ]---
  142. [ 1410.132387] Kernel panic - not syncing: Fatal exception in interrupt
  143. [ 1410.132443] CPU1: stopping
  144. [ 1410.132510] CPU: 1 PID: 1 Comm: init Tainted: G      D      3.10.0 #112
  145. [ 1410.132625] [&lt;c0013e04&gt;] (unwind_backtrace+0x0/0xe0) from [&lt;c0011720&gt;] (show_stack+0x10/0x14)
  146. [ 1410.132711] [&lt;c0011720&gt;] (show_stack+0x10/0x14) from [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8)
  147. [ 1410.132789] [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8) from [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58)
  148. [ 1410.132865] [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58) from [&lt;c000d7bc&gt;] (__irq_usr+0x3c/0x60)
  149. [ 1410.132903] Exception stack(0xee07bfb0 to 0xee07bff8)
  150. [ 1410.132953] bfa0:                                     b6fb3800 00000000 00000000 00000000
  151. [ 1410.133017] bfc0: b6fb3658 b70225a8 00000000 b6fb35a8 00000000 00000001 00000080 0000000e
  152. [ 1410.133074] bfe0: b6f85b44 bee3a838 b6f66fed b6f66fec 00010030 ffffffff
  153. [ 1410.133119] CPU2: stopping
  154. [ 1410.133185] CPU: 2 PID: 0 Comm: swapper/2 Tainted: G      D      3.10.0 #112
  155. [ 1410.133297] [&lt;c0013e04&gt;] (unwind_backtrace+0x0/0xe0) from [&lt;c0011720&gt;] (show_stack+0x10/0x14)
  156. [ 1410.133383] [&lt;c0011720&gt;] (show_stack+0x10/0x14) from [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8)
  157. [ 1410.133459] [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8) from [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58)
  158. [ 1410.133535] [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58) from [&lt;c000d600&gt;] (__irq_svc+0x40/0x70)
  159. [ 1410.133574] Exception stack(0xee0c3f30 to 0xee0c3f78)
  160. [ 1410.133627] 3f20:                                     ee0c3f78 00000598 89424104 0000014d
  161. [ 1410.133693] 3f40: c1eea318 00000000 89363cd8 0000014d c0cf4ec0 ee0c2000 c0cf4ed0 00000000
  162. [ 1410.133751] 3f60: 044778a3 ee0c3f78 c0070094 c050e3d0 60060013 ffffffff
  163. [ 1410.133832] [&lt;c000d600&gt;] (__irq_svc+0x40/0x70) from [&lt;c050e3d0&gt;] (cpuidle_enter_state+0x54/0xec)
  164. [ 1410.133907] [&lt;c050e3d0&gt;] (cpuidle_enter_state+0x54/0xec) from [&lt;c050e5d4&gt;] (cpuidle_idle_call+0x16c/0x27c)
  165. [ 1410.133985] [&lt;c050e5d4&gt;] (cpuidle_idle_call+0x16c/0x27c) from [&lt;c000e730&gt;] (arch_cpu_idle+0x8/0x38)
  166. [ 1410.134074] [&lt;c000e730&gt;] (arch_cpu_idle+0x8/0x38) from [&lt;c006f474&gt;] (cpu_idle_loop+0x1b8/0x224)
  167. [ 1410.134160] [&lt;c006f474&gt;] (cpu_idle_loop+0x1b8/0x224) from [&lt;c006f4ec&gt;] (freezing_slow_path+0x0/0x64)
  168. [ 1411.307016] CPU3: stopping
  169. [ 1411.309751] CPU: 3 PID: 1396 Comm: kworker/u8:0 Tainted: G      D      3.10.0 #112
  170. [ 1411.317281] Workqueue: hdmi-ff980000.hdmi hdmi_work_queue
  171. [ 1411.322735] [&lt;c0013e04&gt;] (unwind_backtrace+0x0/0xe0) from [&lt;c0011720&gt;] (show_stack+0x10/0x14)
  172. [ 1411.331216] [&lt;c0011720&gt;] (show_stack+0x10/0x14) from [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8)
  173. [ 1411.339429] [&lt;c0012edc&gt;] (handle_IPI+0x154/0x2c8) from [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58)
  174. [ 1411.347984] [&lt;c0008554&gt;] (gic_handle_irq+0x50/0x58) from [&lt;c000d600&gt;] (__irq_svc+0x40/0x70)
  175. [ 1411.356248] Exception stack(0xeda0bad0 to 0xeda0bb18)
  176. [ 1411.361280] bac0:                                     c1ef1490 00000007 00000001 00000000
  177. [ 1411.369398] bae0: 00000029 00000006 c0d9e8d0 00000003 00000000 eda0bb70 60070013 00000003
  178. [ 1411.377508] bb00: 00000000 eda0bb18 c002f0e0 c002f900 60070013 ffffffff
  179. [ 1411.384109] [&lt;c000d600&gt;] (__irq_svc+0x40/0x70) from [&lt;c002f900&gt;] (vprintk_emit+0x3f0/0x444)
  180. [ 1411.392419] [&lt;c002f900&gt;] (vprintk_emit+0x3f0/0x444) from [&lt;c02e9ab0&gt;] (dev_vprintk_emit+0x48/0x50)
  181. [ 1411.401329] [&lt;c02e9ab0&gt;] (dev_vprintk_emit+0x48/0x50) from [&lt;c02e9ad0&gt;] (dev_printk_emit+0x18/0x24)
  182. [ 1411.410320] [&lt;c02e9ad0&gt;] (dev_printk_emit+0x18/0x24) from [&lt;c02ea7d8&gt;] (__dev_printk+0x5c/0x6c)
  183. [ 1411.418972] [&lt;c02ea7d8&gt;] (__dev_printk+0x5c/0x6c) from [&lt;c02ea8e4&gt;] (dev_err+0x30/0x44)
  184. [ 1411.426948] [&lt;c02ea8e4&gt;] (dev_err+0x30/0x44) from [&lt;c02acbbc&gt;] (rk3288_win_hwc_reg_update.constprop.7+0xa0/0x15c)
  185. [ 1411.437140] [&lt;c02acbbc&gt;] (rk3288_win_hwc_reg_update.constprop.7+0xa0/0x15c) from [&lt;c02adaac&gt;] (hwc_set_par+0x118/0x1a0)
  186. [ 1411.447834] [&lt;c02adaac&gt;] (hwc_set_par+0x118/0x1a0) from [&lt;c02adb94&gt;] (rk3288_lcdc_set_par+0x60/0x80)
  187. [ 1411.456910] [&lt;c02adb94&gt;] (rk3288_lcdc_set_par+0x60/0x80) from [&lt;c029cc08&gt;] (rk_fb_set_par+0x3e0/0x3f4)
  188. [ 1411.466157] [&lt;c029cc08&gt;] (rk_fb_set_par+0x3e0/0x3f4) from [&lt;c029ebb8&gt;] (rk_fb_switch_screen+0x220/0x294)
  189. [ 1411.475576] [&lt;c029ebb8&gt;] (rk_fb_switch_screen+0x220/0x294) from [&lt;c02b39b8&gt;] (hdmi_set_lcdc+0x5c/0x68)
  190. [ 1411.484826] [&lt;c02b39b8&gt;] (hdmi_set_lcdc+0x5c/0x68) from [&lt;c02b24ec&gt;] (hdmi_wq_set_video+0x10/0xe4)
  191. [ 1411.493733] [&lt;c02b24ec&gt;] (hdmi_wq_set_video+0x10/0xe4) from [&lt;c02b27a8&gt;] (hdmi_wq_insert.part.2+0x18/0x9c)
  192. [ 1411.503324] [&lt;c02b27a8&gt;] (hdmi_wq_insert.part.2+0x18/0x9c) from [&lt;c02b2a5c&gt;] (hdmi_work_queue+0x1e0/0x3e8)
  193. [ 1411.512918] [&lt;c02b2a5c&gt;] (hdmi_work_queue+0x1e0/0x3e8) from [&lt;c00471f0&gt;] (process_one_work+0x29c/0x458)
  194. [ 1411.522248] [&lt;c00471f0&gt;] (process_one_work+0x29c/0x458) from [&lt;c0047540&gt;] (worker_thread+0x194/0x2d4)
  195. [ 1411.531405] [&lt;c0047540&gt;] (worker_thread+0x194/0x2d4) from [&lt;c004ca28&gt;] (kthread+0xa0/0xac)
  196. [ 1411.539620] [&lt;c004ca28&gt;] (kthread+0xa0/0xac) from [&lt;c000da98&gt;] (ret_from_fork+0x14/0x3c)
  197. [ 1411.547629] CRU:
  198. [ 1411.549526] 00000000: 00000107 9fff0053 0fff002a 00000008
  199. [ 1411.554912] 00000010: 00000001 9fff0025 0fff0012 00000008
  200. [ 1411.560287] 00000020: 00000007 ffff00c5 00000000 00000008
  201. [ 1411.565663] 00000030: 00000103 9fff00c5 0fff0063 00000008
  202. [ 1411.571039] 00000040: 00000b00 9fff0270 0fff0138 00000008
  203. [ 1411.576412] 00000050: 00005111 00000000 00000000 00000000
  204. [ 1411.581786] 00000060: 00004031 0000b108 00000000 00000200
  205. [ 1411.587160] 00000070: 00008100 00008200 00008585 00010014
  206. [ 1411.592536] 00000080: 01885091 00010014 0000a101 00002745
  207. [ 1411.597908] 00000090: 00004345 00008a00 00000200 00000200
  208. [ 1411.603285] 000000a0: 00000200 0bb8ea60 00010014 00010014
  209. [ 1411.608660] 000000b0: 00010014 00000910 00000900 001f05dc
  210. [ 1411.614033] 000000c0: 00001703 00000707 00000e40 00000300
  211. [ 1411.619407] 000000d0: 00000342 00000742 00004141 00000100
  212. [ 1411.624781] 000000e0: 00004141 00000505 00008042 00008f8f
  213. [ 1411.630154] 000000f0: 00000000 00000631 00001ee3 00008307
  214. [ 1411.635528] 00000100: 00001100 01885091 00004141 00000000
  215. [ 1411.640898] 00000110: 00000000 00000000 00000000 00000000
  216. [ 1411.646268] 00000120: 00000000 00000000 00000000 00000000
  217. [ 1411.651639] 00000130: 00000000 00000000 00000000 00000000
  218. [ 1411.657008] 00000140: 00000000 00000000 00000000 00000000
  219. [ 1411.662378] 00000150: 00000000 00000000 00000000 00000000
  220. [ 1411.667751] 00000160: 00001000 0000ff00 00003e20 0000faf8
  221. [ 1411.673123] 00000170: 00004c70 0000a6cd 00001af0 00008139
  222. [ 1411.678495] 00000180: 00000f24 00000000 00000401 0000040c
  223. [ 1411.683867] 00000190: 00000000 0000fe94 00000000 0000c19e
  224. [ 1411.689237] 000001a0: 0000017f 00000000 00000000 00000000
  225. [ 1411.694607] 000001b0: 00000000 00000000 00000000 00000000
  226. [ 1411.699977] 000001c0: 00000000 00000000 00000000 00000000
  227. [ 1411.705346] 000001d0: 00000000 00000000 00000000 00000000
  228. [ 1411.710719] 000001e0: 00000000 00000000 00000000 00640064
  229. [ 1411.716089] 000001f0: 00000004 00000000 00000002 00000000
  230. [ 1411.721460] 00000200: 00000002 00000000 00000002 00000000
  231. [ 1411.726830] 00000210: 00000002 00000000 00000004 00000478
  232. [ 1411.732195] Rebooting in 5 seconds..
  233. DDR Version 1.00 20141007
Copy the code

Reply

Use props Report

38

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
38
Posted at 3/2/2015 22:38:57     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

Thanks for you work. You use kernel v 3.14?&nbsp;
Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 3/3/2015 01:11:58     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

Good stuff!

You mention its for stock kernel 3.6.10.  but the current firefly kernel is 3.10.0 right?


Will this work with 3.10.0?



        



        

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/3/2015 09:17:00     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

> You mention its for stock kernel 3.6.10.  but the current firefly kernel is 3.10.0 right?
    Yes. That's a typo. Fixed, thanks.

Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 3/3/2015 16:28:52     

Re: Mali kernel driver TX011-SW-99002-r5p1-00rel0 for firefly

Getting some errors:


Error: eglGetError(): 12289 (0x3001)

Error: Failed to initialize EGL at ../../../../samples/opengles_30/skybox/EGLRuntime.cpp:243
        
               
        
Reply

Use props Report

Return to List
12345
You need to log in before you can reply Login | Register

This forum Credits Rules

Quick Reply Back to top Back to list