QT sample application run time error (could not create GBM) on embedded board and display
-
Hello,
I was trying to run a QT sample application on my development embedded board, but getting run time error. Please see details below:
Application sample build environment:
Windows 10, QT 5.12.4, C++11
Cross compilation tool chain:
b2qt-i686-mingw32-meta-toolchain-b2qt-embedded-qt5-sdk-salvator-x
aarch64-poky-linux and i686-pokysdk-mingw32OS/BSP build environment: Ubuntu 16.04 LTS - Yocto 3.9 and B2qt-512.4
Run time environment:
Renesas Salvator XS/Lilliput DisplayCompilation details: Compilation success and generated binary.
Linking QtWidgetSetWidgetExample
ECHODbg1 Compilation switches --std=c++11 -I. -I. -I"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share" -I"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/LangCpp -I"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/LangCpp/oxf -I../../../../../../../../lib/linux_poky_oxf_aarch64/debug -IC:/Qt/5.12.4/b2qt-i686-mingw32-meta-toolchain-b2qt-embedded-qt5-sdk-salvator-x/sysroots/aarch64-poky-linux/usr/include/qt5 -IC:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share/LangCpp -I"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/LangCpp/osconfig/Linux -DUSE_IOSTREAM -DOM_STL -DOM_USE_THE_NEW_HEADER -DOM_USE_NOTHROW_GEN -g -c -fno-threadsafe-statics -fsized-deallocation
ECHODbg2 @__aarch64-poky-linux-gcc -march=armv8-a -mtune=cortex-a57.cortex-a53 --sysroot__=C:/Qt/5.12.4/b2qt-i686-mingw32-meta-toolchain-b2qt-embedded-qt5-sdk-salvator-x//sysroots/aarch64-poky-linux Mainlinux_poky_oxf_aarch64.o DuraPkg/QtWidgetSetWidgetExamplePkg/WidgetSetRegistrar.o DuraPkg/QtWidgetSetWidgetExamplePkg/WidgetSetTester.o DuraPkg/QtWidgetSetWidgetExamplePkg/WidgetSetTesterBuilder.o DuraPkg/QtWidgetSetWidgetExamplePkg/QtWidgetSetWidgetExamplePkg.o -lCoreTypes_GMF -lUtilities_GMF -lQt5Core -lQt5Gui -lQt5Qml -lQt5Quick -lQt5Network -lpthread -lstdc++ -lwayland-client -lwayland-egl -lEGL -lGLESv2 -lOpenGLES20_EFW -lViewProjection_FIL -lQt_EFW -lQt_HMI -lWidgetSet_WIL -lQtWidgetSet_WCS -llinuxpokyoxfaarch64 -L../../../../../../../../lib/linux_poky_oxf_aarch64 -L"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/LangCpp/lib -L../../../../../../../../lib/linux_poky_oxf_aarch64/debug -LC:/Qt/5.12.4/b2qt-i686-mingw32-meta-toolchain-b2qt-embedded-qt5-sdk-salvator-x/sysroots/aarch64-poky-linux/usr/lib -LC:/RTC/DDR_SAFE/HMI/Qt/ExternalFramework/code/Qt_EFW/linux_poky_oxf_aarch64/debug -L"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/lib -L"C:/Users/nchemmal/IBM/Rational/Rhapsody/8.3.1x64/Share"/LangCpp/lib -o QtWidgetSetWidgetExampleApplication Run time Error:
root@salvator-x:/tmp/apa# ./QmlApplicationHmiExample
loaded module: l[ 555.033871] audit: type=1701 audit(1567023517.868:3): auid=4294967295 uid=0 gid=0 ses=4294967295 pid=3627 comm="QmlApplicationH" exe="/tmp/apa/QmlApplicationHmiExample" sig=6 res=1
ibgbm_kms.so.1
Could not create GBM device (No such file or directory)
Could not open DRM device
Aborted (core dumped)Thank you for your help.