From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from aserp1040.oracle.com (aserp1040.oracle.com [141.146.126.69]) by yocto-www.yoctoproject.org (Postfix) with ESMTP id 56E68E0059B for ; Thu, 6 Feb 2014 14:48:59 -0800 (PST) Received: from acsinet21.oracle.com (acsinet21.oracle.com [141.146.126.237]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s16Mmwph004875 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Thu, 6 Feb 2014 22:48:58 GMT Received: from aserz7021.oracle.com (aserz7021.oracle.com [141.146.126.230]) by acsinet21.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s16MmvdX016993 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Thu, 6 Feb 2014 22:48:58 GMT Received: from abhmp0020.oracle.com (abhmp0020.oracle.com [141.146.116.26]) by aserz7021.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s16Mmv3Z016988 for ; Thu, 6 Feb 2014 22:48:57 GMT Received: from ddhill-mac.local (/76.28.28.227) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Thu, 06 Feb 2014 14:48:57 -0800 Message-ID: <52F41158.1080502@Oracle.com> Date: Thu, 06 Feb 2014 17:48:56 -0500 From: David Hill User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.9; rv:24.0) Gecko/20100101 Thunderbird/24.3.0 MIME-Version: 1.0 To: meta-freescale@yoctoproject.org References: <52D59C91.8090802@Oracle.com> <52D6B261.4020507@Oracle.com> <52D6B44F.9080006@mlbassoc.com> <52EFF9B4.80605@Oracle.com> <52EFFF7F.3040505@Oracle.com> <52F16E14.7020802@Oracle.com> In-Reply-To: X-Source-IP: acsinet21.oracle.com [141.146.126.237] Subject: Re: fsl framebuffer image ? 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: Thu, 06 Feb 2014 22:49:02 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 2/5/14, Feb 5, 12:37 AM, Filip Piechocki wrote: > Hi, > > I currently also needed an image with accelerated framebuffer (so I could run Qt5 eglfs on it) on wandboard-dual. I followed those instructions: http://wiki.wandboard.org/index.php/Building_Qt5_using_yocto_on_Wandboard , with some modifications. I suggest you to do: > - add DISTRO_FEATURES_remove = "x11 wayland" > - add IMAGE_INSTALL_append = " gpu-viv-bin-mx6q " > > Then I bitbaked core-image-minimal and it has libGAL, libEGL (and so on) in framebuffer version. I did a bitbake qt4e-demo-image and did not get the accelerated images as you probably saw earlier. Turns out that the needed libraries are in the build tree, but the script that picks which of the versions to install may not be correct. You want these: tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gpu-viv-bin-mx6q/1_3.10.9-1.0.0-hfp-r0/gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp/usr/lib/libEGL-fb.so tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gpu-viv-bin-mx6q/1_3.10.9-1.0.0-hfp-r0/gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp/usr/lib/libGAL-fb.so tmp/work/cortexa9hf-vfp-neon-mx6-poky-linux-gnueabi/gpu-viv-bin-mx6q/1_3.10.9-1.0.0-hfp-r0/gpu-viv-bin-mx6q-3.10.9-1.0.0-hfp/usr/lib/libVIVANTE-fb.so It was suggested that I do: # force the gpu-viv-bin-mx6q install script to fall through to framebuffer DISTRO_FEATURES_remove = "x11 wayland" bitbake qt4e-demo-image When I did the qt4e-demo-image without the remove, I did get a libEGL.so, but it was libEGL-x11.so based on the checksum. Copying the correct libEGL-fb.so and libGAL.fb allowed me to render to the fb just fine using my test app. If curious, the install script is sources/meta-fsl-arm/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc, which explained to me why the remove x11 might do something. But I have not done a second build with the x11 remove quite yet (partly because I misunderstood the suggestion). Perhaps I will know by tomorrow (I have a slow bld machine - 11 plus hours per build). Dave -- David Hill Java Embedded Development "Unix is user-friendly. It's just very selective about who its friends are."