From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail-ea0-f176.google.com (mail-ea0-f176.google.com [209.85.215.176]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 6BEADE007ED for ; Wed, 1 Jan 2014 12:34:34 -0800 (PST) Received: by mail-ea0-f176.google.com with SMTP id h14so5981612eaj.7 for ; Wed, 01 Jan 2014 12:34:33 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:references:in-reply-to:subject:date:message-id:mime-version :content-type:thread-index:content-language:importance; bh=kMo4XiQLJ9tI+ckcpYVzhKzXkkYodDWk7RY1Ogok06U=; b=myhNLkHyCe+IOv+0CFxzG0XFA4IGuTGON+pe4DavBIZIyLVFvQTZsw/TS1J7Os4sgT 5TNRNzebY2CsrdItpx0+Ep9WluIbEHHr6T6FUc6xyscdq4t/vjcyfASUlfbYe2cP4IS+ 0SSqLSXhRj/WD9zP2VCTyIZO8TK5zYN4ocgVV4o/ldUqwQccq9qOZ8vE1zv199fPRxk6 coM0f6Zq96occ2OwjFIKo+NduujoEtWSfCNH7MULsTRCwurBC1DupCkPTG4qVRLsVCVG O4DqrumNh7QWVyoso5MzcwyYizoWNQ2pGAD6jgp/v3bOuccbrPCApR/xiUy+iKW+GmPS Ra7g== X-Received: by 10.14.7.2 with SMTP id 2mr64691709eeo.16.1388608472911; Wed, 01 Jan 2014 12:34:32 -0800 (PST) Received: from SIMONENB ([37.101.205.94]) by mx.google.com with ESMTPSA id g7sm129991132eet.12.2014.01.01.12.34.30 for (version=TLSv1 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Wed, 01 Jan 2014 12:34:32 -0800 (PST) From: "Simone" To: References: In-Reply-To: Date: Wed, 1 Jan 2014 21:34:22 +0100 Message-ID: <007901cf0730$dc47a060$94d6e120$@gmail.com> MIME-Version: 1.0 X-Priority: 1 (Highest) X-MSMail-Priority: High X-Mailer: Microsoft Outlook 15.0 Thread-Index: AQHFi0s1kGM4WY/SQoox1/542aueeZqDRw4A Importance: High Subject: Re: Eglfs issue with mx53 X-BeenThere: meta-freescale@yoctoproject.org X-Mailman-Version: 2.1.13 Precedence: list List-Id: Usage and development list for the meta-fsl-* layers List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 01 Jan 2014 20:34:37 -0000 Content-Type: multipart/alternative; boundary="----=_NextPart_000_007A_01CF0739.3E0F15A0" Content-Language: it ------=_NextPart_000_007A_01CF0739.3E0F15A0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Update: I compared the current qmake.conf with the imx6sabre qmake.conf (which = is working) and I have some doubt: =20 In imx6 qmake.conf, the ENV are: IMX6_CFLAGS =3D -DLINUX=3D1 = -DEGL_API_FB=3D1 QMAKE_LIBS_EGL +=3D -lEGL QMAKE_LIBS_OPENGL_ES2 +=3D -lGLESv2 -lEGL -lGAL QMAKE_LIBS_OPENVG +=3D -lOpenVG -lEGL -lGAL =20 On imx5 side, they are: IMX5_CFLAGS =3D -D_LINUX=3D1 QMAKE_LIBS_EGL +=3D -lEGL QMAKE_LIBS_OPENGL_ES2 +=3D -lGLESv2 -lEGL QMAKE_LIBS_OPENVG +=3D -lOpenVG -lEGL =20 I=E2=80=99ve 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=3D1 = instead of D_LINUX=3D1. =20 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) =20 =20 OpenGL ES 2.x auto-detection... () | compiling = /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qt= base/5.1.1-r0/qtbase-opensource-src-5.1.1/config.tests/unix/opengles2/ope= ngles2.cpp | linking opengles2 | = /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neo= n-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/qt= base/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/qt= base/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/qt= base/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/qt= base/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. =20 =20 =20 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=E2=80=99ve tried googling a bit but I found nothing helpful. =20 Thanks so much Simone =20 =20 =20 Da: Simone [mailto:cjb.sw.nospam@gmail.com]=20 Inviato: mercoled=C3=AC 1 gennaio 2014 11:09 A: Oggetto: Eglfs issue with mx53 =20 Hello, I've prepared an image which include meta-qt5 (from master branch) for = my imx53 board. =20 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: =20 eglfs could not initialize egl display EGL aborted =20 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. =20 Maybe it is related? Any suggestion? =20 Happy new year to all! Simone ------=_NextPart_000_007A_01CF0739.3E0F15A0 Content-Type: text/html; charset="utf-8" Content-Transfer-Encoding: quoted-printable

U= pdate:

I= compared the current qmake.conf with the imx6sabre qmake.conf (which is = working) and I have some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0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 +=3D = -lEGL

Q= MAKE_LIBS_OPENGL_ES2=C2=A0 +=3D -lGLESv2 -lEGL

Q= MAKE_LIBS_OPENVG=C2=A0=C2=A0=C2=A0=C2=A0=C2=A0 =C2=A0=C2=A0=C2=A0 +=3D = -lOpenVG -lEGL

<= o:p> 

I= =E2=80=99ve marked as bold the libraries which are present on imx6 conf, = but NOT in the mx5 conf.

I= n CFLAGS there is also another difference, on imx6 I have DLINUX=3D1 = instead of D_LINUX=3D1.

<= o:p> 

N= ow, 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)

<= o:p> 

<= o:p> 

O= penGL ES 2.x auto-detection... ()

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

|= linking opengles2

|= = /home/cx/fsl-bsp/build/tmp/sysroots/i686-linux/usr/libexec/armv7a-vfp-neo= n-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!

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

|= =C2=A0 QMAKE_INCDIR_OPENGL_ES2, QMAKE_LIBDIR_OPENGL_ES2 and = QMAKE_LIBS_OPENGL_ES2 in

|= =C2=A0 = /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qt= base/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/qt= base/5.1.1-r0/temp/run.do_configure.10027:1 exit 1 = from

|= =C2=A0=C2=A0 = /home/cx/fsl-bsp/build/tmp/work/armv7a-vfp-neon-mx5-poky-linux-gnueabi/qt= base/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/qt= base/5.1.1-r0/temp/log.do_configure.10027)

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

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

<= o:p> 

<= o:p> 

<= o:p> 

D= o you think the way that I have undertaken makes = sense?

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

I= =E2=80=99ve tried googling a bit but I found nothing = helpful.

<= o:p> 

T= hanks so much

S= imone

 

 

 

Da:<= /b> Simone = [mailto:cjb.sw.nospam@gmail.c= om]
Inviato: mercoled=C3=AC 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

------=_NextPart_000_007A_01CF0739.3E0F15A0--