From: Thomas Senyk <thomas.senyk@pelagicore.com>
To: meta-freescale@yoctoproject.org
Cc: Otavio Salvador <otavio@ossystems.com.br>
Subject: Re: [meta-fsl-arm][PATCH v4 0/9] iMX6Q BSP 1.1.0 upgrade
Date: Wed, 13 Feb 2013 18:44:16 +0100 [thread overview]
Message-ID: <5136010.02L8BgeO9t@rudolf> (raw)
In-Reply-To: <CAP9ODKq3M9hd0cb88oRJYW4+HiV7GitC0oT5oYV420HugBGkag@mail.gmail.com>
On Tue, February 12, 2013 19:59:45 Otavio Salvador wrote:
> On Tue, Feb 12, 2013 at 7:58 PM, Otavio Salvador
>
> <otavio@ossystems.com.br> wrote:
> > Hello,
> >
> > This patch series upgrades the iMX6Q BSP to 1.1.0; it also try to fix
> > the DRI support for it.
> >
> > Please give it a try as this is a huge upgrade and we might have
> > regressions and pending issues still unkown. This series depends on a
> > cuple of patches I sent to OpenEmbeeded-Core mailing list for
> > xserver-xorg and mesa, please apply them before playing with this
> > series.
>
> I've created a bundle for this series:
>
> OE-Core/Poky patches:
>
> http://patches.openembedded.org/bundle/otavio/oe-core-dri-patches/
>
> Meta-FSL-ARM patches:
>
> http://patches.openembedded.org/bundle/otavio/bsp-1.1.0-update/
Nice thanks for the bundle.
Most of my issues got fixed in v4! good job! :)
The left overs:
1. After applied the upstream patches I got:
ERROR: No recipes available for:
/home/tsenyk/projects/oe-yocto/fsl-community-bsp/sources/meta-fsl-
arm/recipes-graphics/mesa/mesa-dri_9.0.1.bbappend
ERROR: Command execution failed: Exited with 1
... their is probably just some patch missing or something .. I just deleted
it and it was good ;)
I don't care that much about this one :) (I just wanted to report this)
2. The deploy and symlinks in the image look very good now:
lrwxrwxrwx 1 root root 12 Feb 13 17:49 libEGL.so -> libEGL-fb.so
-rw-r--r-- 1 root root 803326 Feb 13 17:33 libGAL-fb.so
lrwxrwxrwx 1 root root 12 Feb 13 17:49 libGAL.so -> libGAL-fb.so
nice!
Also the deploy in the sysroot looks good (only libEGL-fb.so and non of the
others are present) .... so the file-split is working, but there are no
symblinks.
I tried to fix this by creating symlinks manually in do_install:
diff --git a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc b/recipes-
graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
index 9818c72..af6dc82 100644
--- a/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
+++ b/recipes-graphics/gpu-viv-bin-mx6q/gpu-viv-bin-mx6q.inc
@@ -91,6 +91,20 @@ do_install () {
${D}${libdir}/libGAL.so \
${D}${libdir}/libVIVANTE.so
+ if [ "${KEEP_XLIBS}" = "yes" ]; then
+ ln -s ${D}${libdir}/libEGL-x11.so ${D}${libdir}/libEGL.so
+ ln -s ${D}${libdir}/libGAL-x11.so ${D}${libdir}/libGAL.so
+ ln -s ${D}${libdir}/libVIVANTE-x11.so ${D}${libdir}/libVIVANTE.so
+ elif [ "${KEEP_DFBLIBS}" = "yes" ]; then
+ ln -s ${D}${libdir}/libEGL-dfb.so ${D}${libdir}/libEGL.so
+ ln -s ${D}${libdir}/libGAL-dfb.so ${D}${libdir}/libGAL.so
+ ln -s ${D}${libdir}/libVIVANTE-dfb.so ${D}${libdir}/libVIVANTE.so
+ else
+ ln -s libEGL-fb.so ${D}${libdir}/libEGL.so
+ ln -s libGAL-fb.so ${D}${libdir}/libGAL.so
+ ln -s libVIVANTE-fb.so ${D}${libdir}/libVIVANTE.so
+ fi
+
find ${D}${libdir} -type f -exec chmod 644 {} \;
find ${D}${includedir} -type f -exec chmod 644 {} \;
}
I have absolutely NO idea if this is in anyway the right thing to do!
I had errors, bitbake complaining about .so files not part of the -dev package
... but for some reason I don't get those anymore after I removed all of my
other changes and just kept the 'ln -s'-lines ... so:
If you think it the right way, just take it and submit v5 and/or commit it
after v4 is merged.
3. I still got the following errors when starting any Qt5 application:
vertex shader compilation error:
fragment shader compilation error:
program link error: No vertex shader attached.
My setup: I do a image of my own, the main(!) contents of the image is:
inherit core-image
IMAGE_INSTALL += "libpng tslib libudev gpu-viv-bin-mx6q"
IMAGE_FEATURES += "ssh-server-openssh tools-debug"
DEPENDS = "gpu-viv-bin-mx6q libpng"
Then I compile Qt5 git from outside of yocto, my configure line:
../qt5/configure -opensource -confirm-license -make libs -device imx6 -device-
option CROSS_COMPILE=~/projects/oe-yocto/fsl-community-bsp/imx6-
build-10/tmp/sysroots/x86_64-linux/usr/bin/armv7a-vfp-neon-poky-linux-
gnueabi/arm-poky-linux-gnueabi- -sysroot ~/projects/oe-yocto/fsl-community-
bsp/imx6-build-10/tmp/sysroots/imx6qsabrelite -prefix /opt/pelagicore/Qt5.0-
yocto-imx6-10 -opengl es2 -no-pch -v
This way I've compiled Qt5 against yocto builds for a while now.
The only related problem I had in the past was the '#define mediump vs.
heighp' which I could solve a patching Qt.
This isn't helping anymore ... but I'm still investigating.
Greets
Thomas
>
> --
> Otavio Salvador O.S. Systems
> E-mail: otavio@ossystems.com.br http://www.ossystems.com.br
> Mobile: +55 53 9981-7854 http://projetos.ossystems.com.br
> _______________________________________________
> meta-freescale mailing list
> meta-freescale@yoctoproject.org
> https://lists.yoctoproject.org/listinfo/meta-freescale
next prev parent reply other threads:[~2013-02-13 17:44 UTC|newest]
Thread overview: 22+ messages / expand[flat|nested] mbox.gz Atom feed top
2013-02-12 21:58 [meta-fsl-arm][PATCH v4 0/9] iMX6Q BSP 1.1.0 upgrade Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 1/9] gpu-viv-bin-mx6q: Upgrade to 1.1.0 Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 2/9] xf86-video-imxfb-vivante: " Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 3/9] gpu-viv-bin-mx6q: remove xlib undef macros Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 4/9] gpu-viv-bin-mx6q: group libs based on backend Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 5/9] gpu-viv-bin-mx6q: Add dri.pc Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 6/9] xserver-xorg: Override PACKAGECONFIG for i.MX6 to enable DRI support Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 7/9] xf86-dri-vivante: Upgrade to 1.1.0 Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 8/9] xf86-video-imxfb-vivante: Add depends/rdepends for DRI support Otavio Salvador
2013-02-12 21:58 ` [meta-fsl-arm][PATCH v4 9/9] glproto: Don't install glxtokens.h for imx6qsabrelite Otavio Salvador
2013-02-12 21:59 ` [meta-fsl-arm][PATCH v4 0/9] iMX6Q BSP 1.1.0 upgrade Otavio Salvador
2013-02-13 17:44 ` Thomas Senyk [this message]
2013-02-13 21:11 ` Otavio Salvador
2013-02-15 17:10 ` Thomas Senyk
2013-02-15 18:08 ` Tomas Frydrych
2013-02-15 18:25 ` Otavio Salvador
2013-02-15 18:23 ` Otavio Salvador
2013-02-26 17:25 ` Thomas Senyk
2013-02-26 17:39 ` Otavio Salvador
2013-02-26 17:49 ` Thomas Senyk
2013-03-20 14:13 ` Erik Botö
2013-03-20 14:25 ` Otavio Salvador
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=5136010.02L8BgeO9t@rudolf \
--to=thomas.senyk@pelagicore.com \
--cc=meta-freescale@yoctoproject.org \
--cc=otavio@ossystems.com.br \
/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.