Otavio Salvador [Wed, 13 Nov 2013 14:10:11 +0000 (12:10 -0200)]
linux-imx.inc: Drop extra sysroot staging
In commit 6a6735c (kernel: restore scripts in the sysroot), kernel
class has been change to include the scripts contents in sysroot so
making the sysroot staging not need so this code can be dropped.
Change-Id: Ic91672f7cc2b79a1269c1aaffae2fe7c0173408b Reported-by: Fabio Labruna <fabio@siddha.it> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 12 Nov 2013 18:13:57 +0000 (16:13 -0200)]
fsl-default-providers.inc: Make virtual/kernel assigment delayed
In 01851da (machine/*: Allow kernel provider override) the assigment
of preferred provider for virtual/kernel has been changed to a weak
assignment. This works for most of cases but has caused a regression
in some machines.
When a machine includes the imx-base.inc file, the assignment is done
and the intended setting of the machine does not take effect.
For example, in the below code fragment:
,----[ Wandboard board configuration fragment ]
| include conf/machine/include/imx-base.inc
| ...
| PREFERRED_PROVIDER_virtual/kernel ?= "linux-wandboard"
`----
the virtual/kernel provider would be 'linux-imx' as, at the time of
imx-base.inc inclusion, it was undefined. The expected behaviour would
be to use 'linux-imx' /only/ when no setting has been done.
The ??= operator solves this as it is used /only/ if no assignment is
done to the virtual/kernel provider in the end of the parsing. So it
gives the expected behaviour.
Change-Id: Iab73dcff8bef7f2df1064a0d5d04fd506a4c3144 Reported-by: Alfonso Tamés <alfonso@mantic.mx> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Change-Id: Icdd40a1686212275b67baede34bb45eb41be3cf1 Reported-by: Jānis Čoders <janis.coders@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 3 Oct 2013 14:07:22 +0000 (09:07 -0500)]
gst-fsl-plugin: Update to 3.0.9
This changes the gst-fsl-plugin.inc to include the 'uapi' into include
paths for kernels >= 3.10 and adds the need changes to proper build
for i.MX6 and i.MX6SL (which does not has VPU support).
Change-Id: I88d95390c966d37a52ec5b59aa4182c879e46444 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Tue, 1 Oct 2013 16:47:54 +0000 (11:47 -0500)]
libfslparser: Update to 3.0.9
Released with 3.10.9-1.0.0_alpha release
Change-Id: I056e872cfdf52ae54c8ff8e4bce8fe08494a6534 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Tue, 1 Oct 2013 16:46:18 +0000 (11:46 -0500)]
libfslvpuwrap: Update to 1.0.40
Released with 3.10.9-1.0.0_alpha
Change-Id: Ieb2aeb526d0bb8cda64449296ab247473e97b6c4 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Tue, 1 Oct 2013 17:22:08 +0000 (12:22 -0500)]
libfslcodec: Update to 3.0.9
Released with 3.10.9-1.0.0 release
Change-Id: I1fd4fd1e3eb7dad5196c58ccfa71501954ecae20 Signed-off-by: Lauren Post <lauren.post@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 5 Nov 2013 17:26:33 +0000 (15:26 -0200)]
imx-vpu (3.10.9-1.0.0): Fix build system to use OE build flags
The build system needs to allow override of CC and AR variables so OE
can pass proper flags for it; this includes a patch to allow it to
happen and fix builds in O.S. Systems autobuilder.
Change-Id: I974166244df3f743b21a00d705097602108449b2 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Mahesh Mahadevan [Wed, 30 Oct 2013 18:52:53 +0000 (18:52 +0000)]
linux-imx (2.6.35.3): Sync i.MX5 defconfig with the one in the kernel
Enable CONFIG_FEC_NAPI option. This was disabled earlier as it was causing
a crash during boot, this issue has been fixed by commit: <ef3b62c1bab6f8>
ENGR00266268 net: fec: napi cause system crash
Otavio Salvador [Sat, 19 Oct 2013 13:59:07 +0000 (10:59 -0300)]
linux-imx (3.0.35): epdc: Rename mxcfb_epdc_kernel.h to mxc_epdc.h
The goal here is to ensure we are able to use 3.10.9-1.0.0 BSP
packages and keep 3.0.35 kernel for boards that were not yet ported to
the 3.10-based kernel.
Change-Id: I4fa603d6bebad4e5712dcd1f8ec80a77c8487b12 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>