AnsweredAssumed Answered

ENOTTY error in galcore ioctl of imx6 solo

Question asked by toshinariagata on Nov 15, 2016

Hi,

I am using Vivante gpu on customised imx6 solo board. I use sample source from this link: i.MX6DQP/DQ/DL/SL/SX GPU Demo Framework SDK, but It doesn't work. I use fb back-end (libVIVANTE-fb.so). Linux version is 3.0.35-2508-g54750ff-svn2569.

 

Strace on gpu_sdk_v1.00/Samples/GLES2.0/01_SimpleTriangle gives following output for example:

open("/dev/galcore", O_RDWR) = 3
ioctl(3, _IOC(0, 0x75, 0x30, 0x00), 0x7eacdc88) = -1 ENOTTY (Inappropriate ioctl for device)
ioctl(3, _IOC(0, 0x75, 0x30, 0x00), 0x7eacdc60) = -1 ENOTTY (Inappropriate ioctl for device)

 

However, the same program works well with SABRE board.

I have the following questions.
- Why does not customised imx6 solo board work well? I compared the customised  imx6 solo board config with SABRE board config, but I did not know why it doesn't work. Atattched solo board config(solo_config) and SABRE board config(SABRE_config).
- I want to know the way and the config to work well.

Thank you,

Original Attachment has been moved to: solo_config.zip

Original Attachment has been moved to: SABRE_config.zip

Outcomes