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 53DF4E005B1 for ; Fri, 7 Feb 2014 10:54:06 -0800 (PST) Received: from acsinet22.oracle.com (acsinet22.oracle.com [141.146.126.238]) by aserp1040.oracle.com (Sentrion-MTA-4.3.2/Sentrion-MTA-4.3.2) with ESMTP id s17Is544017482 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 7 Feb 2014 18:54:06 GMT Received: from aserz7022.oracle.com (aserz7022.oracle.com [141.146.126.231]) by acsinet22.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s17Is4lB025918 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 7 Feb 2014 18:54:05 GMT Received: from abhmp0008.oracle.com (abhmp0008.oracle.com [141.146.116.14]) by aserz7022.oracle.com (8.14.4+Sun/8.14.4) with ESMTP id s17Is4PN025912 for ; Fri, 7 Feb 2014 18:54:04 GMT Received: from ddhill-mac.local (/76.28.28.227) by default (Oracle Beehive Gateway v4.0) with ESMTP ; Fri, 07 Feb 2014 10:54:04 -0800 Message-ID: <52F52BCC.3030303@Oracle.com> Date: Fri, 07 Feb 2014 13:54:04 -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> <52F41158.1080502@Oracle.com> In-Reply-To: <52F41158.1080502@Oracle.com> X-Source-IP: acsinet22.oracle.com [141.146.126.238] 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: Fri, 07 Feb 2014 18:54:07 -0000 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit I can confirm that wih DISTRO_FEATURES_remove = "x11 wayland" that bitbake qt4e-demo-image is not copying the libEGL.so and friends to the resulting image. On 2/6/14, Feb 6, 5:48 PM, David Hill wrote: > 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 "If you put tomfoolery into a computer, nothing comes out of it but tomfoolery. But this tomfoolery, having passed through a very expensive machine, is somehow ennobled and no-one dares criticize it." -- Pierre Gallois