All of lore.kernel.org
 help / color / mirror / Atom feed
From: "Simone" <cjb.sw.nospam@gmail.com>
To: <meta-freescale@yoctoproject.org>
Subject: Re: Eglfs issue with mx53
Date: Wed, 1 Jan 2014 21:34:22 +0100	[thread overview]
Message-ID: <007901cf0730$dc47a060$94d6e120$@gmail.com> (raw)
In-Reply-To: <FADE7B7E-959C-4343-A585-944DFC54AE7A@gmail.com>

[-- Attachment #1: Type: text/plain, Size: 5041 bytes --]

Update:

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_OPENGL_ES2  += -lGLESv2 -lEGL -lGAL

QMAKE_LIBS_OPENVG          += -lOpenVG -lEGL -lGAL

 

On imx5 side, they are:

IMX5_CFLAGS                                    = -D_LINUX=1

QMAKE_LIBS_EGL                             += -lEGL

QMAKE_LIBS_OPENGL_ES2  += -lGLESv2 -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

|  QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and QMAKE_LIBS_OPENGL_ES2 in

|  /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

Simone

 

 

 

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

 

Hello,

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!

Simone


[-- Attachment #2: Type: text/html, Size: 14270 bytes --]

  reply	other threads:[~2014-01-01 20:34 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-01 10:09 Eglfs issue with mx53 Simone
2014-01-01 20:34 ` Simone [this message]
2014-01-02  8:24   ` Eric Bénard
2014-01-02 10:20     ` Simone

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to='007901cf0730$dc47a060$94d6e120$@gmail.com' \
    --to=cjb.sw.nospam@gmail.com \
    --cc=meta-freescale@yoctoproject.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.