All of lore.kernel.org
 help / color / mirror / Atom feed
From: David Hill <David.Hill@Oracle.com>
To: meta-freescale@yoctoproject.org
Subject: Re: fsl framebuffer image ?
Date: Fri, 07 Feb 2014 13:54:04 -0500	[thread overview]
Message-ID: <52F52BCC.3030303@Oracle.com> (raw)
In-Reply-To: <52F41158.1080502@Oracle.com>


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 <David.Hill@Oracle.com>
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



  reply	other threads:[~2014-02-07 18:54 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2014-01-14 20:22 fsl framebuffer image ? David Hill
2014-01-15  1:39 ` Otavio Salvador
2014-01-15 16:08   ` David Hill
2014-01-15 16:16     ` Gary Thomas
2014-02-03 20:19       ` David Hill
2014-02-03 20:22         ` Otavio Salvador
2014-02-03 20:25           ` Otavio Salvador
2014-02-03 20:43             ` David Hill
2014-02-04  1:32               ` Otavio Salvador
2014-02-04 22:47                 ` David Hill
2014-02-04 23:17                   ` Otavio Salvador
2014-02-05  5:37                     ` Filip Piechocki
2014-02-06 22:48                       ` David Hill
2014-02-07 18:54                         ` David Hill [this message]
2014-02-07 18:56                           ` Otavio Salvador
2014-02-07 20:07                             ` Filip Piechocki
2014-02-10 12:01                             ` Otavio Salvador
2014-02-03 20:38           ` David Hill
2014-01-15  2:25 ` Lauren Post
2014-01-30 21:55   ` David Hill
2014-01-31 16:11     ` Otavio Salvador
2014-01-31 21:47       ` David Hill
2014-02-03 10:58         ` Daiane Angolini
2014-02-03 14:16           ` Rogerio Nunes

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=52F52BCC.3030303@Oracle.com \
    --to=david.hill@oracle.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.