Otavio Salvador [Sat, 20 Jul 2013 17:45:20 +0000 (14:45 -0300)]
mesa: Avoid removing virtual/libgl provider for i.MX5 SoCs
The AMD GPU libraries does not provide a libGL so we need to rely on
mesa one. This fixes a regression introduced by ea8d003
(gpu-viv-bin-mx6q, mesa: fix virtual/libgl dependencies) as the
virtual/libgl removal needs to be done /only/ for i.MX6 SoCs.
Change-Id: I1f83eff3c2f39ba801dbf6be61b7814fa1bb84fd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 30 Mar 2013 22:25:41 +0000 (19:25 -0300)]
qt4: Enable OpenGL ES2 support for i.MX6
The Vivante libraries need some special linking as it has a more
modular design which thus require a specific set of mkspec changes to
make it to work. This change makes the linking to work when building
against Vivante libraries for i.MX6 SoCs.
Change-Id: I62a394876829fcd95933cb7351c8333b3bf78dcc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 18 Jul 2013 01:27:12 +0000 (22:27 -0300)]
gpu-viv-bin-mx6q.inc: Add libclc-mx6 as runtime depedency of libopencl-mx6-dev
The libclc-mx6 is required when doing C development so we add it as
runtime dependency of libopencl-mx6-dev to easy it's deployment and
avoid it to being included in all rootfs.
Change-Id: Ic0fc199ee2b65e97841d680b8fc1599a299e4bfe Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 15 Jul 2013 03:47:40 +0000 (00:47 -0300)]
u-boot-fslc: Update to 2013.07-rc3 release
I am pleased to commit this change as this is the first time ALL
PATCHES previously kept in the patches-2013.07 branch were applied in
the current release of U-Boot mainline and all environment changes are
also fully merged. I know we shortly will end backporting a fix or
improvement, during 2013.10 development, but it is an accomplishment
worth keeping record ;-)
Change-Id: If2de1dbd8721f8ddb21d0091e87f31109b8b8e7a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 15 Jul 2013 02:48:07 +0000 (23:48 -0300)]
imx-lib.inc: Remove unused assignment for FILES definition
The standard FILES definition works fine for current contents; I did
check the package contents before/after using buildhistory and
packaged files are the same.
Change-Id: Ia048338e1db38896a66aaf9f46fcc4071d402f42 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* so the statement in imx-base.inc
PREFERRED_PROVIDER_virtual/libgl_mx6 ?= "gpu-viv-bin-mx6q"
does not have effect, because mesa is still the only provider
of virtual/libgl
* packages depending on virtual/libgl only get mesa, which will not contain
the libGL library
* in fact, we still use the gl headers from mesa, but the binary blob library
from gpu-viv-bin-mx6q (gpu-viv-bin-mx6q does not provide the headers),
so a package compiling against GL needs both mesa and gpu-viv-bin-mx6q
conclusion:
* so i suggest having gpu-viv-bin-mx6q depend on mesa to draw in the
gl header package, advertising "virtual/libgl" for gpu-viv-bin-mx6q
via "PROVIDES +=" and not advertising virtual/libgl for mesa via the
.bbappend file
Otavio Salvador [Mon, 1 Jul 2013 17:06:15 +0000 (14:06 -0300)]
u-boot-fslc: Update to 2013.07-rc2 release
This updates the U-Boot code to the v2013.07-rc2 tag and also merges
the imx/master tree on it. This contains most changes which will
affect us in the upcoming 2013.07 release and should allow us to give
it a good test.
Change-Id: I5f4d3770bbc264ba85dc38b93ffc9db31633a0ff Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
gst-plugins-gl: Enforce glib2 deprecated API support
With newer version of the glib2 recipe in poky, deprecated APIs
have been enforced disabled, so we need to re-enable them
in the meta-fsl-arm layer while they are still in use.
Otavio Salvador [Tue, 2 Jul 2013 19:26:06 +0000 (16:26 -0300)]
linux-imx (2.6.35.3): Enable tracing support so lttng's modules are build
lttng support is enabled in Freescale test images however its modules
were not being build due lacking of tracing support in the
kernel. This patch enables the needed kernel features to allow the
modules to be build and thus making lttng usable.
Change-Id: I22362e62e4ec077bbc35366cb5ac86ea1a4c5f5f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 1 Jul 2013 20:52:25 +0000 (17:52 -0300)]
linux-imx (3.0.35): Enable tracing support so lttng's modules are build
lttng support is enabled in Freescale test images however its modules
were not being build due lacking of tracing support in the
kernel. This patch enables the needed kernel features to allow the
modules to be build and thus making lttng usable.
Change-Id: Ifa5fd3a5206502d8b100ce6211d2cbb69b9c6f3b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 2 Jul 2013 14:52:51 +0000 (11:52 -0300)]
perf: Disable FPU tune for i.MX5 SoCs to workaround GCC ICE
GCC 4.8 currently ICE when building perf for i.MX5 SoCs and we can
workaround it disabling the FPU tunning for it. This is a temporary
solution until GCC fixes this in an upcoming release.
Philip Craig [Thu, 27 Jun 2013 12:42:19 +0000 (12:42 +0000)]
gpu-viv-bin-mx6q.inc: fix libEGL and libGLESv2 installation
Previously, we were only packaging libEGL.so and libGLESv2.so. This
worked at runtime because ldconfig installed symlinks for the soname
of these libraries (libEGL.so.1 and libGLESv2.so.2).
However, there are situations where we need the soname version of
these libraries at build time. Specifically, if these libraries are
indirectly referenced by another library, then the linker looks them
up using the soname.
This patch changes the installation of these libraries to the normal
way of installing. That is, we install them as the soname, and create
symlinks for libEGL.so and libGLESv2.so.2. This also matches the way
that these libraries are provided in the source.
The one catch with that is libEGL.so also tries to load libGLESv2.so
directly at runtime, rather than using the soname, so we need to
install the libGLESv2.so symlink to the rootfs also, and we need to
disable a QA error to allow this.
libGL and libGLESv1 are fixed in a similar manner, but I haven't
tested them.
This fixes the following errors when building qtgstreamer:
oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: warning: libGLESv2.so.2, needed by oe-core/build/tmp-eglibc/sysroots/imx6qsabrelite/usr/lib/libQt5Gui.so.5.0.2, not found (try using -rpath or -rpath-link)
oe-core/build/tmp-eglibc/sysroots/i686-linux/usr/libexec/armv7a-vfp-neon-oe-linux-gnueabi/gcc/arm-oe-linux-gnueabi/4.7.2/ld: warning: libEGL.so.1, needed by oe-core/build/tmp-eglibc/sysroots/imx6qsabrelite/usr/lib/libQt5Gui.so.5.0.2, not found (try using -rpath or -rpath-link)
Change-Id: I8e0a2175b6d6bd1a6972c79c8532061edd8dca0d Signed-off-by: Philip Craig <phil@blackmoth.com.au>
Otavio Salvador [Mon, 1 Jul 2013 18:14:01 +0000 (15:14 -0300)]
libfslparser: Whitelist package QA warning/errors
The binaries provided by Freescale does not provide debug symbols and
has relocations in .text sessions; we cannot fix those issues without
the source code so ignore them.
Change-Id: Ib47ee2b448cdf132d073703e3980c774c03af83d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andrei Gherzan [Thu, 20 Jun 2013 20:23:52 +0000 (20:23 +0000)]
gpu-viv-bin-mx6q.inc: Add linked libraries to libGAL to DEPENDS
libGAL is linked to a couple of libraries so add these libraries to DEPENDS to
give shlibs the possibility of picking them up.
Change-Id: I4ae27eaa131fdb4069c8a60a14f5050aacc2f5ac Signed-off-by: Andrei Gherzan <andrei@gherzan.ro> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Thomas Senyk [Fri, 21 Jun 2013 15:00:42 +0000 (15:00 +0000)]
gpu-viv-bin-mx6q: fixing pkg-config files for non-x11 builds.
egl.pc and glesv1_cm.pc had 'Requires.private' on x11 libs.
This got removed from them. To keep the x11 behavior,
new x11 specific pkg-config files were added and will be installed
by gpu-viv-bin-mx6q.inc, if "X11'-DISTRO_FEATURE is present.
For uniformity reasons, the same schema got applied to glesv2.pc
Change-Id: I23c1b685d4be10119a0f90179c2e87e1db64ca05 Signed-off-by: Thomas Senyk <thomas.senyk@pelagicore.com>
Thomas Senyk [Fri, 21 Jun 2013 15:00:41 +0000 (15:00 +0000)]
gpu-viv-bin-mx6q: Add -lEGL and -lGAL to glesv2.pc and glesv1_cm.pc
libGLESv2 has undefined symbols, which get provided by libEGL and libGAL,
but libGLESv2 has no implicit 'link' to those libs.
So if you link against libGLESv2 but not against libEGL and libGAL,
you'll get 'undefined symbol'-errors.
Change-Id: I2c35ba4b592a89106b82e16bbfdfb2c5fc6553c6 Signed-off-by: Thomas Senyk <thomas.senyk@pelagicore.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Diego Rondini [Wed, 5 Jun 2013 17:53:07 +0000 (19:53 +0200)]
gpu-viv-bin-mx6q: Add pkg-config files
Provide pkg-config files for egl, glesv1_cm and glesv2
Change-Id: Ie6d8c24d9415068927784a917ede644d87c283f7 Signed-off-by: Diego Rondini <diego.ml@zoho.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 17 May 2013 21:59:18 +0000 (18:59 -0300)]
gpu-viv-bin-mx6q: Update to 3.0.35-4.0.0 BSP release
This includes a new libgl-mx6 package, besides the 3.0.35-4.0.0
release includes the GL library (without the headers) so we needed to
avoid the headers removal done before. The Wayland backend needs to be
removed as it will be supported in another GPU package so we added an
explicit FIXME note to keep it recorded.
Change-Id: I07f926b94f7dd31ce51dc03f676adc6d2a080b88 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 4 Jun 2013 14:00:19 +0000 (11:00 -0300)]
mesa-demos: Fix building using Vivante libGL
Vivante libGL does not provide the glWindowPos2iARB symbol, but
glWindowPos2i. Use this instead.
Change-Id: I8226fd54935bab2bbc9b2d9df92c0c18bf935186 Reported-by: Jeremy Stashluk <jstashluk@dekaresearch.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 25 May 2013 19:15:29 +0000 (16:15 -0300)]
mesa: Drop libGL when building for i.MX6
The Vivante GPU package provide a libGL library which we should use to
fully support the GPU features; so we drop the binary library from
mesa package.
Change-Id: I7e675e2fb6b9cf8600c7aa7fa961fc743bb051bc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 6 Jun 2013 12:56:54 +0000 (09:56 -0300)]
linux-fslc: Update to 2013-06-05 patches-3.9's snapshot
The includes following changes:
* Merge v3.9.4 stable release
* ASoC: pcm: Require both CODEC and CPU support when declaring stream caps
* ASoC: mxs: mxs-saif: Split mxs_saif_dai into two elements
* ARM: mxs: Pass the system revision
* ARM: mxs: Print silicon version on boot
* ARM: dt: Use the 'model' field for printing the hardware revision
Change-Id: Icc919e04a44f47db09e0e1266e971c3bb23ff2bd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Fabio Estevam [Thu, 6 Jun 2013 20:41:57 +0000 (17:41 -0300)]
linux-imx (2.6.35.3): Disable NAPI
commit 0a9469a14c5 (linux-imx (2.6.35.3): Enable FEC_NAPI in the MX5 defconfig)
enabled NAPI support on mx5 defconfig and causes the following kernel crash:
Daiane Angolini [Thu, 16 May 2013 15:25:24 +0000 (12:25 -0300)]
imx-lib: Update to version 3.0.35-4.0.0
Add new version compatible with MX6 SOC FAMILY
Remove old version for MX6 (1.1.0)
The license was changed in new vesion, so new package
is .bin file (instead of .tar.gz file).
The SRC_URI for old/new version is different, so it was
removed from .inc file and place in each version file.
Otavio Salvador [Tue, 21 May 2013 02:51:13 +0000 (23:51 -0300)]
libfslcodec: Add libfslcodec-meta which includes all codecs
The libfslcodec-meta is specially useful for debugging so we can test
if a failure is due a missing dependency across codecs or to provide
demo images which has a wide range of supported codecs.
Change-Id: Ic6deb1f7c1eab70405078ed79757dd57d9f29316 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 21 May 2013 06:47:07 +0000 (03:47 -0300)]
libfslcodec: Group ARM12, ARM11 and ARM9 packages
This rework the packages so we have all instruction set packages in
same binary, with respective 'wrap' libraries.
The complexity to proper choose it is not worth and error prone so we
avoid it. This also fixes the 'wrap' libraries path as they should be
inside 'imx-mm' directory.
Change-Id: I7f375b612807a429727c971083e19773b45691d3 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Javier Viguera [Tue, 21 May 2013 16:17:06 +0000 (16:17 +0000)]
gst-fsl-plugin: fix segfault due to not found library
The gst-fsl-plugin package tries to 'dlopen' a library using the
symbolic link that points to the library file. But that symbolic link is
only installed with the development package (PN-dev), not with the
normal package.
This commit adds a patch that uses the soname of the library in dlopen
call.
Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Improve the 'Contributing' section by adding a missing 'submit' (you should
submit the patches), list the meta-freescale address and also provide a link
to Yocto's contribution guidelines link.
Otavio Salvador [Sat, 20 Apr 2013 16:53:38 +0000 (13:53 -0300)]
xf86-dri-vivante: Add rdepends for GLX, DRI and DRI2 Xorg's extensions
The Vivante DRI support requires GLX, DRI and DRI2 Xorg's extensions
to properly work, so we add them as explicit runtime dependencies to
avoid the removal of them by mistake.
Change-Id: I8c59fdf3bfec137b8ed3332e5c7398fed2cee58b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>