summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * optee-test: Add missing license GPL-2.0Tom Hochstein2022-02-241-1/+1
| | | | | | | | | | | | | | As the license file states, the client applications (optee_test/host/*) are provided under the GPL-2.0 license. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-test: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-242-4/+8
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-test: Cleanup install and FILESTom Hochstein2022-02-241-5/+5
| | | | | | | | | | | | | | - Use variables properly for the install and FILES - Simplify the FILES update with an append Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-client: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-242-7/+11
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-os: Install embedded TAsTom Hochstein2022-02-241-1/+7
| | | | | | | | | | | | | | optee-os has some embedded TAs like AVB or PKCS11 that must be installed in the filesystem. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-os: Use variable for includedir installTom Hochstein2022-02-241-2/+2
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * optee-os: Use tee-raw.bin binaryTom Hochstein2022-02-241-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * optee-os: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-242-4/+3
|/ | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Merge pull request #984 from Freescale/topic/simplify-mx8xOtavio Salvador2022-02-242-3/+1
|\ | | | | imx8x: The mx8x override is handled in extender so drop it
| * imx8x: The mx8x override is handled in extender so drop itOtavio Salvador2022-02-242-3/+1
|/ | | | | Refs: 9b9f9bb1 ("imx-base.inc: Add missing mx8x overrides") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #983 from thochstein/mx8xOtavio Salvador2022-02-241-4/+4
|\ | | | | imx-base.inc: Add missing mx8x overrides
| * imx-base.inc: Add missing mx8x overridesTom Hochstein2022-02-231-4/+4
| | | | | | | | | | | | | | | | | | | | | | | | The i.MX 8QXP and 8DXL are in the 8X family, but the override was missed in the new SOC override rework. This causes do_compile for imx-boot to fail: ``` cp: cannot stat '/.../build/tmp/deploy/images/imx8qxpmek/imx8qm_m4_TCM_power_mode_switch_m40.bin': No such file or directory ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #982 from Freescale/topic/better-nip-supportOtavio Salvador2022-02-231-0/+3
|\ \ | |/ |/| imx-base.inc: Add support to include extra data for NIP devices
| * imx-base.inc: Add support to include extra data for NIP devicestopic/better-nip-supportOtavio Salvador2022-02-231-0/+3
|/ | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Merge pull request #980 from Freescale/topic/generalize-soc-overridesOtavio Salvador2022-02-23124-397/+422
|\ | | | | Generalize overrides subsystem for NXP and Mainline support
| * optee-os: Use SoC override for i.MX6UL, i.MX6ULL and i.MX6ULZtopic/generalize-soc-overridesOtavio Salvador2022-02-211-4/+4
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>