]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
9 years agou-boot-qoriq: Add linux/compiler-gcc5.h to fix builds with gcc5
Ting Liu [Tue, 28 Jul 2015 08:51:41 +0000 (16:51 +0800)]
u-boot-qoriq: Add linux/compiler-gcc5.h to fix builds with gcc5

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: correct PV
Ting Liu [Tue, 28 Jul 2015 10:00:44 +0000 (18:00 +0800)]
u-boot-qoriq: correct PV

u-boot-qoriq was upgraded to 2015.01 now. Use _append to not override
the PV in recipe.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopenssl-1.0.1i: s/inline/static/ to fix gcc5.2 issue
Ting Liu [Tue, 28 Jul 2015 07:04:43 +0000 (15:04 +0800)]
openssl-1.0.1i: s/inline/static/ to fix gcc5.2 issue

Fix the following error:
| ../libcrypto.so: undefined reference to `spcf_bn2bin'
| ../libcrypto.so: undefined reference to `spcf_bn2bin_ex'
| collect2: error: ld returned 1 exit status
| make[2]: *** [link_app.gnu] Error 1

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoREADME: Rework to be product line agnostic
Otavio Salvador [Wed, 29 Jul 2015 02:48:34 +0000 (23:48 -0300)]
README: Rework to be product line agnostic

This rework the text to be product line agnostic and offer the general
guidance on how to contribute for the layer.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofsl-alsa-plugins: Add mx7 to COMPATIBLE_MACHINE
Lauren Post [Thu, 16 Jul 2015 19:23:01 +0000 (14:23 -0500)]
fsl-alsa-plugins: Add mx7 to COMPATIBLE_MACHINE

Add the new MX7 SoC family in COMPATIBLE_MACHINE.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoalsa-state: Add mx7 support with wm8960 audio
Lauren Post [Thu, 16 Jul 2015 19:22:43 +0000 (14:22 -0500)]
alsa-state: Add mx7 support with wm8960 audio

Include the i.MX 7Dual alsa-state configurations.
The mx7 is a new i.MX SoC family provided in the
3.14.28-7D_alpha release and upstreamed with the
3.14.38-6QP_Beta release.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugins: Upgrade to 4.0.5 version
Lauren Post [Fri, 24 Jul 2015 15:40:50 +0000 (10:40 -0500)]
gst1.0-fsl-plugins: Upgrade to 4.0.5 version

Upgrade to 4.0.5 version released in 3.14.38-6QP_beta release.

Add the new MX7 SoC family in COMPATIBLE_MACHINE.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-vpu: Upgrade to 5.4.30 version
Lauren Post [Thu, 16 Jul 2015 19:22:48 +0000 (14:22 -0500)]
imx-vpu: Upgrade to 5.4.30 version

Released with 3.14.38-6QP_Beta release.

Fixes for no output after decoding small jpg in ring buffer mode

License updated to 2015.06 v8 so updated License checksum.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-test: Upgrade to 5.0 version
Lauren Post [Thu, 16 Jul 2015 19:22:47 +0000 (14:22 -0500)]
imx-test: Upgrade to 5.0 version

Released with 3.14.38-6QP_beta release.

This version change creates independence from BSP version.
This will avoid confusion on future BSP updates that don't include
imx-test changes.

- Include support for MX7
- Rework makefiles for legacy machines to avoid rework with new chips.
- DCIC fix for system hangs
- MMDC support for 6QP and revision checks and higher granularity with ms.
- EPDC deprecate old driver and add v2 unit test - remove patches for legacy.
- V4L2 fixes for v4l2_buffer user pointer

Create the mx7 SoC family to the COMPATIBLE_MACHINE in recipe.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-lib: Upgrade to 5.0 version
Lauren Post [Thu, 16 Jul 2015 19:22:46 +0000 (14:22 -0500)]
imx-lib: Upgrade to 5.0 version

Released with 3.14.38-6QP_beta release.

Change version to be independent of BSP version.  This limits
confusion on future BSP updates that do not include imx-lib updates

Add i.MX 7D support for platforms, machines and makefiles.
Change LICENSE Checksum to point to a full LGPL license.

Add the mx7 SoC family to the COMPATIBLE_MACHINE in recipe.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-kobs: Upgrade to 5.0 version
Lauren Post [Thu, 16 Jul 2015 19:22:45 +0000 (14:22 -0500)]
imx-kobs: Upgrade to 5.0 version

Released with 3.14.38-6QP_beta release.

Use a different versioning schema based on package versioning
instead of BSP version. This way, if a new BSP version does
not bump this package, we can keep this package unchanged as well.

To avoid conflicts with QorIQ adding COMPATIBLE machines including mx7
support.  This software is i.MX specific so should be limited to i.MX.

Add fixes for maximum ecc strength for each platform.
Add mx7 boot config support.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofirmware-imx: Upgrade to 5.0 version
Lauren Post [Thu, 16 Jul 2015 19:22:44 +0000 (14:22 -0500)]
firmware-imx: Upgrade to 5.0 version

Released with 3.14.38-6QP_Beta release.

Use a different versioning schema based on package versioning
instead of BSP version. This way, if a new BSP version does
not bump this package, we can keep this package unchanged as well.

Freescale license upgraded to 2015.06 v8 so checksum is updated

VPU firmware upgraded to v3.1.1_r46067
- Low Latency fixes for H.264 encoder
- Wrong frame number fix for H.264 decoder
- Deocde failure fix for H.264 decoder with multi-SPS/PPS headers

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimage_types_fsl: Add support for mx7 image generation
Lauren Post [Thu, 16 Jul 2015 19:22:42 +0000 (14:22 -0500)]
image_types_fsl: Add support for mx7 image generation

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base: Add mx7 support to U-Boot, MACHINE filter and DEFAULT_TUNE
Lauren Post [Thu, 16 Jul 2015 19:22:37 +0000 (14:22 -0500)]
imx-base: Add mx7 support to U-Boot, MACHINE filter and DEFAULT_TUNE

Add the mx7 settings for U-boot, MACHINE and DEFAULT_TUNE.

MX7 is a new i.MX SoC Family created with the 3.14.28-7D_alpha release
and upstreamed with the 3.14.38-6QP_beta release.

i.MX 7Dual is a CortexA7 ARM core so requires different DEFAULT_TUNE
however it does build with the cortexa9 but not as optimized as it is with
the cortexa7 toolchain.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomfgtool-initramfs-image.bbclass: Add f2fs feature option
Otavio Salvador [Mon, 27 Jul 2015 18:42:57 +0000 (15:42 -0300)]
mfgtool-initramfs-image.bbclass: Add f2fs feature option

The f2fs feature allows the use of Flash-Friendly File System
during the installation.

The feature is disabled by default as the f2fs-tools is offered by
meta-filesystem layer which shouldn't be made as a hard dependency
of meta-fsl-arm.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopackagegroup-fsl-mfgtool: Add f2fs feature
Otavio Salvador [Mon, 27 Jul 2015 18:40:40 +0000 (15:40 -0300)]
packagegroup-fsl-mfgtool: Add f2fs feature

The f2fs feature allow the use of Flash-Friendly File System for
installation.

The feature is added as a bbappend file dynamically enabled if
meta-filesystem is available.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopackagegroup-fsl-mfgtool: Add e2fsprogs-e2fsck in extfs feature
Otavio Salvador [Mon, 27 Jul 2015 18:36:03 +0000 (15:36 -0300)]
packagegroup-fsl-mfgtool: Add e2fsprogs-e2fsck in extfs feature

When 'extfs' support is enabled, e2fsprogs-e2fsck should be included
as well so filesystem consistency can be executed during the
installation process.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomesa-demos: Fix so patches only install for SoC with GPU
Lauren Post [Fri, 24 Jul 2015 15:40:48 +0000 (10:40 -0500)]
mesa-demos: Fix so patches only install for SoC with GPU

Only install patches for SoC with a GPU.  Future i.MX 6UltraLite
does not have a GPU.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomesa: Support for mx6 without GPUs
Lauren Post [Fri, 24 Jul 2015 15:40:47 +0000 (10:40 -0500)]
mesa: Support for mx6 without GPUs

Fix to support future mx6 i.MX 6UltraLite which does not have a
GPU.  This SoC will use mesa so mesa changes before should be more
SoC specific to allow future mx6 SoC without GPU to use mesa.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoudev-rules-qoriq: Make recipe QorIQ specific
Otavio Salvador [Thu, 23 Jul 2015 21:10:39 +0000 (18:10 -0300)]
udev-rules-qoriq: Make recipe QorIQ specific

The recipe shouldn't be used for non-QorIQ SoCs so this should have
the COMPATIBLE_MACHINE properly set.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoMove meta-fsl-ppc content to layer root
Otavio Salvador [Thu, 23 Jul 2015 19:02:25 +0000 (16:02 -0300)]
Move meta-fsl-ppc content to layer root

This commit is just a rename of all contents of meta-fsl-ppc
subdirectory to this layer's root, merging the contents of common
files, subsequent changes are based on top of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-rt: Add patch for imx-sdma CPU stall issue
Dominic Sacré [Mon, 20 Jul 2015 21:00:26 +0000 (23:00 +0200)]
linux-imx-rt: Add patch for imx-sdma CPU stall issue

Work around CPU stalls in the imx-sdma driver by replacing spinlocks
with raw spinlocks. This prevents preemption during the spinlock's
critical section, as is the case on non PREEMPT_RT kernels.

Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogtk+3: Disable Wayland backend when building for X11
Otavio Salvador [Mon, 20 Jul 2015 22:29:02 +0000 (19:29 -0300)]
gtk+3: Disable Wayland backend when building for X11

The X11 backend of i.MX5 and i.MX6 does not support the Wayland
rendering and causes GTK+3 configure script to fail.

When building for X11 we now disable the Wayland backend allowing the
configure to proceed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-lib (11.09.02): Override license checksum file
Otavio Salvador [Fri, 17 Jul 2015 14:19:07 +0000 (11:19 -0300)]
imx-lib (11.09.02): Override license checksum file

The imx-lib release, used in i.MX5, uses the old header file to check
for the license causing a build error:

ERROR: Function failed: imx-lib: LIC_FILES_CHKSUM points to an invalid file:
    .../tmp/work/imx53qsb-poky-linux-gnueabi/imx-lib/11.09.02-r0/imx-lib-11.09.02/COPYING-LGPL-2.1

As the new releases will use the LGPL-2.1 license file we add the
override for the old release to avoid this build failure.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopointercal: Update with panel type in xinput file
Lauren Post [Thu, 16 Jul 2015 19:22:52 +0000 (14:22 -0500)]
pointercal: Update with panel type in xinput file

This fix was required to fix touch calibration issues on i.MX6 boards
using touch panels.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibfslparser: Upgrade to 4.0.5 version
Lauren Post [Thu, 16 Jul 2015 19:23:00 +0000 (14:23 -0500)]
libfslparser: Upgrade to 4.0.5 version

Released with 3.14.38-6QP_beta release.
Upgrade to 4.0.5 version.
Add the new MX7 SoC family in COMPATIBLE_MACHINE.
License updated to 2015.06 v8 so update license checksum.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibfslcodec: Upgrade to 4.0.5 version
Lauren Post [Thu, 16 Jul 2015 19:22:59 +0000 (14:22 -0500)]
libfslcodec: Upgrade to 4.0.5 version

Released with 3.14.38-6QP_beta release.
Upgrade to 4.0.5 version.
Add the new MX7 SoC family in COMPATIBLE_MACHINE.
License updated to 2015.06 v8 so update license checksum.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6sxsabresd: Remove UBOOT_ENTRYPOINT
Lauren Post [Thu, 16 Jul 2015 19:22:41 +0000 (14:22 -0500)]
imx6sxsabresd: Remove UBOOT_ENTRYPOINT

UBOOT_ENTRYPOINT set in imx-base.inc for i.MX 6SoloX.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6sxsabreauto: Fix nand support using ubifs storage
Lauren Post [Thu, 16 Jul 2015 19:22:39 +0000 (14:22 -0500)]
imx6sxsabreauto: Fix nand support using ubifs storage

Ubifs storage must be added for nand boot configurations.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Upgrade to a 2015.07-based fork
Otavio Salvador [Wed, 15 Jul 2015 00:40:51 +0000 (21:40 -0300)]
u-boot-fslc: Upgrade to a 2015.07-based fork

This upgrades the FSL Community fork to a 2015.07-based one. The
following patches are applied on top of the original source code:

31851bd wandboard: Drop revision specific DeviceTree support
a31d74b mx6sabresd: Enable video interfaces in bootargs
9aaf17f Revert "embestmx6boards: convert to use config_distro_bootcmd.h"
05c69ef wandboard: Changed mmcroot variable so kernel 3.10.31 boots
3e86dfb iMX6: Change mmcroot to use fixed mmc block index for USDHC
44ffc6d mx6sabresd: Use mmcblk0 for CONFIG_MMCROOT
7767edb embestmx6boards: Change default bootenv configuration
bebd6c7 mx6sabresd: Use LDO dtb file until LDO bypass support is added
8a82d9d mx6slevk: Use LDO dtb file until LDO bypass support is added
6f3f04e thermal: imx_thermal: fix busywait if IMX6 temp <0C
a978050 tools: mkimage: fix imximage header size
8788cb7 i2c: fix vf610 support
a7fd9dd net: fec_mxc: remove useless struct nbuf
823ba31 iMX: adding parsing to hab_status command
0210211 imx: mx6 add i2c4 clock support for i.MX6SX
8e45722 imx: mx6 remove duplicated enable_cspi_clock
bf639dd imx6: standardise OCOTP and fuse config to mx6_common
4d4c88c thermal:imx_thermal: enter busywait cooling loop when over max CPU temp
c23cd60 mx53loco: Use generic 'load' command instead of 'fatload'

Change-Id: I7215c00328e6110fb40effa0514a28d076bbedf0
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx28evk: Remove perf override
Otavio Salvador [Mon, 20 Jul 2015 21:24:26 +0000 (18:24 -0300)]
imx28evk: Remove perf override

As we are using a newer kernel by default now, the perf override can
be removed.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomxs-base.inc: Change i.MX28 for Linux-mainline by default
Otavio Salvador [Mon, 20 Jul 2015 21:22:29 +0000 (18:22 -0300)]
mxs-base.inc: Change i.MX28 for Linux-mainline by default

As the codec support, for GStreamer, has been removed from master
branch there is no reason to keep using the old kernel for i.MX28
anymore. This moves it for the Linux FSLC fork which bases on
mainline.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocryptodev: update to 1.7 plus FSL patches
Cristian Stoica [Fri, 17 Jul 2015 09:29:44 +0000 (17:29 +0800)]
cryptodev: update to 1.7 plus FSL patches

To avoid build issue when Poky upgrades cryptodev, keep a copy
of cryptodev-{linux,modules,tests) recipe in this repository.

Based on the upstream, this includes the following FSL patches:
0001-add-support-for-composite-TLS10-SHA1-AES-algorithm-o.patch
0002-add-support-for-COMPAT_CIOCAUTHCRYPT-ioctl.patch
0003-PKC-support-added-in-cryptodev-module.patch
0004-Compat-versions-of-PKC-IOCTLs.patch
0005-Asynchronous-interface-changes-in-cryptodev.patch
0006-ECC_KEYGEN-and-DLC_KEYGEN-supported-in-cryptodev-mod.patch
0007-RCU-stall-fixed-in-PKC-asynchronous-interface.patch
0008-Add-RSA-Key-generation-offloading.patch
0009-Fixed-compilation-error-of-openssl-with-fsl-cryptode.patch
0010-add-support-for-composite-TLS10-SHA1-3DES-algorithm-.patch
0011-add-support-for-TLSv1.1-record-offload.patch
0012-add-support-for-TLSv1.2-record-offload.patch
0013-clean-up-code-layout.patch
0014-remove-redundant-data-copy-for-pkc-operations.patch
0015-fix-pkc-request-deallocation.patch
0016-add-basic-detection-of-asym-features.patch
0017-remove-dead-code.patch
0018-fix-compat-warnings.patch
0019-fix-size_t-print-format.patch
0020-fix-uninitialized-variable-compiler-warning.patch

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopenssl: add sdk-v1.8 patches
Cristian Stoica [Fri, 17 Jul 2015 09:29:43 +0000 (17:29 +0800)]
openssl: add sdk-v1.8 patches

The imports the following changes:
eng_cryptodev: extend TLS offload with+ 3des_cbc_hmac_sha1
eng_cryptodev: add support for TLSv1.1 record  offload
eng_cryptodev: add support for TLSv1.2 record offload
cryptodev: drop redundant function
cryptodev: do not zero the buffer before use
cryptodev: clean-up code layout
cryptodev: do not cache file descriptor in 'open'
cryptodev: put_dev_crypto should be an int
cryptodev: simplify cryptodev pkc support code

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopenssl: rewrite recipe to remove code duplication
Cristian Stoica [Fri, 17 Jul 2015 09:29:42 +0000 (17:29 +0800)]
openssl: rewrite recipe to remove code duplication

- the package is now based on upstream tarball instead of Freescale git
  repository
- Freescale cryptodev patches are applied only on target package to
  avoid build errors

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopenssl: remove native dependency on cryptodev
Cristian Stoica [Fri, 17 Jul 2015 09:29:41 +0000 (17:29 +0800)]
openssl: remove native dependency on cryptodev

The original intent of the code was good but the comment was missleading
since the cryptodev dependency was always set, even for the native package.

Dependency on acceleration engines (including cryptodev) should be disabled
for the native package to reduce the risk of incorrect builds and other
runtime issues. In particular, the chain of dependencies for such a high
profile crypto package should be minimal to help with code audit.

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoopenssl: fix the packaging qa error
Zhenhua Luo [Fri, 17 Jul 2015 09:29:40 +0000 (17:29 +0800)]
openssl: fix the packaging qa error

ERROR: QA Issue: non debug package contains .debug directory:
 openssl-engines path
 .../packages-split/openssl-engines/usr/lib64/engines/.debug/libcswift.so
ERROR: QA run found fatal errors. Please consider fixing them.

Signed-off-by: Zhenhua Luo <zhenhua.luo@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agodpa-offload: add recipe
Ting Liu [Fri, 17 Jul 2015 09:29:03 +0000 (17:29 +0800)]
dpa-offload: add recipe

The user space DPAA offloading drivers were splited from the old usdpaa.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: add recipe
Ting Liu [Fri, 17 Jul 2015 09:29:02 +0000 (17:29 +0800)]
usdpaa-apps: add recipe

The usdpaa applications were splitted from the old usdpaa repository.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa: update to revision 3b07179
Ting Liu [Fri, 17 Jul 2015 09:29:01 +0000 (17:29 +0800)]
usdpaa: update to revision 3b07179

usdpaa repository was splited into usdpaa (drivers), dpa-offload (drivers).
and usdpaa-apps.
This recipe now stores only usdpaa drivers. Remove unrelated bits.

New git commits:
3b07179 fsl-usdpaa: Add spin_lock_destroy
e65a5e6 qbman: Fix qman_ceetm_cscn_dcp_get()
1eda3c8 qbman: Update ceetm with some user friendly APIs
991a6fe Add COPYING file
26eb74a qbman: Agressively clean QMan portals before use
e00f58f standalone-env: Added support for T1023, T1024 boards.
79eaaf1 fman: Optimize implementation of "fm_mac_config_loopback" function
0c95b1f include: install needed header files
a7c1d67 Rename source directory from 'drivers' to 'src'
6ffdb3e lib/mm: Relocate common library from apps
2858d19 standalone-env: Remove application exports
b298439 Relocate test directory to usdpaa-apps
40ae339 apps/libs: Relocate to usdpaa-apps
a34d0b3 srio_ipsec_offload: Relocate to usdpaa-apps
7018460 dsp_dpa: Relocate to usdpaa-apps
935dfb0 dpa_offload: Relocate driver to own repository
8364e4f ppac: Relocate to usdpaa-apps
f955e2d test_netcfg: Relocate to usdpaa-apps
a64f8b1 sra: Relocate to usdpaa-apps
bbb8ea4 simple_proto: Relocate to usdpaa-apps
5aaee69 simple_crypto: Relocate to usdpaa-apps
6fdd64a rmu: Relocate to usdpaa-apps
51a3580 reflector: Relocate to usdpaa-apps
2bbf219 reassembly_demo: Relocate to usdpaa-apps
f6c34d5 qbman_speed: Relocate to usdpaa-apps
b97246d pme_loopback: Relocate to usdpaa-apps
c96ce65 lpm-ipfwd: Relocate to usdpaa-apps
f689a86 ipsec_offload: Relocate to usdpaa-apps
b501eed ipsecfwd: Relocate to usdpaa-apps
a6f6f7e ipfwd: Relocate to usdpaa-apps
c9020e1 hello_reflector: Relocate to usdpaa-apps
bfe0a37 fragmentation_demo: Relocate to usdpaa-apps
6a52158 fra: Relocate to usdpaa-apps
d75cb94 dma_test: Relocate to usdpaa-apps
86f15cc cpu_hotplug: Relocate to usdpaa-apps
8dcb426 classifier_demo: Relocate to usdpaa-apps
5e47efe ceetm_demo: Relocate to usdpaa-apps
b05c038 capwap: Relocate to usdpaa-apps
1c1a546 capwap: remove dependency on internal/compat
f87542d srio_ipsec_offload: remove dependency on internal/compat
fc0d7f9 pme_loopback: remove dependency on internal/compat
fd82904 libfslcrypto: fix setting of FD field
51dddc7 Add FMAN API fm_mac_conf_max_frame_len
89f9869 Add FMAN API fm_mac_config_loopback
2393a84 Add FMAN API fm_mac_set_rx_ignore_pause_frames
450b89e Adding FMAN API fm_mac_add_exact_match_mac_addr and fm_mac_config
47fced1 Adding FMAN API fm_mac_set_promiscuous
8c77b68 simple_crypto: add support for block cipher algorithm mode

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofm-ucode: update to revision 2827f00
Ting Liu [Fri, 17 Jul 2015 07:17:52 +0000 (15:17 +0800)]
fm-ucode: update to revision 2827f00

This import the following changes:
2827f00 fm-ucode: release 106_x_15 version

Also add the reglex for new t1023/t1040/t1042 boards.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agohv-cfg: update to revision b9287b0
Ting Liu [Fri, 17 Jul 2015 07:17:51 +0000 (15:17 +0800)]
hv-cfg: update to revision b9287b0

This imports the following changes:
b9287b0 t1040d4rdb: initial scenario
d3aa1b2 experimental/t4240rdb: initial hv-1p scenario
b94307e experimental/t4240qds: add missing devices
e72637b t4240qds: add missing fman1 sgmii port
6a0e0ff drop restriction of just one portal for kernel eth driver
c41b33b t2080rdb: Use MAC9 as shared-mac interface instead of MAC1
f020964 t1024qds: initial hv-2p scenario
fd7f4d0 t1024rdb: initial hv-2p scenario
f8c3cca t1042rdb: initial hv-2p scenario

As t1042rdb/t1040rdb are not supported, update config for new t1042d4rdb
and t1040d4rdb.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-fsl: upgrade from v1.7 to v2.2.0
Ting Liu [Fri, 17 Jul 2015 07:17:50 +0000 (15:17 +0800)]
qemu-fsl: upgrade from v1.7 to v2.2.0

Update the supported QEMU version from v1.7 to v2.2.0 and include the Freescale patches on top of this.

Baseline: http://git.qemu.org/?p=qemu.git;a=tag;h=refs/tags/v2.2.0
Freescale patches:
00ac004 QEMU: PPC: Support for VFIO_IOMMU_DUMMY.
58d1cc4 QEMU: PPC: Identity mapped memory support for qemu.
07d4f5f Qemu: PPC: e500: Move CCSR and MMIO space to upper end of address space
a7aee41 QEMU: PPC: e500: Move CCSR definition to params fbcc0ca vfio-pci: add direct pci device assignment for fsl powerpc
536df03 Update Linux Headers from 3.18
ee367e4 QEMU:Add support for e5500 core revision v102.1 present on T1024 SOC.
b0c2f44 hw/arm/virt: Use memory_region_allocate_system_memory to allocate memory b2f233e PPC: add e6500 cpu class 694c39a QEMU: PPC: set default cpu type to be 'host'
1572872 QEMU: PPC: specify PVRs for all e500 cores

Also fix indent.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023: name DPAA FMan eth port as fmN-macN
Ting Liu [Fri, 17 Jul 2015 07:17:49 +0000 (15:17 +0800)]
t1023: name DPAA FMan eth port as fmN-macN

Apply the rule which is the same with t1024 and all e6500 boards.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040rdb[-64b]: remove as it is not supported
Ting Liu [Fri, 17 Jul 2015 07:17:48 +0000 (15:17 +0800)]
t1040rdb[-64b]: remove as it is not supported

The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.

But t1040d4rdb which has the same soc with t1040rdb is supported.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042rdb-pi[-64b]: remove as it is not supported
Ting Liu [Fri, 17 Jul 2015 07:17:47 +0000 (15:17 +0800)]
t1042rdb-pi[-64b]: remove as it is not supported

The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.

But t1042d4rdb which has the same soc with t1042rdb-pi is supported.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042rdb[-64b]: remove as it is not supported
Ting Liu [Fri, 17 Jul 2015 07:17:46 +0000 (15:17 +0800)]
t1042rdb[-64b]: remove as it is not supported

The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.

But t1042d4rdb which has the same soc with t1040rdb is supported.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1024qds[-64b]: remove as it is not supported
Ting Liu [Fri, 17 Jul 2015 07:17:45 +0000 (15:17 +0800)]
t1024qds[-64b]: remove as it is not supported

The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.

But t1024rdb which has the same soc with t1024qds is supported.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb[-64b]: add machine files
Ting Liu [Fri, 17 Jul 2015 07:17:44 +0000 (15:17 +0800)]
t1042d4rdb[-64b]: add machine files

The T1042D4 Reference Design Board (RDB) system is a hardware board
featuring the Freescale QorIQ T1042 processor with two Power e5500 cores.

T1042D4RDB board Overview
-------------------------------------
- SERDES Connections, 8 lanes supporting:
        - PCI
        - SGMII
        - SATA 2.0
        - QSGMII(only for T1040D4RDB)
    - DDR Controller
        - Supports rates of up to 1600 MHz data-rate
        - Supports one DDR4 UDIMM
    -IFC/Local Bus
        - NAND flash: 1GB 8-bit NAND flash
        - NOR: 128MB 16-bit NOR Flash
    - Ethernet
        - Two on-board RGMII 10/100/1G ethernet ports.
        - PHY #0 remains powered up during deep-sleep
    - CPLD
    - Clocks
        - System and DDR clock (SYSCLK, ¡°DDRCLK¡±)
        - SERDES clocks
    - Power Supplies
    - USB
        - Supports two USB 2.0 ports with integrated PHYs
        - Two type A ports with 5V@1.5A per port.
    - SDHC
        - SDHC/SDXC connector
    - SPI
        - On-board 64MB SPI flash
    - I2C
        - Devices connected: EEPROM, thermal monitor, VID controller
    - Other IO
        - Two Serial ports
        - ProfiBus port

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb[-64b]: add machine files
Ting Liu [Fri, 17 Jul 2015 07:17:43 +0000 (15:17 +0800)]
t1040d4rdb[-64b]: add machine files

The T1040D4 Reference Design Board (RDB) system is a hardware board
featuring the Freescale QorIQ T1040 processor with two Power e5500 cores.

T1040D4RDB board Overview
-------------------------------------
- SERDES Connections, 8 lanes supporting:
        - PCI
        - SGMII
        - SATA 2.0
        - QSGMII(only for T1040D4RDB)
    - DDR Controller
        - Supports rates of up to 1600 MHz data-rate
        - Supports one DDR4 UDIMM
    -IFC/Local Bus
        - NAND flash: 1GB 8-bit NAND flash
        - NOR: 128MB 16-bit NOR Flash
    - Ethernet
        - Two on-board RGMII 10/100/1G ethernet ports.
        - PHY #0 remains powered up during deep-sleep
    - CPLD
    - Clocks
        - System and DDR clock (SYSCLK, ¡°DDRCLK¡±)
        - SERDES clocks
    - Power Supplies
    - USB
        - Supports two USB 2.0 ports with integrated PHYs
        - Two type A ports with 5V@1.5A per port.
    - SDHC
        - SDHC/SDXC connector
    - SPI
        - On-board 64MB SPI flash
    - I2C
        - Devices connected: EEPROM, thermal monitor, VID controller
    - Other IO
        - Two Serial ports
        - ProfiBus port

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb[-64b]: add machine files
Ting Liu [Fri, 17 Jul 2015 07:17:42 +0000 (15:17 +0800)]
t1023rdb[-64b]: add machine files

The T1023 Reference Design Board (RDB) system is a hardware board
featuring the Freescale QorIQ T1023 processor with two Power e5500
cores and speed up to 1.4 GHz.

T1023RDB board Overview
-----------------------
- CoreNet fabric supporting coherent and noncoherent transactions with
  prioritization and bandwidth allocation
- Memory: 2GB Micron MT40A512M8HX unbuffered 32-bit fixed DDR4 without ECC
- Accelerator: DPAA components consist of FMan, BMan, QMan, DCE and SEC
- Ethernet interfaces:
  - one 1G RGMII port on-board(RTL8211F PHY)
  - one 1G SGMII port on-board(RTL8211F PHY)
  - one 2.5G SGMII port on-board(AQR105 PHY)
- PCIe: Two Mini-PCIe connectors on-board.
- SerDes: 4 lanes up to 10.3125GHz
- NOR:  128MB S29GL01GS110TFIV10 Spansion NOR Flash
- NAND: 512MB S34MS04G200BFI000 Spansion NAND Flash
- eSPI: 64MB S25FL512SAGMFI010 Spansion SPI flash.
- USB: one Type-A USB 2.0 port with internal PHY
- eSDHC: support SD/MMC card and eMMC on-board
- 256Kbit M24256 I2C EEPROM
- RTC: Real-time clock DS1339 on I2C bus
- UART: one serial port on-board with RJ45 connector
- Debugging: JTAG/COP for T1023 debugging

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-qoriq: update to revision v2015.01-630-g6ba8eed
Ting Liu [Fri, 17 Jul 2015 14:23:04 +0000 (22:23 +0800)]
u-boot-qoriq: update to revision v2015.01-630-g6ba8eed

Changes:
1. Rebased on git://git.denx.de/u-boot.git v2015.01-487-gab92da9
2. Applied another 143 FSL/backported patches (git log ab92da9..6ba8eed)
3. run script genboardscfg.py to generate boards.cfg firstly

The detailed 143 patches are:
6ba8eed DM: crypto/rsa_mod_exp - Correct copyright on rsa-mod-exp.h
d7cfd64 t4rdb: fix reset altbank
ab547e7 t4240qds: update rcw to support 1.8GHz
488bca3 crypto/fsl: add support for multiple SEC engines initialization
5eaa15a arch/arm, arch/powerpc: add # of SEC engines on the SOC
2a10e25 arch/arm: add SEC JR0 offset
3851bc8 drivers/elbc:Memory leak fix
3def5c1 powerpc/t1024: update fman liodn for mac1
9ee5a72 T102xRDB: Enable ifc nand ecc encode and decode
03084cb mpc85xx/t104xd4rdb: Update DDR controller settings
98cb1fa T104xD4RDB: Fix PHY address for PHY connected to FM1@DTSEC3
dffab04 net/phy: set led for rtl8211f phy
da6438e sf: Add support for flag status register on Micron chips
1e14807 powerpc: mpc85xx: Correct CONFIG_USB_MAX_CONTROLLER_COUNT for p1025
98a6712 mpc85xx/T104xRDB: Remove vbank check redundant code
06546ff powerpc/b4860qds:Update README for DIP switch information
b5c2dd2 board/ls1021atwr: Enable bootscript for secure boot
270cea4 powerpc/t1042d4rdb: Update rcw.cfg
e2bea76 drivers:usb:fsl: Remove board_usb_init() function
cf9cfea drivers:usb:fsl: Return if USB_MAX_CONTROLLER_COUNT is incorrect
8986dfb board/t1040d4rdb: Disable all CPLD interrupts, except QSGMI1 and QSGMI2
6b01f67 arm/ls1021a: Remove ccsr_ddr from immap_ls102xa.h
c0953d3 driver/ddr/fsl: Remove deskew_cntrl register
32ea516 arm: ls1021a: Remove the inappropriate use of the function 'sprintf'
af1dbff Enable snooping on transactions from CAAM block
0e1f5e1 driver/qe: use strncpy instead of strcpy
ef770a2 fsl/sata: Replace sprintf() with snprintf()
9238012 mpc85xx/t104x, t102x: Update CPC debug register value in PBI commands
651251d mpc85xx/t104x:Update README for PBL images
c6e1fe8 driver/qe: transform parameter to compatible type
306c7fd powerpc/mpc85xx:Add GCC flag -fno-delete-null-pointer-checks
82db1ee crypto/fsl - enable raw data instead of von Neumann data
6606ff0 crypto/fsl - change starting entropy delay value
3d9d33c crypto/fsl - disable RNG oscillator maximum frequency check
9961bb6 P4080 : Added PAMU driver
4bc7e84 Revert "powerpc/mpc85xx: SECURE BOOT - Bypass PAMU in  case of secure boot"
703824e mmc: fsl_esdhc: set ESDHCCTL[PCS] when selecting peripheral clk
b80144c board/t2080rdb: reset cs4315 phy
cd01a9d net/phy: refactor RTL8211F initialization
8ac0b92 drivers: usb: fsl: Implement Workaround for Erratum A004477
cb362dc mmc: fsl_esdhc: update eMMC44 adapter card erase timeout
c93a3ea mpc85xx/T1042D4RDB: Select DIU in cpld mux for T1042D4RDB
b176d64 fsl/deepsleep: avoid the DDR restore from being optimized out
6c3b324 arm: ls102xa: Disable regulation of outstanding read transactions for S2
37c695e board/t102x: use fdt_setprop_string instead of fdt_setprop
8f425d1 QE/DeepSleep: add QE deepsleep support for arm
5458df5 kbuild: include config.mk when auto.conf is not older than .config
adb1487 ls1021aqds: config: remove default FB DCU support
14d9d27 board/t2080rdb: enable CONFIG_PHY_AQUANTIA
437a114 net/phy: fixup for get_phy_id
dacfd54 boards/t2080rdb: update ddr frequency from 1600MT/s to 1867MT/s
1a8bad0 board/p1_p2_rdb_pc: Eliminate the FDT_ERR_NOTFOUND warnning
203635c fsl/pci: Set CFG_READY for PCIe v3.0 and later
e7646b8 T104xD4RDB: Enable L2 Switch on T104xD4RDB board
e593bba mmc: fsl_esdhc: Add peripheral clock support for t2080qds
dfe7a91 mmc: fsl_esdhc: Add adapter card type identification support
b878145 arm:ls1021a: Reserve secure code into RAM instead of OCRAM
575e280 ls1021a: ahci: Added workaround for erratum ERR008407
11e63c5 ls1021a: ahci: Added workaround for erratum ERR008402
2b07de2 ls1021a: ahci: Adjust the default settings
6dcb9ea cmd_scsi: Enable SoC AHCI device on platforms with PCI
3140296 T104xD4: Add Secure boot support for T104xD4 platforms.
2d40ae3 drivers:usb:fsl: Implement Erratum A-009116 for XHCI controller
887c1df board/t4240rdb: Enable CONFIG_SYS_CORTINA_FW_IN_NOR
f6fb2b8 arm: ls102xa: Enable Driver Model SPI for ls1021atwr
738f236 arm: ls102xa: Enable Driver Model SPI for ls1021aqds
760ce9a arm: ls102xa: Enable CONFIG_DEFAULT_DEVICE_TREE to defconfig for ls1021a
22ad698 sf: Update AT45DB021D flash chip parameters
a9e4bb1 sf: probe: Add support Atmel AT45DB series devices special commands
7b18162 dm: spi: Convert Freescale DSPI driver to driver model
be352ab dm: spi: Convert Freescale QSPI driver to driver model
d7f8021 dm: ls1021a: dts: Add QSPI dts node
8b64aa1 dm: ls1021a: dts: Update DSPI node to support DM SPI
480c575 dm: ls1021a: dts: Change address_cells and size_cells from 2 to 1
3e932cf dm: ls1021a: Bring in ls1021a dts files from linux kernel
91f9040 dm: arm: Bring in skeleton64 device tree file from Linux
f62cbd5 dm: introduce dev_get_addr interface
c807f2b dm: core: Ignore disabled devices when binding
77db7df dm: spi: Move slave details to child platdata
dc7eeff dm: spi: Set up the spi_slave device pointer in child_pre_probe()
22a0a94 dm: core: Allow uclass to set up a device's child before it is probed
da110a5 dm: core: Allow the uclass to set up a device's child after binding
c6f8f43 dm: spi: Move the per-child data size to the uclass
6312dc6 dm: core: Allow uclasses to specify private data for a device's children
8258af5 dm: core: Add a flag to control sequence numbering
8a151f6 dm: core: Add a function to get a device's uclass ID
facf860 dm: core: Add a post_bind method for parents
400bf5b dm: core: Allow uclasses to specify platdata for a device's children
f4fc028 dm: core: Allow parents to have platform data for their children
be86f28 dm: core: Allocate platform data when binding a device
2141dd9 dm: core: Tidy up error handling in device_bind()
f3627ae dm: core: Set device tree node for root device
4472e2f net/phy: Add support for realtek RTL8211F
37d25d5 board/t208xrdb: VID support
52674c7 QE/DeepSleep: add QE deepsleep support for mpc85xx
f7e6de8 powerpc/t1023rdb: Add T1023 RDB board support
81d2058 powerpc/t2080rdb: update ddr to support 1866MT/s
67b23a8 arm: ls102xa: workaround for cache coherency problem
839c88b mpc85xx/T104xD4RDB: Add T104xD4RDB boards support
1293181 T104xRDB : remove raw timing parameter
2ec98c2 pci/layerscape: fix link and class issues to support ls2085a
1fe92b5 pci/layerscape: remove unnecessary pcie_layerscape.h
70d18dd driver/pci: add Layerscape PCIe driver
b9b27ae arm/ls1021a: add PCIe settings
6ea40af arm/ls102xa: use a array to define pexmscportsr
acf3674 arm/ls102xa: create TLB to map PCIe region
450e7ee ls1021atwr: add hwconfig setting to do pin mux
ae2b5a0 powerpc/t2080: enable erratum_a007186 for t2080 rev1.1
48f582d SECURE_BOOT: Disable IE Key feature for RAMBOOT
eb75fb7 drivers:usb:fsl: Add affected SOCs for USB Erratum A007792
60bae11 drivers:usb: Check if USB Erratum A005697 is applicable on 913x
1498a63 ls-1/usb: Add USB support for ls1021atwr
1b3e623 ls-1/usb: Add XHCI support for ls1021aqds
621c3e2 ls102xa: config: Add USB XHCI controller base address for LS102XA
9322aab drivers: usb: fsl: Add USB XHCI stack support
920eae8 powerpc/mpc85xx: SECURE BOOT-Copy Boot Script on RAM
3b3c26f powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P5020 and P5040
d9b6ccf powerpc/mpc85xx: SECURE BOOT- NAND secure boot target for P3041
789db66 ls102xa: ddr4: Use LPUART as console output to verify DCU driver
ae8ecf3 arm: ls102xa: Enable regulation of outstanding read transactions for slave interface S2
7d426cc arm: ls1021x: Add support for initializing CAAM's stream id
930f42f arm: ls102xa: Define default values for some CCSR macros
0193232 powerpc: 85xx: Modify CONFIG_USB_MAX_CONTROLLER_COUNT for P1022DS
f5da45f drivers:usb: Add device-tree fixup to identify socs having dual phy
bdf6935 Add bootscript support to esbc_validate.
64ea65b SECURE_BOOT : enable esbc_validate command for powerpc and arm platforms.
eb82578 SECURE BOOT: Add command for validation of images
6f67c1b fsl_sec_mon: Add driver for Security Monitor block of Freescale
e6aa74f fsl_sfp : Move ccsr_sfp_regs definition to common include
cb9678a rsa : Compile Modular Exponentiation files based on CONFIG_RSA_SOFTWARE_EXP
0c489dc crypto/fsl - Add progressive hashing support using hardware acceleration.
9bc1528 crypto/fsl: Make function names consistent for blob encapsulation/decapsulation.
2fe7e4e rsa: Use checksum algorithms from struct hash_algo
5172da9 Use hash.c in mkimage
3043003 hash: Add function to find hash_algo struct with progressive hash
f5082b7 lib/rsa: Add Kconfig for devices supporting RSA Modular Exponentiation
f5c65f2 DM: crypto/fsl - Add Freescale rsa DM driver
cbf5557 lib/rsa: Modify rsa to use DM driver
0b4c7ac configs: Move CONFIG_FIT_SIGNATURE to defconfig
de5370a DM: crypto/rsa_mod_exp: Add rsa Modular Exponentiation DM driver
8f6a26f FIT: Modify option FIT_SIGNATURE in Kconfig
3b55114 rsa: Split the rsa-verify to separate the modular exponentiation
98583e8 net/phy/realtek: Disable interrupt on Realtek Ethernet PHY drivers

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agop2/p3/p5/t2/t4/b4: build usdpaa-shared-interfaces.dtb
Ting Liu [Fri, 17 Jul 2015 07:17:40 +0000 (15:17 +0800)]
p2/p3/p5/t2/t4/b4: build usdpaa-shared-interfaces.dtb

Also split long line to multiple ones.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1/t2/t4/b4: update KERNEL_DEFCONFIG
Ting Liu [Fri, 17 Jul 2015 07:17:39 +0000 (15:17 +0800)]
t1/t2/t4/b4: update KERNEL_DEFCONFIG

The KERNEL_DEFCONFIG needs to be updated with the latest kernel codes.
* 85xx/e6500rev2_defconfig -> corenet64_fmanv3h_smp_defconfig
* corenet64_fmanv3_smp_defconfig -> corenet64_fmanv3l_smp_defconfig
* corenet32_fmanv3_smp_defconfig -> corenet32_fmanv3l_smp_defconfig

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-qoriq: update to revision f488de6
Ting Liu [Fri, 17 Jul 2015 07:17:38 +0000 (15:17 +0800)]
linux-qoriq: update to revision f488de6

Minor version update to 3.12.37-rt51 with new features:
* e6500 hugepage TLB miss performance improvement
* T1023RDB support
* T1040D4RDB and T1042D4RDB support
* DIU [T1042]
* DPAA Ethernet: loadable module
* eMMC: DDR mode [T2080]
* eTSEC: Gianfar upstream updates and fixes
* fmlib: table statistics, stats extension
* IEEE802.1AE (MACSEC) and IEEE802.1X (port-based network access control) [T104x, T102x]
* IEEE1588 ptpd open source stack includes more DPAA processors: P1023, P2041, P3041, P5020, P5040, T4240, T1023
* LAG SGMII 2.5G ports support - IPv4 traffics forwarding on aggregated 2 x 2.5Gb L2 Switch FMAN ports [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding (2 x 2.5Gb L2 Switch WAN) [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding on both 1 G RGMII port and 1G SGMII port [1040]
* Power Management: Power off feature for all QDS boards except B9132QDS and B4860QDS
* SEC: QI Driver IPSec performance improvement
* SGMII 2.5G fixed link [T1024]
* USB: Dual UTMI

For detailed history, see
http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/tag/?id=fsl-sdk-v1.8

Also remove the patches which already merged in 3.12.37-rt51

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agouse 64b toolchain binaries to build e6500 kernel
Ting Liu [Fri, 17 Jul 2015 07:17:37 +0000 (15:17 +0800)]
use 64b toolchain binaries to build e6500 kernel

e6500 only supports 64b kernel. When building 64b kernel + 32b rootfs,
kernel build uses a hack previously, ie. append '-m64' and '-elf64ppc'
to 32b toolchain binaries. This fails if kernel use some builtin functions:
|   LINK    vmlinux
|   LD      vmlinux.o
| powerpc-fsl-linux-ld.bfd: Relocatable linking with relocations from
| format elf32-powerpc (.../4.9.2/libgcc.a(_popcountdi2.o)) to format
| elf64-powerpc (vmlinux.o) is not supported
| make: *** [vmlinux] Error 1
| ERROR: oe_runmake failed

modify KERNEL_{CC,LD,AR} to use 64b toolchain binaries to avoid error.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update to revision 426f7a6
Ting Liu [Fri, 17 Jul 2015 05:36:45 +0000 (13:36 +0800)]
rcw: update to revision 426f7a6

This imports following changes:

426f7a6 SECURE BOOT: Add missing RCW's for T4240QDS
756454f SECURE BOOT: Rename the RCW's
7782087 SECURE BOOT: Remove Unwanted RCW's
e93c210 LS1021: Unset BOOT_HO bit in rcw.
4375fc4 t1023rdb: update IFC_MODE to 0x2F for errata A-009138
5cf9bc5 T4240QDS: Add four 1800MHz/Core RCW files for T4240QDS board
cff536a t1023rdb: set RTC=1 to enable GPIO1[14]
a5983f2 T4240RDB: Add one new RCW for T4240RDB board
3a6ae48 ls1021a: fix some serdes settings for SATA
31078e1 ls1021atwr: do not power down PLL which is used by SATA
c6d72e3 t2080qds: rcw: Add eMMC DDR mode RCW
c77415c T104xD4RDB: update SRDS_PLL_REF_CLK_SEL_S1 value
e2c0844 ls1021atwr: add USB 2.0 support
fd0c1df p5020/p5040: NAND Secure Boot RCW added with PBI commands
259d57d t1023rdb: add rcw for t1023rdb board
c3ab906 T1042: Add t1042d4rdb rcw files for serdes protocol 0x86
ae39560 T1040: Add t1040d4rdb rcw files for serdes protocol 0x66
b9d3c22 p3041: NAND Secure Boot RCW added with PBI commands
dc0fad9 t2080rdb: update ddr to 1866MT/s
03c5ee6 t2080: update platform clock to 600MHz
72945fa rcw: ls102xa: merge rcw for lpuart and dcu
6678741 rcw: ls102xa: Adjust the features supported in SD boot
f7a54c1 arm: ls102xa: Increase IO drive strength for LS1021AQDS board
3dd07fa B4860-As-B3: Add two new RCW files
69a041c B4860QDS: Add HWA_CGA_M3_CLK_SEL bits define in b4860.rcwi file
87289d5 ls102xa: rcw: Add QSPI boot RCW for LS1021A TWR board
13bf692 t1024: update FM1_MAC_RAT from 0 to 1
5b94b3e t1024rdb: add new rcw 0x135 and minor update

Also align with the one in meta-fsl-arm layer.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: use KBUILD_OUTPUT to point to build-artifacts
Ting Liu [Fri, 17 Jul 2015 05:36:44 +0000 (13:36 +0800)]
asf: use KBUILD_OUTPUT to point to build-artifacts

In poky commit 46cdaf1, the kernel build output was put into
kernel-build-artifacts, and kernel-source is kept "pristine".

KERNEL_PATH points to kernel-source, while KBUILD_OUTPUT points
to build-artifacts which can be used for external module build.

asf Makefile tries to include the .config, use KBUILD_OUTPUT to
avoid build error.

It is needed to process all the Makefile with new revision.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: update to revision 62ba10a
Ting Liu [Fri, 17 Jul 2015 05:36:43 +0000 (13:36 +0800)]
asf: update to revision 62ba10a

This imports following changes:
62ba10a asf_fmc: Patch to update the name of xml files.
8d744dd asf: Patch to fix ipv6 issue on dpaa.
ddf9678 asf: Patch to return jumbo packet back.
dcda291 asf: Patch to include caam_jr_strstatus in ASF_IPSEC_DEBUG mode.
49f591f asf: Patch to change function signature caam_jr_strstatus
f860eff ipsecproc: Patch to fix display of ipsec stats.
461586d ASFIPSEC: fix compilation for SEC 3.x when ASF_IPSEC_DEBUG is defined
03b9bad asf: Patch to fix sha256 issue.
a21b2d7 Removing Ethernet padding in abuf to skb conversion
a03283d4 Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocst: update to revision 6f57c86
Ting Liu [Fri, 17 Jul 2015 05:36:42 +0000 (13:36 +0800)]
cst: update to revision 6f57c86

This imports following changes:

6f57c86 Modify input files comments.
327932d FIX SFP Write Protect Issue
dbc2080 Add support for SFP1.x and SFP2.x in gen_drv utility.
5aa79ec Modify images names in ls1 input files.
b5d442b P3/P5: Input Files for NAND Secure Boot
51dc4a4 Makefile: Build uni_pbi tool
a647f39 CST : Change Alignment offset

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoeth-config: update to revision 1d6ad16
Ting Liu [Fri, 17 Jul 2015 05:36:40 +0000 (13:36 +0800)]
eth-config: update to revision 1d6ad16

This import the following changes:
1d6ad16 eth_config: Remove support for T1040RDB/QDS, T1042RDB, T1042RDB-PI
c51e333 eth_config: Add support for T1042D4RDB
9736329 eth_config: Add support for T1040D4RDB
10b5f51 eth_config: Add support for T1023RDB

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoflib: update to revision 91bbb13
Ting Liu [Fri, 17 Jul 2015 05:36:39 +0000 (13:36 +0800)]
flib: update to revision 91bbb13

This imports the following changes:
91bbb13 tls: remove misleading comment
2206af9 PROTOCOL - add IPsec NULL authentication
a8bc0be IPsec legacy mode - fix zero-length key(s) cases
e92572e PROTOCOL - fix GCM16 and GMAC modes for IPsec
b18fb26 fix spurious regression tests failures
b0a4577 tls: add stateless 3DES_EDE_CBC_SHA TLS10 kernel descriptors
0e2ffc0 tls: add stateless TLS10 kernel descriptors
0a58a47 rename operation mapping structure member
5bdf1a4 rename iv_flags to b0_flags
d1c1b3b Don't use ERA dependent code for AEAD descriptor
8ad040d fix AEAD descriptor pointer size specification
ec280b6 add AEAD-like descriptor
11688af add algorithm mode support

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofmc: update to revision b9e52be
Ting Liu [Fri, 17 Jul 2015 05:36:38 +0000 (13:36 +0800)]
fmc: update to revision b9e52be

This imports the following changes:
b9e52be ENGR00354640: fmc regression: Bad FMan port handle used in FM_PORT_VSPAlloc causes FMD call trace
435d76d ENGR354592: FMC SoftParser 'otherl3' protocol definition generates error
92494f0 Changed makefile to use flags: FMAN_V3H / FMAN_V3L (ENGR353626)
1695da4 ENGR00352834: FMC: Add support for FM_PCD_KgSetAdditionalDataAfterParsing API
450d314 ENGR351010: FMC: Share schemes used for IPR across multiple ports
b2b6226 ENGR00349008: ALU PCD generates Segmentation fault for direct schemes usage
6b14996 ENGR00348810: ALU PCD generates: FmPcdCcGetGrpParams: Invalid Handle
955706a ENGR348539: ALU PCD generates: grpId you asked > numOfGroup of relevant tree
06548b6 ENGR00347977: ALU PCD using direct schemes generates Error: Unresolved cycled dependencies
e843d51 ENGR00315208: [FMC] failed to configure ALU PCD

Use override mechanism to define EXTRA_OEMAKE_PLATFORM, instead of bash script.
and p1023rds is not supported now, remove the reference to it.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofmlib: update to revision 4938e09
Ting Liu [Fri, 17 Jul 2015 05:36:37 +0000 (13:36 +0800)]
fmlib: update to revision 4938e09

This imports the following changes:
4938e09 fmlib: sync with kernel for t_FmCtrlMon
549d77e fmlib: implement FM_PORT_GetBmiCounters
c1e9c74 fmlib: support FMAN_V3L platforms
a3321e2 fmlib: Add fix in FM_PCD_KgSchemeSet function
7572af0 Render table statistics accessible from user space

Switch FMLIB_TARGET to FMAN_V3L for t1.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: update license to BSD & GPLv2+
Ting Liu [Fri, 17 Jul 2015 05:00:25 +0000 (13:00 +0800)]
pkc-host: update license to BSD & GPLv2+

The license information is moved to COPYING file, use it.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: update to revision 564f535
Ting Liu [Fri, 17 Jul 2015 05:00:24 +0000 (13:00 +0800)]
pkc-host: update to revision 564f535

The changes include:
- bc is added as a runtime dependency for performance tests
- mini_calc is dropped and replaced by bc
- use 'oe_runmake modules_install' to install kernel modules

There are 138 new git commits. For detailed info, see:
http://git.freescale.com/git/cgit.cgi/ppc/sdk/pkc-host.git/tag/?id=fsl-sdk-v1.8

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-host: correct license to BSP & GPLv2+
Ting Liu [Fri, 17 Jul 2015 05:00:23 +0000 (13:00 +0800)]
skmm-host: correct license to BSP & GPLv2+

The right license is BSP & GPLv2+, fix it.
And the licensing information is separated to COPYING file, use it.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-host: update to revison a655c57
Ting Liu [Fri, 17 Jul 2015 05:00:22 +0000 (13:00 +0800)]
skmm-host: update to revison a655c57

This imports the following changes:
a655c57 rename perf script to avoid conflicts with pkc driver
3e40e67 make perf script executable and install it to /usr/bin
1668005 add gitignore
7abf553 update perf script with the fixes from pkc-host driver
ec39361 extract licensing information to a separate file
e821c4f merge Makefile with config.mk

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agouio-seville: update to revision 80de832
Ting Liu [Fri, 17 Jul 2015 05:00:21 +0000 (13:00 +0800)]
uio-seville: update to revision 80de832

This imports the following changes:
80de832 Fix Copyright issues
0c9921f Add support for interrupts on PHYs connected to seville's ports
53de571 fix: Avoid memory leak
6cf2d52 Refractoring uio_seville_main.c file
7b2ccba Fix: Use Seville register when flushing, not remapper's register
d347b98 Beautify: Replace big switch() with a 2-line for()
f8c8249 Beautify: Fix for() alignment
fdde45d Fix: Pad undersized injected CPU control frames
3b9cff6 Fix: Typo for "reciving"
052d776 Fix: Assure that there can't be 2 processes that open the uio device
3c29b27 Fix: Interrupts might occur when /dev/npi is closing
59e3d2e Fix: Assure that only one thread is allowed to inject a frame at a time
b96827c Fix: Assure that only one thread may extract a CPU frame at a time
8c9c47e Fix: Remove unecessary check for data in the polling function
a202daf Fix: L2 Switch interrupt handler is called twice for each packet
985d4c2 Fix: dev/npi might be opened by two applications
3ecb8f3 Fix: Fix initialization of valiables for struct dev_npi
dd74172 Beautify: Add ':' at the end of npi_read_q in description
aceb6be Beautify: function do_control_frame_extr_dev() has duplicated code
262876b Beautify: Remove unnecessary macro
d737cd8 Fix: Treat interrupts only from group 0
181ae15 Beautify: Rename variable leftovers_start to leftovers_begin

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agohypervisor: update to revision e17b3ec
Ting Liu [Fri, 17 Jul 2015 05:00:20 +0000 (13:00 +0800)]
hypervisor: update to revision e17b3ec

This imports the following changes:
e17b3ec update mux_server
ad1da62 Topaz v1.3-010
fca5fef use proper type so that error check makes sense
bf76b06 vmpic: fix a null pointer dereference
aa8144a pamu: add some missing null pointer checks
ced6d18 fix an allocation failure check
4721159 fix potential null pointer dereference
49fd127 don't dereference the pointer we've just checked for null
7559586 check for allocation failure
8ad329e check for invalid config-addr bootargs param
0af857a update libos
b161371 handle error domain not found condition
516ecc1 change str(n)cpy calls to safe snprintf
c2b7161 fix tlbc guest exploitable array out of bounds error
bd9b01e fix fasttlb guest exploitable array out of bounds error
92e62c9 fix off-by-one error in error check
ca38ad6 update libos
11edba9 fix an obvious null pointer dereference
b5fc4da fix secondary gcpu spin-up for >=4GB guests
bedf3f4 erratum A-008139 workaround
365e3ec update libos
745dafa test/nap: Replace open coded delays with existing api
4f7ed57 support basic "rcpm rev2" power management
500cfcc test: add support for ccm errors in ccf-lae test
e817b00 test: add support for ccm errors in ccf-mint test
e706b33 ccm: add error management support for ccm
701bcb3 ccm: add definitions for error registers
5f52d54 ccm: make version handling more generic

Changes on its submodule libos:
2ff7649 don't bail out if pamu is already enabled
ec6fc41 add check for max supported number of threads
e0fa2c0 erratum A-008139 workaround
c30279c workaround potential issue with default cpu features on MMUv2
70dec64 add ccm fields to platform error struct
5312dd7 correct error int unmasking condition

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomux-server: deploy the binary as it is standalone
Ting Liu [Fri, 17 Jul 2015 14:10:24 +0000 (22:10 +0800)]
mux-server: deploy the binary as it is standalone

The topaz mux-server is a standalone tool, deploy the binary like
other images like u-boot/kernel/rcw.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomux-server: update LIC_FILES_CHKSUM to point to COPYING
Ting Liu [Fri, 17 Jul 2015 03:44:34 +0000 (11:44 +0800)]
mux-server: update LIC_FILES_CHKSUM to point to COPYING

A LGPL COPYING file was added in the git repository.
update LIC_FILES_CHKSUM to point to this COPYING file.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agomux-server: fetch from git instead of local tarball
Ting Liu [Fri, 17 Jul 2015 14:15:16 +0000 (22:15 +0800)]
mux-server: fetch from git instead of local tarball

It is hard to track changes when using local tarball, switch to fetch
the source from a Git server.

Comparing to the tarabal, there are two more changes on git:
3e4c6a4 adjust link order to libpthread
a803602 Add COPYING with LGPL license and README file

Also fix indent.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Acked-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoREADME: Provide a direct URL link
Fabio Estevam [Thu, 16 Jul 2015 18:24:27 +0000 (15:24 -0300)]
README: Provide a direct URL link

The URL in wiki.yoctoproject.org just redirects to the openembedded URL,
so pass the direct link instead.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-mx6 (3.14-1.0.x): Bump revision to 96645772
Otavio Salvador [Wed, 15 Jul 2015 12:46:12 +0000 (09:46 -0300)]
linux-fslc-mx6 (3.14-1.0.x): Bump revision to 96645772

Upgrades the fork to the 3.14.48 stable release.

Change-Id: I720b1c1ce196dbdf1c38a6cf80c4eb96faba64e4
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.1): Bump revision to 95d9e15a
Otavio Salvador [Wed, 15 Jul 2015 12:43:02 +0000 (09:43 -0300)]
linux-fslc (4.1): Bump revision to 95d9e15a

Upgrades the fork to the 4.1.2 stable release.

Change-Id: I59cc6b6bed7462fa6f6ba08686ed6bb3d76fe45d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoDrop i.MX31 and i.MX35 support
Otavio Salvador [Fri, 10 Jul 2015 17:28:22 +0000 (14:28 -0300)]
Drop i.MX31 and i.MX35 support

The i.MX31 and i.MX35 has been barely used and without much community
coverage since its inclusion making them untested boards.

There is no reason to keep the support for those SoCs in the BSP layer
as those are virtually not tested and unkown to be working or not.

The metadata related to the i.MX3 SoC family has been removed in this
commit so if someone ever wants to bring it back it is easy to find
out all the necessary changes.

Change-Id: I808bf7d1cfa97eb7d444fba711a93b1e074d5f4d
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-ls1: Fix 'nand' builds
Gary Thomas [Wed, 15 Jul 2015 17:07:45 +0000 (11:07 -0600)]
u-boot-ls1: Fix 'nand' builds

Builds for 'nand' booting were failing because of an incorrect path
during compilation.

Signed-off-by: Gary Thomas <gary@mlbassoc.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoMove external layer's specific changes for 'dynamic-layers' subdir
Otavio Salvador [Wed, 15 Jul 2015 20:21:16 +0000 (17:21 -0300)]
Move external layer's specific changes for 'dynamic-layers' subdir

The external layer's specific changes are now in the 'dynamic-layers'
subdirectory. This approach ease the identification of layer specific
recipes and extensions as all those are more visible isolated of the
main layer components.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoconf/layer.conf: Use 'freescale-layer' collection
Otavio Salvador [Wed, 15 Jul 2015 20:43:21 +0000 (17:43 -0300)]
conf/layer.conf: Use 'freescale-layer' collection

The 'fsl-arm' collection is now renamed for 'freescale-layer'. This
indicates the layer uses the new layout and is incompatible with other
layers relying in meta-fsl-arm or meta-fsl-ppc existing layout.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoMove meta-fsl-arm content to layer root
Otavio Salvador [Wed, 15 Jul 2015 20:14:27 +0000 (17:14 -0300)]
Move meta-fsl-arm content to layer root

The meta-fsl-arm is going to be used as the base for this layer. It
contains a clean history and allowing a more granullar set of changes.

This commit is just a rename of all contents of meta-fsl-arm
subdirectory to this layer's root, subsequent changes are based on top
of that.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoMerge branch 'master' from multiple repositories
Otavio Salvador [Mon, 13 Jul 2015 17:00:59 +0000 (14:00 -0300)]
Merge branch 'master' from multiple repositories

Repositories:
meta-fsl-arm
meta-fsl-ppc

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolayer.conf: include layer-specific bb files
Ting Liu [Fri, 10 Jul 2015 09:45:20 +0000 (17:45 +0800)]
layer.conf: include layer-specific bb files

Previously layer-specific bbappends are applied when that layer
is included in the configuration.

There is layer-specific bb files too (like asf_git.bb). Apply the
same rule here.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorename ls-base.inc -> qoriq-arm.inc
Ting Liu [Fri, 10 Jul 2015 09:45:19 +0000 (17:45 +0800)]
rename ls-base.inc -> qoriq-arm.inc

Preparation for next merge stage with qoriq-ppc.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: use KBUILD_OUTPUT to point to build-artifacts
Ting Liu [Fri, 10 Jul 2015 09:45:18 +0000 (17:45 +0800)]
asf: use KBUILD_OUTPUT to point to build-artifacts

In poky commit 46cdaf1, the kernel build output was put into
kernel-build-artifacts, and kernel-source is kept "pristine".

KERNEL_PATH points to kernel-source, while KBUILD_OUTPUT points
to build-artifacts which can be used for external module build.

asf Makefile tries to include the .config, use KBUILD_OUTPUT to
avoid build error.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: update to revision 62ba10a
Ting Liu [Fri, 10 Jul 2015 09:45:17 +0000 (17:45 +0800)]
asf: update to revision 62ba10a

This imports following changes:

62ba10a asf_fmc: Patch to update the name of xml files.
8d744dd asf: Patch to fix ipv6 issue on dpaa.
ddf9678 asf: Patch to return jumbo packet back.
dcda291 asf: Patch to include caam_jr_strstatus in ASF_IPSEC_DEBUG mode.
49f591f asf: Patch to change function signature caam_jr_strstatus
f860eff ipsecproc: Patch to fix display of ipsec stats.
461586d ASFIPSEC: fix compilation for SEC 3.x when ASF_IPSEC_DEBUG is defined
03b9bad asf: Patch to fix sha256 issue.
a21b2d7 Removing Ethernet padding in abuf to skb conversion
a03283d4 Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update to revision 426f7a6
Ting Liu [Fri, 10 Jul 2015 09:45:16 +0000 (17:45 +0800)]
rcw: update to revision 426f7a6

This imports following changes:

426f7a6 SECURE BOOT: Add missing RCW's for T4240QDS
756454f SECURE BOOT: Rename the RCW's
7782087 SECURE BOOT: Remove Unwanted RCW's
e93c210 LS1021: Unset BOOT_HO bit in rcw.
4375fc4 t1023rdb: update IFC_MODE to 0x2F for errata A-009138
5cf9bc5 T4240QDS: Add four 1800MHz/Core RCW files for T4240QDS board
cff536a t1023rdb: set RTC=1 to enable GPIO1[14]
a5983f2 T4240RDB: Add one new RCW for T4240RDB board
3a6ae48 ls1021a: fix some serdes settings for SATA
31078e1 ls1021atwr: do not power down PLL which is used by SATA
c6d72e3 t2080qds: rcw: Add eMMC DDR mode RCW
c77415c T104xD4RDB: update SRDS_PLL_REF_CLK_SEL_S1 value
e2c0844 ls1021atwr: add USB 2.0 support
fd0c1df p5020/p5040: NAND Secure Boot RCW added with PBI commands
259d57d t1023rdb: add rcw for t1023rdb board
c3ab906 T1042: Add t1042d4rdb rcw files for serdes protocol 0x86
ae39560 T1040: Add t1040d4rdb rcw files for serdes protocol 0x66
b9d3c22 p3041: NAND Secure Boot RCW added with PBI commands
dc0fad9 t2080rdb: update ddr to 1866MT/s
03c5ee6 t2080: update platform clock to 600MHz
72945fa rcw: ls102xa: merge rcw for lpuart and dcu
6678741 rcw: ls102xa: Adjust the features supported in SD boot
f7a54c1 arm: ls102xa: Increase IO drive strength for LS1021AQDS board
3dd07fa B4860-As-B3: Add two new RCW files
69a041c B4860QDS: Add HWA_CGA_M3_CLK_SEL bits define in b4860.rcwi file
87289d5 ls102xa: rcw: Add QSPI boot RCW for LS1021A TWR board
13bf692 t1024: update FM1_MAC_RAT from 0 to 1
5b94b3e t1024rdb: add new rcw 0x135 and minor update

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocst: update to revision 6f57c86
Ting Liu [Fri, 10 Jul 2015 09:45:15 +0000 (17:45 +0800)]
cst: update to revision 6f57c86

This imports following changes:

6f57c86 Modify input files comments.
327932d FIX SFP Write Protect Issue
dbc2080 Add support for SFP1.x and SFP2.x in gen_drv utility.
5aa79ec Modify images names in ls1 input files.
b5d442b P3/P5: Input Files for NAND Secure Boot
51dc4a4 Makefile: Build uni_pbi tool
a647f39 CST : Change Alignment offset

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-ls1: package zImage into kernel-image
Ting Liu [Fri, 10 Jul 2015 09:45:14 +0000 (17:45 +0800)]
linux-ls1: package zImage into kernel-image

When running kvm test on ls1, the guest kernel needs to be zImage format.
This is a known limitation with qumu-fsl v2.2.0 release.

package zImage into kernel-image which can then be installed into rootfs.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-fsl: upgrade from v1.7 to v2.2.0
Ting Liu [Fri, 10 Jul 2015 09:45:13 +0000 (17:45 +0800)]
qemu-fsl: upgrade from v1.7 to v2.2.0

Update the supported QEMU version from v1.7 to v2.2.0 and include the
Freescale patches on top of this.

Baseline: http://git.qemu.org/?p=qemu.git;a=tag;h=refs/tags/v2.2.0
Freescale patches:
00ac004 QEMU: PPC: Support for VFIO_IOMMU_DUMMY.
58d1cc4 QEMU: PPC: Identity mapped memory support for qemu.
07d4f5f Qemu: PPC: e500: Move CCSR and MMIO space to upper end of address space
a7aee41 QEMU: PPC: e500: Move CCSR definition to params
fbcc0ca vfio-pci: add direct pci device assignment for fsl powerpc
536df03 Update Linux Headers from 3.18
ee367e4 QEMU:Add support for e5500 core revision v102.1 present on T1024 SOC.
b0c2f44 hw/arm/virt: Use memory_region_allocate_system_memory to allocate memory
b2f233e PPC: add e6500 cpu class
694c39a QEMU: PPC: set default cpu type to be 'host'
1572872 QEMU: PPC: specify PVRs for all e500 cores

Also fix indent.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agols1021atwr: update lquart/secure-boot UBOOT_CONFIG
Ting Liu [Fri, 10 Jul 2015 09:45:12 +0000 (17:45 +0800)]
ls1021atwr: update lquart/secure-boot UBOOT_CONFIG

1. config name for lpuart was renamed to ls1021atwr_nor_lpuart_config.
2. add ls1021atwr_nor_SECURE_BOOT_config for secure boot.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agols1021aqds: remove as it is not supported
Ting Liu [Fri, 10 Jul 2015 09:45:11 +0000 (17:45 +0800)]
ls1021aqds: remove as it is not supported

The board is not supported in SDK 1.8 and as it is untested QorIQ team does
not offer support for it. Drop the board to avoid user using untested BSP
components in this board.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-ls1: update to revision v2015.01-630-g6ba8eed
Ting Liu [Fri, 10 Jul 2015 09:45:10 +0000 (17:45 +0800)]
u-boot-ls1: update to revision v2015.01-630-g6ba8eed

Changes:
1. Rebased on git://git.denx.de/u-boot.git v2015.01-487-gab92da9
2. Applied another 143 FSL/backported patches (git log ab92da9..)
3. add DEPENDS on dtc-native as u-boot brings in device tree files
4. use u-boot-with-spl-pbl.bin for nand
5. replace with u-boot-dtb.bin when swapping the image endianness

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-ls1: merge u-boot-ls1.inc into recipe
Ting Liu [Fri, 10 Jul 2015 09:45:09 +0000 (17:45 +0800)]
u-boot-ls1: merge u-boot-ls1.inc into recipe

There is no benefit to having a separate .inc file when we only support one
version of u-boot-ls1.

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-ls1: update to revision f488de6
Ting Liu [Fri, 10 Jul 2015 09:45:08 +0000 (17:45 +0800)]
linux-ls1: update to revision f488de6

Minor version update to 3.12.37-rt51 with new features:
* e6500 hugepage TLB miss performance improvement
* T1023RDB support
* T1040D4RDB and T1042D4RDB support
* DIU [T1042]
* DPAA Ethernet: loadable module
* eMMC: DDR mode [T2080]
* eTSEC: Gianfar upstream updates and fixes
* fmlib: table statistics, stats extension
* IEEE802.1AE (MACSEC) and IEEE802.1X (port-based network access control) [T104x, T102x]
* IEEE1588 ptpd open source stack includes more DPAA processors: P1023, P2041, P3041, P5020, P5040, T4240, T1023
* LAG SGMII 2.5G ports support - IPv4 traffics forwarding on aggregated 2 x 2.5Gb L2 Switch FMAN ports [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding (2 x 2.5Gb L2 Switch WAN) [1040]
* LAG support of IPv6 traffics forwarding and TCP/UDP traffics over IPv6 forwarding on both 1 G RGMII port and 1G SGMII port [1040]
* Power Management: Power off feature for all QDS boards except B9132QDS and B4860QDS
* SEC: QI Driver IPSec performance improvement
* SGMII 2.5G fixed link [T1024]
* USB: Dual UTMI

For detailed history, see
http://git.freescale.com/git/cgit.cgi/ppc/sdk/linux.git/tag/?id=fsl-sdk-v1.8

Signed-off-by: Ting Liu <ting.liu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc mxs-base.inc: Add imx MACHINEOVERRIDES
Ann Thornton [Wed, 8 Jul 2015 20:11:04 +0000 (15:11 -0500)]
imx-base.inc mxs-base.inc: Add imx MACHINEOVERRIDES

As new i.MX machines are added and product lines are increasing,
having an override for imx machines in general will help clarify
recipes, images, and packagegroups and keep the list of imx
supported machines a little shorter.

Signed-off-by: Ann Thornton <ra43240@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoweston: Add patch only for i.MX with Vivante GPU
Lauren Post [Wed, 8 Jul 2015 14:12:13 +0000 (09:12 -0500)]
weston: Add patch only for i.MX with Vivante GPU

New SoC i.MX 6 UltraLite does not have a GPU so only
apply patch for i.MX 6 with a Vivante GPU.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoweston: Update i.MX6 Vivante GPU to support Wayland 1.8
Lauren Post [Wed, 8 Jul 2015 14:12:12 +0000 (09:12 -0500)]
weston: Update i.MX6 Vivante GPU to support Wayland 1.8

Update the support patches for Weston 1.8.
The support patches are consolidated in a single patch.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-rt: Upgrade to 3.14.28-1.0.0 GA
Dominic Sacré [Wed, 8 Jul 2015 09:46:06 +0000 (11:46 +0200)]
linux-imx-rt: Upgrade to 3.14.28-1.0.0 GA

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx-3.14.28: Fix reporter's name
Fabio Estevam [Tue, 7 Jul 2015 00:47:29 +0000 (21:47 -0300)]
linux-imx-3.14.28: Fix reporter's name

Commit a3a6ca336023d4 ("linux-imx-3.14.28: FEC: fix garbage send for
huge data blocks") didn't put the correct name for reporter of the
issue.

Fix the reporter's name.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>