]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
9 years agorename udev to eudev to align with change in poky
Zhenhua Luo [Thu, 3 Mar 2016 07:27:24 +0000 (15:27 +0800)]
rename udev to eudev to align with change in poky

Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoclasses/u-boot: Update getVar syntax
Zhenhua Luo [Thu, 3 Mar 2016 07:27:23 +0000 (15:27 +0800)]
classes/u-boot: Update getVar syntax

This runs:

sed -e 's:\(\.getVar([^,()]*\)):\1, False):g' -i `grep -ril getVar *`

on the layer to update the getVar usages without an expand parameter,
This ensures the layer continues to work with bitbake master.

There is no functionality change although some of these sites
may benefit from expand=True.

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqtbase: Allow to build eglfs with x11 in DISTRO_FEATURES
Martin Jansa [Mon, 29 Feb 2016 17:22:28 +0000 (18:22 +0100)]
qtbase: Allow to build eglfs with x11 in DISTRO_FEATURES

* even when x11 is in DISTRO_FEATURES someone might configure qtbase
  to build with eglfs, that works OK with Qt 5.5.1, because
  -DEGL_API_FB=1 is also passed through
  mkspecs/devices/linux-imx6-g++/qmake.conf
  but with 5.6 and 5.7 it fails when X11 headers are include with their
  own Status enum (the same errors like before
  https://codereview.qt-project.org/#/c/105116/2)
  Adding -DEGL_API_FB=1 like linux-imx6-g++/qmake.conf does is simplest
  workaround to prevent imx-gpu-viv from including Xlib from
  EGL/eglvivante.h

Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugin: add STAGING_KERNEL_BUILDDIR to the include dirs list
Javier Viguera [Thu, 25 Feb 2016 15:17:17 +0000 (16:17 +0100)]
gst1.0-fsl-plugin: add STAGING_KERNEL_BUILDDIR to the include dirs list

The new version of the gst1.0-fsl-plugin package uses the preprocessor
to do conditional compilation:

#if LINUX_VERSION_CODE < KERNEL_VERSION(4, 1, 0)

And to use those macros it includes 'linux/version.h' header file.

This is failing because it is including the 'linux/version.h' file from
the sysroot, which comes from the 'linux-libc-headers' recipe used to
build the toolchain, instead of the real kernel version we are building
and running later on.

Otherwise the build fails with:

error: 'VIDIOC_S_INPUT_CROP' undeclared

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogst1.0-fsl-plugin: remove not needed patch
Javier Viguera [Thu, 25 Feb 2016 15:17:16 +0000 (16:17 +0100)]
gst1.0-fsl-plugin: remove not needed patch

The fix in this patch has been included in the new version, so there is
no need for this patch anymore. Actually it does not even apply.

Signed-off-by: Javier Viguera <javier.viguera@digi.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoweston: Fix issues with 1.9 version
Neena Busireddy [Thu, 18 Feb 2016 21:23:48 +0000 (15:23 -0600)]
weston: Fix issues with 1.9 version

These set of patches are required to address the issues with weston 1.9

Signed-off-by: Neena Busireddy <neenareddy.busireddy@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc-imx: Upgrade to the 3.14.52-1.1.0 GA based fork
Otavio Salvador [Mon, 4 Jan 2016 11:53:26 +0000 (09:53 -0200)]
linux-fslc-imx: Upgrade to the 3.14.52-1.1.0 GA based fork

The FSLC kernel fork has been updated for the 3.14-1.52-1.1.0 GA
release. It is a consolidated release covering all i.MX active product
lines covering:

 - i.MX6QDL
 - i.MX6SL
 - i.MX6SX
 - i.MX6UL
 - i.MX7D

The patch also updates the linux-fslc-imx-rt flavour for the very same
kernel fork and ensures people uses the built-in Vivante GPU driver,
when using the Linux RT support, as the external kernel module does
not support it yet.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoEULA: Update to LA_OPT_BASE_LICENSE v10 November 2015
Lauren Post [Thu, 24 Dec 2015 07:17:00 +0000 (15:17 +0800)]
EULA: Update to LA_OPT_BASE_LICENSE v10 November 2015

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.3 version
Lauren Post [Thu, 24 Dec 2015 07:17:07 +0000 (15:17 +0800)]
firmware-imx: Upgrade to 5.3 version

- Add basic epdc firmware copy to correct output path
- Move legacy epdc firmware to this package out of kernel
- VPU firmware upgrade to v3.1.1_r46070

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoformfacor: Add generic machconfig formfactors for i.MX 6UltraLite and 7Dual
Lauren Post [Thu, 24 Dec 2015 07:17:07 +0000 (15:17 +0800)]
formfacor: Add generic machconfig formfactors for i.MX 6UltraLite and 7Dual

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-uuc: Upgrade to 0.5.1 version
Lauren Post [Thu, 24 Dec 2015 07:17:06 +0000 (15:17 +0800)]
imx-uuc: Upgrade to 0.5.1 version

Support a dummy fat file to vaoid windows popup format dialog
when using manufacturing tool.

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.32
Lauren Post [Thu, 24 Dec 2015 07:17:05 +0000 (15:17 +0800)]
imx-vpu: Upgrade to 5.4.32

- Support AVcVuiInfo for Decoder through DecInitialInfo or DecOutputInfo
- Clear structure iram IOGetIramBase() fails to set them to avoid
using uninitialized variables.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-test.inc: Add depends to support x11 builds
Lauren Post [Thu, 24 Dec 2015 07:17:04 +0000 (15:17 +0800)]
imx-test.inc: Add depends to support x11 builds

This fixes build issues with mxc_epdc_x11_fb_test and x11_overlay
which have dependencies on x11

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.3 version
Lauren Post [Thu, 24 Dec 2015 07:17:03 +0000 (15:17 +0800)]
imx-test: Upgrade to 5.3 version

- Remove the ar3k hciattach since bluez4 and 5 support BT.
- mxc_mlb_test:  Use one file for mlb test - rename to generic name.
- mxc_sim_test:  Handle errors when running on un supported sim cards.

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.3 version
Lauren Post [Thu, 24 Dec 2015 07:17:02 +0000 (15:17 +0800)]
imx-kobs: Upgrade to 5.3 version

MMT-89: support reading bch geometry setting from debugfs

add new feature to read bch geometry setting from debugfs, it provides
the feasibility to support large oob NAND devices.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-imx: Upgrade to 3.14.52-1.1.0_ga release
Lauren Post [Thu, 24 Dec 2015 07:17:01 +0000 (15:17 +0800)]
u-boot-imx: Upgrade to 3.14.52-1.1.0_ga release

Consolidate GA support i.MX 6Q/QP/D/S/SL/UL and 7Dual

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6qpsabresd: Create i.MX 6QuadPlus Sabre SD machine configuration
Lauren Post [Thu, 24 Dec 2015 07:16:59 +0000 (15:16 +0800)]
imx6qpsabresd: Create i.MX 6QuadPlus Sabre SD machine configuration

MLK-11526-1 ARM: dts: add imx6qp sabresd board support

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx7dsabresd: Add epdc U-Boot configuration
Lauren Post [Thu, 24 Dec 2015 07:16:58 +0000 (15:16 +0800)]
imx7dsabresd: Add epdc U-Boot configuration

i.MX 7Dual supports epdc hardware so add epdc boot configuration

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6ulevk: Add Murata BT/WiFi module support
Lauren Post [Thu, 24 Dec 2015 07:16:57 +0000 (15:16 +0800)]
imx6ulevk: Add Murata BT/WiFi module support

Add Murata Type ZP (BCM4339) module support on below platforms:
- i.MX6UL SDB RevC (SD1 slot) + Murata adapter V2.0

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6sxsabresd: Add mqs sound support for the expansion board
Lauren Post [Thu, 24 Dec 2015 07:16:56 +0000 (15:16 +0800)]
imx6sxsabresd: Add mqs sound support for the expansion board

MLK-11130: ARM: dts: add mqs support mx6sx-sd-exp1 board

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6sxsabresd: Add Murata BT/WiFi module support
Lauren Post [Thu, 24 Dec 2015 07:16:55 +0000 (15:16 +0800)]
imx6sxsabresd: Add Murata BT/WiFi module support

Add Murata Type ZP (BCM4339) module support on below platforms:
- i.MX6SX SDB (SD3+SD2 slot) + Murata adapter V1.0 & SD EXT card

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6slevk: Add Murata BT/WiFi module support
Lauren Post [Thu, 24 Dec 2015 07:16:54 +0000 (15:16 +0800)]
imx6slevk: Add Murata BT/WiFi module support

Add Murata Type ZP (BCM4339) module support on below platforms:
- i.MX6SL EVK (SD1+SD3 slot) + Murata adapter V1.0 & SD EXT card

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6slevk: Add epdc uboot configuration and epdc firmware integration
Lauren Post [Thu, 24 Dec 2015 07:16:53 +0000 (15:16 +0800)]
imx6slevk: Add epdc uboot configuration and epdc firmware integration

SoloLite has epdc hardware configuration which is enabled by both uboot
and firmware.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6qsabred: Add Murata BT/WiFi module support
Lauren Post [Thu, 24 Dec 2015 07:16:52 +0000 (15:16 +0800)]
imx6qsabred: Add Murata BT/WiFi module support

Add Murata Type ZP (BCM4339) module support on below platforms:
 - i.MX6Q/DL/QP SabreSD(SD2 slot) + Murata adapter V2.0

Note: MX6Q/DL/QP SabreSD board requires HW rework.
Please refer to rework guide specified in schematic.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6qsabresd: Remove imx6q-sabresd-uart device tree
Lauren Post [Thu, 24 Dec 2015 07:16:51 +0000 (15:16 +0800)]
imx6qsabresd: Remove imx6q-sabresd-uart device tree

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6dlsabresd.conf: Add epdc boot configurations and epdc firmware
Lauren Post [Thu, 24 Dec 2015 07:16:50 +0000 (15:16 +0800)]
imx6dlsabresd.conf: Add epdc boot configurations and epdc firmware

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx6dlsabred: Add Murata BT/WiFi module support
Lauren Post [Thu, 24 Dec 2015 07:16:49 +0000 (15:16 +0800)]
imx6dlsabred: Add Murata BT/WiFi module support

Add Murata Type ZP (BCM4339) module support on below platforms:
- i.MX6Q/DL/QP SabreSD(SD2 slot) + Murata adapter V2.0

Note: MX6Q/DL/QP SabreSD board requires HW rework.
Please refer to rework guide specified in schematic.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-imx: Upgrade to 3.14.52-1.1.0_ga Consolidatd GA release
Lauren Post [Thu, 24 Dec 2015 07:16:48 +0000 (15:16 +0800)]
linux-imx: Upgrade to 3.14.52-1.1.0_ga Consolidatd GA release

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxf86-video-imxfb-vivante: Upgrade to 5.0.11.p7.4 version
Neena Busireddy [Tue, 5 Jan 2016 02:39:20 +0000 (20:39 -0600)]
xf86-video-imxfb-vivante: Upgrade to 5.0.11.p7.4 version

- License changed to MIT.
- Remove the upstreamed patch.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoweston: Add patches to fix bugs
Neena Busireddy [Tue, 5 Jan 2016 02:39:19 +0000 (20:39 -0600)]
weston: Add patches to fix bugs

- Patch to fix setenv and clear environments.
- Patch to fix screen blur for Qt5 CinematicExperience.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.4 version
Neena Busireddy [Tue, 5 Jan 2016 02:39:18 +0000 (20:39 -0600)]
kernel-module-imx-gpu-viv: Upgrade to 5.0.11.p7.4 version

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv: Add dependency on libpng
Otavio Salvador [Mon, 18 Jan 2016 19:43:34 +0000 (17:43 -0200)]
imx-gpu-viv: Add dependency on libpng

This fixes following warning, found on O.S. Systems' autobuilder:

,----
| WARNING: QA Issue: imx-gpu-viv-tools-apitrace rdepends on libpng, but
|     it isn't a build dependency? [build-deps]
`----

Series-to: meta-fsl
Series-prefix: meta-fsl-arm

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv: Update to 5.0.11-p7.4 version
Neena Busireddy [Tue, 5 Jan 2016 02:39:16 +0000 (20:39 -0600)]
imx-gpu-viv: Update to 5.0.11-p7.4 version

This version is released with 3.14.52-1.1.0_ga release.

Includes many of the bug fixes and stability improvements.
For more information refer to i.MX Linux Release Notes from following link:
http://www.nxp.com/products/microcontrollers-and-processors/arm-processors/i.mx-applications-processors-based-on-arm-cores/i.mx-6-processors/i.mx6qp/i.mx-6quad-processors-high-performance-3d-graphics-hd-video-arm-cortex-a9-core:i.MX6Q?fpsp=1&tab=Documentation_Tab#nogo

L3.14.52_1.1.0_LINUX_DOCS package is under Supporting Information.

Signed-off-by: Neena Busireddy <neena.busireddy@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibfslvpuwrap: Upgrade to 1.0.62 version
Lauren Post [Thu, 24 Dec 2015 07:17:14 +0000 (15:17 +0800)]
libfslvpuwrap: Upgrade to 1.0.62 version

Add frame rate check and return failure if frame rate is invalid value (<=0)

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.8 version
Lauren Post [Thu, 24 Dec 2015 07:17:13 +0000 (15:17 +0800)]
libfslparser: Upgrade to 4.0.8 version

-Support hevc in MPG2 parser.

-Enhance the parsing conditions in SPS nal unit.
 Parse system header to get stream id.
 For mpeg video, don't call parseh264 to avoid mistakes.

-Fix memory leak, free temp data buffer after parsing header.

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.8 version
Lauren Post [Thu, 24 Dec 2015 07:17:12 +0000 (15:17 +0800)]
libfslcodec: Upgrade to 4.0.8 version

Version alignment with other Multimedia components.

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.8 version
Lauren Post [Thu, 24 Dec 2015 07:17:11 +0000 (15:17 +0800)]
gst1.0-fsl-plugins: Upgrade to 4.0.8 version

-Fix memory leak in overlaysink, imxv4l2sink and imxcompositor.
-Fix IPU/PXP frame copying beyond the memory boundary.
-Add more holding buffer number for motion 0 and 1 in imxv4l2sink to fix deinterlace failure.
-Add divx support in vpudec, including 3,4,5,6.
-Add video overlay composition meta support to imxvideoconvert and imxcompositor.
-Remove unsupported formats for pxp 2d deivce.
-Simplify the caps in pad template of imxvideoonvert/imxcompositor/overlaysink/imv4l2sink.

Signed-off-by: Lauren Post <lauren.post@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agou-boot-fslc: Update to U-Boot 2016.01 based fork
Otavio Salvador [Mon, 18 Jan 2016 12:23:34 +0000 (10:23 -0200)]
u-boot-fslc: Update to U-Boot 2016.01 based fork

This updates the fork for the 2016.01 release. Currently following
patches are applied on top of it:

5da7953 wandboard: Drop revision specific DeviceTree support
3a636ab mx6sabresd: Enable video interfaces in bootargs
bec0ad3 Revert "embestmx6boards: convert to use config_distro_bootcmd.h"
fad3922 iMX6: Change mmcroot to use fixed mmc block index for USDHC
3c73816 embestmx6boards: Change default bootenv configuration
90bac9b mx6sabresd: Use LDO dtb file until LDO bypass support is added
885c473 mx6slevk: Use LDO dtb file until LDO bypass support is added

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: Move IMAGE_FSTYPES override to a SoC variable
Otavio Salvador [Tue, 26 Jan 2016 13:54:02 +0000 (11:54 -0200)]
imx-base.inc: Move IMAGE_FSTYPES override to a SoC variable

The IMAGE_FSTYPES need to be overriden without using the SoC family
overrides, for user-friendness, and to allow this we need to use a SoC
variable to construct the default value for setting.

Related to [YOCTO: #8945].

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base: Set UBOOT_ENTRYPOINT for i.MX6UL
Jun Zhu [Thu, 24 Dec 2015 07:17:10 +0000 (15:17 +0800)]
imx-base: Set UBOOT_ENTRYPOINT for i.MX6UL

As i.MX6UL has been changed out of mx6 SOC family, it need set UBOOT_ENTRYPOINT

Signed-off-by: Jun Zhu <junzhu@freescale.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoxserver-xf86-config: use modesetting for Vybrid
Stefan Agner [Tue, 19 Jan 2016 06:54:13 +0000 (22:54 -0800)]
xserver-xf86-config: use modesetting for Vybrid

Explicitly use the generic Xorg driver for KMS devices.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-base.inc: use modesetting driver for Vybrid
Stefan Agner [Tue, 19 Jan 2016 06:54:12 +0000 (22:54 -0800)]
imx-base.inc: use modesetting driver for Vybrid

With the use of the new DCU DRM driver we can make use of the
X-servers modesetting DDX driver. The driver uses directly the
DRM/KMS interface.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc (4.4): Introduce Linux 4.4 kernel
Stefan Agner [Tue, 19 Jan 2016 06:54:11 +0000 (22:54 -0800)]
linux-fslc (4.4): Introduce Linux 4.4 kernel

Introduce Linux 4.4 based vanilla Linux kernel. This version
allows to use the DRM DCU driver on Vybrid (with some additional
patches). Also enable PWM support through Vybrid's FlexTimer
module, and update the defconfigs.

Signed-off-by: Stefan Agner <stefan.agner@toradex.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqt4: Move BSP related bbappend files to dynamic layer
Otavio Salvador [Fri, 8 Jan 2016 16:15:35 +0000 (14:15 -0200)]
qt4: Move BSP related bbappend files to dynamic layer

The Qt4 recipes are now in a specific layer, meta-qt4, so we cannot
append those recipes if the layer is not included.

This moves the bbappend files to the 'qt4-layer' collection, enabling it in
case the collection is available.

Fixes [YOCTO: #8898]

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv: Use auto package splitting of .debug files
Otavio Salvador [Fri, 18 Dec 2015 12:45:07 +0000 (10:45 -0200)]
imx-gpu-viv: Use auto package splitting of .debug files

Since OE-Core:da5ec068 there is the possibility of splitting the
.debug files automatically. The imx-gpu-viv does not provide very
useful debugging information, due its proprietary nature, so splitting
the provided info across multiple packages just makes the debugging
harder.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agogstreamer1.0-plugins-imx: Update to version 0.12.0
Carlos Rafael Giani [Fri, 8 Jan 2016 08:43:25 +0000 (09:43 +0100)]
gstreamer1.0-plugins-imx: Update to version 0.12.0

Changes:

* vpu:
  - Completely rewritten plugin code; elements now based on libimxvpuapi
    instead of libfslvpuwrap
  - imxvpuenc_h264 inserts SPS/PPS data in front of I/IDR frames
  - imxvpuenc_mjpeg's quality factor actually has an effect, and is
    equivalent to the libjpeg's quality factor (it is used in exactly the
    same way to scale the quantization matrix' coefficients)
  - the encoder's output buffers no longer have to use DMA memory; they
    use regular system memory instead
  - new support in imxvpudec (referred to as "chroma interleaving") for
    NV12, NV16, NV24 as output formats as an alternative to the I420,
    Y42B, Y444 formats
  - removed all of the system frame number tracking code, since it is
    unnecessary; Instead, the libimxvpuapi's context fields are used to
    associate input/output frames with GstVideoCodecFrame system frame
    numbers
  - fix memory leaks related to missing buffer pool unref'ing

* imxv4l2videosrc:
  - support for crop metadata
  - element uses the width, height, etc. of the format that the device
    actually uses during operation (instead of default values)
  - autofocus control support via GstPhotography
  - fix incorrect GLib warnings
  - fix segmentation fault when shutting down the element

* eglvivsink:
  - remove extra g_free() calls, which lead to runtime errors
  - remove GLESv2 VIVANTE link dependencies
  - add Android platform
  - manually retrieve VIV direct texture functions
    with this and the link dependency elimination, this means that for
    platforms except the framebuffer one, no Vivante specific headers and
    libraries are needed anymore
  - fix blocking issue in the Wayland platform mainloop

* improved and expanded documentation

* pxp: NV16 *is* supported after all (it was actually a bug in GStreamer
  pre-1.5.91)
  NOTE: this does not break compatibility with GStreamer versions older
  than 1.5.91

* compositor: Update backported aggregator code to GStreamer 1.6

* blitter:
  - error handling improvements
  - add missing buffer pool unref'ing, which lead to memory leaks
  - add missing compositor dependency to blitter base

* uniaudio:
  - only build the uniaudio plugin if at least one codec was found during
    configuration
  - disable plugin if the gstaudio library is not available
  - add AAC profile field to the sink caps with GStreamer >= 1.4.4 to
    ensure the uniaudio decoder is only used for AAC-LC data

* ipu: increase fill frame width from 8 to 64 pixels to make IPU fill
  operations work with pre-3.14 Freescale kernels

* g2d: use padding pixels when setting surface parameters, fixing G2D
  failures with frame sizes that aren't aligned

* wscript:
  - improve Android support
  - fix installation paths for the common, blitter, compositor libraries

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolibimxvpuapi: Update to version 0.10.1
Carlos Rafael Giani [Tue, 15 Dec 2015 22:51:31 +0000 (23:51 +0100)]
libimxvpuapi: Update to version 0.10.1

Changes:

- add debian packaging files
- update waf to version 1.8.16
- add workaround in wscript to prevent stale pkg-config .pc files
- fix memory leak by adding missing IOFreeVirtMem() call in vpulib backend

Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoimx-gpu-viv: Remove wrong imx-gpu-viv-tools-dbg packaging
Otavio Salvador [Fri, 18 Dec 2015 12:49:22 +0000 (10:49 -0200)]
imx-gpu-viv: Remove wrong imx-gpu-viv-tools-dbg packaging

The imx-gpu-viv-tools-dbg package where pointing to the very same
binary as imx-gpu-viv-tools, instead of the counterpart .debug
file. This removes this definition.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofsl-vivante-kernel-driver-handler.bbclass: Postpone defconfig changes
Otavio Salvador [Thu, 10 Dec 2015 16:14:35 +0000 (14:14 -0200)]
fsl-vivante-kernel-driver-handler.bbclass: Postpone defconfig changes

The defconfig changes should be done later in the process so the
.config file is generated, using any other mean, and mangled to
respect the distribution setting regarding the module use or not.

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agolinux-fslc: Upgrade to 4.3-based kernel
Otavio Salvador [Mon, 9 Nov 2015 11:27:04 +0000 (09:27 -0200)]
linux-fslc: Upgrade to 4.3-based kernel

Besides the revision change, this synchronizes the defconfig used for
the i.MX and the Vybrid SoCs. The only SoCs using a specific defconfig
file are the MXS-based ones (i.MX23 and i.MX28) as the others are
consolidated on the single defconfig file.

Change-Id: Id00d6dbaa8fcec5c9b6c5089d11d1ebe5c0e44e1
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoipsec-demo: set COMPATIBLE_MACHINE as qoriq
Ting Liu [Sat, 9 Jan 2016 06:43:53 +0000 (14:43 +0800)]
ipsec-demo: set COMPATIBLE_MACHINE as qoriq

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoipc-module: remove useless do_configure_preappend
Ting Liu [Sat, 9 Jan 2016 06:43:52 +0000 (14:43 +0800)]
ipc-module: remove useless do_configure_preappend

The fix was merged in source code now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoipc-module: define SOC outside of do_compile
Ting Liu [Sat, 9 Jan 2016 06:43:51 +0000 (14:43 +0800)]
ipc-module: define SOC outside of do_compile

the SOC need to be availble for all tasks as it used in EXTRA_OEMAKE.
otherwise, make clean will break

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoipc: update to commit b010e35
Ting Liu [Sat, 9 Jan 2016 06:43:50 +0000 (14:43 +0800)]
ipc: update to commit b010e35

New commits imported:
b010e35 Makefile: use KBUILD_OUTPUT to point to build-artifacts

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocryptodev: update to commit 53e4d0fe
Ting Liu [Sat, 9 Jan 2016 06:43:49 +0000 (14:43 +0800)]
cryptodev: update to commit 53e4d0fe

New commits imported:
53e4d0f fix COMPAT_CIOCKEY ioctl command number
7d0d0de remove MAY_BACKLOG flag from requests
85146b8 fix double free pkc->req on error
4078382 check return codes for copy to/from user functions

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqoriq-debug: remove
Ting Liu [Sat, 9 Jan 2016 06:43:48 +0000 (14:43 +0800)]
qoriq-debug: remove

This pkg will not be supported anymore.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: remove unnecessary ending spaces
Ting Liu [Sat, 9 Jan 2016 06:43:47 +0000 (14:43 +0800)]
asf: remove unnecessary ending spaces

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: update to commit 9580a62
Ting Liu [Sat, 9 Jan 2016 06:43:46 +0000 (14:43 +0800)]
asf: update to commit 9580a62

New commits imported:
9580a62 asf_ipsec: Patch to fix the compilation error.
e7a1828 Merge pull request #84 in SDK/asf from ~B49015/asf:sdk_1.9_master to sdk_1.9_master
eee4467 DEBUG: compilation error fixed when ASF_IPSEC_DEBUF flag is enabled.
71db029 asf_tcp: Patch to correct tcp timestamp type.
f8e3df0 IPSEC: Fixed for stack dump on running fragmented ping traffic
c63ffa5 asfipsec: Patch to fix iph issue in non-proto offload case.
7170610 asfipsec: Patch to decrement buffer count of all frag in red off case
f5cd876 asfipsec: Patch to fix inSA offload in NAT-T case.
d455e70 Makefile: use KBUILD_OUTPUT to point to build-artifacts
be19cd0 asf_frag: Patch to fix crash on mtu change.
0f88dae asf_ipv6_frag: Patch to fix ipv6 UDP frag and ping6 forwarding issue.
8c3f4bc ipsecfp.h: Patch to add support of SHA2-384 and SHA2-512
03bd11a ipsecfp.c: Patch to fix crash in ipsec in full mode.
e2213ef ipsec ctrl - correction in container index check
33e0fd4 ipsec - ah - fix the fragmentation case for dpbp check
f5f542d asf - return packets to linux on interface not found
1c7241e asfipsec - 64 bit support Signed-off-by: Hemant Agrawal <Hemant@freescale.com>
879b161 asfctrl - using ASF defined number of interfaces
83b6181 IPSEC: Crash fixed in case of revalidation
1b26690 ASF_REASM_DEBUG: Fix for compilation error when ASF_REASM_DEBUG is enabled
74a5953 ASF_DEBUG: Improving prints for ASF Debugging
eee54a3 asf icmp reply support for DF flag
10e3bf8 asfipsec - error checks, debug prints and error handling corrections
c47696c ipsec - lock, unlikely, null checks
5d26d9f ipsec- meaningfull caam error prints
834f88a asfipsec-ah- correction in ah shared desc direction
88edb32 asf_ipsec: adds the support for SHA2 algorithms in AH.
ca8c486 ASFIPSEC: While deleting container properly freeing the pSASPDMapNode in SA
c2c81cc ASF_IPSEC: Wrong counter being incremented. When OuSA is not found
32cea7f ASFIPSEC: Patch to avoid looping in case of rekeying on running traffic.
239c317 ASF_IPSEC: Adding local_bh_enable() in error case. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <sridhar.pothuganti@freescale.com> Change-Id: If72f7135fe5e294a51f0c582bdbd56ca3c78f844 Reviewed-on: http://git.am.freescale.net:8181/24207 Reviewed-by: Nikhil Agarwal <Nikhil.Agarwal@freescale.com> Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com> Tested-by: Sandeep Malik <Sandeep.Malik@freescale.com>
42837b8 ASF_IPSEC_AH: ASFSkbFree is not happening for DPAA/QMAN based platforms in some error cases as the free is under check. Correcting this. CQ:ENGR00336981 Signed-off-by: Sridhar Pothuganti <sridhar.pothuganti@freescale.com> Change-Id: Iaf847710cf583ff4d7e708013af77f522027e2eb Reviewed-on: http://git.am.freescale.net:8181/24208 Reviewed-by: Arun Pathak <arun.pathak@freescale.com> Reviewed-by: Sandeep Malik <Sandeep.Malik@freescale.com> Tested-by: Sandeep Malik <Sandeep.Malik@freescale.com>
e0410f9 ASFIPSEC: [sswan] Fix for issues with Child SA re-negotiation.
e52f3c5 ASFIPSEC: Patch to fix flow re-validation issue.
b99fb26 ASF_IPSEC: Freeing the skb in case of ICV comparion failed for AH
163ed89 asf: Patch to fix ping6 fragmentation issue.
48220d7 asf: Patch to fix skb data pointer and other frag issue.
2ff46e7 ASF for DPAA integrated with Linux QoS module
a7d1981 asf-disabling qos compilation for dpaa platforms
8bcee43 ipsec-changing multi-policy sa support to be compile time
580a4f7 ipsecproc: Patch to fix display of ipsec stats.
955d26f asfctrl: Patch to fix error print when vlan i/f is removed.
44a5110 asf_fmc: Patch to update the name of xml files.
9f67f3f asf: Patch to fix ipv6 issue on dpaa.
fac492d asf: Patch to return jumbo packet back
6b3d862 Removing Ethernet padding in abuf to skb conversion
db49a6b Aligning function ASFFFPProcessAndSendFD and ASFFFPProcessAndSendPkt while validating flows
6b5e75d ASFIPSEC: Patch to fix issues of order conversion while code review.
1c80cd5 Klocwork_LS1021_ASF: Fixing klocwork issues.
6a4a834 ASF ARM Porting: Using ASF network order and host order macros.
e60d41c asfipsec: Patch to fix crash in running traffic when ipsec script is run.
b682589 Adding HARD_TX_LOCK while doing dev hard xmit.
da26fbd ASFIPSEC: Fix for out_sa stats not incremented in IPv6
3a41ff1 ASFQOS: Crash on configuring DRR QDisc after flushing out DRR Qdisc first time.
04fd26d ASFIPSEC: Patch to fix ICV error due to cache cohorency issue.
26b8f9d ASFIPSEC: Porting ASFIPSEC to LS1021
80d1153 ASFIPSEC: Flushing ah-sha1 policy at high rate
982d542 Firewall rules don't work if applied, before flows get offloaded.
a7a2fee ASF_FW/NAT: SCP is not working when SNAT [IPv4/IPv6] is enabled on the DUT.
9d2ed93 Applying Firewall rule in running traffic gives CRASH.
426aefa ASFIPSEC: Getting crash while testing for IPv6-in-IPv6 ESP with TCP protocol.
d3843de ASFIPSEC: Crash on making interface down.
ae72e06 ASF IPv6 Firewall: Sending high rate traffic in the
e19c45e ASF ARM Porting: While forwarding if we down Egress interface, we get crash.
c01729e ASF ARM Porting: Cannot remove configured VLan
0ac82ad ASFIPSEC: Porting IPSEC AH to LS1021A (arm based).
38671c3 ASF ARM porting: IPv6 Fragmentation
fb2ca85 ASF ARM porting: IPv4 Fragmentation
471a4b2 ASF ARM porting: IPv6 forwarding with TCP/UDP header.
4d443a1 ASF ARM Porting: Removing compilation error of ASF without rx tx patch in linux.
aa33f01 ASF ARM porting: IPv4 forwarding with UDP/TCP header.
f5a8705 ASF ARM porting: Defining order conversion macros.
3f76910 ASF ARM porting: Setting ARCH=$(ARCH) in Makefile
d5dabe7 ASF: Removing compilation error because of updation in linux structure 'dpa_priv_s'.
01cd004 asf: Patch to fix crash in case of ipsec at high rate traffic.
66fe758 asfipsec_ah: Patch to fix sha256 in case of AH only.
a81d920 asf: Patch to fix wrong port no assigned in ipsec flow.
8ebb93b asf: Patch to handle ipv6 traffic in case of seqno overflow.
fcd0843 asf: Patch to fix sha256 issue.
7467249 Crash observed with AH-ONLY-SHA384
9e37dc8 asf: Patch to fix some klockwork issue.
e1b2a12 ASFIPSEC: Adding support for handling IPv6 in IPv4 and IPv4 in IPv6 case in QMAN SEC4x
3c05ad1 ASFIPSEC: TOS is not correctly copied in IPv4 in IPv6 case
6363e0b Solution to Fragmented packets are not getting through AH tunnel
5a96807 asf: Patch to fix tail pointer-offset issue in 64-bit machine.
26375d3 ASFIPSEC: Solving problem in secfp_inCompleteCheckAndTrimPkt code
bdb17ab ASFIPSEC: Solving case of infinite loop in secfp_qman_out_submit
13dc5a9 ASFIPSEC: Freeing correct sgt pointer in espDQRRCallback
ca75bf9 ASFIPSEC: Incrementing pSG->len by ulFragPadlen in secfp_qman_in_submit
a58ba45 ASFIPSEC: struct addr in scatter_gather_entry_t is changed.
81d797b ASFIPSEC: Linearising frag_list or nr_frags coming from Linux
9458153 asf: Patch to remove conflict of skb cb field b/w reasm and ipsec.
4d3993b Solution to ESP IP pakcet more than interface MTU going out
1175536 ASFIPSEC: Handling seq number overflow in espDQRRCallback
b5fb8fc ASF: Removing compilation error after adding patch: "ASFFFP adding support for PPP-IPV6 traffic"
4018106 ASFFFP - adding support for PPP-IPV6 traffic
b26d25f asf_klockwork: Patch to fix issue reported by klockwork
36ffe84 ASFIPSEC: Fix for crash seen on T4240 in case of ping
ef4a7a1 asf_compilation: Patch to remove the compilation warnings.
3f7d40c secfp_finishOffloadOutPacket: corrected the SPD index value l2blob refresh
837a5f9 ASFIPSEC_AH: Fix for crash seen on T4240 in AH only case
745a912 ASFIPSEC: Fixing miscellaneous error
1cdde18 asfIpv4Fragment was not copying the IP options in fragmented packets.
62b1311 asfIpv4Defrag IP header length corruption solved
c7c8ba3 ASF fragmentation: Buffer freed in case of VLAN parent device  not found
2c478eb asf_free_buf_skb function was not considering the frag_lsit while releasing the buffer to BMan. asf_free_buf_skb is also called, in error case, after ip reassemmbly. In that case the buffers are leaked.
d0572b1 ASFIPSEC: Removing compilation errors.
ee1e3e8 ASF_IPSEC: Fix for SA leak(Orphaned SA wothout Container)
b2ac65f asf_ipsec: Patch to add the support for AH in Sec 3.x
44cb2b0 asf_reasm: Patch to fix the processing for re-asm.
99f89ed asf_ipsec: Patch for multi-policy single SA additional cases.
a6cb24c ASF-IPSEC:SA flush with traffic through the DUT causing crash.
fd7f119 ASFCTRL: Out SA is not getting offloaded if SA and then policy is configured.
93eb52b TC/TOS in inner header is not getting copied to TOS/TC of outer header respectively.
0fc4363 asf: Resolve fragmentation issue in case of red-off ipsec.
2ed8b33 ASF: Patch to fix hop-limit/ttl decrement in asf IPSec module.
d6cc5b5 ASFREASM: Patch to fix the crash in case cb not found.
aef3564 asf_ipsec_ah: Patch to fix the issue of ping6 not working.
5a82c4d ASFIPSEC: Use correct length in descriptor while using dpovrd for multiple policy.
f305c67 asf_ipsec: Patch to fix the ICV errors in case of ESN.
9b5ae90 asf_ipsec: Patch to fix the crash seen in case of AH IPsec.
ae85d24 ASFIPSEC: Trim correct fragment after decrypting packet.
8d2c11c ASFIPSEC_AH: Search AH table to find SA in case of dropping packet.
d83a4d5 ASFIPSEC: Changing the block size of AES-CTR.
a37f009 ASFIPSEC: Added des/3des-xcbc support.
38259f6 asf_ipsec: Patch for ICV errors seen in case of SHA256.
07e2c90 ASFIPSEC: Fix for ASF-IPSec to run with SA first then policy configuration.
62844a7 asf_ipsec: Patch to fix the issue of crash in Ping6.
4f60755 asf_ipsec: Patch to add the support of multiple policy mapping to single SA.
b5c14e6 ASF-AH: Take care of padding in ICV of AH Header
98c79ea asf_ipsec: Patch to fix the issue of errors introduced while removing the compilation errors.
31ab748 asf_ipsec: Patch to fix the issue of memory leak for ping6.
0e3836e asfipsec: TCP retransmission fails with IPSec configuration.
efdf28a ASF-IPv6-IPSEC : proper link table creation for IPv6 packets having nr_frags
69fccba ASFIPSEC: Correcting the in_sa and sa_list stats display
6552560 sf_ipsec: Patch to fix the issue of packet drop for > 1360 bytes.
55be89f ASFIPSEC: Added support for NULL XCBC algorithm.
a2a0982 asf_ipsec_qos: Patch to fix the memory leak in IPsec module.
103094e asf_ipsec: Patch to fix the AH IPv6 ping with ESN.
24cde96 ASFIPSEC: Fragment the IPv4 packet if required and send for IPv4-in-IPv6 tunnel.
2c16da6 ASF: setting gianfar_destructor to NULL before sending packet to linux.
9d817d0 asf_ipsec: Patch to add the support to copy DSCP from inner to outer header.
0992f05 IPSEC: fix for fragmentation data buffer corruption.
db18bda IPSEC- Supporting cipher algo AES-CTR, ESP-NULL and
81b20cd asfipsec-enabling seq overflow handling and adding re-keying in overflow case.
c23b1ae IPSEC-supporting PMTU based icmp in Source NAT case.
fd708ce asfipsec-fix the tail stripping for fragmented packets
1887c6d asfipsec-optimizing the mtu length check and l2blob expiry.
76c5d69 Fixed ESP padding in IPsec to be monotonically increasing numbers.
ca74bfa ASF: Removing compilation errors for XTRA Stats
606c594 Adding more functionality in asf_pktdump
80c8fa0 ASF: Supporting Multiple flows in SCTP
2ba1847 ASF: Miscellaneous changes
d27137e ASF: Supporting SCTP traffic in firewall/NAT
82a89e4 ASF: Invalidate all VSG's in asfctrl_invalidate_sessions function
ec6d625 ASF: Added VSG support
df42b23 ASF_V6: Patch to fix crash if first fragmented packet is sent to Linux
63a13e2 ASF: optimization of SG while fragmentation to reuse the first buffer
7718065 ASF: Check the more fragment bit for IPv6 at proper offset
810f173 ASF_FFP: Patch to fix the race condition in case of RT
c9e4edd ASF: dummy functions removal
e63f176 ASF: Making asfGetNode and asfReleaseNode thread safe
3e8e7b3 ASF: Fix for iface_not_found problem when device ifindex > 16
1354c95 ASF_REASMBLY: Modifying IP options only if option header is present
349d6d9 ASF: Change the dummy packet offset
b3ee577 ASF: made old_l2blob_jiffies_timeout user configurable
93c4864 ASF - runtime packet dump support
2471d1d ASF Cleanup - Timer RQ corrections
4180b6e Using IP header Identifcation field from the Head SKB itself.
a82969d ASF_IPv6: Porting the miscellenous changes for IPv6 activity.
61c08a4 ASF STATS - Adding extra stats for Reassembly and Timer
6def023 ASFSTATS - Enhancing the stats printing
3009524 Replacing printk with pr_err, pr_info, pr_warning
1f896bf ASF: Patch to avoid creation of duplicate flows
5862af3 ASF: Patch to add support for ip_options.
4c58c87 ASFIPSEC: Adding proc interface for showing IN/OUT SA list
4398bc9 ASF: Cleanup and reallignement of common global variables
1ebe80c ASFCTRL: Enabling the net MTU change event
7062cec ASF_REASSEM: Allocating fragmentation frame from outer dev
2875982 ASF: Minor enhancements
d41f350 ASF: Setting skb->next to null in asfReasmCleanCb
51d7efa ASF: Defining dimensioning macros at single place
93d673d ASF: updating the the asf reassembly library

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: remove empty install directories
Ting Liu [Sat, 9 Jan 2016 06:43:45 +0000 (14:43 +0800)]
asf: remove empty install directories

If ASF was not enabled in kernel, no .ko will be generated.
rm these empty install directories to avoid QA issue.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoasf: not package .ko files in PN
Ting Liu [Sat, 9 Jan 2016 06:43:44 +0000 (14:43 +0800)]
asf: not package .ko files in PN

The .ko files will be packaged into kernel-modules-asf by default.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-asf: rename back to asf
Ting Liu [Sat, 9 Jan 2016 06:43:43 +0000 (14:43 +0800)]
kernel-module-asf: rename back to asf

asf ships not only .ko files, but also scripts.

As the recipe inherits module.bbclass, kernel-module-* will be
created to package .ko if installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa-apps: update to commit 1d9418a
Ting Liu [Sat, 9 Jan 2016 06:43:42 +0000 (14:43 +0800)]
usdpaa-apps: update to commit 1d9418a

New commits imported:
1d9418a dpa_offload: Avoid creating multiple tables using the same Cc nodes
5a1f54e dpa_offload: Support multiple IPSec policies per tunnel

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agousdpaa: update to commit b73546d
Ting Liu [Sat, 9 Jan 2016 06:43:41 +0000 (14:43 +0800)]
usdpaa: update to commit b73546d

New commits imported:
b73546d Merge pull request #59 in SDK/usdpaa from ~R54964/usdpaa:sdk-v1.8.x to sdk-v1.8.x
9f5bf07 qbman: add null check for lni while releasing sp
c414204 qbman: enable sending cscn to dcp for old qman revision
41d2593 qbman: hardcode the mps
6e644c7 qbman: Handle lock failure and memory leak
a8746fc dma_mem: Add check for lock failures
e45130e usdpaa: Relocate spin_lock_destroy calls
4e68d11 usdpaa: Update standalone-env and Makefile.kw

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoeth-config: set CLEANBROKEN to 1
Ting Liu [Sat, 9 Jan 2016 06:43:40 +0000 (14:43 +0800)]
eth-config: set CLEANBROKEN to 1

'make clean' not supported.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofm-ucode: update to commit 33c6c7a
Ting Liu [Sat, 9 Jan 2016 06:43:39 +0000 (14:43 +0800)]
fm-ucode: update to commit 33c6c7a

New commits imported:
33c6c7a fm-ucode: replace b4860_r2.0 file by b4860_r2.2
a039bc9 fm-ucode: release 106_x_17 version
b55c6e0 fm-ucode: release 106_x_16 version
6184be0 fm-ucode: add missing files for _108_ version
143ca18 fm-ucode: release 108_x_5 version

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofmlib: update to commit d697de9
Ting Liu [Sat, 9 Jan 2016 06:43:38 +0000 (14:43 +0800)]
fmlib: update to commit d697de9

New commits imported:
d697de9 fmlib: remove cc-aging support
9ec11a2 fmlib: fix coherency of data structures with fmd
d357b76 Merge pull request #8 in DPAAMODULES/fmlib from ~R27762/fmlib:add_hm_node_stats to master
7523dd1 fmlib: add support for FM_PCD_KgSchemeGetCounter
c1fd2c3 Render header manip node statistics available in user space
2a9113a fmlib: fix policer spelling issues
5e77666 fmlib: Remove FM_PORT_PcdPrsModifyStartOffset routine - not supported
4cdcebd fmlib: Update fmlib function name to its correct declaration name

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agofmc: update to commit a079d2c
Ting Liu [Sat, 9 Jan 2016 06:43:37 +0000 (14:43 +0800)]
fmc: update to commit a079d2c

New commits imported:
a079d2c update variable names to match fmlib changes
44b1f42 Revert "Aging support added for classification"
9732cd8 Aging support added for classification
03505c3 [QSDK-2331] fmc: PIR/PBS are considered synonyms for CIR/CBS in policer tags
757754b ENGR00341753: Schemes sharing between ports is not working
eca7122 Added makefile support for LS1043

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agocst: update to commit 65f79eb
Ting Liu [Sat, 9 Jan 2016 06:43:36 +0000 (14:43 +0800)]
cst: update to commit 65f79eb

Update LIC_FILES_CHKSUM as the code layout changed.
New commits imported:
65f79eb Corrected Bit number printing for LayerScape SoC's
336e5f3 Added attribution to Brad Conte for SHA256 code
6d867f4 OTPMK and DRV utilities have been renamned
0cf0787 Hash_DRBG library license chanaged to BSD
4c941cd VERBOSITY option added in Makefile
8313f56 Makefile modified for distclean
becbb28 OTPMK Hamming algorithm used from library
f3c205f Library compiled as a static library
d17368c hash_drbg library integrated in CST
66ac7df CST directory structure modified
f84a78e Memory errors resolved
ea0ead0 gen_otpmk: Corrected bit Order Printing
74bbb24 LS1043: Input Files added
2f8225a LS1:: Modify input file addresses for LS1021 Rev2.0

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: porvide qemu
Ting Liu [Sat, 9 Jan 2016 06:43:35 +0000 (14:43 +0800)]
qemu-qoriq: porvide qemu

Otherwise the version in Poky will be used as some pkgs depends on qemu.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: replace /usr/share with ${datadir}
Ting Liu [Sat, 9 Jan 2016 06:43:34 +0000 (14:43 +0800)]
qemu-qoriq: replace /usr/share with ${datadir}

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu_qoriq: import ptest patches from poky
Ting Liu [Sat, 9 Jan 2016 06:43:33 +0000 (14:43 +0800)]
qemu_qoriq: import ptest patches from poky

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: empty not supported PACKAGECKG
Ting Liu [Sat, 9 Jan 2016 06:43:32 +0000 (14:43 +0800)]
qemu-qoriq: empty not supported PACKAGECKG

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: update to commit 8362a29
Ting Liu [Sat, 9 Jan 2016 06:43:31 +0000 (14:43 +0800)]
qemu-qoriq: update to commit 8362a29

New commits imported:
8362a29 nbd: fix type conversion error when doing ioctl

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoqemu-qoriq: enable back libusb through PACKAGECONFIG
Laurentiu Tudor [Sat, 9 Jan 2016 06:43:30 +0000 (14:43 +0800)]
qemu-qoriq: enable back libusb through PACKAGECONFIG

This fixes usb passthrough support.

Signed-off-by: Laurentiu Tudor <Laurentiu.Tudor@freescale.com>
Cc: Lu Wei <wei.lu@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: set COMPATIBLE_MACHINE as qoriq-ppc
Ting Liu [Sat, 9 Jan 2016 06:43:29 +0000 (14:43 +0800)]
pkc-host: set COMPATIBLE_MACHINE as qoriq-ppc

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: do not install cli
Cristian Stoica [Sat, 9 Jan 2016 06:43:28 +0000 (14:43 +0800)]
pkc-host: do not install cli

cli is a user-space application, and is splitted from pkc-host

Signed-off-by: Cristian Stoica <cristian.stoica@freescale.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-host: update to commit 26df0a3
Ting Liu [Sat, 9 Jan 2016 06:43:27 +0000 (14:43 +0800)]
pkc-host: update to commit 26df0a3

New commits imported:
26df0a3 fix references to dsa sign, verify and keygen buffers
3d11a8b remove obvious comments in dsa.c
e04defa fix ecdsa-sign test
60a16b2 fix ecdsa-verify test
ffaf905 fix ecdsa verify descriptor
7fab9ff remove redundant global variables in ecdsa_test.c
fefdadb clarify assignments in dsa_keygen_init_crypto_mem
12c1e53 avoid redundant typecasts when accessing structure dsa_keygen_buffers
dc3e433 avoid redundant typecasts when accessing structure dsa_verify_buffers
d189aea avoid redundant typecasts when accessing structure dsa_sign_buffers
bc77727 clarify assignments in dsa_verify_init_crypto_mem
0a33653 clarify assignments in dsa_sign_init_crypto_mem
bc223b9 fix incorrect macro-expansion of arguments
c203b2e remove redundant subtraction in dsa.c round-robin code
e3f03bc remove dead code in ecdsa_test.c
7b236cb remove dead code in rsa_test.h
d084594 whitespace clean-up in rsa, dsa and ecdsa test vectors
b7e292a white-space clean-up in dsa.c
f792c40 add notifications about not supported configurations
309202d fix SEC jobs error reporting
f67f35c fix debug print for descriptors
973c09d sync with firmware build 8fcd0bc
3d32570 remove not necessary #includes in algs_reg.c
806bfae refactoring: merge trivial VIRTIO functions
4074a65 fix build error for VIRTIO_C2X0=y
58d8ba0 reduce #ifdef obfuscation for sym_cra_init and sym_cra_exit
ee3aa86 merge three adjacent #ifndef VIRTIO_C2X0 regions
07b8e40 move sym_cra_init and sym_cra_exit to allow merge of #ifdef regions
e545259 move fill_crypto_dev_sess_ctx function to merge two #ifdef regions
143d79f do not silence print_error at build time
4ed84e3 remove redundant void* to void* type casting
47b6f64 refactoring: use compound statements with if constructs
cd15d02 use dev_err to print device related errors
30a5705 replace ALIGN* macros by function calls
96d67e7 remove redundant #define for BRR_VALUE
2d74d96 remove unnecessary #include's from crypto_ctx.h
0ac80bd rename rsa test callback function for clarity
4ee3ee1 match types of members in fsl_crypto_alg with those in related structures
b6f6e97 rename structure to avoid confusions with the variables
c960102 always print errors related to descriptors
9920b1f update ring index at the end of the loop
67f743b remove redundant typedef fsl_h_mem_handshake_t
3039d45 remove redundant typedef crypto_h_mem_layout_t
4b19fb5 remove redundant typedef crypto_c_hs_mem_t
6ae863d remove redundant typedef fsl_pci_dev_t
e8050e2 remove redundant typedef driver_ob_mem_t
1ac31db remove redundant structure crypto_dev_mem_info
8b134fb rename members of pci_bar_info structure
60ffef6 remove redundant typedef pci_bar_info_t
1ce8047 use the same type for function and return variable
319bc02 make temporary variables the same type as the original
3fbe1f7 rename variable and function for clarity
4d4bf3c make volatile the handshake memory on host
d64eac6 fix reading values from the local memory
692ab74 rename variable to reduce reading confusions
c9ad613 rename per_core_struct as bh_handler
5c30ce6 remove duplicate bottom half handler variable
15254d0 merge content of structures bh_handler and per_core_struct
e54a71d sync with firmware build bef6960
d1e1e5e remove redundant macro RING_FULL from within block
64898d4 clarify comment about where to put fw_resp_ring
d819503 remove not used global variables
0fb1293 remove not used define
09b590d relocate external declaration of *per_core
91a450e remove Makefile target 'dist' incorrectly aliased to 'clean'
dda196a separate cli application build from the driver
7261910 build a dynamic linking cli application
df39d8c use a bigger type for req_mem_size
f78435f fix machine crash on timer test
a7e8a6a add firmware fixes for incorrect IRQ signalling
27751bf refactor: remove common_sysfs_show/store from sysfs.h
4a60e77 remove redundant print function
464704b sync with firmware updates
71446a0 clean-up tests before releasing driver structures
6d982cd fix offset calculation for shared counters struct
110b1e7 remove duplicate code and #ifdef branch
f3e08dd refactoring: extract function from loop to enhance clarity
745af67 remove redundant structure for shadow counters
1f92e9b remove not used external declaration
0a53ea3 remove code fragment without purpose
26d2ef5 remove redundant fw_resp_ring_t typedef
d65d0e7 remove redundant shadow_memory structure
5fb0526 remove redundant resp_ring_entry_t typedef
76f0d17 remove redundant ring_counters_mem_t typedef
a7f5054 remove redundant ring_shadow_counters_mem_t typedef
d2e1765 remove redundant ring_idxs_mem_t typedef
ad94e8a remove redundant counters_mem_t typedef
f9a4c40 remove not used typedef
c581cd1 use #else to merge two exclusive #ifdef's
18909d3 remove not used structure member
4c83440 add include guards for crypto_ctx.h
edeee8a remove redundant structure ctx
c93c234 fix Makefile to allow parallel make
e43b78e fix round-robin context allocation for RSA operations
f9beb49 remove unnecessary lock contention
31e004a add static qualifier for file-bound variables
bbba578 remove code for handling INTx and MSIx
7e04c32 remove unnecessary self-asignment
8f79b8c remove wt_cpu_mask variable definition from header file
d1a76fd cleanup: remove unnecessary "include"s
a6d3286 rename reserved identifiers
21cb055 rename source files to avoid confusions
8072597 use kernel API to count the cpus
bb2ddcd rename lock variable to match its purpose
e51e179 fix incorrect use of get_cpu() on debug_print
4a2d864 clear test_done flag inside check_test_done()
5432210 clarify function return value
7ef3b7a remove unused header inclusions
3119e2a move get_cpu_ticks definitions closer to their users
34bd796 remove unused 'flag' argument from callbacks
602db60 remove leftovers from Makefile
fff643f merge two related short functions
36e7aeb clarify debug print message
0908d09 rename function
a441393 rearrange code to remove forward declaration
9e303f3 clean-up formatting and remove dead code
509ce95 make sure side-effect ioreads are not optimized away
d2104ff read-back the last written LAW to guarantee LAWs visibility
f58b316 split boot procedure into independent functions
8543c2f decrement device count on device remove
d4e5650 fix CPU core reset sequence
90726f3 do only a CPU core reset when device is removed
ae4e740 execute device reset inside device remove function
ad65fdb remove rearrange_config function
b3d4633 remove redundant typedef resp_ring_entry_t
d025737 remove redundant rounding of ring lengths
5805ff8 remove unused priority queue code
bf6ee11 clarify the kernel patch procedure
2d19537 refactoring: use sg_cnt as index
c8ad184 clear ring lists before freeing ring memory
1969e0a consider all warnings as errors
d262686 clean-up Makefile
e445714 Revert "add parameters to help with cross-compilation"
0877954 use standard macros to identify the platform
ae1d33b move functions around to remove forward declarations
1318c36 remove unnecessary forward declarations
bc07560 fix pointer dereferencing after kfree
533ccd6 remove unreachable #ifdef 0 code
a03f89c remove strict_strtol macro
74f890d mark hanshake success inside handshake function
f9460fb remove unused macros
8313f5c refactoring: remove unnecessary code block
2c4f52c refactoring: extract function hs_init_rp_complete
2a2139a refactoring: extract function hs_fw_init_complete
563cf8c refactoring: extract function hs_firmware_up
5e26693 remove unnecessary Makefile variables
5de6d6d remove conditional code for non-powerpc platforms
528a89d remove no longer used code
5e65fa6 use portable definitions for big endian READ64/WRITE64
0a2b97d remove ASSIGN32 macro from the rest of files
2347c8d remove ASSIGN32 macro from rsa.c
e277959 remove ASSIGN32 macro from hash.c and symmetric.c
cde6406 remove ASSIGN32 macro from dsa.c
3f9613c remove ASSIGN32 macro from dh.c
e6d0ba2 remove all uses of ASSIGN16 macro
7ad9d6c remove all uses of ASSIGN8 macro
0a7f003 use portable constructs for all platforms
3cb5a4c remove more iowrite macros
6acb490 remove unnecessary wrapper over iowrite8
29cd4a0 remove remaining wrapper macros for PCI 32bit read/write
c3c895e use iowrite32b to write to PIC_PIR register
b8dd736 set a single workqueue for operations
367f105 remove unused members of per_core_struct_t
0e7324c remove unused tasklets related code
724dcd9 remove support for pre 2.6.19 kernels
ef22e13 refactoring: avoid redundant typecast to void *
ab04330 explain the choice of index for response ring
8bd4428 clarify the meaning of these assignments
6e0950a simplify calculation of handshake memory address
09d4f8e refactoring: use variable to avoid duplicated addition
886354a remove duplicated definitions of CACHE_LINE_SIZE
199efd0 fix calculation of outbound memory length
d8d918f clarify value of dev->tot_req_mem_size to avoid code review issues
0ab7a57 remove unnecessary "crypto_dev_config_t" type definition
1b029f8 move assignment out of the if condition
ba8fb48 remove unused initialization values
3fd6b86 remove unused "crypto_config_t" structure
fb7fc22 add note for enabling ECC
098edf9 explain what is going on during endpoint setup
a3cb153 fix value of TRGT field for PEX_PEXIWAR1
eb69306 refactoring: use kernel IO API to access device registers
476f25d minor clean-up in debug-prints
8555a14 remove unmaintained code
68cdc01 refactoring: remove short function
691e809 use upper case to refer to base address registers
19314aa remove one of two identical enum types
fc3e81a remove conditional padding of buffer_header struct
df81cc2 remove rarely used macros
151125f remove dead conditional code
f8b9a76 remove redundant #ifdef
c7b0ae0 merge conditional code blocks to ease their removal
47971d3 always link pkc.o when building the driver
df748c3 fix several compiler warnings with debug print enabled
128553a Merge pull request #11 in SDK/pkc-host from ~B47441/pkc-host:master to master
a2ae0f4 config device for proper module removal
185a2ef Merge pull request #10 in SDK/pkc-host from ~B18196/pkc-host:master to master
1dcb2cc add build option to disable hmac algorithms
341f4d3 Merge pull request #9 in SDK/pkc-host from ~B18196/pkc-host:hash_cleanup to master
255413f move hash init functions to hash.c
33be668 move virtio hash init functions to hash.c
d4f4aed make structure definition accessible from algs.h
a2bace7 remove compiler warnings about unused variables and labels
564feb6 remove debug-print compiler warnings
a6dd5d6 make the include tree more shallow
ed759f1 remove block of not-used macros
8daa0a6 replace unused debug-print switch
82001b1 remove dead/commented code
e58a21b Merge pull request #8 in SDK/pkc-host from ~B18196/pkc-host:bugfix_QSDK-2327 to master
367235b add firmware fixes for board in PKC mode
6bf2320 Merge pull request #5 in SDK/pkc-host from ~B18196/pkc-host:bugfix_hash_array_index to master
dc26e18 bound-check digest operation before array indexing
d596ccb clean-up exit logic in hash_cra_init
e4df9e0 remove dead code in algs_reg.h
9aa8c6f fix debug-print typo
7d9751b fix error-path clean-up for fsl_crypto_pci_probe
d52f083 refactoring: extract loop into fsl_request_irqs function
b467d27 refactoring: extract code-blocks into reusable functions
64dd967 cache the interrupt type for later
1ad35e9 fix isr_context memory deallocation
1130b94 save the actual requested irq number to free later
4526b47 use a single variable to remember the interrupt type
a972d1e refactoring: extract clean-up code into a function
48afa04 rename error code variable
4bb959e check for NULL pointers before dereferencing
ac2fc15 partial revert of c_buffers references to fix digest regression
6917577 fix incorrect buffer mem distribution
815942b dh.c: make variable declaration local to the code-block using it
6bd72b7 add comments requesting handshake clarifications
7be5358 refactoring: extract code block into send_hs_init_config() function
a7569d9 make num_of_rings uint8_t as in the rest of the code
c1adb61 fix 64bit compiler warning on printf type conversion
11a31e0 remove comments that duplicate code
296ac75 remove unnecessary NULL check for 'prev' pointer
9db737b remove cli binary from the package
c25fc89 merge prev and after pointers as they perform the same role
499e212 check for non-null pointer to continue rsa operation
897efd2 remove unnecessary initializations
186da4e sanitize function alloc_crypto_mem()
71dbe8b remove "retry alloc" feature
e9eba60 substitude macro with a local variable
15599db remove un-reachable code
0f20b53 fix memory deallocation on ecdsa_keygen_test
ddd3c5f snprintf to safer buffer boundaries
93d41be fix compiler warning: zero-length gnu_printf format string
d544973 minor clean-up of variable definitions in inner code-block
f4fa7f4 revert condition to decrease code indentation
44de183 return error if we see too many <ring> labels
16fc7ff use uint8_t to avoid explicit downcasts in assignments
7406811 comment unused code and leave it as a reminder
c6a3dca use uint8_t to hold values for 'struct buffer_header' flag field
360d092 rsa: return error if given an unsupported request type
dcfcc82 use u16 to hold values for offset in struct sec4_sg_entry
7689504 fix creation of circular list
7e9934b remove unreachable code
ad95665 return from callback if device config is not found
3c4fcd3 remove redundant initialization of 'loop'
86a3cca refactoring: extract common code in both branches of if statement
6b1e6cf init completion before enqueuing the operation
634b3f6 refactoring: use crypto_op_t to identify rng operations
6316fe8 fix test in if statement
ec1d529 initialize error code in case we have an incorrect no_secs value
1f766cb fix error checking in rng initialization logic
bc09c80 remove redundant initializations
885eee8 remove redundant temporary variable
83d01d3 use u16 type to hold msi/msix interrupt vector entries
533942f add explicit cast to avoid static code analysis issues
6083b6c check buffer boundaries in prepare_crypto_cfg_info_string()
d092710 sanitize parsing_test_command() function
9666743 fix clean-up path for fsl_crypto_layer_add_device
be74851 remove unnecessary variable
739b08e change function type from int32_t to void
d95aaa2 remove dummy code
6f32f94 check for buffer boundaries before copying
e495e63 use flag setters/getters to reduce code duplication
ad23ae5 add more utilities to get/set flag values
bcf3a1e refactoring: replace space indentation with tabs
be34550 use positive logic in #ifdef #else #endif blocks
7a36935 check for memory allocation errors on pool inits
d36c2dd move assignment inside the block where it is used

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-pkc-host: rename back to pkc-host
Ting Liu [Sat, 9 Jan 2016 06:43:26 +0000 (14:43 +0800)]
kernel-module-pkc-host: rename back to pkc-host

pkc-host ships not only .ko files, but also crypto.cfg/pkc-firmware.bin/etc.

As the recipe inherits module.bbclass, kernel-module-* will be
created to package .ko if installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agopkc-firmware: update to commmit 32804a0
Ting Liu [Sat, 9 Jan 2016 06:43:25 +0000 (14:43 +0800)]
pkc-firmware: update to commmit 32804a0

New commits imported:
32804a0 note on global variable definition
29a0bcb rename variable "p_cursor" and make it global
48e9ab1 remove unnecessary "l2_cursor" variable
a15c204 add -Wall and -Werror to build options
fa58ed6 fix typo regarding the use of "struct sec_jr_regs"
8fcd0bc enable large bursts for DECO transactions
ca35ed5 refactor code for masking interrupts from SEC
3e36d4f refactor code for setting SEC pointer size
8a7f971 remove unneeded commented "print_debug()"
c73303d move defines at the start of the file
afcfd66 remove commented (#if 0) code
32d119a remove unnecessary type definition "kek_regs_t"
4d99599 remove unnecessary type definition "rng_regs_t"
d7e65e5 refactor: added defines for better consistency
21a4853 refactor: move defines at the start of the file
baa8a25 remove unnecessary type definition "sec_jr_regs_t"
df0dd86 remove unnecessary type definition "sec_op_ring_t"
f70c14f remove unnecessary type definition "sec_ip_ring_t"
11ed223 remove unnecessary type definition "sec_jr_t"
ba47de3 remove unnecessary commented instruction
b9063e4 remove unnecessary type definition "sec_engine_t"
620cf5f remove unnecessary type definition "resource_t"
bef6960 remove not used function
c4a078e fix incorrect handling of multiple rings
92c6b71 c2x0_boot_loader/u-boot.lds: remove _GLOBAL_OFFSET_TABLE_ definition
453eaa9 use a logical definition for MIN
570aadd rearrange code and remove leftovers after IRQ fix patch
2f31558 rename variable to better match its purpose
029cc82 remove artificial SEC dequeue and enqueue throttling
b6fe293 use a bigger type for req_mem_size
e22d91f fix incorrect IRQ signalling to host
692981c remove not unused #define
7e2fbd4 remove redundant c_mem_layout_t typedef
377daaa remove redundant fsl_h_mem_handshake_t typedef
52f75d0 remove redundant crypto_c_hs_mem_t typedef
f126673 use smaller type for index
8c8f4ec refactoring: fix reference to the upper half of the L2 SRAM
0092a57 refactoring: remove inner code blocks
6853157 clean-up whitespace and debug-print output
c3720dd refactoring hs: extract hs_complete
3677b1c refactoring hs: extract fw_init_ring_pair
78ea81b refactoring hs: extract fw init config
cc416c2 minor fixes in code layout
0076df7 fix typos and clarify comments
0ab33aa remove unused variable
17607d2 use positive logic in conditional code
5d3886f Merge pull request #2 in SDK/pkc-firmware from bugfix/QSDK-2327-pkc-host-driver-does-not-insert to master
c0256e0 clean-up whitespace and indentation in uboot_print.c
8f5be56 fix compiler warnings on static declarations
f3bc222 use a no-op printf when PRINT_DEBUG is disabled
541a7ed make void the function c2x0_serial_init
8ecba2c enable debug prints from config.mk and move definitions to uboot_print.h
9ef2eb5 remove conditional for always-on code
bd52b94 update build instructions
d872219 refactoring: resetdev: extract code blocks into readable functions
f5301c1 remove unused variables
0931e3b refactoring: move defines out of the function for clarity
040cb61 refactoring: secstat: extract code blocks into readable functions
77fa0e1 refactoring: pingdev: extract code blocks into readable functions
91bf581 refactoring: ringstat: extract code blocks into readable functions
7559c79 refactoring: devstat: extract code blocks into readable functions
af9d455 refactoring: resetsec: extract code blocks into readable functions
17b0905 refactoring: debug: extract code blocks into readable functions
09fa9a8 remove not-used variable
ae691e8 whitespace clean-up
3e6700e update build instructions

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update COMPATIBLE_MACHINE as qoriq
Ting Liu [Sat, 9 Jan 2016 06:43:24 +0000 (14:43 +0800)]
rcw: update COMPATIBLE_MACHINE as qoriq

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: update to commit 521008f
Ting Liu [Sat, 9 Jan 2016 06:43:23 +0000 (14:43 +0800)]
rcw: update to commit 521008f

New commits imported:
521008f t1023rdb: RCW's added for Secure Boot
9e7c9d9 t1040qds: rcw: Add SD card SDR mode RCW
7467e6e t1040qds: rcw: set HWA_CGA_M1_CLK_SEL to 1
07af33e t2080qds: rcw: Add eMMC HS200 mode RCW
57fd2c9 t1040qds: rcw: Add eMMC HS200 mode RCW
e0b2272 arm: ls1021atwr: fix a bug change serdes to 0x30
795e6e7 arm: ls1021atwr: remove rcw for serdes 0x20
553eff7 arm: ls1021atwr: Change serdes 0x20 to 0x30
8847c6d arm: ls1021atwr: Add rcw for serdes 0x30 support
988d1ca arm: ls1021atwr: Enable Audio and HDMI for 0x70
1d4f34e arm: ls1021atwr: Enable DSPI2 when boot from QSPI and NOR
690613a arm: ls102xa: update PBI for PCIe and SCFG
27642c2 arm: ls102xa: Adjust the PBI command about the load address of U-Boot for NOR boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agorcw: swap qspi binary in do_install_append
Ting Liu [Sat, 9 Jan 2016 06:43:22 +0000 (14:43 +0800)]
rcw: swap qspi binary in do_install_append

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoapptrk: update to commit 4216af3
Ting Liu [Sat, 9 Jan 2016 06:43:21 +0000 (14:43 +0800)]
apptrk: update to commit 4216af3

New commits imported:
4216af3 Fix stepping over branch instructions in Thumb
59524e6 Error while reading CPSR
712a099 PowerPC Support for hardware breakpoints and watchpoints
c7c4b2b Incorrect mode (thumb/arm) after exec()
4e962d4 Thumb support for ARMv7
fd94e7f Fix TrkHandleExecEvent for ARMv7
50e2180 Invalidate traced breakpoint after release in TargetCleanupTrace for PA
18f4450 Fix crash when running a 32bit threaded application on a 64bit AppTrk

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-host: update to commit 41a448d
Ting Liu [Sat, 9 Jan 2016 06:43:20 +0000 (14:43 +0800)]
skmm-host: update to commit 41a448d

New commits imported:
41a448d fix dequeueing problem for dsa sign-verify test
290790a proper buffer cleanup for dsa sign-verify test
c4d8129 rename variable to better reflect its purpose
1e555ae remove unnecessary else branches
ddddb78 clean-up code flow
dec7b96 fix memory clean-up on error path
59e5746 remove redundant variables initialization
60431a8 remove dead code
3badec6 set default file paths to where we install them
6b23ee3 add more rules to .gitignore
b03ff68 remove unnecessary function call
86c1b1d remove cascade of defined and not used variables
8344196 remove dead code
faa9cbe fix typos - probably from copy/paste

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-skmm-host: rename back to skmm-host
Ting Liu [Sat, 9 Jan 2016 06:43:19 +0000 (14:43 +0800)]
kernel-module-skmm-host: rename back to skmm-host

skmm-host ships not only .ko files, but also skmm_crypto.cfg/c29x_skmm_perf_profile.sh

As the recipe inherits module.bbclass, kernel-module-* will be
created to package .ko if installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoskmm-ep: add ARCH in EXTRA_OEMAKE
Ting Liu [Sat, 9 Jan 2016 06:43:18 +0000 (14:43 +0800)]
skmm-ep: add ARCH in EXTRA_OEMAKE

ARCH is needed for all tasks, for example, make clean

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: install ceetm.ko into /lib/modules/
Ting Liu [Sat, 9 Jan 2016 06:43:17 +0000 (14:43 +0800)]
ceetm: install ceetm.ko into /lib/modules/

kernel-module-ceetm will be created to package ceetm.ko by default.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: remove useless do_configure_preappend
Ting Liu [Sat, 9 Jan 2016 06:43:16 +0000 (14:43 +0800)]
ceetm: remove useless do_configure_preappend

The fix was merged in source code now.

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: update to commit 2c79d0b
Ting Liu [Sat, 9 Jan 2016 06:43:15 +0000 (14:43 +0800)]
ceetm: update to commit 2c79d0b

New commits imported:
2c79d0b ceetm: asf dummy packet hook in ceetm
179d761 ceetm: improved error handling
ceb2646 ceetm: Adding support for vlan and large packets
83243fd ceetm: use the extended dpa_tx call from dpaa
6126e29 ceetm: set the fq context_a for buffer recycling
4cbb1ba Revert "Avoid crash on incorrect classid result with classifier"
aaa61ff Revert "ceetm: redefine the print_rate function"
c2de120 Makefile: use KBUILD_OUTPUT to point to build-artifacts
b000e91 Avoid crash on incorrect classid result with classifier
2242e7a ceetm: redefine the print_rate function

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agokernel-module-ceetm: rename back to ceetm
Ting Liu [Sat, 9 Jan 2016 06:43:14 +0000 (14:43 +0800)]
kernel-module-ceetm: rename back to ceetm

ceetm ships not only ceetm.ko, but also q_ceetm.so. Rename back to
ceetm

As the recipe inherits module.bbclass, kernel-module-ceetm will be
created to package ceetm.ko if it is installed into /lib/modules/.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoceetm: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:13 +0000 (14:43 +0800)]
ceetm: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agoar: update COMPATIBLE_MACHINE for t104x
Ting Liu [Sat, 9 Jan 2016 06:43:12 +0000 (14:43 +0800)]
ar: update COMPATIBLE_MACHINE for t104x

Signed-off-by: Ting Liu <ting.liu@nxp.com>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:11 +0000 (14:43 +0800)]
t1042d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:10 +0000 (14:43 +0800)]
t1042d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:09 +0000 (14:43 +0800)]
t1040d4rdb-64b: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb
Ting Liu [Sat, 9 Jan 2016 06:43:08 +0000 (14:43 +0800)]
t1040d4rdb: build usdpaa/usdpaa-shared-interfaces dtb

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agols1021atwr: support QSPI and IFC in SD boot
Ting Liu [Sat, 9 Jan 2016 06:43:07 +0000 (14:43 +0800)]
ls1021atwr: support QSPI and IFC in SD boot

QSPI and IFC are both supported in SD boot. Build two SD boot images,
one supports IFC; the other supports QSPI.

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot4160qds: build secure-boot u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:06 +0000 (14:43 +0800)]
t4160qds: build secure-boot u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agob4860qds-64b: remove UBOOT_MACHINES setting
Ting Liu [Sat, 9 Jan 2016 06:43:05 +0000 (14:43 +0800)]
b4860qds-64b: remove UBOOT_MACHINES setting

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
9 years agot1023rdb-64b: build nor u-boot
Ting Liu [Sat, 9 Jan 2016 06:43:04 +0000 (14:43 +0800)]
t1023rdb-64b: build nor u-boot

Signed-off-by: Ting Liu <ting.liu@nxp.com>>
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>