Gary Thomas [Fri, 15 Apr 2016 13:02:53 +0000 (15:02 +0200)]
imx-kobs: Fix compiler error with Linux kernel headers version >= 4.4
This patch fixes a build error with kernel includes (>= 4.4)
<stdint.h> must be explicitly included to get uintX_t types.
Change-Id: I3a0059a59bf578fdba0cf68370eec0e19fc10835 Signed-off-by: Gary Thomas <gary@mlbassoc.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Thu, 14 Apr 2016 19:23:52 +0000 (16:23 -0300)]
mfgtool-initramfs-image.bbclass: Fix parsing when using a barebox based machine
When building for cfa100xx machines, for meta-fsl-arm-extra, the
parsing is aborted with:
,----
| ERROR: No IMAGE_CMD defined for IMAGE_FSTYPES entry
| 'barebox.mxsboot-sdcard' - possibly invalid type name or missing
| support class
| ERROR: Failed to parse recipe:
| .../sources/meta-fsl-arm/recipes-fsl/images/fsl-image-mfgtool-initramfs.bb
`----
This error was caused by the image not providing all the filesystem
types as in fact it generates a Gzipped CPIO filesystem and does not
inherit the default ones.
To solve the error we ought to include the override for 'mxs' SoC
family so the right setting is used as well in this set of SoCs.
Change-Id: If6e657793ed7af07decac217f6b3371fad1f521c Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 14 Apr 2016 18:12:22 +0000 (13:12 -0500)]
linux-mfgtool: Add DATETIME exclusion to avoid taskhash mismatch error
Recent changes in siggen.py check for task hash and generate build errors
called Taskhash mismatch when using variables with date and time. Exclude
date time variables as done in kernel.bbclass.
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Thu, 14 Apr 2016 02:54:56 +0000 (21:54 -0500)]
imx-gpu-viv: Update to version 5.0.11-p8.3
Update Vivante graphics driver for i.MX Linux BSP L4.1.15-1.0.0_ga release.
Software floating point is no longer supported.
For a detailed list of changes in this update, see the Graphics section of
the i.MX Linux Release Notes contained in the i.MX Linux BSP documentation
here:
Otavio Salvador [Mon, 11 Apr 2016 12:38:49 +0000 (09:38 -0300)]
imx-test: Fix build for X11 backend
The root case of the addition of the dependencies on the recipe was
that it were not being correctly included in the .inc file. This fixes
it and remove the duplication.
Change-Id: Ie9ee5fbc2a61915ce109473f5df2b8e88d3966c4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 31 Mar 2016 15:25:33 +0000 (10:25 -0500)]
imx-test: Upgrade to 5.4 version
- Restructure to support building all test cases on all machines
regardless of harware support
- mx6s_v4l2_capture: Fix resource leak reported by coverity
- memtool: Fix string not null - Fix resource leak problem reported by coverity
- mxc_i2c_slave_test: Fix argument cannot be negative problem reported by coverity
- mxc_spi_test1: Fix resource leak problems reported by coverity.
- mxc_vpu_test: Encode and decode MPEG file in one app failed with return value
- mxc_v4l2_capture: Handle usb camera restriction which does not support CROP feature
- mxc_mlb_test: Fix out of bounds access reported by coverity
- soc_check: Remove unnecessary operation in soc_check.h
- mxc_epdc_v2_fb: Initialize upd_data.dither_mode to 0 to avoid the spurious
"unsupported quantization bit number" error message.
- mxc_sim_test: When sim card doesn't exist, no atr can be received. The application
should directly return with corresponding error value.
- Remove legacy platform restriction to shell scripts - only support mx6 and mx7 SoC now.
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 31 Mar 2016 15:25:31 +0000 (10:25 -0500)]
imx-lib: Upgrade to 5.4 version
- Remove platform check in hdmi-cec and imx-lib - simplify to support builds
on multiple machines
- For ipu use the dummy defaul object to fix build issues on non-ipu hardware
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 31 Mar 2016 15:25:30 +0000 (10:25 -0500)]
imx-kobs: Upgrade to 5.4 version
- Check raw mode flag for backward compatbility
- Fix membership name in bch geometry structure.
- Fix the previous implementation that may ruin the BBM
- Adapt raw page accesses to match the new raw_read/write implementation
The old raw access implementation (in GPMI driver) was considering that
data and OOB data were separated in their respective regions (the data
area and the OOB area of the page), which is not true.
They are actually interleaved this way:
METADATA + ((DATA + ECCBYTES) * N)
The new raw access implementation (in the GPMI driver) is hiding this
weird
layout to MTD users by exposing a more common layout:
DATA + METADATA + (N * ECCBYTES)
Here METADATA + (N * ECCBYTES) are exposed as if they were stored in the
OOB area.
Unfortunately kobs-ng rely on this weird layout when accessing the NAND
in raw mode.
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 31 Mar 2016 15:25:29 +0000 (10:25 -0500)]
firmware-imx: Upgrade to 5.4 version
- Upgrade to FW v3.1.1_r46072
- v3.1.1_r46070 plus 2 patches 391/392
- FSLARIK-391 [Decoder/H.264] VPU is always busy when decoding an
erroneous H264 bitstream
- FSLARIK-392 [Decoder/VC1] VPU outputs only 1 picture
- Change to the format of Linux coda driver firmware
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Lauren Post [Thu, 31 Mar 2016 15:25:24 +0000 (10:25 -0500)]
imx6dlsabreauto and imx6qsabreauto: Add sabreauto-enetirq device tree
ARM: dts: imx6qdl-sabreauto: add enet irq dts files to avoid conflict with MLB
ENET gpio irq pin conlict with MLB on i.MX6qdl sabreauto board, since enet
gpio irq is extended feature for performance improvement, so let MLB enable
in default dts file and newly create sabreauto enet irq dts files.
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
gstreamer1.0-plugins-imx: Update to version 0.12.1
The recipe now uses PACKAGECONFIG to allow for enabling/disabling plugins.
Also, mx7 support has been added.
Changes:
* compositor: Rename ImxCompositor(Pad) to ImxVideoCompositor(Pad)
This prevents conflicts if both the NXP plugins and the gstreamer-imx
are installed in the same rootfs
* Add switches to wscript configuration to enable/disable plugins
Until now, all plugins were built (unless their dependencies were
missing). On some i.MX machines, some features are missing. For
example, the i.MX7 has no VPU. To ensure deterministic builds, it is
useful to selectively disable plugins in the build.
* ipu+pxp: : Fix deadlocks and incorrect logging in case of init error
This was causing a freeze if for example one tries to use PxP elements
on an i.MX6 Dual/Quad
* imxv4l2videosrc fixes and enhancements:
* fixes to interlacing support (incl. workarounds for analog TV input)
* remove format restriction in get_caps function
this removes the limitation on I420 formats
* simplified determination of fps (necessary due to driver limitations)
* eglvivsink: wayland: Do not commit before buffers are swapped
This fixes eglSwapBuffer swaps with damaged frames
* Documentation additions
Adds GPU memory leak notess to the FAQ
* vpu: encoder: Expose motion estimation range as property
* vpu: decoder: Drop output frame if its buffer cannot be allocated
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Reviewed-by: Gary Bisson <gary.bisson@boundarydevices.com> Tested-by: Gary Bisson <gary.bisson@boundarydevices.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Fri, 29 Jan 2016 09:41:55 +0000 (17:41 +0800)]
gstreamer1.0-plugins-base: Fix IMXCameraApp image time cannot display issue.
IMXCameraApp: When Enabled "save time to image" item, preview,
find the time can not display completely.
As IPU need 8 pixels alignment, add one workaround in base text overlay
to generate 8 pixels alignment text video buffer. The side effect should
cause all text a little smaller.
Signed-off-by: Yuqing Zhu <b54851@freescale.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 18 Mar 2016 18:02:37 +0000 (15:02 -0300)]
u-boot-fslc: Update to U-Boot 2016.03 based fork
This updates the fork for the 2016.03 release. Currently following
patches are applied on top of it:
fd6b196 warp7: Add initial support f9dc5fe wandboard: Drop revision specific DeviceTree support b3e771e mx6sabresd: Enable video interfaces in bootargs e0a65b1 Revert "embestmx6boards: convert to use config_distro_bootcmd.h" af0e438 iMX6: Change mmcroot to use fixed mmc block index for USDHC 36a641b embestmx6boards: Change default bootenv configuration f97660e mx6sabresd: Use LDO dtb file until LDO bypass support is added 4064b09 mx6slevk: Use LDO dtb file until LDO bypass support is added f854376 imx: mx7d: move MX7D to Kconfig entry 8a29233 imx: mx6sx: move MX6SX to Kconfig entry d85319f arm: mx6: Add CCV xPress board support fe7917e arm: mx6: Add UART8 base address for i.MX6UL 8730cc5 arm: imx6: Switch DDR3 calibration to wait_for_bit() 91c85e8 warp7: Add initial support ca3306a mx7_common: Put early/late init configs into board file 1dfebcc mx7: Distinguish between dual and solo versions dfcf27d mx7dsabresd: Define serial port locally 95817e0 mx7_common: Remove unexisting options 78eb121 arm: imx: Add support for GE Bx50v3 boards
Change-Id: I0e7ddd021fd87ffe8a5ad6916fd1eb7a3243b21b Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Julio Cruz [Mon, 29 Feb 2016 02:21:16 +0000 (10:21 +0800)]
linux-fslc-imx-rt: Update URL to fetch RT patch 3.14.61-rt62
This upgrades the patch from 3.14.58-rt59 to 3.14.61-rt62.
Change-Id: If3d0beb989723859bcfce5a95810fb3d8d9e340a Signed-off-by: Julio Cruz <jcsistemas2001@gmail.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Wed, 2 Mar 2016 08:59:39 +0000 (16:59 +0800)]
alsa-state: Using one unified version to set configuration values for mx6/mx6ul/mx7
As i.MX6UL uses the SOC Family name as "mx6ul", need to add configuration for mx6ul separately.
Unify the configuration files to be easy to maintain.
For asound.conf, there is no change.
For asound.state,
wm8962/cs42888 audio configuration for mx6.
wm8958/wm8960 audio configuration for mx6ul/mx7.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Thu, 3 Mar 2016 07:27:26 +0000 (15:27 +0800)]
openssl-qoriq: remove EXTRA_OECONF from Configure
The value(--disable-static) of EXTRA_OECONF set by poky is not supported by openssl-qoriq-1.0.1i.
remove it to fix the following build error:
| Usage: Configure [no-<cipher> ...] [enable-<cipher> ...] [experimental-<cipher> ...] [-Dxxx] [-lxxx] [-Lxxx] [-fxxx] [-Kxxx] [no-hw-xxx|no-hw] [[no-]threads] [[no-]shared] [[no-]zlib|zlib-dynamic] [no-asm] [no-dso] [no-krb5] [sctp] [386] [--prefix=DIR] [--openssldir=OPENSSLDIR] [--with-xxx[=vvv]] [--test-sanity] os/compiler[:flags]
| WARNING: .../poky/p4080ds/tmp/work/ppce500mc-poky-linux/openssl-qoriq/1.0.1i-r0/temp/run.do_configure.3739:1 exit 1 from 'perl ./Configure --disable-static shared --prefix=$useprefix --openssldir=/usr/lib/ssl --libdir=`basename /usr/lib` $target'
| ERROR: Function failed: do_configure (log file is located at .../poky/p4080ds/tmp/work/ppce500mc-poky-linux/openssl-qoriq/1.0.1i-r0/temp/log.do_configure.3739)
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Thu, 3 Mar 2016 07:27:25 +0000 (15:27 +0800)]
openssl: Explicitly set EXTRA_OEMAKE as required
The openssl recipe currently relies on EXTRA_OEMAKE having been set to
"-e MAKEFLAGS=" in bitbake.conf to operate. It is necessary to make this
explicit so that the default in bitbake.conf can be changed.
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
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>
- 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>
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>
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>
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>
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>
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>
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>