Return-Path: Received: by yocto-www.yoctoproject.org (Postfix, from userid 118) id 5EC11E00EE5; Fri, 22 Apr 2016 00:02:51 -0700 (PDT) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on yocto-www.yoctoproject.org X-Spam-Level: X-Spam-Status: No, score=-2.6 required=5.0 tests=BAYES_00,HTML_MESSAGE, RCVD_IN_DNSWL_LOW autolearn=ham version=3.3.1 X-Spam-HAM-Report: * -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low * trust * [91.207.212.57 listed in list.dnswl.org] * -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% * [score: 0.0000] * 0.0 HTML_MESSAGE BODY: HTML included in message Received: from mx08-001d1401.pphosted.com (mx08-001d1401.pphosted.com [91.207.212.57]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 92FAAE00E35 for ; Fri, 22 Apr 2016 00:02:48 -0700 (PDT) Received: from pps.filterd (m0083989.ppops.net [127.0.0.1]) by mx08-001d1401.pphosted.com (8.16.0.11/8.16.0.11) with SMTP id u3M6xs4M004164 for ; Fri, 22 Apr 2016 09:02:47 +0200 Received: from fav152win.staubli.pri ([217.109.88.111]) by mx08-001d1401.pphosted.com with ESMTP id 22bcyvjt01-1 (version=TLSv1 cipher=ECDHE-RSA-AES256-SHA bits=256 verify=NOT) for ; Fri, 22 Apr 2016 09:02:47 +0200 Received: from FAV152WIN.staubli.pri (10.10.1.193) by FAV152WIN.staubli.pri (10.10.1.193) with Microsoft SMTP Server (TLS) id 15.0.1130.7; Fri, 22 Apr 2016 09:02:46 +0200 Received: from FAV152WIN.staubli.pri ([10.10.1.193]) by FAV152WIN.staubli.pri ([169.254.2.210]) with mapi id 15.00.1130.005; Fri, 22 Apr 2016 09:02:46 +0200 From: ZHOU Yanxin To: "meta-freescale@yoctoproject.org" Thread-Topic: fsl-image-multimedia-full.bb how-to add FB support Thread-Index: AdGcZJXtfqmoZS/jSnK9aR5cCU9K6A== Date: Fri, 22 Apr 2016 07:02:45 +0000 Message-ID: Accept-Language: zh-CN, fr-FR, en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.221.72.59] MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10432:, , definitions=2016-04-22_05:, , signatures=0 Subject: fsl-image-multimedia-full.bb how-to add FB support 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: Fri, 22 Apr 2016 07:02:51 -0000 Content-Language: en-US Content-Type: multipart/alternative; boundary="_000_e6bace359546485b8576d5fd797af150FAV152WINstaublipri_" --_000_e6bace359546485b8576d5fd797af150FAV152WINstaublipri_ Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable Dear all, I am now working on the riotboard, I have bitbaked the meta-toolchain-qt5 a= nd fsl-image-multimedia-full. Both use Jethro branch. I referred to the "Building Qt5 using yocto on Wan= dboard" guide. In the conf/local.conf I made following modification: PACKAGECONFIG_DISTRO_pn-qtbase =3D "accessibility eglfs alsa puseaudio font= config gles2 glib examples tools" DISTRO_FEATURES_remove =3D "x11 wayland" I also setup the qtcreator : device, kit, qt version, compiler, debugger an= d ssh connection, but when I run the application, Qt says "This application failed to start becase it could not find or load = the qt platform plugin xcb, available plugin are: Eglfs, minimal, minimaegl, offscreen". I also tried to run the application like this : ./helloworld -platform eglf= s, there is one error: "QEglFSVivIntegration will Set environment variable FB_MULTI_BUFFER=3D2 to enable double buffering and= vsync. If this is not desired, you can Override this via: export QT_EGLFS_IMX6_NO_FB_MULTI-BUFFER=3D1". I also tr= ied it, but still can not open egl display. Just now I checked the fsl-image-multimedia-(full).bb, it looks like it onl= y contain the X11 and wayland support, how can I modify it and let it support the Framebuffer? I have worked on this problem for several days. I hope someone can help me. Thank you very much! Best regards! Yanxin ZHOU Electronic Product Engineering STAUBLI HANGZHOU LTD. No 123 Weiken Street Hangzhou Economic & Technological Development Zone 310018 Hangzhou / CN Phone: +86 40066 70066 Mobile: +86 18605811677 mailto: y.zhou@staubli.com www.staubli.com This e-mail and any attachment (the 'message') are confidential and privile= ged and intended solely for the person or the entity to which it is addressed. If you have received it in error, please advise t= he sender by return e-mail and delete it immediately. Any use not in accordance with its purpose, any dissemination or reproducti= on, either whole or partial, by entities other than the intended recipient is strictly prohibited. --_000_e6bace359546485b8576d5fd797af150FAV152WINstaublipri_ Content-Type: text/html; charset="us-ascii" Content-Transfer-Encoding: quoted-printable

Dear all,

 

I am now working on the riotboard, I have bitbaked t= he meta-toolchain-qt5 and fsl-image-multimedia-full.

Both use Jethro branch. I referred to the  R= 20;Building Qt5 using yocto on Wandboard” guide.

 

In the conf/local.conf I made following modification= :

PACKAGECONFIG_DISTRO_pn-qtbase =3D "accessibili= ty eglfs alsa puseaudio fontconfig gles2 glib examples tools"

DISTRO_FEATURES_remove =3D "x11 wayland"

 

I also setup the qtcreator : device, kit, qt version= , compiler, debugger and ssh connection, but when I run the application,

Qt says “This application failed to start beca= se it could not find or load the qt platform plugin xcb, available plugin a= re:

Eglfs, minimal, minimaegl, offscreen”.

 

I also tried to run the application like this : ./he= lloworld –platform eglfs,  there is one error: “QEglFSVivI= ntegration will

Set environment variable FB_MULTI_BUFFER=3D2 to enab= le double buffering and vsync. If this is not desired, you can

Override this via: export QT_EGLFS_IMX6_NO_FB_MULTI-= BUFFER=3D1”.  I also tried it, but still can not open egl displa= y.

 

Just now I checked the fsl-image-multimedia-(full).b= b, it looks like it only contain the X11 and wayland support, how can<= /o:p>

I modify it and let it support the Framebuffer?=

 

I have worked on this problem for several days. I ho= pe someone can help me.

 

Thank you very much!

 

Best regards!

 

<= span style=3D"font-size:10.0pt;line-height:115%;font-family:"Arial&quo= t;,"sans-serif"">Yanxin ZHOU
Electronic Product Engineering<= /o:p>

<= span style=3D"font-size:10.0pt;line-height:115%;font-family:"Arial&quo= t;,"sans-serif"">STAUBLI HANGZHOU LTD.
No 123 Weiken Street Hangzhou Economic & Technological Development Zone=
310018 Hangzhou / CN

Phone: +86 40066 70066
Mobile: +86 18605811677
mailto: y.= zhou@staubli.com
www.staubli.com

This e-ma= il and any attachment (the 'message') are confidential and privileged and i= ntended solely for the person or the entity

to which = it is addressed. If you have received it in error, please advise the sender= by return e-mail and delete it immediately.

Any use n= ot in accordance with its purpose, any dissemination or reproduction, eithe= r whole or partial, by entities other than

the intended recipient is strictly proh= ibited.

--_000_e6bace359546485b8576d5fd797af150FAV152WINstaublipri_--