chintanchoksi

imx6 Solox Galcore device node not getting created

Discussion created by chintanchoksi on Mar 7, 2020
Latest reply on Mar 9, 2020 by Bio_TICFSL

Hello,

 

We have been working on to run qt 5 on i.MX 6 Solo X board. While running QT application, 

We set following environment variable. 

export QT_QPA_EGLFS_FB=/dev/fb0
export FB_FRAMEBUFFER_0=/dev/fb0
export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
export QT_QPA_EGLFS_FORCEVSYNC=1
export QT_QPA_PLATFORM=eglfs
We see following error.
/opt/QT_App -platform eglfs
QEglFSVivIntegration will set environment variable FB_MULTI_BUFFER=2 to enable double buffering and vsync.
 If this is not desired, you can override this via: export QT_EGLFS_IMX6_NO_FB_MULTI_BUFFER=1
[     1] Failed to open device: No such file or directory, Try again...
[     2] Failed to open device: No such file or directory, Try again...
[     3] Failed to open device: No such file or directory, Try again...
[     4] Failed to open device: No such file or directory, Try again...
[     5] _OpenDevice(1228): FATAL: Failed to open device, errno=No such file or directory.
[     6] Failed to open device: No such file or directory, Try again...
[     7] Failed to open device: No such file or directory, Try again...
[     8] Failed to open device: No such file or directory, Try again...
[     9] Failed to open device: No such file or directory, Try again...
[    10] _OpenDevice(1228): FATAL: Failed to open device, errno=No such file or directory.
After debugging further, we understand that /dev/galcore node is required which is not being created in our case.
We have enabled following things in kernel config,
CONFIG_DRM_VIVANTE=y
CONFIG_DRM_BRIDGE=y
CONFIG_MXC_IPU=y
CONFIG_MXC_IPU_V3=y
CONFIG_MXC_IPU_V3_PRG=y
CONFIG_MXC_IPU_V3_PRE=y
CONFIG_MXC_GPU_VIV=y
We have also verified that meta-freescale layer has udev entries for galcore device node.
Can anyone point out what can be the issue ?

Outcomes