]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
5 years agofsl-eula-unpack.bbclass: Enhance EULA model 294/head
Tom Hochstein [Wed, 18 Mar 2020 20:01:07 +0000 (15:01 -0500)]
fsl-eula-unpack.bbclass: Enhance EULA model

Each new version of the EULA is meant to be a click
through that includes any existing packages with an
older EULA. The latest EULA is also copied in the
layer.

Capture this model in the class by listing the
known EULAs and checking that any package
has a known EULA. The new model also allows
extensibility, so new EULAs can be introduced
separately.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-eula-unpack.bbclass: Cleanup
Tom Hochstein [Wed, 18 Mar 2020 14:55:57 +0000 (09:55 -0500)]
fsl-eula-unpack.bbclass: Cleanup

- Remove current working directory handling and use
  the equivalent runfetchcmd workdir parameter
- Simplify the SRC_URI for loop

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoglmark2: don't build drm flavours for machines not supporting it
Max Krummenacher [Mon, 16 Mar 2020 09:55:08 +0000 (10:55 +0100)]
glmark2: don't build drm flavours for machines not supporting it

imx-gpu-viv_6.4.0.p1.0-aarch32 does not provide virtual/libgbm and thus
a build with drm* in PACKAGECONFIG does fail.
Thus remove drm* from PACKAGECONFIG for those machines.

| ERROR: Nothing PROVIDES 'virtual/libgbm' (but .../glmark2_git.bb DEPENDS on or otherwise requires it)
| gpulib PROVIDES virtual/libgbm but was skipped: incompatible with machine

fixes: 7801868f glmark2: Remove bbappend

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agolayer.conf: add dunfell to compat layer
Pierre-Jean Texier [Mon, 16 Mar 2020 07:56:36 +0000 (07:56 +0000)]
layer.conf: add dunfell to compat layer

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
5 years agoglmark2: Remove bbappend
Joshua Watt [Tue, 10 Mar 2020 19:51:56 +0000 (14:51 -0500)]
glmark2: Remove bbappend

The default PACKAGECONFIG for glmark2 builds just fine on imxgpu3d and
imxgpu2d platforms, and doing so enables support for the drm based
tests.

Tested on imx8mq and imx8qm

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
5 years agou-boot-fslc: upgrade 2019.07 -> 2020.01
Pierre-Jean Texier [Sun, 8 Mar 2020 17:02:39 +0000 (17:02 +0000)]
u-boot-fslc: upgrade 2019.07 -> 2020.01

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
5 years agolinux-fslc-lts-4.19: upgrade to 4.19.107
Andrey Zhizhikin [Thu, 5 Mar 2020 09:49:49 +0000 (09:49 +0000)]
linux-fslc-lts-4.19: upgrade to 4.19.107

This upgrade includes the merge of v4.19.107 tag and backport of
upstream patch [0ada120c883d4f1f6aafd01cf0fbb10d8bbba015], which
addresses the perf build issue when latest binutils are used.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agolinux-imx: backport patch to fix perf build with latest binutils
Andrey Zhizhikin [Wed, 4 Mar 2020 16:26:07 +0000 (16:26 +0000)]
linux-imx: backport patch to fix perf build with latest binutils

Backport upstream patch, which solves the perf build issue when new
binutils are included.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0: Transition to meson based builds
Andrey Zhizhikin [Thu, 27 Feb 2020 13:27:37 +0000 (13:27 +0000)]
gstreamer1.0: Transition to meson based builds

Update gstreamer to meson build system.

This update follows the strategy and description provided in commit
[3e71919b865433ca007bf23f9b4f9015e25ac04e] from upstream.

Autotools patches are completely dropped from the layer, and
meson-relevant patches are introduced instead.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-rtsp-server: Transition to meson based builds
Andrey Zhizhikin [Wed, 26 Feb 2020 14:14:07 +0000 (14:14 +0000)]
gstreamer1.0-rtsp-server: Transition to meson based builds

Following modifications were performed:
- Remove reference to autotools/M4 related patch:
  [0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch]

- Drop reference to gettext handling

- Remove all autotooling class references and functions and replace them
  with meson class

- Add patch to fix GIR support in the meson.build file

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-ugly: Transition to meson based builds
Andrey Zhizhikin [Wed, 26 Feb 2020 13:35:50 +0000 (13:35 +0000)]
gstreamer1.0-plugins-ugly: Transition to meson based builds

Following modifications were done:

- Remove reference to autotools/M4 related patch:
  [0001-introspection.m4-prefix-pkgconfig-paths-with-PKG_CON.patch]

- Convert all packageconfigs from using autotools syntax to meson

- Replace EXTRA_OECONF with EXTRA_OEMESON

- gettext handling now part of gstreamer1.0-plugins-common.inc.

- Align fork recipe to match upstream from oe-core

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-bad: Transition to meson based builds
Andrey Zhizhikin [Sat, 22 Feb 2020 14:33:25 +0000 (14:33 +0000)]
gstreamer1.0-plugins-bad: Transition to meson based builds

This update follows [427eb30f9b59972b38ae3f25094470bb7034547d]
in upstream, which trasnitions the gstreamer1.0 plugins build
from autotools to meson build.

Additional patches included in meta-freescale are:
- Backport of 2 patches to allow using OpenCV version 4.1.0
- Adaptions required in NXP fork to use meson
- One patch which solves the data dir search on OpenCV.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-good: Transition to meson based builds
Andrey Zhizhikin [Sat, 22 Feb 2020 14:28:49 +0000 (14:28 +0000)]
gstreamer1.0-plugins-good: Transition to meson based builds

This follows [41c498bded82d3c9216dd3c862e70890f67f2914] from upstream,
which transitions gstreamer1.0 plugins from autotools to meson build
system.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer1.0-plugins-base: Transition to meson based builds
Andrey Zhizhikin [Sat, 22 Feb 2020 14:23:56 +0000 (14:23 +0000)]
gstreamer1.0-plugins-base: Transition to meson based builds

Update gstreamer base plugins to meson build system.

This update follows the strategy and description provided in commit
[e957fbc5d82368934f721e3773bf3942c5177ed7] from upstream.

Autotools patches are dropped from the layer and additional
meson-relevant patches are introduced from upstream.

In addition, patch required to support meson build of NXP fork is
included.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoweston-init.bbappend: Fix missing space in variable assignment
Tom Hochstein [Tue, 3 Mar 2020 20:31:48 +0000 (14:31 -0600)]
weston-init.bbappend: Fix missing space in variable assignment

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-eula-unpack.bbclass: Verify LICENSE contains Proprietary
Tom Hochstein [Tue, 3 Mar 2020 20:30:45 +0000 (14:30 -0600)]
fsl-eula-unpack.bbclass: Verify LICENSE contains Proprietary

All EULA packages are proprietary, so verify that the recipe LICENSE
contains Proprietary before fetching the package.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agodevregs: update to latest version from upstream
Andrey Zhizhikin [Fri, 28 Feb 2020 10:26:50 +0000 (10:26 +0000)]
devregs: update to latest version from upstream

Drop the patch stored in this layer, since the PR with the same patch has
been merged upstream.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agomx8qm: Use cortexa72-cortexa53 tune by default
Joshua Watt [Thu, 27 Feb 2020 19:51:12 +0000 (13:51 -0600)]
mx8qm: Use cortexa72-cortexa53 tune by default

Use the cortexa72-cortexa53-crypto tune for IMX.8 QuadMax devices
instead of the more generic aarch64. Update the QuadMax MEK machine to
require the file that provides this tune.

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
5 years agolinux-fslc: Update to use 5.4.x version
Fabio Berton [Wed, 19 Feb 2020 18:19:23 +0000 (15:19 -0300)]
linux-fslc: Update to use 5.4.x version

Update to tag v5.4.20 and sync defconfig files.

Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
5 years agomesa: Allow to use Etnaviv with i.MX8
Frieder Schrempf [Thu, 13 Feb 2020 11:37:46 +0000 (12:37 +0100)]
mesa: Allow to use Etnaviv with i.MX8

Currently the settings for i.MX8 are fixed to only allow to use
OSMesa for offscreen rendering. Actually etnaviv is usable on
i.MX8MM an it should therefore be possible to let Gallium be
enabled instead of unconditionally disabling it.

Therefore we introduce the USE_OSMESA_ONLY variable, that can be
set to "no" for i.MX8 if etnaviv should be used just like for i.MX6.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
5 years agomesa: Use PACKAGECONFIG to enable Gallium drivers
Frieder Schrempf [Thu, 13 Feb 2020 11:29:29 +0000 (12:29 +0100)]
mesa: Use PACKAGECONFIG to enable Gallium drivers

We don't need to manipulate the GALLIUMDRIVERS variable. Setting the
correct PACKAGECONFIG options is enough as the main recipe handles
the rest.

Signed-off-by: Frieder Schrempf <frieder.schrempf@kontron.de>
5 years agowayland-protocols: Switch to i.MX fork for source
Tom Hochstein [Thu, 16 Jan 2020 17:27:08 +0000 (11:27 -0600)]
wayland-protocols: Switch to i.MX fork for source

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-vivante-kernel-driver-handler: Fix kernel name in variable assignment
Tom Hochstein [Thu, 16 Jan 2020 16:44:21 +0000 (10:44 -0600)]
fsl-vivante-kernel-driver-handler: Fix kernel name in variable assignment

If the graphics driver is built into the kernel, a warning is generated
for each i.MX kernel recipe, like this:

WARNING: /home/r60874/zeus/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb: Variable key RPROVIDES_${KERNEL_PACKAGE_NAME}-base ( ${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}) replaces original key RPROVIDES_kernel-base ( kernel-module-imx-gpu-viv).

The problem is that the kernel name used in variables is no longer a
constant 'kernel', but is now parameterized:

https://github.com/openembedded/openembedded-core/commit/6c8c899849d101fd1b86aad0b8eed05c7c785924

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agou-boot-fslc-mxsboot-native: B!=S fix
Trevor Woerner [Wed, 12 Feb 2020 23:57:46 +0000 (18:57 -0500)]
u-boot-fslc-mxsboot-native: B!=S fix

MACHINEs such as the imx23evk and imx28evk (i.e. the mxs MACHINEs)
failed to build because the recipe for u-boot-fslc-mxsboot-native wasn't
instrumented to support ${B} != ${S}, which is used as a result of inheriting
u-boot-fslc-common. In other words, the inherit was setting up ${B} != ${S},
but then u-boot-fslc-mxsboot didn't know what to do in this scenario.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
5 years agou-boot-fslc: add lzop-native dependency
Trevor Woerner [Wed, 12 Feb 2020 13:00:22 +0000 (08:00 -0500)]
u-boot-fslc: add lzop-native dependency

Currently imx6qdlsabreauto is configured to generate an lzop-compressed u-boot
fit image, therefore a lzop-native is required on the host. Add this
dependency generically since more MACHINEs might switch over in time.

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
5 years agoimx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitions
Tom Hochstein [Wed, 12 Feb 2020 01:03:18 +0000 (19:03 -0600)]
imx-imx-boot-bootpart.wks.in: Fix overlap of imx-boot and boot partitions

The u-boot env offset in the imx-boot partition is 4MiB,
so set the boot partition alignment to 8MiB to fix the overlap.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-imx-boot-bootpart.wks.in: Fix the layout comment
Tom Hochstein [Tue, 11 Feb 2020 22:42:34 +0000 (16:42 -0600)]
imx-imx-boot-bootpart.wks.in: Fix the layout comment

The layout comment was incorrect. It was missing the start of the
rootfs and what was there wasn't updated when the boot partition
was increased to 64MiB.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofix u-boot builds
Trevor Woerner [Tue, 11 Feb 2020 23:54:42 +0000 (18:54 -0500)]
fix u-boot builds

In upstream openembedded-core, the definition for the B variable moved from
u-boot.inc to u-boot-common.inc. None of the recipes in this layer use
upstream's u-boot-common.inc, so add the B to the *common* include files here
so u-boot continues to build. See:

http://cgit.openembedded.org/openembedded-core/commit/meta/recipes-bsp/u-boot?h=master-next&id=26023b6b0f897842fd98b3e10a8acd5b3ad8f418

This was build-tested with all the imx and ls* lx* MACHINES:
$ MACHINE=<machine> bitbake virtual/bootloader -c compile

Signed-off-by: Trevor Woerner <twoerner@gmail.com>
5 years agomanagement-complex: add LSDK-19.03's v10.14.1
Jens Rehsack [Mon, 10 Feb 2020 14:52:04 +0000 (15:52 +0100)]
management-complex: add LSDK-19.03's v10.14.1

For not clearly discovered reason, ls2088ardb development board doesn't boot
with v10.18.0 neither with 10.20.1.
Add 10.14.1 from LSDK 19.03 to have a booting 208x.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agomanagement-complex: update 10.18.0 -> 10.20.1
Jens Rehsack [Mon, 10 Feb 2020 14:47:17 +0000 (15:47 +0100)]
management-complex: update 10.18.0 -> 10.20.1

Since LDSK-19.09.311219 is out and contains updated u-boot-qoriq, atf, rcw
and so on, take care of management-complex firmware, too.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agomc-utils: split compile & install, fix RDB only
Jens Rehsack [Mon, 10 Feb 2020 14:37:56 +0000 (15:37 +0100)]
mc-utils: split compile & install, fix RDB only

Instead of compiling dtc/dtl files during install stage, compile in
compile stage. Since some boards have RDB and QDS, allow build for
QDS (or manual created configuration) either.

Due broken patch (mixed spaces & tabs) affected lines are repared.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agorcw: Upgrade LSDK-19.03 -> LSDK-19.09
Jens Rehsack [Fri, 31 Jan 2020 12:29:32 +0000 (13:29 +0100)]
rcw: Upgrade LSDK-19.03 -> LSDK-19.09

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agoatf: upgrade LDSK-19.03 -> LSDK-19.09-311212
Jens Rehsack [Fri, 31 Jan 2020 12:28:01 +0000 (13:28 +0100)]
atf: upgrade LDSK-19.03 -> LSDK-19.09-311212

Upgrade ATF to latest release from NXP.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agou-boot-qoriq: upgrade 2019.04 -> LSDK-19.09-update-311219
Jens Rehsack [Fri, 24 Jan 2020 13:23:45 +0000 (14:23 +0100)]
u-boot-qoriq: upgrade 2019.04 -> LSDK-19.09-update-311219

Along with a recent kernel, use a reasonable up to date u-boot.

Signed-off-by: Jens Rehsack <sno@NetBSD.org>
5 years agooptee-test-qoriq: update to python3-pycrypto-native dependency
Chunrong Guo [Tue, 11 Feb 2020 08:49:44 +0000 (16:49 +0800)]
optee-test-qoriq: update to python3-pycrypto-native dependency

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agooptee-os-qoriq: update to python3-pycrypto-native dependency
Chunrong Guo [Tue, 11 Feb 2020 08:48:33 +0000 (16:48 +0800)]
optee-os-qoriq: update to python3-pycrypto-native dependency

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agovpp-core: update to python3-ply dependency
Chunrong Guo [Tue, 11 Feb 2020 08:45:28 +0000 (16:45 +0800)]
vpp-core: update to python3-ply dependency

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agosecure-obj: update to python3-pycrypto-native dependency
Chunrong Guo [Tue, 11 Feb 2020 08:42:50 +0000 (16:42 +0800)]
secure-obj: update to python3-pycrypto-native dependency

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoovs-dpdk: update to python3 and python3-six-native dependency
Chunrong Guo [Tue, 11 Feb 2020 08:40:34 +0000 (16:40 +0800)]
ovs-dpdk: update to python3 and python3-six-native dependency

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agodpdkvpp : Remove deprecated python3-subprocess from the RDEPENDS
Chunrong Guo [Tue, 11 Feb 2020 08:34:53 +0000 (16:34 +0800)]
dpdkvpp : Remove deprecated python3-subprocess from the RDEPENDS

The python3-subprocess package was merged into core as part of the
json manifest migration

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agodpdk: Remove deprecated python3-subprocess from the RDEPENDS
Chunrong Guo [Tue, 11 Feb 2020 08:32:17 +0000 (16:32 +0800)]
dpdk: Remove deprecated python3-subprocess from the RDEPENDS

The python3-subprocess package was merged into core as part of the
json manifest migration

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agou-boot-qoriq: update recipes to use python3
Chunrong Guo [Tue, 11 Feb 2020 08:28:42 +0000 (16:28 +0800)]
u-boot-qoriq: update recipes to use python3

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agolinux-fslc(-lts): add CONFIG_NET_SCH_FQ_CODE=y and necessary depends
Andreas Müller [Wed, 5 Feb 2020 17:02:44 +0000 (18:02 +0100)]
linux-fslc(-lts): add CONFIG_NET_SCH_FQ_CODE=y and necessary depends

Otherwise modern systemd complains:

| Feb 05 13:22:36 some-host systemd-sysctl[186]: Couldn't write 'fq_codel' to 'net/core/default_qdisc', ignoring: No such file or directory
| Feb 05 13:22:36 some-host systemd-sysctl[186]: Couldn't write '1' to 'net/ipv4/tcp_syncookies', ignoring: No such file or directory

Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
5 years agoimx-usb-loader: bump to revision f009770
Pierre-Jean Texier [Mon, 3 Feb 2020 21:07:49 +0000 (21:07 +0000)]
imx-usb-loader: bump to revision f009770

Following changes are included:

f009770 imx_sdp: don't try to load hdmi firmware
c5c4d28 add SPDS protocol support, imx8mn(nano)
15dbbd7 tests: add pid 0x1001
353791c tests: add pids 0x0134/0x1000
06fb581 tests: pid=0x0080 is for mx6ull
6b07a0a mx8mm_usb_sdp_spl.conf/ mx8mm_usb_work.conf: s/imx-mkimage/u-boot-imx6/
b00b0e2 mx8mq_usb_work.conf: load flash.bin from u-boot-imx6 directory
bda7ab6 add mx8mq_usb_sdp_spl.conf
7984efc Moving libusb_free_device_list to get imx_usb to work on Windows.

Signed-off-by: Pierre-Jean Texier <pjtexier@koncepto.io>
5 years agooptee-test: update to python3-pycrypto-native dependency
Peter Griffin [Mon, 3 Feb 2020 21:28:28 +0000 (22:28 +0100)]
optee-test: update to python3-pycrypto-native dependency

As python2 packages are now dropped in oe-core.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agoimx-gpu-apitrace: update recipe to use python3
Andrey Zhizhikin [Wed, 22 Jan 2020 16:33:07 +0000 (16:33 +0000)]
imx-gpu-apitrace: update recipe to use python3

Add component patches to be able to build it with python3. Python2 has
been dropped in oe-core, therefore the package source should be updated
to include python3 support.

Patches were cherry-picked from the upstream at
[https://github.com/apitrace/apitrace] from the [python3] branch.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agooptee[-imx]: update recipes to use python3
Andrey Zhizhikin [Wed, 22 Jan 2020 10:53:13 +0000 (10:53 +0000)]
optee[-imx]: update recipes to use python3

Since Python2 is dropped in oe-core and classes are not available
anymore, optee components should be updated to utilize python3.

optee-os recipe received an additionl patch to re-target the Python
version in the source tree to python3.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agorecipes-extended: update recipes to use python3
Andrey Zhizhikin [Wed, 22 Jan 2020 10:51:02 +0000 (10:51 +0000)]
recipes-extended: update recipes to use python3

Pythin2 is EOL and has been dropped on oe-core, therefore previous
classes are not available anymore.

Update recipes to inherit new python3 classes.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agofirmware-imx: remove sdma-imx6q.bin and sdma-imx7d.bin
Joris Offouga [Wed, 22 Jan 2020 11:39:42 +0000 (12:39 +0100)]
firmware-imx: remove sdma-imx6q.bin and sdma-imx7d.bin

This files is already provide by linux-firmware

Signed-off-by: Joris Offouga <offougajoris@gmail.com>
5 years agodevregs: update to latest version and add imx8mn support
Andrey Zhizhikin [Mon, 20 Jan 2020 10:38:24 +0000 (10:38 +0000)]
devregs: update to latest version and add imx8mn support

Update the package to the latest version available upstream, and
add patch which introduces support for i.MX8M Nano SoC.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agogstreamer: Adapt to meson changes from oe-core
Khem Raj [Mon, 13 Jan 2020 00:06:25 +0000 (16:06 -0800)]
gstreamer: Adapt to meson changes from oe-core

Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years agooptee-test_3.2.0.imx: remove no longer required gcc fixes
Peter Griffin [Fri, 10 Jan 2020 15:20:11 +0000 (16:20 +0100)]
optee-test_3.2.0.imx: remove no longer required gcc fixes

These are now present in the new op-tee fork version.

Fixes: 020d818
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agooptee-client_3.2.0.imx: remove 0001-libteec-refactor-_dprintf.patch
Peter Griffin [Fri, 10 Jan 2020 12:06:30 +0000 (13:06 +0100)]
optee-client_3.2.0.imx: remove 0001-libteec-refactor-_dprintf.patch

This patch no longer applies as it is already included in the new
optee-client tag.

Fixes: 020d818
Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agoimx-base: non-overriding append for WKS_FILE_DEPENDS
Manuel Bessler [Tue, 14 Jan 2020 18:48:34 +0000 (13:48 -0500)]
imx-base: non-overriding append for WKS_FILE_DEPENDS

On mx8,
  `WKS_FILE_DEPENDS_mx8 += "imx-boot"`
overrides the content of `WKS_FILE_DEPENDS` instead
of appending, causing `do_image_wic` to complain about
missing dependencies for `wic-tools`.

5 years agolibdrm imx: fix building libdrm-vivante
Max Krummenacher [Thu, 9 Jan 2020 09:29:51 +0000 (10:29 +0100)]
libdrm imx: fix building libdrm-vivante

The recipe updates pulled in from  upstream now builds with meson but
the libdrm imx fork does not provide meson build information. Patch the
imx fork to get the ability to build with meson.

Change the recipe to actually configure libdrm-vivante and to deploy
it into its own package.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
5 years agooptee-imx: add (backported) patches for GCC 9 & musl
André Draszik [Tue, 24 Dec 2019 08:23:32 +0000 (08:23 +0000)]
optee-imx: add (backported) patches for GCC 9 & musl

See the individual patches - all patches are simply
backports from optee upstream releases.

Signed-off-by: André Draszik <andre.draszik@jci.com>
5 years agoimx8mnevk: add new machine configuration for imx8m nano
Andrey Zhizhikin [Mon, 6 Jan 2020 17:08:41 +0000 (17:08 +0000)]
imx8mnevk: add new machine configuration for imx8m nano

Add new machine configuration describing the i.MX8M Nano SoC and
corresponding EVK.

This configuration file is based on imx8mmevk config and adapts
different boot and runtime parameters specific to i.MX8M Nano SoC.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-base: add bcm firmware package definitions
Andrey Zhizhikin [Tue, 7 Jan 2020 10:39:09 +0000 (10:39 +0000)]
imx-base: add bcm firmware package definitions

Add firmware package definitions for Broadcom wifi modules, which are
used on NXP EVKs (for i.MX8M series).

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-base: add common defines for imx8m nano soc
Andrey Zhizhikin [Mon, 6 Jan 2020 17:03:44 +0000 (17:03 +0000)]
imx-base: add common defines for imx8m nano soc

Add necessary machine defines and overrides required to support i.MX8M
Nano SoC and is similar to i.MX8M Mini SoC.

New SoC lacks VPU support, therefore it is excluded from
MACHINEOVERRIDES_EXTENDER, leaving only GPU-related features.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agoimx-boot: add support for i.MX8M Nano EVK
Andrey Zhizhikin [Mon, 6 Jan 2020 17:01:08 +0000 (17:01 +0000)]
imx-boot: add support for i.MX8M Nano EVK

Add ATF and platform machine definitions for i.MX8M Nano SoC in order to
generate boot images. This mainly follows the setup done for i.MX8M Mini.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
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>