LS1028A Ubuntu-Mate QT

cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

LS1028A Ubuntu-Mate QT

1,363 Views
lizuobin
Contributor II

Hi

   I use the ubuntu mate system on the ls1028a-rdb platform and try to run some qt test programs, including qtcreator, but it fails

   My software version is  flexbuild_lsdk1909_update_311219

   export DISPLAY=:0.0

   apt-get install qtcreator

root@ubuntu-mate:~# qtcreator
[ 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.

   Can you give me some help information? thanks

Tags (2)
0 Kudos
5 Replies

1,251 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please configure Linux Kernel as the following.

Device Drivers --->
         Graphics support --->
               <M> IPUv3 core support
               <M> Direct Rendering Manager (XFree86 4.1.0
and higher DRI support) --->
        Arm devices --->
           [M] Arm Mali Display Processor
       [M] DRM Support for Freescale i.mx
       [M] IMX8 HD Display Controller
Common Clock Framework--->
          [*] Clock driver for LS1028A Display output

When Linux Kernel booting up, please insert the following Linux Kernel module

# insmod drm_panel_orientation_quirks.ko
# insmod drm.ko
# insmod drm_kms_helper.ko
# insmod imx_hdp_common.ko
# insmod mali-dp.ko
# insmod imx-hdptx.ko

Please refer to "7.2.18 LCD and display transmitter controller" in LSDK 19.09 user guide for details.

Thanks,

Yiping

0 Kudos

1,251 Views
lizuobin
Contributor II

Thanks for your reply,

    these kernel modules have been compiled into the kernel by default in flexbuild_lsdk1909_update_311219

    I found these errors occurred in libGAL.so,and galcore.ko is not auto insmod

    When I load the driver, qt still does not work

root@ubuntu-mate:/# lsmod
Module Size Used by
xt_addrtype 16384 2
xt_conntrack 16384 1
crc32_ce 16384 0
crct10dif_ce 16384 0
flexcan 20480 0
can_dev 28672 1 flexcan
lm90 28672 0
ina2xx 16384 0
galcore 483328 0

root@ubuntu-mate:/# qtcreator
Segmentation fault
root@ubuntu-mate:/# /calendar
Segmentation fault

0 Kudos

1,251 Views
yipingwang
NXP TechSupport
NXP TechSupport

Please refer to the section "Verification in Linux" in "7.2.18 LCD and display transmitter controller" in LSDK 19.09 user guide to do verification step by step.

Please check the console messages after insert display related Kernel modules.

Thanks,

Yiping

0 Kudos

1,251 Views
lizuobin
Contributor II

你可以看一下lsdk1909的内核配置文件,你说的这些内核模块默认配置都是Y,并不是编译成模块

如果是内核驱动问题,那么mate桌面应该无法正常显示,现在的问题是qt等一些软件无法运行

我对LSDK1909的软件并未做任何更改,只是apt-get安装qt而已

0 Kudos

1,251 Views
yipingwang
NXP TechSupport
NXP TechSupport
0 Kudos