[meta-freescale] R: Eglfs issue with mx53

Simone cjb.sw.nospam at gmail.com
Wed Jan 1 12:34:22 PST 2014


I compared the current qmake.conf with the imx6sabre qmake.conf (which is working) and I have some doubt:


In imx6 qmake.conf, the ENV are:

IMX6_CFLAGS                                    = -DLINUX=1 -DEGL_API_FB=1

QMAKE_LIBS_EGL                             += -lEGL


QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL -lGAL


On imx5 side, they are:

IMX5_CFLAGS                                    = -D_LINUX=1

QMAKE_LIBS_EGL                             += -lEGL


QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL


I’ve marked as bold the libraries which are present on imx6 conf, but NOT in the mx5 conf.

In CFLAGS there is also another difference, on imx6 I have DLINUX=1 instead of D_LINUX=1.


Now, I thought to include these difference in mx5 configuration, but the qtbase configure command fail saying that libGAL is missing (see the last part of the bitbake log below)



OpenGL ES 2.x auto-detection... ()

| compiling /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/opengles2/opengles2.cpp

| linking opengles2

| /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/4.8.1/ld: cannot find -lGAL

| collect2: error: ld returned 1 exit status

| make: *** [opengles2] Error 1

| OpenGL ES 2.x disabled.

| The OpenGL ES 2.0 functionality test failed!

|  You might need to modify the include and library search paths by editing


|  /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/mkspecs/linux-oe-g++.

| WARNING: /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/run.do_configure.10027:1 exit 1 from

|   /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/qtbase-opensource-src-5.1.1/configure -v -dont-process -opensource -confirm-license -sysroot /home/cx/fsl-bsp/build/tmp/sysroots/cjbc1 -no-gcc-sysroot -prefix /usr -bindir /usr/bin/qt5 -libdir /usr/lib -datadir /usr/share/qt5 -sysconfdir /etc/qt5 -docdir /usr/share/doc/qt5 -headerdir /usr/include/qt5 -archdatadir /usr/lib/qt5 -libexecdir /usr/lib/qt5/libexec -plugindir /usr/lib/qt5/plugins -importdir /usr/lib/qt5/imports -qmldir /usr/lib/qt5/qml -translationdir /usr/share/qt5/translations -testsdir /usr/share/qt5/tests -examplesdir /usr/share/qt5/examples -hostbindir /usr/bin/qt5 -hostdatadir /home/cx/fsl-bsp/build/tmp/sysroots/cjbc1/usr/lib/qt5 -external-hostbindir /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/bin/qt5 -platform /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/lib/qt5/mkspecs/linux-oe-g++ -xplatform linux-oe-g++ -reduce-relocations -shared -silent -no-pch -no-rpath -pkg-config -xcb -no-sql-db2 -no-gstreamer -xfixes -freetype -system-libjpeg -pulseaudio -no-nis -gtkstyle -no-sql-mysql -qt-pcre -no-iconv -no-xkb -xinput -no-fontconfig -no-kms -no-sql-sqlite -system-libpng -tslib -icu -no-alsa -no-glib -nomake tests -evdev -xinerama -no-sql-oci -no-sql-sqlite2 -no-accessibility -widgets -xrandr -libudev -xinput2 -xcursor -no-openvg -opengl es2 -eglfs -xvideo -xsync -no-sql-tds -xshape -dbus -system-zlib -openssl -xrender -no-mitshm -no-sm -no-sql-ibase -no-sql-psql -no-directfb -release -no-sql-odbc -no-linuxfb

| ERROR: Function failed: do_configure (log file is located at /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qtbase/5.1.1-r0/temp/log.do_configure.10027)

ERROR: Task 6 (/home/cx/fsl-bsp/sources/meta-qt5/recipes-qt/qt5/qtbase_5.1.1.bb, do_configure) failed with exit code '1'

NOTE: Tasks Summary: Attempted 2288 tasks of which 2287 didn't need to be rerun and 1 failed.




Do you think the way that I have undertaken makes sense?

If yes, how I can build the requested libGAL which seems to be not present in my image?

I’ve tried googling a bit but I found nothing helpful.


Thanks so much





Da: Simone [mailto:cjb.sw.nospam at gmail.com] 
Inviato: mercoledì 1 gennaio 2014 11:09
A: <meta-freescale at yoctoproject.org>
Oggetto: Eglfs issue with mx53



I've prepared an image which include meta-qt5 (from master branch) for my imx53 board.


The bitbake completed fine, but anyhow when I try to launch the demo (cinematicexperience in my case, but the same as a new project) I cannot see anything, and on the command line I have this error:


eglfs could not initialize egl display

EGL aborted


Notice that i can't see the qeglfshooks_mx5.cpp source file in the tree.

I have this hook file for imx6 (and with the imx6 sabre board) eglfs work fine.


Maybe it is related?

Any suggestion?


Happy new year to all!


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.yoctoproject.org/pipermail/meta-freescale/attachments/20140101/62e6973c/attachment.html>

More information about the meta-freescale mailing list