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>
Otavio Salvador [Sat, 20 Apr 2013 16:52:18 +0000 (13:52 -0300)]
xserver-xorg: Do not remove Xorg native DRI module
The DRI support of Xorg is need to trigger the loading of Vivante
DRI. So we revert this change while we keep the removal of Xorg header
so we build against Vivante ones.
Change-Id: I1aff6f14eb48811aa30bb364f90e66114518c5e9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 17 Apr 2013 18:58:18 +0000 (15:58 -0300)]
linux-fslc: Refactor to use linux-imx.inc and avoid duplication of code
Provides a new linux-fslc.inc file which abstracts the specific
changes for the linux-fslc based kernels. A new variable has been add
to linux-imx.inc to allow to skip the 'imx-test' specific hacks after
kernel install as 'imx-test' is not supported for Linux mainline.
Change-Id: I309ee9fa70f359e4d3b03af6cb68bf15d0745257 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 17 Apr 2013 18:39:25 +0000 (15:39 -0300)]
linux-imx.inc: Pass LOADADDRESS to kernel build
By default, the kernel uses the known value for the entry address
however we cannot rely on this for having the right value. To
workaround it we should pass LOADADDRESS value to the kernel build
system.
Change-Id: If6434c8a9ced044776766e7916ab391d28d685f1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
imx-base.inc: Place UBOOT_ENTRYPOINT into common location
Place the entry points for mx31 and mx35 into the common
imx-base.inc instead of having them in board .conf files and also remove
the unneeded UBOOT_LOADADDRESS occurrences.
Otavio Salvador [Thu, 11 Apr 2013 13:06:55 +0000 (10:06 -0300)]
Fix use of SOC_FAMILY as the most right value is preferred
The SOC_FAMILY uses the MACHINEOVERRIDES and it evaluates from left to
right. In this case, the most SoC specific value needs to be kept in
the right so it take precedence.
This has been catch when finding out why i.MX6SL EVK where using the
wrong value as entry point, and this was the root cause.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 11 Apr 2013 21:58:49 +0000 (18:58 -0300)]
imx-base.inc: Do not assign UBOOT_LOADADDRESS
The code uses UBOOT_ENTRYPOINT as default value for UBOOT_LOADADDRESS
so we don't need to have the variable UBOOT_LOADADDRESS set unless
it's different from UBOOT_ENTRYPOINT. This also fix the i.MX6SL entry
point hex format.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>