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>
Otavio Salvador [Sat, 13 Apr 2013 20:08:19 +0000 (17:08 -0300)]
imx-base.inc: Avoid including imx-audio for every SoC family
The imx-audio package is currently only available for i.MX5 and i.MX6
so we should include it in every SoC family. This fixes i.MX31 and
i.MX35 image build due unsatisfied dependency.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 13 Apr 2013 16:49:54 +0000 (13:49 -0300)]
imx-base.inc: Disable firmware include for not fully supported BSPs
The i.MX25, i.MX27, i.MX31 and i.MX35 are not fully supported and we
don't have the firmware package for them so comment them out so it
doesn't break the build.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The regression was cause by "61394cd gpu-viv-bin-mx6q: Rework package
for a single backend use"; the other libraries seem not required to be
forced linked.
Change-Id: I167e9557431c69dfefe5066630fe64aa4cc60e0f Reported-by: Eric Nelson <eric.nelson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 6 Apr 2013 14:51:26 +0000 (11:51 -0300)]
linux-imx: Cleanup recipe as SabreLITE machine has been moved
The SabreLITE machine is now supported using the Boundary Devices
kernel in meta-fsl-arm-extra, so we remove the patch and specific
overrides of this recipe.
Change-Id: I109226bf6fc5f5d9979430795b990dfe09b11421 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 6 Apr 2013 14:41:55 +0000 (11:41 -0300)]
imx6qsabrelite: Move to SabreLITE to meta-fsl-arm-extra
The SabreLITE is much better supported by Boundary kernel as being not
fully supported by Freescale new BSPs it should be moved to the Extra
layer where we can properly support it.
Change-Id: Ie6465c35a243cb199c3499eb4336c9638c9ce6ab Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 5 Apr 2013 01:19:25 +0000 (22:19 -0300)]
gst-plugins-gl: Avoid leaking memory
The previous patch used to rework the framebuffer backend to avoid
GLib deprecated calls leaked memory.
To reduce the amount of patches we need to maintain we are dropping
the patch completely and disabling the build warnings for deprecated
GLib calls allowing it to build for framebuffer and X11 without
problem.
Change-Id: Iaf289bc174b45c69ef6d0c590e12daef78e65a49 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 5 Apr 2013 01:13:24 +0000 (22:13 -0300)]
gst-plugins-gl: Fix dependency definition
The 'DEPENDS_mx6 +=' behaviour is confusing and when we're using
overrides we in fact override the original value instead of appending
it. To get the expected behavior we need to use 'DEPENDS_append_mx6 ='.
Change-Id: Ibb23ef34876de83e2921c528e08c8df55447af05 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 2 Apr 2013 17:08:50 +0000 (14:08 -0300)]
gpu-viv-bin-mx6q: Rework package for a single backend use
As we now provide a single backend there're no need for full set of
packages and the binaries can use the generic names so we don't need
to rework other applications and/or libraries to link properly.
The xf86-video-imxfb-vivante needs also to be change as the libraries
are now under generic name so we remove the backend suffix from
libraries so the LDFLAGS ought to be removed for the build to succeed.
Change-Id: I73cc9986babe8bb4fb0c05117c6b3d93b0470949 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Philip Craig [Fri, 5 Apr 2013 00:35:21 +0000 (00:35 +0000)]
libfslparser: fix mp3 parser installation
The mp3dec plugin needs to find the mp3 parser in /usr/lib, otherwise
it cannot load:
(gst-plugin-scanner:2636): GStreamer-WARNING **: Failed to load plugin
'/usr/lib/gstreamer-0.10/libmfw_gst_mp3dec.so':
lib_mp3_parser_arm11_elinux.so.3.1: cannot open shared object file: No
such file or directory
This is different from the other parsers, which the aiur_demux plugin
loads using dlopen() after reading their location from
/usr/share/aiur_registry.arm11.cf
Signed-off-by: Philip Craig <phil@blackmoth.com.au>
OE-Core does not include pointercal-xinput yet and it is part of
Meta-OpenEmbedded so it cannot be part of BSP right now. We will have
this included in meta-fsl-demos as an intering solution until full
XInput support is included onto OE-Core.
Change-Id: Ia577892182aa75163c016772beaf861cffee78dd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 24 Jan 2013 15:30:16 +0000 (13:30 -0200)]
xserver-xorg: Add 1.11.4 version as it provides Video ABI 11
The Vivante GPU drivers are not compatible with newer Xorg 1.13 as it
introduce some deep changes in video ABI and DRI interface. The best
longterm solution is to get new GPU driver releases which are
compatible with the new Xorg but in meanwhile we'll keep the working
version as alternative.
Change-Id: I26a122c371bce1d58a843c419558a0928baec5f6 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 22 Jan 2013 21:48:15 +0000 (19:48 -0200)]
xf86-video-imxfb-vivante: Upgrade to 1.1.0
The new version packages Xorg driver and DRI source in same source
package however for our use case this is worse so we workaround this
packaging both separate.
Change-Id: Iff3a7d2f893b9e8fab1766bc71e0f89ce41ac7dc Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Daiane Angolini [Thu, 28 Mar 2013 14:56:42 +0000 (09:56 -0500)]
xf86-video-imxfb: Fix Xorg driver with newer API
The previous patch which ported the Xorg driver for newer API had a
mistaken change which broke the acceleration support; this patch fixes
it reverting the mislanding changes.
Daiane Angolini [Wed, 27 Mar 2013 12:18:40 +0000 (07:18 -0500)]
linux-imx (3.0.35): Change mx6sl linux version to 12.10.02
The latest tested linux version for iMX6SL EVK is from
Freescale BSP 12.10.02
Disable CPU frequency scaling due to kernel crash during boot tests.
The root cause of this still needs to be fixed but this workaround
improves board stability for now.
Otavio Salvador [Wed, 27 Mar 2013 18:03:53 +0000 (15:03 -0300)]
libfslcodec: Add 'textrel' in INSANE_SKIP to avoid known warnings
The binaries has relocation code inside text section which is not a
good practice however this is a known issue and we shouldn't bother
user with many warnings during the build for it as it might end
covering real issues.
Change-Id: Id027c7c7bd05bb7aa44150892d92f7ea49d2e3a8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This happens because the binaries from Freescale are stripped, to
avoid it we need to avoid the debug splitting.
Change-Id: I1a1aee2a8e3bf806455300c21e6e5c41eb543795 Reported-by: Michael Urbaniak <MikeU@ebtron.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Vladan Jovanovic [Mon, 18 Mar 2013 09:44:34 +0000 (09:44 +0000)]
image_types_fsl.bbclass: fix partition type for SD card boot partition
Create first partition on SD card as fat32. As boot.img is formatted
as vfat, this will ensure information in partition table matches
actual partition type.
Otavio Salvador [Sat, 23 Mar 2013 12:54:39 +0000 (09:54 -0300)]
gpu-viv-bin-mx6q: Respect X11, DirectFB, FrameBuffer distro features
As we cannot allow concurrent build of applications targetting
different backends we use the distro features to package the need
libraries for the backend. Currently it does:
X11 support, if 'x11' feature is enabled
DirectFB support, if 'x11' is not enabled AND 'directfb is enabled
FrameBuffer, fallback
As 1.1.0 version of the Vivante libraries are build against DirectFB
1.4 we cannot support it for now, so we explicitly disable it for this
version so it is easy to add it back when new version, supporting
newer DirectFB, is released.
Change-Id: Ia8973b8107155b8a5f7fadc50d2290c1d5f28363 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Alonso [Sat, 2 Feb 2013 16:11:54 +0000 (10:11 -0600)]
gpu-viv-bin-mx6q: group libs based on backend
* Group GPU libs based on backend
* Add GPU libs to packages depending on DISTRO_FEATURES
* Bump PR
Change-Id: I08aaee593cc18cb7cf6f3f0ef9a3aff046d87edd Signed-off-by: Adrian Alonso <aalonso00@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Alonso [Sat, 2 Feb 2013 16:01:14 +0000 (10:01 -0600)]
gpu-viv-bin-mx6q: remove xlib undef macros
* Remove xlib udef macros
* Distrubuted header files rename some badly named X defines
but this breaks compilation on programs that expect this
macros.
* Bump PR
Change-Id: Iaedbb4506be5f4a641411d9888aa5338b574b7a4 Signed-off-by: Adrian Alonso <aalonso00@gmail.com>
Otavio Salvador [Tue, 22 Jan 2013 11:17:57 +0000 (09:17 -0200)]
gpu-viv-bin-mx6q: Upgrade to 1.1.0
This drops the DirectFB files while we do not have support for it and
ensure all packages need to choose the proper backend to link to as we
remove the generic link pointing to a default backend.
Change-Id: I57b79675ba9e8158d5c79c3455227dac164adc35 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>