Otavio Salvador [Wed, 17 Jul 2013 13:01:59 +0000 (10:01 -0300)]
xf86-video-imxfb-vivante: Upgrade to 3.5.7-1.0.0-alpha.2
The new Xorg driver does not need a DRI library anymore, so we remove
the xf86-dri-vivante recipe, but use the DRI code during the Xorg GPU
driver build.
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and
Evan Kotara <evan.kotara@freescale.com>.
Change-Id: I3f666da817fb158b201dc169ae7862b199216ddd Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 18 Jul 2013 15:19:54 +0000 (12:19 -0300)]
gpu-viv-bin-mx6q (3.5.7-1.0.0-alpha.2): Add Hard and Soft Float-Point releases
Include the 3.5.7-1.0.0-alpha.2 version of GPU and the mechanism to allow this
to be matched for compatibility. When adding a package of:
Hard Float-Point, set:
PACKAGE_FP_TYPE = "hardfp"
Soft Float-Point, set:
PACKAGE_FP_TYPE = "softfp"
This GPU driver includes following changes/improvements:
- GLES20 window mode performance is optimized for improved performance.
- glmark2-es2 crashed fixed as documented: Workaround [YOCTO: #4954]
so it outputs an error. A fix for it is being developed.
- glmark2-es2 performance in windowed mode. Fixes [YOCTO: 4950]
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and
Evan Kotara <evan.kotara@freescale.com>.
Change-Id: If71a18df232282862ecd551d96e627b975238134 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 23 Aug 2013 21:39:23 +0000 (18:39 -0300)]
gpu-viv-bin-mx6q: Add DirectFB backend package
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and
Evan Kotara <evan.kotara@freescale.com>.
Change-Id: I2f1bf93181e9f3246e6319f6e89f4fe842ca3da5 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 8 Jul 2013 23:46:35 +0000 (20:46 -0300)]
gpu-viv-bin-mx6q.inc: Fix soname of libGL library
The soname used by mesa is 1.2.0 while the Vivante binary lacked the
minor version so sometimes we might end fetching the wrong package
because of this.
Change-Id: I581c573f2b794923baa96829a483cd6d6f5393e0 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andy Voltz [Sat, 24 Aug 2013 19:37:06 +0000 (19:37 +0000)]
mqxboot: Add package
Provides an utility for Freescale Vybrid platforms which allows an MQX
image to be loaded into memory. It's used for launching an MQX
application from a running Linux kernel.
Change-Id: Ie6f2ee78546dd557434facbe347d8865560e29fb Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Andy Voltz [Sat, 24 Aug 2013 19:37:05 +0000 (19:37 +0000)]
libmcc: Add package
This provides a userspace library which can be used in Linux
applications on Freescale Vybrid Platforms. This library interfaces
with the kernel-module-mcc to pass information to MQX running on the
M4.
Change-Id: Ia90dc6cb1cd26745288cda5637ddb06a1ea8a6bd Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Andy Voltz [Sat, 24 Aug 2013 19:37:04 +0000 (19:37 +0000)]
kernel-module-mcc: Add package
This module is used for communication and synchronization between MQX
applications (running on the M4) and Linux (on A5) for Freescale
Vybrid platforms.
Change-Id: Id37530cc5d5a125e0ef9e3d0f52fce068fef7dff Signed-off-by: Andy Voltz <andy.voltz@timesys.com>
Eric Nelson [Mon, 19 Aug 2013 14:13:29 +0000 (14:13 +0000)]
qt4-embedded: Allow use of Qt Media Player in multi-headed system
Qt-embedded can be used on multiple screens by using environment variables
QWS_DISPLAY, QWS_MOUSE_PROTO, et cetera.
The gstreamer element mfw_v4lsink used to accelerate media playback on i.MX
devices can also be pointed at different displays through the 'device'
property, but the current acceleration patch doesn't have a mechanism for
setting the property, and always uses the compiled-in default.
This patch allows userspace startup code to override the default through
the use of the 'v4lsinkdev' environment variable.
Please refer to the Qt4-embedded documentation for proper usage of the
QWS_x environment variables and the Freescale Multimedia documentation
for descriptions of the various gstreamer elements.
A sequence of this for a secondary display might be this:
Otavio Salvador [Sat, 17 Aug 2013 22:00:36 +0000 (19:00 -0300)]
Rework machines to use dtb file in KERNEL_DEVICETREE variable
The linux-dtb.inc has been reworked to use the Linux kernel build
system to generate the DeviceTree binaries so now KERNEL_DEVICETREE
variable should has the /target/ name, not the file path. This patch
reworks following machines:
The libopencl-mx6 requires libclc-mx6 to proper run so we move it from
libopencl-mx6-dev package to libopencl-mx6.
Change-Id: I125a01022cf04f528a954cc4c1cbc826af79608e Reported-by: Sébastien Taylor <me@staylor.ca> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Fri, 19 Jul 2013 18:02:33 +0000 (13:02 -0500)]
u-boot-imx: Add version to 2013.04
Add some commits over 2013.04 that includes:
* Add CPU temperature support
* Add i2c support for imx6qsabresd
* New machine definition (i.e. imx6sauto, imx6dlauto)
* Update DDR script for imx6qsabre{auto,sd}
* Include machine variation (i.e. NOR, NAND, WEIM-NOR, SPI-NOR)
and more, in a total of 35 commits.
This version been tested for i.MX6 only, so it is compatible with
i.MX6 SoCs only.
Change-Id: I3ada0ec7332f3f5141263ec3ed166b448e8c3675 Signed-off-by: Lauren Post <lauren.post@freescale.com>
A new runtime dependency for libfslparser has been added. This is need
to be available at rootfs but no code links to it explicitly so
gst-fsl-plugin needs to made it explicit.
The file, used in SRC_URI, is from 3.5.7-1.0.0 BSP but its contents
explicitly say it is a 3.0.8 release so we use the source version to
avoid supporting different version from different kernel releases.
Change-Id: Id71d436af78dc62f620107d64633bf1ebbdaefef Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 16 Jul 2013 20:07:06 +0000 (17:07 -0300)]
libfslvpuwrap: Update to 1.0.38 version
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Jun
Zhu <R01007@freescale.com>.
The file, used in SRC_URI, is from 3.5.7-1.0.0 BSP but its contents
explicitly say it is a 1.0.38 release so we use the source version to
avoid supporting different version from different kernel releases.
Change-Id: Icc0d35a9694707915044a0e00245956876f54c72 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 16 Jul 2013 18:59:02 +0000 (15:59 -0300)]
libfslparser: Update to 3.0.8 version
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Jun
Zhu <R01007@freescale.com>.
The file, used in SRC_URI, is from 3.5.7-1.0.0 BSP but its contents
explicitly say it is a 3.0.8 release so we use the source version to
avoid supporting different version from different kernel releases.
Change-Id: I205bff7e44e043e4f949611c605b18192293c6e6 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 16 Jul 2013 18:24:42 +0000 (15:24 -0300)]
libfslcodec: Update to 3.0.8 version
This release includes support for Hard Float-Point and we then add
support for it to behave properly depending on the machine tune
choice.
One thing to note about this new release is it /removes/ AAC and OGG
codecs from the package.
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Jun
Zhu <R01007@freescale.com>.
The file, used in SRC_URI, is from 3.5.7-1.0.0 BSP but its contents
explicitly say it is a 3.0.8 release so we use the source version to
avoid supporting different version from different kernel releases.
Change-Id: Icdbd2ca686b86badaf1558f609b2beb911b01fe8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 16 Jul 2013 14:57:40 +0000 (11:57 -0300)]
imx-base.inc: Add fsl-alsa-plugins to i.MX6 recommended packages
This ensures the fsl-alsa-plugins is installed per default by images
but allow it to be manually skipped, using BAD_RECOMMENDATIONS, if need.
This change has been based on a change done in meta-fsl-bsp-release,
3.5.7 dylan branch, which originally add this in the packagegroup-fsl
by Jun Zhu <R01007@freescale.com>.
The inclusion of this, inside imx-base.inc, is preferred as it is
common for all i.MX6 machines and not something specific for demos
thus should be installed by default.
Change-Id: I209d389b4e0a62b89b4fdede56627e0ec528df87 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 15 Jul 2013 22:58:31 +0000 (19:58 -0300)]
fsl-alsa-plugins: Add 1.0.25 version
This change has been based on changes done in meta-fsl-bsp-release,
3.5.7 dylan branch, by Lauren Post <lauren.post@freescale.com> and Jun
Zhu <R01007@freescale.com>.
We are not updating to 3.5.7-1.0.0 package as a compare of both
sources show only autoconf generated changes (which are useless as we
end regenerating them anyway). The diffstat is:
Otavio Salvador [Mon, 29 Jul 2013 16:05:07 +0000 (13:05 -0300)]
gpu-viv-bin-mx6q.inc: Ensure DRI module is add for Wayland + X11 case
When Wayland and X11 distro features are enabled, ensure DRI module is
installed. Fixes a regression introduced by 20d7652 (gpu-viv-bin-mx6q:
Adding support to install Wayland GPU libs).
Change-Id: I0b515641edee6a172469f65068f9de837b592c87 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Eric BENARD [Mon, 10 Jun 2013 13:35:07 +0000 (13:35 +0000)]
qt5: add mx5 and mx6 support
- this allow to build qt5 with OpenGL ES support for i.MX5 and i.MX6
- tested on i.MX51, i.MX53 and i.MX6Q
- X11 support is not yet tested so we don't change the core settings
when x11 is in DISTRO_FEATURES
Change-Id: Ie9c6b25cafe20ba0a3dc8ab4c6e6cdac4eee3f0d Signed-off-by: Eric Bénard <eric@eukrea.com>
Otavio Salvador [Fri, 26 Jul 2013 16:39:55 +0000 (13:39 -0300)]
gpu-viv-bin-mx6q.inc: Add libEGL.so in libegl-mx6
There're examples, provided by Freescale, which links wrongly against
the .so file (instead of the .so.1 one as expected) and this cannot be
fixed without source code.
We workaround this for now deploying the libEGL.so file inside
libegl-mx6 binary.
Change-Id: Ia7b36ee18ca42b374c8d6a8df6424d18d6c89278 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Tested-by: Eric Nelson <eric.nelson@boundarydevices.com>
gpu-viv-bin-mx6q: Adding support to install Wayland GPU libs
This patch installs wayland GPU libs if the DISTRO_FEATURES contains
wayland variable. If both X11 and wayland are present in DISTRO_FEATURES
then wayland is picked as the default backend.
This updates the U-Boot for 2013.07 final release and adds a single
patch on top of it, to fix Wandboard splash alignment.
The included changes are:
b899fa3 arm: at91sam9n12: change EBI IO to high drive mode 8b415f7 ext4fs: le32_to_cpu() used on a 16-bit field 50ffc3b fs/ext4: fix log2blksz un-initialized error, by cacaulating its value from blksz 62c175f Prepare v2013.07 cba5372 wandboard: Use splash image at screen center by default
Change-Id: I03f41014c1303afa9caa6ad26b89209e8bc63920 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The 2013.07-rc3 had a regression in network support for some i.MX6
boards, fixed by 9ba30f6 (phy: fix 10/100Mbps operation on
1Gbps-capable links), and instability in Nitrogen6X boards, fixed by fdf86c2 (ddr cfg: DRAM_RESET needs 0x00020030).
Change-Id: Id9aac5d3f2efc27dbf0420d1eda500ef373ea25f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 20 Jul 2013 21:09:00 +0000 (18:09 -0300)]
mesa-demos: set PACKAGE_ARCH when building for i.MX6 SoCs
There are differences in the provided API by Vivante, which has been
fixed by a patch being applied for all i.MX6 SoCs, however the package
hadn't been set machine specific when it has been done. Fix it.
Change-Id: I886d1e3281fe978a19764bf82367dd7e9e24b4a8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>