Firefly Open Source Community

   Login   |   Register   |
New_Topic

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

38

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
38
Posted at 3/3/2015 18:02:07     

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

  >>Error: eglGetError(): 12289 (0x3001)
  >>Error: Failed to initialize EGL at ../../../../samples/opengles_30/skybox/EGLRuntime.cpp:243

try execute this command:
  1. sudo chmod 777 /dev/mali0
Copy the code

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/3/2015 18:03:20     

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


You should run the demo with 32 bits framebuffer. And as Ava mentions, make sure you have permission on /dev/mali and /dev/fb0.

Try to run the demo in root user.



        
Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 3/4/2015 05:53:14     

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

thanks, right now there is no /dev/mali

mali_kbase is loaded and the fbdev drivers are present in /usr/lib/fbdev/  


how can I debug this?



        

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/4/2015 09:37:01     

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

Reply

Use props Report

12

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
12
Posted at 3/4/2015 10:54:17     

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



        Can anyone here serve with ready-to go images so I don't need to rebuild that stuff?



        And did anyone try the result with the Mali Opencl Sdk?
Reply

Use props Report

2

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
2
Posted at 3/4/2015 14:17:43     

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

Can anyone here serve with ready-to go images so I don't need to rebuild that stuff?

And did anyone try the result with the Mali Opencl Sdk?

I want to share the img to you ,but i don't know how to pack my system for img.

I have look the wiki page:

http://wiki.t-firefly.com/index.php/Fir ... irmware/en

but it only metion how to mount a rootfs and modify some files, then pack the img.

the actuality is i should install some software  in rootfs .if you can share some method for package i'll share my rootfs.

or in another method ,i share my kernel.img and you could update the kernel ,then you should only do :

download: http://pan.baidu.com/s/1kT1MQpD

0.update the boot.img and resource.img

1.copy the mali user space driver *.so in /usr/lib
2.copy the example sdk application in rootfs
3.set the 32bit framebuffer

then you could test the framebuffer mali gpu test .

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/4/2015 18:20:04     

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

thanks, right now there is no /dev/mali

mali_kbase is loaded and the fbdev drivers are present in /usr/lib/fbdev/
how can I debug this?

Do:

# lsmod


mali_kbase module should be listed.

And

# ls /dev/mali0

mali0 should be presented. If not, check the kernel log by:

# dmesg

        

Reply

Use props Report

403

Credits

10

Prestige

12

Contribution

intermediate

Rank: 3Rank: 3

Credits
403
Posted at 3/4/2015 18:21:15     

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

Can anyone here serve with ready-to go images so I don't need to rebuild that stuff?

And did anyone try the result with the Mali Opencl Sdk?

Examples in Opencl sdk have been tested. All are running fine.



        
Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 3/4/2015 18:30:28     

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

its all working here now. Not tried the OpenCL demos yet.



        



        



        
Reply

Use props Report

10

Credits

0

Prestige

0

Contribution

new registration

Rank: 1

Credits
10
Posted at 3/4/2015 23:53:50     

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

The Mali SDK demos are working well here.

I guess the next step is to get xf86-video-fbturbo working

Reply

Use props Report

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

This forum Credits Rules

Quick Reply Back to top Back to list