Lauren Post [Tue, 1 Oct 2013 16:38:21 +0000 (11:38 -0500)]
imx-lib: Upgrade to 3.10.9-1.0.0
This includes following main changes:
- imx-lib requires uapi header include for 3.10 kernel
- imx-lib no longer contains imx-vpu so all of imx-lib is LGPL
- libvpu is now in a separate component so eula-unpack inherit is not required
Also will not build libraries on mx6 only applicable to mx53
Previous kernels supported all the headers but 3.5.7 and 3.10.9
linux-imx do not inclue mx53 headers
Change-Id: Ia747ee6adf2c2e1a3425ae183ac9e3e0018c5a79 Signed-off-by: Lauren Post <lauren.post@freescale.com>
bc is the standard tool for multi-precision arithmetic. We switched
to Perl because akpm reported a hard-to-reproduce build hang, which
was very odd because affected and unaffected machines were all running
the same version of GNU bc.
Unfortunately switching to Perl required a really ugly "canning"
mechanism to support Perl < 5.8 installations lacking the Math::BigInt
module.
It was recently pointed out to me that some very old versions of GNU
make had problems with pipes in subshells, which was indeed the
construct used in the Makefile rules in that version of the patch;
Perl didn't need it so switching to Perl fixed the problem for
unrelated reasons. With the problem (hopefully) root-caused, we can
switch back to bc and do the arbitrary-precision arithmetic naturally.
Signed-off-by: H. Peter Anvin <hpa@zytor.com> Cc: Andrew Morton <akpm@linux-foundation.org> Acked-by: Sam Ravnborg <sam@ravnborg.org> Signed-off-by: Michal Marek <mmarek@suse.cz>
Change-Id: I09ec3629bf47aa4768bd21b0cfb1ca6fb6f5b18f Signed-off-by: Lucas Dutra Nunes <ldnunes@ossystems.com.br>
mx6sabre{auto,sd}: Change FDT loading address to avoid overlaping
The new FSL 3.10.9_1.0.0-alpha kernel requires more memory space and
with the previous loading address we had ovelap; change it for the
same address used in 2013.04-3.10.9_1.0.0-alpha U-Boot.
Tested-by: Daiane Angolini <daiane.angolini@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: I7bf08f962b7956ba6f4c645a1d3ed0188eb8ac0d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
fsl-eula-unpack: add FSL_EULA_FILE to vardepsexclude
FSL_EULA_FILE is defined with :=, which means it contains a full absolute path
to the layer directory. If this is allowed to make it into the task checksum,
it becomes impossible to use the shared states for these recipes without
having meta-fsl-arm in the exact same path in the filesystem it was in when
the sstate archives were created. Add FSL_EULA_FILE to
do_unpack[vardepsexclude].
Signed-off-by: Christopher Larson <kergoth@gmail.com>
Daiane Angolini [Wed, 23 Oct 2013 12:10:14 +0000 (12:10 +0000)]
alsa-state: Fix mx6 buffer time
When the buffer time is 512000, there are many audio
bitstreams can't be played, like 88.2k/6channles/16b
on sabre_SD and 96k/24b/6channels on sabre_auto.
Because ALSA can't calculate a suitable playback parameter
group (period_size, period_time, period_count, buffer_size,
buffer_count and so on) for these bitstreams.
So update the buffer time to 450000, which will fix the problem.
Change-Id: Idf2c59c3e5a2447f5d22e00d9f1b35ddb1a6fc4d Signed-off-by: Wang Shengjiu <B02247@freescale.com> Signed-off-by: Daiane Angolini <daiane.angolini@freescale.com>
Otavio Salvador [Fri, 18 Oct 2013 00:20:20 +0000 (21:20 -0300)]
u-boot-fslc: Update to 2013.10 based release
This updates the U-Boot fork to a 2013.10 based release and include
following changes on top of that:
4b2e99f mx6sabresd: Use mmcblk0 for CONFIG_MMCROOT 60fe20e mx28evk: Extend environment to easy write of NAND system e2f0dee mx28evk: Add 'nandboot' environment command 319cafc mx28evk: Use 512k for fdt partition to align it e92e0d3 imx_watchdog: do not soft-reset while watchdog init
Change-Id: Ib875751bdc66325fb8237c553529a2462bd76176 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Daiane Angolini [Mon, 14 Oct 2013 17:26:33 +0000 (14:26 -0300)]
alsa-state: Add default state values for mx5/mx6/mxs
In order to create asound.state:
* alsamixer - adjust any parameter (i.e. volume)
* alsactl store - copy the current alsa parameters to
/var/lib/alsa/asound.state
* use asound.state as new default value
Otavio Salvador [Wed, 9 Oct 2013 17:12:59 +0000 (14:12 -0300)]
u-boot-fslc: Fix license file checksum which has been changed in rc4
Change-Id: I107e8a9929b25dd1b6361912d2eed64ddfeb2a94 Reported-by: Philippe Mangaud <r49081@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
This includes U-Boot 2013.10-rc4 based version plus following change:
d97067b mx6sabresd: Use mmcblk0 for CONFIG_MMCROOT
The change is need, together with a linux-imx change for eMMC
registering number, to allow same U-Boot environment to be compatible
with Linux mainline and Linux FSL 3.0.35-4.1.0.
Change-Id: Id9937a7be74b5dd6a5848e81395193bfd13e67a9 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Eric BENARD [Mon, 7 Oct 2013 15:37:29 +0000 (15:37 +0000)]
qtbase: update mx5 & mx6 support
- remove 5.0.2 as meta-qt5 has 5.1.0 by default
- tested on i.MX53 with eglfs and xcb platforms. FPS is not very
good despite the GPU (~24 fps on 800x480)
- tested on i.MX6 with eglfs platform : performance is very good
(> 150 fps on 640x480)
Eric BENARD [Fri, 4 Oct 2013 20:58:59 +0000 (20:58 +0000)]
imx-base: provide right package for amd-gpu-bin if x11 is disabled
so that users don't have to customize it outside,
else we get very stranges errors like :
ERROR: Multiple versions of mesa are due to be built
(/scratch/openembedded-core/meta/recipes-graphics/mesa/mesa_git.bb
/scratch/openembedded-core/meta/recipes-graphics/mesa/mesa_9.1.6.bb).
Only one version of a given PN should be built in any given build.
You likely need to set PREFERRED_VERSION_mesa to select the correct
version or don't depend on multiple versions.
Otavio Salvador [Mon, 23 Sep 2013 16:23:16 +0000 (13:23 -0300)]
xf86-input-evdev: Drop PACKAGE_ARCH override
The Xorg 1.11.4 version has been dropped so we don't have an ABI
incompatible Xorg anymore and we now use the Xorg in sync with
OE-Core/Poky so this is not need anymore.
Change-Id: I8c9b1f4f233f41ff2644bd3c50c657148633e17d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sun, 22 Sep 2013 23:12:55 +0000 (20:12 -0300)]
fsl-dynamic-packagearch.bbclass: Dynamically set package architecture
This allow to easy reuse of binary packages among similar SoCs. The
usual use for this is to share SoC specific packages among different
boards. The class can be used to share GPU packages for i.MX53 boards
(as all them share the AMD GPU) and i.MX6 based boards (as all them
share Vivante GPU).
It inspects the database and identify if the package provides or
depends on one of subarch provided values and if it does, it sets the
PACKAGE_ARCH for MACHINE_SUBARCH value otherwise if it matches in the
machine specific filter, it sets it to MACHINE_ARCH.
This reduces the amount of packages we build, for example in case of
core-image-x11 we:
$ ls -l tmp/deploy/rpm/cortexa9hf_vfp_neon_mx6/*.rpm | wc -l
75
So we reuse 75 binaries; these would be build otherwise.
It being dynamically set or statically set it has following benefits:
* correctness: it is easier to ensure the system behaves as expected
* correctness for non-tracked recipes: new recipes, if depending on
virtual/kernel or GPU has the right architecture choosen, without a
.bbappend file for them
* safeness: non-expert users get a more adequate behavior as the
complexity of choosing the right architecture is simplified for them
* easy maintenance: it is easier for me, as maintainer, to maintain a
code which decides what to do than having hundreds of bbappend files
for it
Change-Id: Icb0a8060e862c8eeb166c45d1b39c40de07b01d8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sun, 22 Sep 2013 21:21:20 +0000 (18:21 -0300)]
imx-base.inc: Drop gst-fsl-plugin for vf60 SoC family
The vf60 SoC family does not has VPU so we shouldn't include the
gst-fsl-plugin. We fix it making an override for the SoC family as
done for 'mx3' one.
Change-Id: I2eadf16b67cafc8b91e4968b6108ce4c90f7e284 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sun, 22 Sep 2013 21:04:41 +0000 (18:04 -0300)]
imx-bootlets: Add deploy in sstate-cache
The right way to support deployment of files is inheriting the deploy
class so it is add to the sstate-cache. If we don't do that we end
redoing the build without a real need.
Change-Id: If0a0cdcfe8abf5b50b72a0c04c8d0d273ad1a91a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 21 Sep 2013 21:22:20 +0000 (18:22 -0300)]
imx-bootlets: Pass sysroot for compiler and linker
The build need to have the sysroot information explicit; the build
system of the imx-bootlets is horrible and does not reuse the values
provided by the environment so we need to force them.
This fixes a build failure in Crystal boards.
Change-Id: Ie5f0bd7271c90f219fdded320da579fa95ace159 Reported-by: Alexandre Belloni <alexandre.belloni@free-electrons.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 6 Sep 2013 17:14:43 +0000 (14:14 -0300)]
linux-imx (3.0.35): Update to 4.1.0 based branch
This updates the 3.0.35 to the 4.1.0 based BSP and remove the GPU
patches that has been already included there. At same time, it adds 6
new patches that include the need fixes for Yocto support and that
were not included by Freescale at their kernel branch.
Change-Id: Ia63d9e87a610e88c288d6be180f10b1eda399b1a Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
10b70ef usb: chipidea: move hw_phymode_configure() into probe a40d36c ARM: dts: imx53-qsb: Make USBH1 functional b9338d7 ARM: i.MX: remove sdma script address arrays from platform data d735486 dma: imx-sdma: Add ROM script addresses to driver 443a13a dma: imx-sdma: Use struct for driver data
Change-Id: Ice0cd5c60ba7bacfd72e6e54dc2519eb99ed16af Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 3 Sep 2013 18:57:34 +0000 (15:57 -0300)]
u-boot-fslc: Update to 2013.10-rc2
This patch updates the source against the 2013.10-rc2 release; this
also renames the u-boot-mxsboot recipe to u-boot-fslc-mxsboot so it
makes it clear that it is based on u-boot-fslc version.
The license checksum has changes as U-Boot now uses SPDX Unique
License Identifiers (eca3aeb Licenses: introduce SPDX Unique Lincense
Identifiers).
Change-Id: I761d92f3f1eaf419a238d544357293a3a953b7c8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 31 Aug 2013 20:58:55 +0000 (17:58 -0300)]
gpu-viv-bin-mx6q.inc: If Wayland and X11 are enabled, default to X11
Vivante GPU driver does not support use of Wayland AND X11 backends at
same time, so we need to choose one for default. We previously had
choose Wayland but many users are reporting problems as the usual
expected support is still X11 so we're moving the default for X11 now.
Change-Id: I30f092509f060d3bced358324a296b0f798da2cb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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: