summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
...
| * imx-base.inc: Fix MACHINE_SOCARCH_SUFFIX for 8XLiteTom Hochstein2022-03-311-1/+1
| | | | | | | | | | | | | | The architecture is independent of the number of cores, so update the 8XLite suffix from mx8dxl to mx8xl. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * mx8dx: Normalize MACHINEOVERRIDES implementationTom Hochstein2022-03-3110-21/+31
|/ | | | | | | | | | | | | | | | | | | | | | | | | | | The imx8dx-mek machine is similar to imx8qxp-mek and so the mx8qxp override was included in the MACHINEOVERRIDES hierarchy. This is non-standard, and the rework of the SOC overrides didn't handle it properly, leading to a build break: ``` Log data follows: | DEBUG: Executing shell function do_compile | NOTE: 8QX boot binary build | cp: failed to access '/home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin': Not a directory | WARNING: /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636:179 exit 1 from 'cp /home/aquino/src/ossystems/oel-platform/build/tmp/deploy/images/imx8dx-mek/imx-boot$ tools/scfw_tcm.bin /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/git/iMX8DX/scfw_tcm.bin' | WARNING: Backtrace (BB generated script): | #1: compile_mx8x, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 179 | #2: do_compile, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 151 | #3: main, /home/aquino/src/ossystems/oel-platform/build/tmp/work/imx8dx_mek-oel-linux/imx-boot/1.0-r0/temp/run.do_compile.1809636, line 189 ERROR: Task (/home/aquino/src/ossystems/oel-platform/sources/meta-freescale/recipes-bsp/imx-mkimage/imx-boot_1.0.bb:do_compile) failed with exit code '1' ``` Fix the problem by removing mx8qxp from the mx8dx hierarchy and adapting existing mx8qxp overrides appropriately. Fixes: #1027 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1024 from niebelm/qoriq-weak-defaultsOtavio Salvador2022-03-311-3/+3
|\ | | | | qoriq-base: weak defaults for u-boot/bootloader/kernel PREFERRED_PROVIDER
| * qoriq-base: weak defaults for u-boot/bootloader/kernel PREFERRED_PROVIDERMarkus Niebel2022-03-311-3/+3
|/ | | | | | | | When using a kernel/bootloader fork maintained by board vendor and there are somer flavours ist would be good to have only weak assignments here. This enables to override the default by machine config and set final by distro or local.conf. Signed-off-by: Markus Niebel <Markus.Niebel@ew.tq-group.com>
* Merge pull request #1023 from dv1/masterOtavio Salvador2022-03-302-54/+65
|\ | | | | libimxdmabuffer: Upgrade to version 1.1.0
| * libimxdmabuffer: Upgrade to version 1.1.0Carlos Rafael Giani2022-03-302-54/+65
|/ | | | | | | | | | | | * Add dma-heap allocator * Documentation and typo fixes * Use RW flags in ION allocator if no mapping flags are specified * Add checks for attempts to map already mapped buffers with different flags than in the original mapping Signed-off-by: Carlos Rafael Giani <crg7475@mailbox.org>
* Merge pull request #1017 from MrCry0/master-imx6ulOtavio Salvador2022-03-292-2/+0
|\ | | | | Fix: master: imx6ul*: remove obsolete device tree entry
| * imx6ul*: remove obsolete device tree entryOleksandr Suvorov2022-03-292-2/+0
|/ | | | | | | | | | | | The imx6ul-14x14-evk-btwifi-oob.dtb and imx6ull-14x14-evk-btwifi-oob.dtb are no longer available in the kernel lf-5.10.y, it was removed in a1488e98156ea1a597353c93b76b4f7fd8dd7c7c Remove entries for non-existent dtb files. This fixes building a Linux kernel recipe for imx6ulevk/imx6ullevk. Fixes: 3f93c925 ("linux-imx*: Upgrade to 5.10.52") Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
* Merge pull request #1016 from MaxKrummenacher/masterOtavio Salvador2022-03-251-140/+0
|\ | | | | libdrm: remove unused patch
| * libdrm: remove unused patchMax Krummenacher2022-03-251-140/+0
|/ | | | | | | With the update to 2.4.109.imx the patch is no longer needed. Also remove it from the layer. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* Merge pull request #1015 from thochstein/masterOtavio Salvador2022-03-253-13/+18
|\ | | | | Upgrade libdrm and wayland-protocols to fix mesa compatibility issue
| * wayland-protocols: Upgrade 1.22.imx -> 1.25.imxTom Hochstein2022-03-252-6/+12
| | | | | | | | | | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The commit does also update the recipe to align with the one in OE-core. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * libdrm: Upgrade 2.4.207.imx -> 2.4.109.imxTom Hochstein2022-03-252-7/+6
|/ | | | | | | | | This is a pre-release version from upcoming NXP Q2 release added to kirkstone to fix mesa compatibility problems. The patch 0001-meson-add-libdrm-vivante-to-the-meson-meta-data.patch is dropped as it is now upstream. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1014 from thochstein/masterOtavio Salvador2022-03-222-2/+3
|\ | | | | mfgtool-initramfs-image: Switch to zstd compression
| * kernel-itbimage: Add support for cpio.zstdTom Hochstein2022-03-221-1/+1
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * mfgtool-initramfs-image: Switch to zstd compressionTom Hochstein2022-03-221-1/+2
|/ | | | | | | The initramfs memory size is limited, so use zstd compression level 10 to cut the cpio archive size by some 30%. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1012 from thochstein/masterOtavio Salvador2022-03-201-1/+1
|\ | | | | imx-base.inc: Enable Crypto for all 8X
| * imx-base.inc: Enable Crypto for all 8XTom Hochstein2022-03-201-1/+1
|/ | | | | | Align with 8M family. Enabling Crypto enables FP and SIMD as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #1010 from thochstein/soc-overridesOtavio Salvador2022-03-163-19/+20
|\ | | | | Fix SOC override priority change and adjust imx-alsa-plugins version handling
| * imx-base.inc: Decrease machine feature override priorityTom Hochstein2022-03-161-17/+17
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The new SOC overrides changed the priority for the NXP machine feature overrides (like imxgpu2d) to be higher than the SOC override (like mx8qxp). This change manifested as a change to the weston-init configuration for mx8qxp and mx8qm, causing the addition of -use-g2d=1 to the weston runtime configuration file weston.ini. The problem is fixed simply by moving the feature overrides before the SOC overrides to match the old priority order. However, to provide consistency, rather than just match the old priority order, the features are now moved lower in priority than any of the SOC group overrides as well (like mx8 and mx8x). Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * Revert "weston-init: fix some invalid overrides"Tom Hochstein2022-03-151-2/+2
| | | | | | | | | | | | There is a root cause to this that will be fixed instead. This reverts commit 6be9870b5057cf122cecb2716583169b39de78ae.
| * imx-alsa-plugins: Set recipe name and PV properlyTom Hochstein2022-03-151-0/+1
| | | | | | | | | | | | | | The recipe allows SRCREV to change while the version stays at 1.0.26, so change the recipe version to git and set PV based on the SRCREV. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #1001 from thochstein/masterOtavio Salvador2022-03-152-0/+30
|\ \ | |/ |/| optee-os: Fix RPMB build break
| * optee-os: Fix RPMB build breakTom Hochstein2022-03-072-0/+30
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | When CFG_RPMB_FS=y, OP-TEE os no longer compiles because imx_rpmb.c tries to include a header that doesn't exist. This issue seems linked to a rework that allows to compile i.MX Secure Non-Volatile Storage driver without RPMB. ``` | CC optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_rpmb.o | core/arch/arm/plat-imx/imx_rpmb.c:5:10: fatal error: drivers/imx_snvs.h: No such file or directory | 5 | #include <drivers/imx_snvs.h> | | ^~~~~~~~~~~~~~~~~~~~ | compilation terminated. | make: *** [mk/compile.mk:159: optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_rpmb.o] Error 1 | make: *** Waiting for unfinished jobs.... | CC optee-os/3.15.0.imx-r0/build/core/crypto/crypto.o | CC optee-os/3.15.0.imx-r0/build/core/arch/arm/plat-imx/imx_dt.o | make: Leaving directory 'optee-os/3.15.0.imx-r0/git' | ERROR: oe_runmake failed | WARNING: exit code 1 from a shell command. ERROR: Task (optee-imx/optee-os_3.15.0.imx.bb:do_compile) failed with exit code '1' ``` This is fixed in the upcoming release NXP 5.15.5-1.0.0. Backport the patch. Fixes: #997 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #1007 from liuming50/fix-a-invalide-overrides-usageOtavio Salvador2022-03-131-2/+2
|\ \ | | | | | | weston-init: fix some invalid overrides
| * | weston-init: fix some invalid overridesMing Liu2022-03-131-2/+2
|/ / | | | | | | | | | | | | | | | | | | The mx8qm-nxp-bsp/mx8qxp-nxp-bsp overrides would not work because imxgpu2d would take effect in the end since it has higher priority in MACHINEOVERRIDES. Append mx8qm-nxp-bsp/mx8qxp-nxp-bsp after imxgpu2d can fix the problem. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
* | Merge pull request #1003 from chrisdimich/masterOtavio Salvador2022-03-082-105/+8
|\ \ | | | | | | isp-imx: start_isp.sh: fix NR_DEVICE_TREE_BASLER variable
| * | isp-imx: start_isp.sh: fix NR_DEVICE_TREE_BASLER variableChris Dimich2022-03-082-105/+8
|/ / | | | | | | The NR_DEVICE_TREE_BASLER variable has the wrong path.
* | Merge pull request #1000 from zandrey/topic/cleanup-atf-address-variableOtavio Salvador2022-03-075-11/+0
|\ \ | | | | | | Clean-up obsolete ATF load address for i.MX8M machines
| * | conf: machine: imx8m*: clean-up obsolete ATF load addressAndrey Zhizhikin2022-03-075-11/+0
| |/ | | | | | | | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* | Merge pull request #999 from twoerner/contrib/twoerner/imxbase-mxsOtavio Salvador2022-03-071-2/+3
|\ \ | |/ |/| imx-base.inc: add back mxs/mx23 support
| * imx-base.inc: add back mx23 supportTrevor Woerner2022-03-071-2/+3
|/ | | | | | | | | | When include/imx-base.inc was simplified to use the imx-{mainline,nxp}-bsp overrides, the "mx23" category of machines was missed. Build tested with imx233-olinuxino-* and imx23evk. Run tested with imx233-olinuxino-maxi. Signed-off-by: Trevor Woerner <twoerner@gmail.com>
* Merge pull request #998 from MaxKrummenacher/masterOtavio Salvador2022-03-065-114/+4
|\ | | | | drop vivante specific x11 driver & opencv: follow oe-core's variable name changes
| * opencv: follow oe-core's variable name changesMax Krummenacher2022-03-061-1/+1
| | | | | | | | Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
| * xf86-video-imx-vivante: drop vivante specific x11 driverMax Krummenacher2022-03-064-113/+3
|/ | | | | | | | | | | | 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>
* Merge pull request #995 from zandrey/topic/clarify-obsole-licenseOtavio Salvador2022-03-0357-57/+57
|\ | | | | Update LICENSE variable to use SPDX license identifiers
| * layer: Update LICENSE variable to use SPDX license identifiersAndrey Zhizhikin2022-03-0357-57/+57
| | | | | | | | | | | | | | | | | | | | | | | | 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. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* | Merge pull request #994 from Freescale/topic/warn-old-overridesOtavio Salvador2022-03-033-0/+108
|\ \ | |/ |/| Ensure we fail if old SoC overrides are in use
| * Ensure we fail if old SoC overrides are in usetopic/warn-old-overridesOtavio Salvador2022-03-033-0/+108
| | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #993 from fabioestevam/masterOtavio Salvador2022-03-021-3/+0
|\ \ | | | | | | conf: imx7ulpevk: Remove unrelated imx7ulp-com.dtb entry
| * | conf: imx7ulpevk: Remove unrelated imx7ulp-com.dtbFabio Estevam2022-03-021-3/+0
|/ / | | | | | | | | | | | | | | | | | | 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. Remove the imx7ulp-com.dtb entry. Signed-off-by: Fabio Estevam <festevam@gmail.com>
* | Merge pull request #992 from thochstein/masterOtavio Salvador2022-03-025-9/+9
|\| | | | | dynamic-layers: Update SOC overrides
| * dynamic-layers: Update SOC overridesTom Hochstein2022-03-025-9/+9
|/ | | | | | Fix dynamic layer overrides missed by the script. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #986 from boundarydevices/masterOtavio Salvador2022-02-251-0/+1
|\ | | | | linux-imx-headers: whitelist version.h header (Fixes Hantro VPU for honister/master)
| * linux-imx-headers: whitelist version.h headerGary Bisson2022-02-251-0/+1
|/ | | | | | | | | | | 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>
* Merge pull request #985 from thochstein/opteeOtavio Salvador2022-02-244-39/+51
|\ | | | | Optee: Upgrade 3.10.0.imx -> 3.15.0.imx
| * optee-test: Add runtime dependency on optee-osTom Hochstein2022-02-241-0/+2
| | | | | | | | | | | | The TAs in optee-os are required. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-client: Fix incorrect packaging logicTom Hochstein2022-02-241-8/+0
| | | | | | | | | | | | | | | | | | | | | | - 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>
| * optee-*: For i.MX, require machine feature opteeTom Hochstein2022-02-243-5/+11
| | | | | | | | | | | | | | | | 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>
| * optee-test: Use openssl embedded in optee-testTom Hochstein2022-02-241-1/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Building against openssl from Yocto results in a build break: ``` | /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:133:17: error: 'ERR_get_error_line' is deprecated: Since OpeSL 3.0 [-Werror=deprecated-declarations] | 133 | e = ERR_get_error_line(&f, &l); | | ^ | In file included from /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/git/host/xtest/regression_8100.c:18: | /opt/work/upstream/fsl-xwayland/tmp/work/cortexa53-crypto-fsl-linux/optee-test/3.15.0.imx-r0/recipe-sysroot/usr/include/openssl/err.h:411:15: note: declared here | 411 | unsigned long ERR_get_error_line(const char **file, int *line); | | ^~~~~~~~~~~~~~~~~~ ``` Configure optee-test to build with its own openssl. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>