Upstream U-Boot commit d9a6f0eed66a ("tree: imx: remove old fit
generator script") dropped the FIT generator script, which was using
environment variable setting the ATF load address into the FIT ITS file.
This has been replaced by binman node description, where ATF address is
defined, hence the enviroment variable is not required anymore.
Clean-up the layer's class and machine description to remove the
variable, which is not used anymore.
Max Krummenacher [Mon, 21 Feb 2022 13:53:57 +0000 (14:53 +0100)]
xf86-video-imx-vivante: drop vivante specific x11 driver
The required x11 driver stuff has been removed from imx-gpu-viv and
thus the X11 driver is no longer buildable.
Drop the recipe and fallback on the default X11 fb driver.
| ERROR: Nothing RPROVIDES 'libvivante-dri-imx' (but .../meta-freescale/recipes-graphics/xorg-driver/xf86-video-imx-vivante_6.4.0.p0.0.bb RDEPENDS on or otherwise requires it)
Completes 747c96f5 ("imx-gpu-viv: Upgrade to 6.4.3.p2.4").
Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
layer: Update LICENSE variable to use SPDX license identifiers
Since OE-Core commit 9379f80f48 ("license/insane: Show warning for
obsolete license usage"), LICENSE field not containing SPDX identifiers
are treated with WARNING.
An automated conversion using scripts/contrib/convert-spdx-licenses.py to
convert to use the standard SPDX license identifiers has been done on
the entire layer.
Otavio Salvador [Wed, 2 Mar 2022 23:21:54 +0000 (20:21 -0300)]
Ensure we fail if old SoC overrides are in use
To assist existing layers to convert to the new BSP-specific
overrides. Besides failing the parsing of the recipes where it is in
use, we provide a script to automate most of it.
Fixes: #990. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
The imx7ulp-com.dtb describes a completely different board: the Embedded
Artists i.MX7ULP COM board, which has no relationship with the NXP
i.MX7ULP EVK board.
Gary Bisson [Fri, 25 Feb 2022 10:37:42 +0000 (11:37 +0100)]
linux-imx-headers: whitelist version.h header
As some recipes, like imx-vpu-hantro, need to know the imx kernel
version instead of the toolchain header version.
As an example, Honister toolchain uses 5.14 kernel headers. In that
case, imx-vpu-hantro believes it needs to use dmabuf allocation
mechanism although this latter will only be enabled in upcoming NXP
kernel 5.15.
Signed-off-by: Gary Bisson <gary.bisson@boundarydevices.com>
Tom Hochstein [Mon, 21 Feb 2022 19:04:46 +0000 (13:04 -0600)]
optee-client: Fix incorrect packaging logic
- The logic for the tee-supplicant package doesn't work and the package
ends up empty. In fact, tee-supplicant belongs in the main package anyway.
- The main package already contains ${libdir}, so drop the redundant
assignment.
- The headers belong in the -dev package, so drop them from the main.
- Drop the un-necessary INSANE_SKIP settings.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 16 Feb 2022 18:40:17 +0000 (12:40 -0600)]
optee-*: For i.MX, require machine feature optee
The optee software should be enabled by the machine feature. If the
machine feature is not there, but optee is built anyway, then something
is wrong and the build should fail.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 16 Feb 2022 18:38:52 +0000 (12:38 -0600)]
optee-os: Use tee-raw.bin binary
During the optee-os compilation, the gen_tee_bin.py script generates
a tee-raw.bin that is more space efficient and could replace
the tee.bin binary manually generated in the optee-os recipe
by objcpy.
This patch greatly reduces the size of tee.bin. On 64 bits platforms, we
observe a size descrease of ~68%, and on 32 bits platforms, a size
decrease of ~45%.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Otavio Salvador [Fri, 18 Feb 2022 22:43:56 +0000 (19:43 -0300)]
Generalize overrides subsystem for NXP and Mainline support
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and
mainline-bsp.
So, for example, the mx8mq override is split into:
- imx-generic-bsp: compatible with every i.MX SoC and both BSP variants
- imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP
- imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP
- mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants
- mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP
- mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP
- mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants
- mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP
- mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP
- mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants
- mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP
- mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP
The extender mechanism is responsible for extending the override list to
include the generic overrides. We can then use the three different
variants to handle the metadata correctly.
Generically speaking, the conversion mainly was automated (with a lot of
back and forth until getting it right).
To convert an existing layer, the following script can be used:
410ce59 Import 6.4.3.p2.4 original version e879a17 Import 6.4.3.p2.2 original version ae0f3be gc_hal_kernel_platform_imx.config: remove build time/user macros 8f1bf96 Import 6.4.3.p2.0 original version 4d97bab Import 6.4.3.p1.2 original version b0a9229 Import 6.4.3.p1.0 original version b4bed32 Import 6.4.3.p0.0 original version
Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Andrey Zhizhikin [Fri, 18 Feb 2022 09:26:58 +0000 (09:26 +0000)]
optee-imx: clarify BSD license
Since upstream commit 14d4c007c4 ("common-licences: remove ambiguous
"BSD" license"), ambiguous "BSD" license has been removed from OE-Core.
This triggers the warning message in QA:
do_populate_lic_deploy: QA Issue: The license listed BSD was not in the
licenses collected for recipe optee-os [license-file-missing]
OP-TEE is licensed under "BSD-2-Clause" and license text clearly
identifies it.
Correct LICENSE variable to indicate proper License SPDX identifier.
Sean Anderson [Fri, 11 Feb 2022 17:28:52 +0000 (12:28 -0500)]
crconf: Don't set FILES
Documentation should be installed in the documentation package, not the
main package. The latter two directories are already added to FILES by
meta/conf/bitbake.conf.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Sean Anderson [Fri, 11 Feb 2022 17:26:37 +0000 (12:26 -0500)]
crconf: Set SBINDIR and MANDIR
The default values of these variables are not appropriate when using
usrmerge. This fixes the following error:
ERROR: crconf-git-r0 do_package: QA Issue: crconf: Files/directories were installed but not shipped in any package:
/sbin/crconf
Please set FILES such that these items are packaged. Alternatively if they are unneeded, avoid installing them or delete them within do_install.
Signed-off-by: Sean Anderson <sean.anderson@seco.com>
Thomas Perrot [Thu, 3 Feb 2022 08:54:43 +0000 (09:54 +0100)]
imx-atf: add mark quotation to prevent build issue with ccache
Otherwise, when ccache is enable the following issue occurs:
Log data follows:
| DEBUG: Executing shell function do_compile
| NOTE: make -j 8 CROSS_COMPILE=aarch64-oe-linux- PLAT=imx8qx LD=aarch64-oe-linux-ld CC=ccache aarch64-oe-linux-gcc bl31
| make: *** No rule to make target 'aarch64-oe-linux-gcc'. Stop.
| ERROR: oe_runmake failed
| WARNING: exit code 1 from a shell command.
Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
Khem Raj [Wed, 2 Feb 2022 05:42:20 +0000 (21:42 -0800)]
kernel-module-nxp89xx: Pin to imx machine kernel
It fails to build with linux-yocto 5.15 e.g.
TOPDIR/build/tmp/work/qemumips-yoe-linux/kernel-module-nxp89xx/git-r0/git/mxm_wifiex/wlan_src/mlinux/moal_shim.c:1405:49: error: 'RX_PKT_FATE_DRV_DROP_NOBUFS' undeclared (first use in this function)
1405 | RX_PKT_FATE_DRV_DROP_NOBUFS,
| ^~~~~~~~~~~~~~~~~~~~~~~~~~~
Tom Hochstein [Fri, 28 Jan 2022 00:22:53 +0000 (18:22 -0600)]
weston: Upgrade to L5.10.72-2.2.0 release
Fixes:
``` 26da63a4 screen-share: weston screen-share poor performance with g2d-renderer f8ce046f g2d-renderer: weston screenshare fail to work on rdp-backend with g2d-renderer 74ae3012 drm-backend: rename NV12_10LE40 to NV15 78e17706 backend-fbdev: MIPI display recovery slowly after suspend resume e73c641e LF-4317 launcher-logind: weston sometimes failed to start when booting up from eMMC d5ad97f2 g2d-renderer: use dmabuf.attributes.stride for video stride 23166110 LF-3992 state-propose: fix chromium cannot show on 8mq platform
```
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 26 Jan 2022 23:39:29 +0000 (17:39 -0600)]
imx-g2d-samples: New recipe for G2D sample apps
The G2D sample apps are now available as source. Note that the package
is currently limited to GPU-based G2D and is not compatible with
DPU-based G2D. A future release will add DPU support.
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
Tom Hochstein [Wed, 26 Jan 2022 21:57:03 +0000 (15:57 -0600)]
kernel-module-isp-vvcam: Upgrade to 4.2.2.16.0
b2321c0 compand compress curve update 724df72 BSLRM865-189:Image quality with HDR mode is worse than Linear mode 16ffd85 BSLRM865-200: sensor_driver: Sensor api change because 5.15 kernel change 1bedecf Update Release P16 20211003 from Verisilicon 841f438 Update Release P15 from Verisilicon
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>