With the upgrade to gstremaer 1.8.x this patch does no longer apply.
Upstream changed to install the headers required, so the patch is also
no longer needed:
https://cgit.freedesktop.org/gstreamer/gst-plugins-bad/commit?h=1.8&id=c87a7e266732ab9a0bd0e5a5c104b06d0f1a2072
Otavio Salvador [Mon, 4 Jul 2016 19:13:22 +0000 (16:13 -0300)]
imx7dsabresd: Fix the boot of a NXP kernel
Booting a NXP kernel with mainline U-boot leads to the following
kernel crash:
,----
| caam: probe of 30900000.caam failed with error -11
| Unable to handle kernel NULL pointer dereference at virtual address 00000004
| pgd = 80004000
| [00000004] *pgd=00000000
| Internal error: Oops: 805 [#1] PREEMPT SMP ARM
`----
This happens because NXP kernel expects MX7 to boot in secure mode,
so introduce mx7dsabresd_secure_defconfig that selects CONFIG_MX7_SEC
and allows booting a NXP provided kernel successfully.
Change-Id: Ic05912c1328c75e8e25c89e7543b67c8c214e20d Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 4 Jul 2016 18:12:21 +0000 (15:12 -0300)]
linux-fslc-imx: Disable Vivante GPU support
The Vivante GPU is used as kernel module for all i.MX6, by default, so
the defconfig should not enable it as other SoC (as i.MX6UL and
i.MX7D) uses the same defconfig and does not have the Vivante GPU.
This avoids the built-in driver build for other SoCs, thus fixing a
build error with GCC 6, which is hidden when using the external
module.
Change-Id: Ib12cfe494d75b6407eaf72c386094cc03606c7f8 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Otavio Salvador [Mon, 4 Jul 2016 17:20:18 +0000 (14:20 -0300)]
fsl-vivante-kernel-driver-handler.bbclass: Allow build for non-i.MX6
When building for non-i.MX6, we ought to assume the SoC does not has
Vivante GPU at all, or the build will fail. This fixes the build of
linux-fslc-imx-rt for i.MX7D as it does not have a Vivante GPU.
Change-Id: Ic8fc4808880aca381e88f6e1b6c52416bb4520c4 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Changelog: af0a2a1 B4:DSP_BT: Add new DDRC target ID configuration parameter c8a84c6 B4:L1D: Add support for L1 defense New flow 8e79e5c B4:DSP_BT: DSP cache-cluster init now done from DSP boot loader 44da44a B4:DSP_BT: Add support for DSP MMU configuration
Signed-off-by: Ting Liu <ting.liu@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Max Krummenacher [Thu, 23 Jun 2016 22:52:10 +0000 (00:52 +0200)]
libimxvpuapi: use libdir from cross environment
Pass $libdir to 'waf configure' to prevent using the build hosts libdir.
Fixes:
WARNING: libimxvpuapi-0.10.2-r0 do_package: QA Issue: libimxvpuapi: Files/directories were installed but not shipped in any package:
/usr/lib64/libimxvpuapi.so
/usr/lib64/libimxvpuapi.so.0
/usr/lib64/libimxvpuapi.so.0.10.2
/usr/lib64/pkgconfig
/usr/lib64/pkgconfig/libimxvpuapi.pc
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Adrian Dudau [Fri, 10 Jun 2016 10:34:38 +0000 (12:34 +0200)]
fsl-kernel-localversion: Configure kernel in a separate task
As it is implemented right now this class overwrites the .config file
making it impossible for any other layer to configure the kernel in a
.bbappend to the kernel recipe. By doing it in a separate task before
do_configure we ensure that recipe .bbappends can make further kernel
configurations in do_configure_prepend.
Signed-off-by: Adrian Dudau <adrian.dudau@enea.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:39 +0000 (15:49 +0800)]
linux-qoriq: exclude DATETIME from vardepsexclude of ZIMAGE_BASE_NAME to fix taskhash mismatch issue
The siggen.py checks the task hash, DATETIME dependency causes Taskhash
mismatch error, exxclude DATETIME variable from vardepsexclude of
ZIMAGE_BASE_NAME.
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:38 +0000 (15:49 +0800)]
u-boot: fix build error under gcc6
Fix the following build error under gcc6:
| ../include/linux/compiler-gcc.h:114:30: fatal error: linux/compiler-gcc6.h: No such file or directory
| #include gcc_header(__GNUC__)
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:36 +0000 (15:49 +0800)]
skmm-ep: fix the build error caused by duplicated definition
Remove the duplicated definition to fix the following build errors:
| apps/skmm/lib/skmm_sram.c:42:18: error: redefinition of 'pa_to_va'
| apps/skmm/lib/skmm_sram.c:51:20: error: redefinition of 'va_to_pa'
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Zhenhua Luo [Fri, 3 Jun 2016 07:49:33 +0000 (15:49 +0800)]
eth-config: fix host contamination warnings
Fix the following host contamination warnings:
| eth-config: /eth-config/xxx is owned by uid 1000, which is the same as
| the user running bitbake. This may be due to host contamination
| [host-user-contaminated]
Signed-off-by: Zhenhua Luo <zhenhua.luo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
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>