]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
5 years agooptee-[client,test]: upgrade to 4.19.35_1.1.0
Andrey Zhizhikin [Mon, 6 Jan 2020 16:58:20 +0000 (16:58 +0000)]
optee-[client,test]: upgrade to 4.19.35_1.1.0

This upgrade is required to support new i.MX8M Nano SoC and is also
aligned with all optee-imx components.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agooptee-os: update to 4.19.35_1.1.0 and introduce imx8mn config
Andrey Zhizhikin [Mon, 6 Jan 2020 16:54:36 +0000 (16:54 +0000)]
optee-os: update to 4.19.35_1.1.0 and introduce imx8mn config

In order to support new i.MX8M Nano SoC, optee-os should be upgraded to
use the imx_4.19.35_1.1.0 branch, which contains the support for new
machine.

In addition, introduce additional PLATFORM_FLAVOR for new imx8mnevk
machine.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoweston-init: use g2d for i.MX8M Nano SoC
Andrey Zhizhikin [Mon, 6 Jan 2020 16:51:57 +0000 (16:51 +0000)]
weston-init: use g2d for i.MX8M Nano SoC

Use 2D acceleration for i.MX8M Nano SoC.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-atf: add platform definition for i.MX8M Nano
Andrey Zhizhikin [Mon, 6 Jan 2020 16:49:58 +0000 (16:49 +0000)]
imx-atf: add platform definition for i.MX8M Nano

Add platform definition parameter for i.MX8M Nano SoC, support for it is
already integrated in component source code.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoxf86-video-imx-vivante: fix compile by updating to 6.4.0
Max Krummenacher [Wed, 8 Jan 2020 14:36:47 +0000 (15:36 +0100)]
xf86-video-imx-vivante: fix compile by updating to 6.4.0

Using the current HEAD fixes the following compile error:

| vivante_gal/vivante_gal_surface.c:493:38: error: 'gcvPOOL_CONTIGUOUS' undeclared (first use in this function); did you mean 'gcvSURF_CONTIGUOUS'?
|   493 |             surf->mVideoNode.mPool = gcvPOOL_CONTIGUOUS;
|       |                                      ^~~~~~~~~~~~~~~~~~

meta-fsl-bsp-release sets version to 6.4.0.p0.0 for this git hash,
follow that here.

Changelog:
MGS-4783 [#ccc] Integrate EXA patches for 6.4.0 beta

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agogstreamer1.0-plugins-imx: use host python3
Max Krummenacher [Wed, 8 Jan 2020 16:05:15 +0000 (17:05 +0100)]
gstreamer1.0-plugins-imx: use host python3

Fixes:
| ERROR: gstreamer1.0-plugins-imx-0.13.0+gitAUTOINC+963aea60b1-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/gstreamer1.0-plugins-imx/0.13.0+gitAUTOINC+963aea60b1-r0/temp/run.do_configure.44421' failed with exit code 127:
| /usr/bin/env: ‘python’: No such file or directory

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agolibimxvpuapi: use host python3
Max Krummenacher [Wed, 8 Jan 2020 16:04:49 +0000 (17:04 +0100)]
libimxvpuapi: use host python3

Fixes:
| ERROR: libimxvpuapi-0.10.3+AUTOINC+4afb52f97e-r0 do_configure: Execution of '/build/krm/oe-core_master/build/tmp/work/armv7at2hf-neon-mx6qdl-tdx-linux-gnueabi/libimxvpuapi/0.10.3+AUTOINC+4afb52f97e-r0/temp/run.do_configure.51207' failed with exit code 127:
| /usr/bin/env: ‘python’: No such file or directory

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agoUpdate mdsum in fsl-eula-unpack bbclass
Cristinel Panfir [Mon, 6 Jan 2020 15:51:09 +0000 (17:51 +0200)]
Update mdsum in fsl-eula-unpack bbclass

-update license mdsum for firmware, codec, parser and vpu

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoEULA: Update LA_OPT_NXP_Software_License v9 August 2019
Cristinel Panfir [Mon, 6 Jan 2020 13:30:32 +0000 (15:30 +0200)]
EULA: Update LA_OPT_NXP_Software_License v9 August 2019

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx8mmevk.conf: Drop QCA6174 support for Kernel 4.19 and later
Cristinel Panfir [Fri, 20 Dec 2019 20:31:10 +0000 (22:31 +0200)]
imx8mmevk.conf: Drop QCA6174 support for Kernel 4.19 and later

- QCA9337 will still support for i.MX 8MM boards.
- Exclude QCA6174 from i.MX 8MM image build.

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agokernel-module: Upgrade qca6174 and qca9377 to version 3.0
Cristinel Panfir [Fri, 6 Dec 2019 12:23:16 +0000 (14:23 +0200)]
kernel-module: Upgrade qca6174 and qca9377 to version 3.0

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agofirmware-qca: Upgrade to version 3.0.1
Cristinel Panfir [Fri, 6 Dec 2019 10:32:52 +0000 (12:32 +0200)]
firmware-qca: Upgrade to version 3.0.1

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-base.inc: Do not pin weston's version when using mainline-bsp
Andreas Müller [Tue, 7 Jan 2020 07:39:40 +0000 (08:39 +0100)]
imx-base.inc: Do not pin weston's version when using mainline-bsp

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
5 years agoimx-seco: Fix warning SRC_URI uses PN not BPN
Mihai Lindner [Fri, 20 Dec 2019 13:49:24 +0000 (15:49 +0200)]
imx-seco: Fix warning SRC_URI uses PN not BPN

Fix QA Issue: imx-seco: SRC_URI uses PN not BPN [src-uri-bad]

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agomesa: Fix glcorearb.h collision with imx-gpu-viv
Mihai Lindner [Thu, 19 Dec 2019 16:13:24 +0000 (18:13 +0200)]
mesa: Fix glcorearb.h collision with imx-gpu-viv

Fix ERROR:
The file /usr/include/GL/glcorearb.h is installed by both mesa and
imx-gpu-viv, aborting.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-gpu-viv: Upgrade to 6.4.0.p1.0
Mihai Lindner [Wed, 18 Dec 2019 17:28:06 +0000 (19:28 +0200)]
imx-gpu-viv: Upgrade to 6.4.0.p1.0

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoddr-phy: remove fsl-eula-unpack class
Chunrong Guo [Mon, 23 Dec 2019 01:48:50 +0000 (09:48 +0800)]
ddr-phy: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agomc: remove fsl-eula-unpack class
Chunrong Guo [Mon, 23 Dec 2019 01:47:14 +0000 (09:47 +0800)]
mc: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agouefi: remove fsl-eula-unpack class
Chunrong Guo [Mon, 23 Dec 2019 01:45:46 +0000 (09:45 +0800)]
uefi: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoppfe-firmware: remove fsl-eula-unpack class
Chunrong Guo [Mon, 23 Dec 2019 01:44:37 +0000 (09:44 +0800)]
ppfe-firmware: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agofm-ucode: remove fsl-eula-unpack class
Chunrong Guo [Fri, 20 Dec 2019 07:09:16 +0000 (15:09 +0800)]
fm-ucode: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoqe-ucode: remove fsl-eula-unpack class
Chunrong Guo [Fri, 20 Dec 2019 07:04:55 +0000 (15:04 +0800)]
qe-ucode: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols2-phy: remove fsl-eula-unpack class
Chunrong Guo [Fri, 20 Dec 2019 07:01:45 +0000 (15:01 +0800)]
ls2-phy: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoinphi: remove fsl-eula-unpack class
Chunrong Guo [Fri, 20 Dec 2019 06:59:11 +0000 (14:59 +0800)]
inphi: remove fsl-eula-unpack class

Binary EULA, but the "inherit fsl-eula-unpack"
forces the user to accept a much more elaborate license

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoweston: refresh patch files to resolve hunks
Andrey Zhizhikin [Sun, 22 Dec 2019 21:02:18 +0000 (21:02 +0000)]
weston: refresh patch files to resolve hunks

Refresh patches in this layer so they could be cleanly applied, this has
been done via devtool.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-gst1.0-plugin: upgrade to version 4.5.1
Andrey Zhizhikin [Sun, 22 Dec 2019 16:13:58 +0000 (16:13 +0000)]
imx-gst1.0-plugin: upgrade to version 4.5.1

Upgrade current recipe to version 4.5.1, which also matches the NXP
release tag rel_imx_4.19.35_1.1.0 for all components.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0: ship missing files in -dev package
Andrey Zhizhikin [Sun, 22 Dec 2019 15:34:23 +0000 (15:34 +0000)]
gstreamer1.0: ship missing files in -dev package

New version of GStreamer introduced several python scripts, which are
development-related. Provide them in the -dev package.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-*: resolve absolute paths usage for patch search
Andrey Zhizhikin [Sun, 22 Dec 2019 15:29:54 +0000 (15:29 +0000)]
gstreamer1.0-*: resolve absolute paths usage for patch search

Since all pathes required by those recipes are collcted in this layer,
there is no need to use an absolute path to oe-core when searching for
patch files. This also breaks build when build system initialization is
different from NXP bootstrap script.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-bad: fix recipe and add patches from oe-core
Andrey Zhizhikin [Sun, 22 Dec 2019 15:22:37 +0000 (15:22 +0000)]
gstreamer1.0-plugins-bad: fix recipe and add patches from oe-core

Fix absolute search paths in the recipe, which attemped to use patches
directly from oe-core and keep those patches in this layer.

This would allow ease of tracking (patches could be dropped once version
is upgraded) and resolves the dependency from oe-core layer (no direct
inclusion necessary via env variables which is not present at every
build system setup).

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-base_1.16.imx: rebase patches and fix recipe
Andrey Zhizhikin [Sun, 22 Dec 2019 15:06:17 +0000 (15:06 +0000)]
gstreamer1.0-plugins-base_1.16.imx: rebase patches and fix recipe

Current implemetation of recipe has absolute path to patches from
oe-core, which breaks the build if initialization script from Freescale
is not used to bootstrap the environment. Moreover, several patches from
oe-core does not apply cleanly to the NXP tree and should be rebased.

This commit eliminates the hardcoded paths from recipes and collects
patches from oe-core in this layer. Two patches are also rebased to be
cleany applied to NXP source tree.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-rtsp-server: Add 1.16 version recipe
Cristinel Panfir [Fri, 20 Dec 2019 17:03:41 +0000 (19:03 +0200)]
gstreamer1.0-rtsp-server: Add 1.16 version recipe

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0-plugins-ugly: Add 1.16 version recipe
Cristinel Panfir [Fri, 20 Dec 2019 17:02:42 +0000 (19:02 +0200)]
gstreamer1.0-plugins-ugly: Add 1.16 version recipe

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0-plugins-good: Upgrade to 1.16
Cristinel Panfir [Fri, 20 Dec 2019 16:17:02 +0000 (18:17 +0200)]
gstreamer1.0-plugins-good: Upgrade to 1.16

Add FILESEXTRAPATHS to use patches from poky

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0-plugins-bad: Upgrade to 1.16
Cristinel Panfir [Fri, 20 Dec 2019 15:52:50 +0000 (17:52 +0200)]
gstreamer1.0-plugins-bad: Upgrade to 1.16

Add FILESEXTRAPATHS to use patches from poky

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0-plugins-base: Upgrade to 1.16
Cristinel Panfir [Fri, 20 Dec 2019 11:54:35 +0000 (13:54 +0200)]
gstreamer1.0-plugins-base: Upgrade to 1.16

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0, imx-gst1.0-plugin: Cleanup patch files
Cristinel Panfir [Fri, 20 Dec 2019 11:43:18 +0000 (13:43 +0200)]
gstreamer1.0, imx-gst1.0-plugin: Cleanup patch files

Remove unused patches

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0-libav: Update to 1.16 version
Cristinel Panfir [Fri, 20 Dec 2019 11:21:20 +0000 (13:21 +0200)]
gstreamer1.0-libav: Update to 1.16 version

libav: Update to ffmpeg n4.1.3

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogstreamer1.0: Upgrade to 1.16.0
Cristinel Panfir [Fri, 20 Dec 2019 11:17:37 +0000 (13:17 +0200)]
gstreamer1.0: Upgrade to 1.16.0

- Switch to MM_04.05.01_1909_L4.19.35 branch.
- Drop GST_PROTECTION_UNSPECIFIED_SYSTEM_ID patches,
  those are included in 1.16 source code.

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx8mqevk.conf: Update PREFERRED_VERSION_gstreamer1.0
Cristinel Panfir [Fri, 20 Dec 2019 08:04:44 +0000 (10:04 +0200)]
imx8mqevk.conf: Update PREFERRED_VERSION_gstreamer1.0

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoreadme: update mailing list url
Mattijs Korpershoek [Thu, 19 Dec 2019 23:12:26 +0000 (00:12 +0100)]
readme: update mailing list url

The current link returns a 404 error.

Update the mailing list link to:
    https://lists.yoctoproject.org/g/meta-freescale

Signed-off-by: Mattijs Korpershoek <mattijs.korpershoek@gmail.com>
5 years agogstreamer1.0_1.14.imx: Add backported patches for GST_PROTECTION_UNSPECIFIED_SYSTEM_ID
Peter Griffin [Tue, 3 Dec 2019 18:29:15 +0000 (19:29 +0100)]
gstreamer1.0_1.14.imx: Add backported patches for GST_PROTECTION_UNSPECIFIED_SYSTEM_ID

latest wpewebkit uses GST_PROTECTION_UNSPECIFIED_SYSTEM_ID definition
in its EME implementation.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agoimx-mkimage_git.inc: Update to 4.19.35_1.1.0
Cristinel Panfir [Mon, 16 Dec 2019 17:53:04 +0000 (19:53 +0200)]
imx-mkimage_git.inc: Update to 4.19.35_1.1.0

- Enable dual bootloader for imx8m
- Add functionality to parse 8/8X container headers
- Update the build target for different ddr firmware

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agokernel-itbimage.bbclass: Align the usage to spaces for indentation, as spaces raise...
Darko Komljenovic [Wed, 18 Dec 2019 17:23:00 +0000 (18:23 +0100)]
kernel-itbimage.bbclass: Align the usage to spaces for indentation, as spaces raise the warning

Signed-off-by: Darko Komljenovic <dkomljenovic@zoho.com>
5 years agoimx-dspc-asrc_1.0.1.bb: Use ${BPN} in SRC_URI
Cristinel Panfir [Wed, 18 Dec 2019 12:33:06 +0000 (14:33 +0200)]
imx-dspc-asrc_1.0.1.bb: Use ${BPN} in SRC_URI

Prevents warnings like: SRC_URI uses PN not BPN [src-uri-bad]

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-dspc-asrc: Add ASRC recipe
Cristinel Panfir [Wed, 18 Dec 2019 12:08:43 +0000 (14:08 +0200)]
imx-dspc-asrc: Add ASRC recipe

ASRC Library build with interpolation=128m and attenuation=120/140dB
supporting sample rates convertion X->Y
where X,Y = {44100, 48000, 88200, 96000, 176400, 192000 , 352800, 384000 }

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-parser: Upgrade to 4.5.1
Cristinel Panfir [Wed, 18 Dec 2019 08:28:16 +0000 (10:28 +0200)]
imx-parser: Upgrade to 4.5.1

- MP3 PARSER: Fix Google Play Music can't seek mp3
- FLAC PARSER: Check meta header lenght to avoid a null header
- ASF PARSER: Add protection when need to allocate large size memory
- Some other fixes for: AVI/MPEG2/MP4 PARSER

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-vpuwrap: Upgrade to 4.5.1 version
Cristinel Panfir [Wed, 18 Dec 2019 07:58:13 +0000 (09:58 +0200)]
imx-vpuwrap: Upgrade to 4.5.1 version

- remove amphion vpu wrapper as there are v4l2 based vpu

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-codec: Upgrade to 4.5.1
Cristinel Panfir [Tue, 17 Dec 2019 14:56:54 +0000 (16:56 +0200)]
imx-codec: Upgrade to 4.5.1

- ac3d_wrapper: Fix some streams that caused ac3 codec hang
- test/ua_wrapper: Add to test AAC, BSAC AudFormat

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agorcw: easy overriding machine in derived layers
Jens Rehsack [Fri, 13 Dec 2019 17:04:33 +0000 (18:04 +0100)]
rcw: easy overriding machine in derived layers

Modify rcw recipe to allow define machine dependent targets
in derived layers for dedicated PCBs based on QorIQ socs.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
5 years agomanagement-complex: Add support for ls2080a
Jens Rehsack [Thu, 12 Dec 2019 15:44:58 +0000 (16:44 +0100)]
management-complex: Add support for ls2080a

The upstream sources contain support for ls2080a and there're
evaluation boards with such a SoC out there. So add recipe
support for supported SoC.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
5 years agoRevert "linux-qoriq recipes: reorder merge_delta_config task"
Jens Rehsack [Mon, 16 Dec 2019 09:20:47 +0000 (10:20 +0100)]
Revert "linux-qoriq recipes: reorder merge_delta_config task"

This reverts commit 6e0b6f295fa7f62484b7a448fb729fbd32191a6b,
which unfortunately causes a blank build for e.g. ls2088ardb fail as that

    ERROR: linux-qoriq-4.19-r0 do_preconfigure: Execution of 'mp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614' failed with exit code 2:
    tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
    WARNING: exit code 2 from a shell command.

    ERROR: Logfile of failure stored in: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/log.do_preconfigure.13614
    Log data follows:
    | DEBUG: Executing shell function do_preconfigure
    | tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
    | WARNING: exit code 2 from a shell command.
    | ERROR: Execution of 'tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614' failed with exit code 2:
    | tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: 119: tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/temp/run.do_preconfigure.13614: cannot open tmp/work/ls2088ardb-poky-linux/linux-qoriq/4.19-r0/defconfig: No such file
    | WARNING: exit code 2 from a shell command.
    |
    ERROR: Task (/build/sno/sources/meta-freescale/recipes-kernel/linux/linux-qoriq_4.19.bb:do_preconfigure) failed with exit code '1'

This is caused by do_preconfigure() from classes/fsl-kernel-localversion.bbclass
expects a ${WORKDIR}/defconfig which was earlier created by merge_delta_config.

Signed-off-by: Jens Rehsack <sno@netbsd.org>
5 years agoimx-gpu-g2d: Upgrade to 6.4.0.p1.0
Mihai Lindner [Mon, 16 Dec 2019 15:14:30 +0000 (17:14 +0200)]
imx-gpu-g2d: Upgrade to 6.4.0.p1.0

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-gpu-apitrace: Update to 09579e67
Mihai Lindner [Mon, 16 Dec 2019 14:40:32 +0000 (16:40 +0200)]
imx-gpu-apitrace: Update to 09579e67

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-dpu-g2d: Upgrade to 1.8.2
Mihai Lindner [Mon, 16 Dec 2019 13:36:04 +0000 (15:36 +0200)]
imx-dpu-g2d: Upgrade to 1.8.2

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agolibdrm: Upgrade to 2.4.99.imx
Mihai Lindner [Mon, 16 Dec 2019 13:18:37 +0000 (15:18 +0200)]
libdrm: Upgrade to 2.4.99.imx

Refresh recipe base from poky, drops patches no longer used.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoweston: Upgrade to 6.0.1.imx
Mihai Lindner [Mon, 16 Dec 2019 11:53:19 +0000 (13:53 +0200)]
weston: Upgrade to 6.0.1.imx

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-boot: Use imx-seco firmware
Mihai Lindner [Mon, 16 Dec 2019 14:51:55 +0000 (16:51 +0200)]
imx-boot: Use imx-seco firmware

Account for imx-seco split from firmware-imx.

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-base.inc: add uboot entrypoint for mx8mm
Ricardo Salveti [Mon, 16 Dec 2019 14:37:29 +0000 (11:37 -0300)]
imx-base.inc: add uboot entrypoint for mx8mm

Default u-boot load address is set to 0x40480000 but fitImage
support requires the UBOOT_ENTRYPOINT to be defined as well, so
just extend imx-base.inc to also include a default uboot entrypoint
for mx8mm.

Signed-off-by: Ricardo Salveti <ricardo@foundries.io>
5 years agoimx-seco: Add recipe for SECO firmware
Cristinel Panfir [Wed, 11 Dec 2019 11:13:31 +0000 (13:13 +0200)]
imx-seco: Add recipe for SECO firmware

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agofirmware-imx: Upgrade to version 8.5
Cristinel Panfir [Wed, 11 Dec 2019 09:54:09 +0000 (11:54 +0200)]
firmware-imx: Upgrade to version 8.5

- Exclude "easrc" as this IP is only applicable for Nano Soc
- Remove SECO implementation from firmware-imx recipe and use imx-seco
  to deploy the SECO firmware for i.MX 8QM/8QXP

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-uuc: Update SRCREV to ebb7d34
Cristinel Panfir [Mon, 16 Dec 2019 09:48:52 +0000 (11:48 +0200)]
imx-uuc: Update SRCREV to ebb7d34

- Always use ipv6 address to mount rootfs
- support normal ip:nfsroot format to work with connman
- Fix upload problem
- return EPIPE status when pipe close before all data transferred

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-vpu-hantro: Upgrade version from 1.11.0 to 1.15.0
Cristinel Panfir [Mon, 16 Dec 2019 13:50:08 +0000 (15:50 +0200)]
imx-vpu-hantro: Upgrade version from 1.11.0 to 1.15.0

- [H1]: code refine for error handling to avoid blocking
- [H1]: Driver enhancement for suspend/resume
- [ION]: Enhance for 32bit compatibility for decoder and encoder
- [H264] Handle interlace video correctly
- [VC1Dec] Return error to avoid segmentation fault
- [H264]: decoder enhancment in h264bsdGetBits() for corrupted clips
- [Common]: support for security mode

Remove unused patch

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-vpu: Upgrade to 5.4.39.1
Cristinel Panfir [Mon, 16 Dec 2019 13:48:47 +0000 (15:48 +0200)]
imx-vpu: Upgrade to 5.4.39.1

- Bring imx6/7 soc on q-preview (LOCAL_MODULE_TAGS)
- Add ION_FLAG_CACHED when buffer need CPU access

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0
Cristinel Panfir [Fri, 13 Dec 2019 14:02:36 +0000 (16:02 +0200)]
imx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agou-boot-imx: Upgrade to version 2019.04
Mihai Lindner [Mon, 9 Dec 2019 15:06:01 +0000 (17:06 +0200)]
u-boot-imx: Upgrade to version 2019.04

Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
5 years agoimx-sc-firmware: Correct the License type and upgrade to 1.2.7 version
Cristinel Panfir [Thu, 12 Dec 2019 11:22:26 +0000 (13:22 +0200)]
imx-sc-firmware: Correct the License type and upgrade to 1.2.7 version

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agolinux-qoriq recipes: reorder merge_delta_config task
fvo [Wed, 11 Dec 2019 08:59:53 +0000 (09:59 +0100)]
linux-qoriq recipes: reorder merge_delta_config task

I've tried build linux-variscite where the maintainers seem to have
copied the 'merge_delta_config' task from the linux-qoriq recipe from
meta-freescale.

When i tried to use that task to add some linux kernel config flags it
did not work. It seems like the 'do_preconfigure' task inherited by the
'fsl-kernel-localversion' class deletes all content of the '.config'
file AFTER it has been merged by the 'merge_delta_config' task.

I reordered the tasks so that merge_delta_config is run after
preconfigure:

addtask merge_delta_config before do_configure after do_patch
do_preconfigure

which solved the problem for me. The flags were then added and compiled
into the kernel.

Signed-off-by: Florian Voit <voit@zuhause-plattform.de>
5 years agoimx-alsa-plugins: update to commit cde60d6
Max Krummenacher [Mon, 9 Dec 2019 10:02:30 +0000 (11:02 +0100)]
imx-alsa-plugins: update to commit cde60d6

With the change to linux-imx-headers 4.19.35 the build of imx-alsa-plugins
fails. Likely "linux/mxc_asrc.h" would require an include.
In the latest sources this is done in the source file which includes it.

| /workdir/oe/tmp/work/aarch64-mx8-tdx-linux/imx-alsa-plugins/1.0.26-r0/recipe-sysroot/usr/include/imx/linux/mxc_asrc.h:125:2: error: unknown type name 'snd_pcm_format_t'
|   125 |  snd_pcm_format_t input_format;
ff.

From the imx-alsa-plugins commit:
    Include latest asrc_pair change for k4.14 build [YOCIMX-3558]

    asrc_pair: update according to latest mxc_asrc.h

    The mxc_asrc.h is updated for supporting new module on 815.
    The main change is the xxx_word_width is replaced by xxx_format.

    As we've switched to use git fork build, change recipe PV to 'git'.
    Will upstream this recipe to community later.

Signed-off-by: Yuqing Zhu <carol.zhu@nxp.com>
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agoimx-test: update test package version to imx_4.19.35_1.1.0
Andrey Zhizhikin [Wed, 4 Dec 2019 14:23:36 +0000 (14:23 +0000)]
imx-test: update test package version to imx_4.19.35_1.1.0

Update the imx-test package branch to imx_4.19.35_1.1.0 which matches
the latest linux-imx kernel release (uses same branch naming).

Additionally, introduce the patch that solves trivial compilation issue
under gcc9.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx-headers: update license md5sum (no license change)
Andrey Zhizhikin [Wed, 4 Dec 2019 12:45:20 +0000 (12:45 +0000)]
linux-imx-headers: update license md5sum (no license change)

License file has been updated upstream (without license terms change!),
update LIC_FILES_CHKSUM md5 signature to the actual one.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agokernel-module-imx-gpu-viv: Upgrade to 6.4.0.p1.0
Andrey Zhizhikin [Wed, 4 Dec 2019 12:42:31 +0000 (12:42 +0000)]
kernel-module-imx-gpu-viv: Upgrade to 6.4.0.p1.0

Since commit [64d58e36978e7227b8907f2b2be0ec5a643cdf70] kernel branch
and version has been updated.

Vivante kernel module should be matched with Kernel recipe therefore
this update is also required.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx: Added backport patches to fix building with gcc 9
Cristinel Panfir [Tue, 3 Dec 2019 14:28:02 +0000 (16:28 +0200)]
linux-imx: Added backport patches to fix building with gcc 9

- added patches related copy attribute support
- renamed imx_v7_defconfig and use more simplifed recipe from upstream

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agoimx8qxpmek.conf: Remove redundant fsl-imx8qxp-mek-ov5640-rpmsg.dtb
Cristinel Panfir [Mon, 2 Dec 2019 13:37:43 +0000 (15:37 +0200)]
imx8qxpmek.conf: Remove redundant fsl-imx8qxp-mek-ov5640-rpmsg.dtb

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agolinux-imx-mfgtool: Update to version 4.19.35
Cristinel Panfir [Mon, 2 Dec 2019 13:36:57 +0000 (15:36 +0200)]
linux-imx-mfgtool: Update to version 4.19.35

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agolinux-imx-headers: Update to version 4.19.35
Cristinel Panfir [Mon, 2 Dec 2019 13:36:29 +0000 (15:36 +0200)]
linux-imx-headers: Update to version 4.19.35

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agolinux-imx: Update kernel recipe to version 4.19.35
Cristinel Panfir [Mon, 2 Dec 2019 13:32:21 +0000 (15:32 +0200)]
linux-imx: Update kernel recipe to version 4.19.35

- Update kernel recipe to latest revision of 4.19.35
- Sync arm architecture defconfig file with imx_v7_defconfig
- Sync arm64 architecture defconfig file with defconfig

Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
5 years agogpulib: update recipes
Chunrong Guo [Fri, 29 Nov 2019 05:52:10 +0000 (13:52 +0800)]
gpulib: update recipes

* depends on  kernel-module-qoriq-gpu

* set PROVIDES

* remove libwayland-egl.so and vulkan heads file

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoudev-rules-qoriq: add 73-fsl-enetc-networking.rules to qoriq-arm64
Chunrong Guo [Fri, 29 Nov 2019 05:46:49 +0000 (13:46 +0800)]
udev-rules-qoriq: add 73-fsl-enetc-networking.rules to qoriq-arm64

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agolibpkcs11: install all app
Chunrong Guo [Fri, 29 Nov 2019 05:42:12 +0000 (13:42 +0800)]
libpkcs11: install all app

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agotsntool: do configure task depends on do_shared_workdir task
Chunrong Guo [Fri, 29 Nov 2019 05:38:50 +0000 (13:38 +0800)]
tsntool: do configure task  depends on do_shared_workdir task

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agopktgen-dpdk: Remove redundant EXTRA_CFLAGS settings
Chunrong Guo [Fri, 29 Nov 2019 05:23:45 +0000 (13:23 +0800)]
pktgen-dpdk: Remove redundant EXTRA_CFLAGS settings

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1021atwr: update UBOOT_CONFIG
Chunrong Guo [Fri, 29 Nov 2019 05:18:27 +0000 (13:18 +0800)]
ls1021atwr: update UBOOT_CONFIG

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agolinux-fslc-lts-4.19: Add CONFIG_USER_NS
Andreas Müller [Wed, 27 Nov 2019 12:36:55 +0000 (13:36 +0100)]
linux-fslc-lts-4.19: Add CONFIG_USER_NS

upower >= 0.99.11 does not start and complains:

| systemd[950]: upower.service: Failed to set up user namespacing: Invalid argument

Inspired by [1]

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=939510

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
5 years agooptee-os_3.2.0: change PLATFORM_FLAVOR for imx6ulz14x14evk
Clement Faure [Tue, 26 Nov 2019 14:02:04 +0000 (15:02 +0100)]
optee-os_3.2.0: change PLATFORM_FLAVOR for imx6ulz14x14evk

The platform flavor 'mx6ulzevk' has been added to Optee-OS.

Signed-off-by: Clement Faure <clement.faure@nxp.com>
5 years agols1028ardb: update machine config
Chunrong Guo [Wed, 20 Nov 2019 06:49:39 +0000 (14:49 +0800)]
ls1028ardb: update machine config

*set default rcw to rcw_1500_gpu600

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agorecipes: Use features_check instead of distro_features_check
Khem Raj [Sat, 23 Nov 2019 00:12:08 +0000 (16:12 -0800)]
recipes: Use features_check instead of distro_features_check

distro_features_check is now deprecated

Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years agolinux-fslc-imx_4.9: resolve version for cve scans
Andrey Zhizhikin [Tue, 19 Nov 2019 22:07:53 +0000 (22:07 +0000)]
linux-fslc-imx_4.9: resolve version for cve scans

CVE scanner is unable to parse the version of linux kernel recipe, which
caused warnings to be produced during the scan task since kernel version
was not properly identified.

This was caused by the fact that CVE_VERSION is set per default to PV,
and PV of this receipe does nto resolve in a proper (and actual) kernel
version provided.

By setting CVE_VERSION to explicitly point to KERNEL_VERSION, this recipe
effectively provides a proper kernel version to CVE scanner.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-fslc-imx_4.9-1.0.x: replace patchset to the one from stable
Andrey Zhizhikin [Tue, 19 Nov 2019 20:02:51 +0000 (20:02 +0000)]
linux-fslc-imx_4.9-1.0.x: replace patchset to the one from stable

Replace the patchset, which resolves kernel compilation issues when gcc9
is used. Original patchset introduced here was the initial commit that
solved the issue, while this patchset is cherry-picked from stable tree
branch linux-4.9.y and included included in v4.9.188 upwards.

Once linux-fslc-imx would get updated past v4.9.188 - this patchset
should be removed from the layer.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoaiopsl: fix missing path
Chunrong Guo [Wed, 13 Nov 2019 06:00:48 +0000 (14:00 +0800)]
aiopsl: fix missing path

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot4240rdb-64b: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 05:54:31 +0000 (13:54 +0800)]
t4240rdb-64b: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot4240rdb : update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:44:36 +0000 (12:44 +0800)]
t4240rdb : update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot2080rdb-64b : update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:43:08 +0000 (12:43 +0800)]
t2080rdb-64b : update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot2080rdb : update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:41:52 +0000 (12:41 +0800)]
t2080rdb : update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot1042d4rdb: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:40:16 +0000 (12:40 +0800)]
t1042d4rdb: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot1042d4rdb-64b: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:33:28 +0000 (12:33 +0800)]
t1042d4rdb-64b: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot1024rdb: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:11:31 +0000 (12:11 +0800)]
t1024rdb: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agot1024rdb-64b: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:08:41 +0000 (12:08 +0800)]
t1024rdb-64b: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop5040ds-64b: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:05:49 +0000 (12:05 +0800)]
p5040ds-64b: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop5040ds: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:04:04 +0000 (12:04 +0800)]
p5040ds: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop4080ds: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:01:34 +0000 (12:01 +0800)]
p4080ds: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>