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>
Ting Liu [Mon, 8 Jul 2013 03:08:16 +0000 (11:08 +0800)]
change layout to follow oe-core guidelines of recipes
Follow the rules defined in:
http://git.yoctoproject.org/cgit/cgit.cgi/poky/tree/meta/recipes.txt
recipes-bsp - Anything with links to specific hardware or
hardware configuration information
recipes-connectivity - Libraries and applications related to
communication with other devices
recipes-core - What's needed to build a basic working Linux
image including commonly used dependencies
recipes-devtools - Tools primarily used by the build system (but can
also be used on targets)
recipes-extended - Applications which whilst not essential add
features compared to the alternatives in
core. May be needed for full tool functionality
or LSB compliance.
recipes-gnome - All things related to the GTK+ application
framework
recipes-graphics - X and other graphically related system libraries
recipes-kernel - The kernel and generic applications/libraries
with strong kernel dependencies
recipes-lsb4 - Recipes added for the sole purpose of supporting
the Linux Standard Base (LSB) 4.x
recipes-multimedia - Codecs and support utilties for audio, images and
video
recipes-rt - Provides package and image recipes for using and
testing the PREEMPT_RT kernel
recipes-qt - All things related to the Qt application
framework
recipes-sato - The Sato demo/reference UI/UX, its associated
apps and configuration
recipes-support - Recipes used by other recipes but that are not
directly included in images
recipes-dpaa - recipes related to fsl dpaa feature
recipes-virtualization - recipes related to fsl virtualization feature
Remove 85xx NPI/Boards, P102x combo board and P1023RDS board
These boards were not tested with latest released sdk 1.4 codes
(kernel, u-boot, etc.). To avoid confusion and potential error,
detete these machines from master/dylan branch of this layer.
If anyone want to use them, please use danny/denzil/edison branch.
Zhenhua Luo [Wed, 3 Jul 2013 02:12:11 +0000 (02:12 +0000)]
libedit: pull in from meta-oe as it is needed by usdpaa
meta-fsl-ppc should not depends on meta-oe to run, so keep a copy
of libedit in this layer.
libedit commit history in meta-oe: d5bb26f libedit: upgrade to 20121213 and fix download d9619f6 libedit: update to latest version d248ea6 libedit: Remove files folder as no patch was being used 4d2d164 libedit: Adds version 20110802 (initial recipe)
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Ting Liu [Tue, 2 Jul 2013 04:09:20 +0000 (04:09 +0000)]
fix Freescale EULA warning
This takes care of this build warning:
WARNING: eth-config: No generic license file exists for: Freescale in
any provider
WARNING: eth-config: No generic license file exists for: EULA in any
provider
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>
Zhenhua Luo [Mon, 1 Jul 2013 05:47:10 +0000 (13:47 +0800)]
linux-qoriq-sdk(-headers): upgrade to the version of sdk-1.4
1.Update kernel version to 3.8.
2.add DEPENDS libgcc and append TOOLCHAIN_OPTIONS to KERNEL_{CC,LD}.
kernel in sdk 1.4 need run-time support libraries 'libgcc.a', added
in file arch/powerpc/Makefile:
LIBGCC := $(shell $(CC) $(KBUILD_CFLAGS) -print-libgcc-file-name)
Without passing the TOOLCHAIN_OPTIONS (define --sysroot parameter),
it will fail to find the libgcc.a.
3.Also remove the patches which were already merged on git tree.
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com> Signed-off-by: Ting Liu <b28495@freescale.com>
Zhenhua Luo [Thu, 27 Jun 2013 09:20:02 +0000 (09:20 +0000)]
udev-extraconf: unify the name of PCIe Ethernet port for DPAA targets
In kernel-3.8, PCIe Ethernet port is the last one to be brought up,
so the name of PCIe Ethernet card is ethN(N is variant) instead of eth0.
The udev rules update is to unify the PCIe Ethernet port of DPAA targets:
Ethernet card in PCIe slot0: eth0
Ethernet card in PCIe slot1: eth1
Ethernet card in PCIe slot2: eth2
Ethernet card in PCIe slot3: eth3
Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Change-Id: Ia2a9cc3eb5b6c49e911bb6cc067a2d2d3cfaec0a
Khem Raj [Mon, 24 Jun 2013 06:59:30 +0000 (06:59 +0000)]
recipes: make meta-fsl-ppc play with other layers
Some recipes are specific to fsl machines but arent marked
so. When building images for other machines while including
meta-fsl-ppc in bblayers exposes the build failures on these
recipes. Lets mark them fsl machine specific
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>