Lauren Post [Fri, 27 May 2016 23:10:50 +0000 (18:10 -0500)]
xf86-video-imxfb-vivante: Upgrade to 5.0.11.p8.4
Fix to fallback to software path when transform is not supported
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Lauren Post <lauren.post@nxp.com> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Tom Hochstein [Thu, 12 May 2016 16:45:50 +0000 (11:45 -0500)]
weston: Rebase Vivante patch for Yocto 2.2
Change-Id: Ideb91234d9aba465968f278955e74c13248cc1c7 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Tue, 3 May 2016 16:58:53 +0000 (13:58 -0300)]
imx-gpu-viv: Ensure the Wayland backend provides Xorg driver
For the XWayland use, we ought to avoid installing the Xorg Vivante
driver so we make the Wayland backend to provide it so the runtime
dependency is satisfied.
Change-Id: Id92afcb8ad611db8b4b26a952bbf93ad86a46924 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Sat, 13 Feb 2016 12:29:21 +0000 (10:29 -0200)]
imx-base: Improve sstate signature handling for BSP packages
There are BSP packages which can have some dependencies removed from
the sstate signature; this is beneficial as it reduces a lot the build
time and increases the binaries reuse.
Following changes are done:
- Mark kernel-module-imx-gpu-viv and safe for imx-gpu-viv
- Mark imx-vpu as safe for libimxvpuapi
- Mark imx-vpu as safe for imx-vpuwrap
- Mark imx-vpu as safe for imx-codec
- Mark imx-vpu as safe for imx-test
Change-Id: I1625d1e4d1cda529069c2d88218c4c84844ee4a8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 12 Feb 2016 19:57:02 +0000 (17:57 -0200)]
imx-vpu: Set PACKAGE_ARCH to MACHINE_ARCH
The imx-vpu is a machine specific package, as it depends on the kernel
for build. We are going to change the PACKAGE_ARCH of it to be
MACHINE_SOCARCH as the interface provided by it is stable thus not
requring that the library users to be rebuild.
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Wed, 4 May 2016 09:43:02 +0000 (17:43 +0800)]
pulseaudio: Remove the control for speaker/headphone widget for i.MX7D
In order to fix issue "headphone volume will be set to zero when pulseaudio
can't detect the headphone jack status", remove the control in configuration file.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Wed, 11 May 2016 20:45:11 +0000 (17:45 -0300)]
u-boot-fslc: Update to 2016.05-based fork
The U-Boot 2016.05 is close to release and it is time to upgrade. This
includes following changes on top of upcoming release, which are Yocto
Project related:
0fcd279 wandboard: Drop revision specific DeviceTree support 0ab586a mx6sabresd: Enable video interfaces in bootargs 5976978 Revert "embestmx6boards: convert to use config_distro_bootcmd.h" 91f4fa5 iMX6: Change mmcroot to use fixed mmc block index for USDHC 968d872 embestmx6boards: Change default bootenv configuration 3233072 mx6sabresd: Use LDO dtb file until LDO bypass support is added df5f668 mx6slevk: Use LDO dtb file until LDO bypass support is added
The following changes are included here, and queued for U-Boot 2016.07
release:
a858d98 ARM: mx6: Enable MMC and SATA extfs boot support 70f4d22 SPL: Add CONFIG_SPL_ABORT_ON_RAW_IMAGE 5054e50 SPL: Let spl_parse_image_header() return value bf9c724 imx: imx-common: print i.MX 7 SoC names consistently dd6d9db imx: imx7d: fix ahb clock mux 1 24f4bb6 imx: iomux-v3: fix UART input selects 83609b3 ARM: mx6: Enable STDIO deregistering on Novena 0fc4e56 imx: mx6: mx6sl_pins: add GPIO variant for SD1_DAT5 ffae8c1 imx: tools: imximage: fix CLR bit command
Change-Id: I82aba59b47dfe530a6a1243f3227b914b973205f Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Yuqing Zhu [Mon, 9 May 2016 08:53:00 +0000 (16:53 +0800)]
asound.state: Update to 4.1.15-1.1.0
--Update wm8960audio configuration for mx6ul/mx7
1."Capture Switch" has been enabled, and 'Capture Volume' will make sense.
The current 'Capture Volume' value is the max value 63. So need to modify
the capture volume.
2.Add ADC data output select.
3.Remove amixer control 'Headset Jack' as mx7d-sdb doesn't have it.
--Adding sii902xaudio configuration for mx7
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Dominic Sacré [Wed, 4 May 2016 15:43:20 +0000 (17:43 +0200)]
linux-fslc-imx-rt: Upgrade to 4.1.15-1.0.0 GA
Use patch 4.1.19-rt22 (which applies cleanly) despite the fact that the
kernel is currently based on 4.1.20, because 4.1.20-rt23 is not yet
available at a stable URL.
The same issues that needed to be patched in 3.14 are still present in
4.1, so update the patches and defconfig accordingly to apply to the
new kernel.
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Fri, 29 Apr 2016 17:12:23 +0000 (14:12 -0300)]
imx-gpu-viv: Rework code so it is easier to read
Instead of using USE_X11 and USE_WL, we now use HAS_X11 and
HAS_WL. The variable does not imply that the backend is actually used
but if the distribution has, or not, the support for the backend.
Change-Id: I8630b54ed0a80f2877e5e97f71ae14e78ed5aeea Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
- fix AUD NAL positioning in h.264 encoder output
(SPS/PPS/AUD were ordered incorrectly - AUD has to come first, not last)
- fix build error with examples when --enable-static is used
- pass quality factor in simplified JPEG encoder interface correctly
- add functions for querying and setting header data
useful for modifying headers, like VUI data in the SPS RBSP
- documentation updates
Signed-off-by: Carlos Rafael Giani <dv@pseudoterminal.org> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Update the URL because patch-3.14.61-rt62.patch.gz got moved to the
'older' subdirectory.
The -rt patches are published in the projects/rt/3.14 directory, and are
then moved to projects/rt/3.14/older when the next version of the patch
is released.
Previous versions of this recipe intentionally used "older" patches
(even when the latest one would apply) specifically because the URLs
remain stable that way. This got broken in the update to 3.14.52-1.1.0 GA.
Signed-off-by: Dominic Sacré <dominic.sacre@gmx.de> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Sujith H [Thu, 21 Apr 2016 14:56:23 +0000 (20:26 +0530)]
imx-gpu-viv: correct file ownership
This recipe copies binary files with `cp`, including `cp -a`, so the file
ownership can end up being the same as the build user. Work around this by
chown'ing everything to root:root.
This avoids a package_qa failure.
Signed-off-by: Sujith H <sujith.h@gmail.com> Signed-off-by: Christopher Larson <chris_larson@mentor.com> Signed-off-by: Sujith Haridasan <Sujith_Haridasan@mentor.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
imx-base: Update MACHINE_EXTRA_RRECOMMENDS and MACHINE_SOCARCH_FILTER
libfslcodec/ libfslvpuwrap/ libfslparser/ fsl-alsa-plugins have been
renamed as imx-codec/ imx-vpuwrap/ imx-parser/ imx-alsa-plugins, need to
do update.
Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
--Change the recipe name from "gst1.0-fsl-plugin" to "imx-gst1.0-plugin"
--Add RREPLACE/RPROVIDES/RCONFLICTS for backwards compatibility.
--Remove dependency on gstreamer1.0-plugins-bad
There is a patch in gstreamer1.0-plugins-bad which intall the header file of
gstaggregator and gstvideoaggregator.
so we can use them outside of gstreamer-plugins-bad package.
Change-Id: I2440ffc17d2921b0dbae5b73c3fd3e9df3742af9 Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>