]> code.ossystems Code Review - meta-freescale.git/log
meta-freescale.git
5 years agoRevert "mx8qm: Use cortexa72-cortexa53 tune by default"
Tom Hochstein [Fri, 17 Apr 2020 13:10:04 +0000 (08:10 -0500)]
Revert "mx8qm: Use cortexa72-cortexa53 tune by default"

Support for cortexa72-cortexa53 tuning is not available on zeus.

This reverts commit 9d6833f8a2e743c9907e20c8e0a0d46be9f65fd3.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-eula-unpack.bbclass: add latest license md5sum
Max Krummenacher [Thu, 16 Apr 2020 12:37:16 +0000 (14:37 +0200)]
fsl-eula-unpack.bbclass: add latest license md5sum

The 4.14.98-2.3.0 BSP targeting latest SoC silicon revisions uses an even
newer license text 'LA_OPT_NXP_Software_License v10 December 2019'.
And the upcomming 5.4.3-2.0.0 BSP uses yet another one:
'LA_OPT_NXP_Software_License v11 February 2020'.

Add their md5sums additionally.

Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
(cherry picked from commit 629639a28c27c9a57ffd6cd1c90f5742aa3f996f)

5 years agomx8qxp: Use cortexa35-crypto tuning for i.MX 8 QXP default
Tom Hochstein [Wed, 15 Apr 2020 22:17:08 +0000 (17:17 -0500)]
mx8qxp: Use cortexa35-crypto tuning for i.MX 8 QXP default

The i.MX 8QXP has Cortex-A35 cores plus Crypto
extensions, so enable them by default.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit f02d6921bacee8396579330999d57f2381e89402)

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>
(cherry picked from commit 54115b38b777f09d60847f7ba0ac7796230b3d89)

5 years agoimx8mq: Add tuning for cortexa53+crypto+crc
Tom Hochstein [Tue, 14 Apr 2020 15:46:23 +0000 (10:46 -0500)]
imx8mq: Add tuning for cortexa53+crypto+crc

Like other i.MX 8M SOCs, the 8M Quad has Cortex-A53 cores
and supports ARM Crypto extensions. Enable them by default.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
(cherry picked from commit 5e62f2fb476405e77388da0f2963163173e0c090)

5 years agoimx-sc-firmware: Fix the license as Proprietary
Tom Hochstein [Fri, 10 Apr 2020 21:56:11 +0000 (16:56 -0500)]
imx-sc-firmware: Fix the license as Proprietary

The package license was set incorrectly as MIT. The license is
Proprietary.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agofsl-eula-unpack.bbclass: Enhance EULA model
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>
(cherry picked from commit a9015f8b1116f253af58b185a89440486ceee131)

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>
(cherry picked from commit b8b557ff8b667f74064f8badd490b6ece4945ff9)

5 years agoRevert "optee-[client,test]: upgrade to 4.19.35_1.1.0"
Chris Dimich [Mon, 13 Apr 2020 18:19:43 +0000 (11:19 -0700)]
Revert "optee-[client,test]: upgrade to 4.19.35_1.1.0"

This reverts commit 5fdac18a1f4daed214e07af014d068b7b6196f5c.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
5 years agoRevert "optee-os: update to 4.19.35_1.1.0 and introduce imx8mn config"
Chris Dimich [Mon, 13 Apr 2020 18:18:02 +0000 (11:18 -0700)]
Revert "optee-os: update to 4.19.35_1.1.0 and introduce imx8mn config"

This reverts commit 375e31d47372a51adf1f228547bf7829ba1ca60a.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
5 years agoRevert "imx-atf: add platform definition for i.MX8M Nano"
Chris Dimich [Mon, 13 Apr 2020 18:16:08 +0000 (11:16 -0700)]
Revert "imx-atf: add platform definition for i.MX8M Nano"

This reverts commit 70150376c8ab00b8b77de576e5a3e2894256e843.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
5 years agoRevert "imx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0"
Chris Dimich [Mon, 13 Apr 2020 18:10:26 +0000 (11:10 -0700)]
Revert "imx-atf_2.0.bb: Update branch and revision for 4.19.35_1.1.0"

This reverts commit 54d14f17ebd961dc7cb9ef89b76613218fb7562d.

Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.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>
(cherry picked from commit 020d81896bba5f6cb1dae0f352854ce4d57374e8)

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>
(cherry picked from commit 866e460572ee6fb0398036fb8c1b33966669e086)

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>
(cherry picked from commit dab2045044e6aea158596aa298206e7b36b70552)

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>
(cherry picked from commit 615174d8bf1c937f22a45e940fda50ef7548f491)

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>
(cherry picked from commit b3f51ab82838a67146d5b6fcf8f19d36c5efeb37)

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>
(cherry picked from commit 9babcb15e4cbe204dfa7421d35945e1aa1f08a03)

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>
(cherry picked from commit 525821a6299a5c4b502558c87ac876fb13de8a24)

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>
(cherry picked from commit 62178407d2612f2cb51430d149563d9266a262aa)

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>
(cherry picked from commit 8b51ea3dafe9c5ac667a918911fb8f1050fc8897)

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>
(cherry picked from commit 61aeaa3da4251f62d4414217abb2126734c7066b)

5 years agoRevert "fsl-eula-unpack.bbclass: Enhance EULA model"
Otavio Salvador [Fri, 27 Mar 2020 23:23:10 +0000 (20:23 -0300)]
Revert "fsl-eula-unpack.bbclass: Enhance EULA model"

This reverts commit 49291d13e6c0a555e10fcfb12f550fbf6eba3e19.

5 years agofsl-eula-unpack.bbclass: Enhance EULA model
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>
(cherry picked from commit d24d046766e8b6ebcde17c9243f8527125f1115d)

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>
(cherry picked from commit fee27818df40719c62bddde717737fb30cef3013)

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>
(cherry picked from commit 340f3f2bcc7bcf7f5f3abad9973ac745571fd571)

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

Backport to zeus

Signed-off-by: Joshua Watt <Joshua.Watt@garmin.com>
(cherry picked from commit 7801868f4969bc3f93f9d419e7852206e45fad53)

5 years agoRevert "fsl-eula-unpack.bbclass: Facilitate downstream EULA update"
Otavio Salvador [Wed, 4 Mar 2020 00:15:59 +0000 (21:15 -0300)]
Revert "fsl-eula-unpack.bbclass: Facilitate downstream EULA update"

This reverts commit 07ea4fbb111ea57eb77c80e294d3462ce263d57d.

5 years agofsl-eula-unpack.bbclass: Facilitate downstream EULA update
Tom Hochstein [Tue, 3 Mar 2020 21:48:16 +0000 (15:48 -0600)]
fsl-eula-unpack.bbclass: Facilitate downstream EULA update

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.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>
(cherry picked from commit 66a2169bd2e449856e1eb6891d8383a60365936d)

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>
(cherry picked from commit deb2f61f227dcb31ed41629c98e5e5e1edf3afec)

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>
(cherry picked from commit 494ed8c9b7b211397ce621a36345539a23433ecc)

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 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 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>
(cherry picked from commit 33410da17f40dd949d29d1daa20c2c89b6741ce5)

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 agopktgen-dpdk: Remove redundant EXTRA_CFLAGS settings
Chunrong Guo [Fri, 27 Dec 2019 01:49:30 +0000 (09:49 +0800)]
pktgen-dpdk: Remove redundant EXTRA_CFLAGS settings

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, 27 Dec 2019 01:47:44 +0000 (09:47 +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 [Tue, 24 Dec 2019 01:50:13 +0000 (09:50 +0800)]
libpkcs11: install all app

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1021atwr: update UBOOT_CONFIG
Chunrong Guo [Tue, 24 Dec 2019 01:48:19 +0000 (09:48 +0800)]
ls1021atwr: update UBOOT_CONFIG

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agotsntool: do configure task depends on do_shared_workdir task
Chunrong Guo [Tue, 24 Dec 2019 01:45:45 +0000 (09:45 +0800)]
tsntool: do configure task depends on do_shared_workdir task

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1028ardb: update machine config *set default rcw to rcw_1500_gpu600
Chunrong Guo [Tue, 24 Dec 2019 01:44:05 +0000 (09:44 +0800)]
ls1028ardb: update machine config *set default rcw to rcw_1500_gpu600

Signed-off-by: Chunrong Guo <chunrong.guo@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 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>
(cherry picked from commit 1657dede51929c342f9998be7d3b34f7f27daf1f)

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>
(cherry picked from commit 0812b771626eda0ac8854b0d2bfe7e92045ffe39)

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>
5 years agop3041ds: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 04:00:13 +0000 (12:00 +0800)]
p3041ds: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop2041rdb: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 03:58:26 +0000 (11:58 +0800)]
p2041rdb: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop2020rdb: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 03:56:52 +0000 (11:56 +0800)]
p2020rdb: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agop1020rdb: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 03:53:34 +0000 (11:53 +0800)]
p1020rdb: update UBOOT_CONFIG

*update uboot image name for boot config

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agompc8548cds: update UBOOT_CONFIG
Chunrong Guo [Wed, 13 Nov 2019 03:47:52 +0000 (11:47 +0800)]
mpc8548cds: update UBOOT_CONFIG

*change uboot image name to u-boot-with-dtb.bin for NOR boot defconfig,

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoweston-init: Keep the logic to edit weston.ini to meta-freescale
Khem Raj [Mon, 18 Nov 2019 20:49:55 +0000 (12:49 -0800)]
weston-init: Keep the logic to edit weston.ini to meta-freescale

This logic does not work across multiple layers even OE-Core machines
dont build with it. For now its best to keep this confined to
meta-freescale machines

Idea is good but it needs to align with OE-core's methods where
currently in OE-Core we expect machines to override weston.ini
completely per machine, this logic sort of goes against it. However it
has some goodness to it, eg. adding options based on DISTRO_FEATURES
which OE-Core could have too but maybe implemented differently.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years agolinux-fslc-imx_4.9-1.0.x: Backport patches to fix building with gcc 9
Tom Hochstein [Fri, 15 Nov 2019 00:09:36 +0000 (18:09 -0600)]
linux-fslc-imx_4.9-1.0.x: Backport patches to fix building with gcc 9

Closes #192.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Move xwayland config to weston.ini
Tom Hochstein [Sun, 17 Nov 2019 15:25:11 +0000 (09:25 -0600)]
weston: Move xwayland config to weston.ini

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Replace copies of weston.ini with logic
Tom Hochstein [Sun, 17 Nov 2019 15:25:11 +0000 (09:25 -0600)]
weston: Replace copies of weston.ini with logic

Install a common base weston.ini and then customize
it in the recipe by specifying custom options.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Use G2D as default renderer for 7ULP
Tom Hochstein [Sun, 17 Nov 2019 15:25:11 +0000 (09:25 -0600)]
weston: Use G2D as default renderer for 7ULP

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: Move use-g2d option for 8M Mini to weston.ini
Tom Hochstein [Sun, 17 Nov 2019 15:25:11 +0000 (09:25 -0600)]
weston: Move use-g2d option for 8M Mini to weston.ini

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston-init: Move weston.ini install to weston-init
Tom Hochstein [Sun, 17 Nov 2019 15:25:11 +0000 (09:25 -0600)]
weston-init: Move weston.ini install to weston-init

OE-core now installs weston.ini from weston-init, so align our
recipe to do the same.

The IVI dynamic layer now has a copy of the weston.ini file
that is normally produced by the weston build.

The AGL dynamic layer now uninstalls the weston.ini installed
upstream.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx-base.inc: Remove unused variable SDCARD_ROOTFS
Tom Hochstein [Mon, 11 Nov 2019 18:53:57 +0000 (12:53 -0600)]
imx-base.inc: Remove unused variable SDCARD_ROOTFS

Looks like the variable was accidentally re-introduced.

https://github.com/Freescale/meta-freescale/commit/2cbca9a255674649730b3f440a6142cf16030267

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agooptee-imx: Make it imx specific
Khem Raj [Sat, 9 Nov 2019 23:26:53 +0000 (15:26 -0800)]
optee-imx: Make it imx specific

Fails to build on qemu
| core/arch/arm/plat-imx/conf.mk:112: *** Unsupported PLATFORM_FLAVOR "emuarm".  Stop.

Signed-off-by: Khem Raj <raj.khem@gmail.com>
5 years agooptee: Add support for optee imx fork to imx8mqevk
Peter Griffin [Fri, 25 Oct 2019 09:04:01 +0000 (11:04 +0200)]
optee: Add support for optee imx fork to imx8mqevk

optee imx fork like most other imx forked components is
more fully featured for imx devices and supports things
like CAAM accleration.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agooptee-client: Add support for optee-client imx fork
Peter Griffin [Fri, 25 Oct 2019 09:34:53 +0000 (11:34 +0200)]
optee-client: Add support for optee-client imx fork

This also includes some backported gcc 8 fixes from upstream.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agooptee-test: add optee-test imx fork
Peter Griffin [Fri, 25 Oct 2019 09:30:40 +0000 (11:30 +0200)]
optee-test: add optee-test imx fork

This also includes some backported gcc 8 fixes from
upstream.

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agooptee-os: add optee-os imx fork
Peter Griffin [Fri, 25 Oct 2019 09:37:08 +0000 (11:37 +0200)]
optee-os: add optee-os imx fork

Signed-off-by: Peter Griffin <peter.griffin@linaro.org>
5 years agovpp-core: install startup.conf
Chunrong Guo [Thu, 7 Nov 2019 07:31:55 +0000 (15:31 +0800)]
vpp-core: install startup.conf

* fix missing startup.conf

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agomachine: Remove unused variables BOOT_SPACE and SDCARD_ROOTFS
Tom Hochstein [Wed, 6 Nov 2019 20:21:08 +0000 (14:21 -0600)]
machine: Remove unused variables BOOT_SPACE and SDCARD_ROOTFS

BOOT_SPACE and SDCARD_ROOTFS are no longer used with the move to wic.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoimx6sllevk.conf: Remove redundant firmware-imx-epdc assignment
Tom Hochstein [Wed, 6 Nov 2019 20:16:52 +0000 (14:16 -0600)]
imx6sllevk.conf: Remove redundant firmware-imx-epdc assignment

firmware-imx-epdc is added already in imx-base.inc.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agolinux-qoriq-rt/4.14: add recipes
Chunrong Guo [Wed, 6 Nov 2019 02:04:08 +0000 (10:04 +0800)]
linux-qoriq-rt/4.14: add recipes

*update to lsdk 1909 tag
include the following changes:
aa5285f449b1 - staging: fsl_ppfe/eth: Disable termination of CRC fwd.
c71a77a1f281 - mtd: fsl-quadspi: Introduce variable to fix different invalid master Id
6138f4aaec07 - arm64: dts: ls1028a: fix dwc pci over smmu
b7f6872fca15 - arm: dts: ls1021a: fix that FlexTimer cannot wakeup system in deep sleep
4c9bd9b8dea0 - Documentation: dt: binding: fsl: Add 'fsl,ippdexpcr1-alt-addr' property
72e88baa77f1 - soc: fsl: handle RCPM errata A-008646 on SoC LS1021A
8c1e5a5996a2 - enetc: Fix deadlock during PTP RX timestamping
ed206222df1f - felix: Remove unused include, fix compile warn
2e380e91c050 - ocelot: Warn if cpu side interfaces are not up
5bff7c69cf36 - ocelot: Fix NULL pointer on LAG slave removal
1e5b7fe43ff9 - ocelot: Don't handle netdev events for other netdevs
1b49a6c770ce - mmc: sdhci-of-esdhc: add erratum A011334 support in ls1028a 1.0 SoC
907205c7d550 - mmc: sdhci-of-esdhc: use 1/2 periperhal clock for ls1028a
b448c680bd36 - mmc: sdhci-of-esdhc: set the sd clock divisor value above 3
179f53614b70 - iommu/arm-smmu: Enable bypass transaction caching for ARM SMMU 500
b8a4bb166cfc - drm: mali-dp: Set encoder possible_clones
d3e41fadb963 - drm/arm/malidp: Enable/disable interrupts in runtime pm
1bf8672fca85 - drm/modeset-helper: Add simple modeset suspend/resume helpers
e3bf1aa5315a - drm/arm/malidp: Added the late system pm functions
d71d53fa06ba - felix: skip probing if device is disabled in DT
e71d52d39c78 - enetc: Handle USXGMII protocol
c8e7a8ebb222 - enetc: Fix 10G PCS PHY access
8e34b7334905 - drivers: net: phy: aquantia: enable USX AN for USXGMII protocol
efaabe0aecbd - drivers: net: phy: aquantia: fix system side protocol misconfiguration
f237e3b0c47e - irqchip/gic-v3-its: Fix command queue pointer comparison bug
2ee2bc14cc01 - irqchip/gic-v3-its: Add post-mortem info on command timeout
5454064dbdfd - arm64: defconfig: enable CONFIG_GPIO_MPC8XXX

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agolx2160ardb: add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 02:00:23 +0000 (10:00 +0800)]
lx2160ardb: add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols2088ardb: add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 01:59:18 +0000 (09:59 +0800)]
ls2088ardb: add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1046ardb: add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 01:58:08 +0000 (09:58 +0800)]
ls1046ardb: add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1043ardb: add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 01:56:40 +0000 (09:56 +0800)]
ls1043ardb: add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1028ardb : add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 01:55:07 +0000 (09:55 +0800)]
ls1028ardb : add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agols1012ardb: add qds dtb
Chunrong Guo [Wed, 6 Nov 2019 01:52:14 +0000 (09:52 +0800)]
ls1012ardb: add qds dtb

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoweston: Improve weston.ini selection logic
Tom Hochstein [Mon, 4 Nov 2019 16:21:47 +0000 (10:21 -0600)]
weston: Improve weston.ini selection logic

Add a variable WESTON_INI_INSTALL_FILE to make it easy to customize
the selection of the weston.ini file.

The main recipe now performs only a generic install of the selected file.

For AGL and IVI, we use the BBFILES_DYNAMIC mechanism to specify no
file and an IVI-specific file respectively.

Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
5 years agoweston: fix the test condition for agl builds
Andrey Zhizhikin [Fri, 1 Nov 2019 11:19:25 +0000 (11:19 +0000)]
weston: fix the test condition for agl builds

Fix the variable test condition, wich is used during inclusion of
weston.ini file in the agl and non-agl builds.

Since for non-agl build there is no algprofilegraphics in the
collection, variable expands to an empty string and test condition
evaluates to true for both agl and non-agl builds.
This causes the weston.ini file to be installed regardless of whether
the agl is found or not.

Usage of a different condition check (lenght instead of empty) eliminates
this issue.

Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
5 years agofix(qtbase): remove unnecessary patch
Christopher Boyd [Wed, 23 Oct 2019 21:03:00 +0000 (17:03 -0400)]
fix(qtbase): remove unnecessary patch

5 years agolinux-qoriq/4.14: perf tools: Add Python 3 support
Chunrong Guo [Mon, 21 Oct 2019 05:41:09 +0000 (13:41 +0800)]
linux-qoriq/4.14:  perf tools: Add Python 3 support

Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com>
5 years agoqemu-qoriq: update to ca6417b
Chunrong Guo [Tue, 15 Oct 2019 08:33:10 +0000 (16:33 +0800)]
qemu-qoriq: update to ca6417b

*include the following changes:
ca6417b - Updated Linux headers

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