summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
| * Rework machine definitions to reduce duplicationOtavio Salvador2022-02-2113-13/+13
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * imx-base.inc: reduce code using imx-{mainline,nxp}-bsp overridesOtavio Salvador2022-02-211-20/+13
| | | | | | | | | | | | | | We reduce the code size using the new overrides to improve code clearness and reduce boilerplate. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * imx-gpu-viv: Remove comment code which was unusedOtavio Salvador2022-02-211-2/+0
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * Rework recipes to use imx-nxp-bsp more extensivelyOtavio Salvador2022-02-2114-14/+14
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-nxp-bsp override; it has been applied to: - gstreamer1.0 - gstreamer1.0-plugins-bad - gstreamer1.0-plugins-base - gstreamer1.0-plugins-good - imx-alsa-plugins - imx-codec - imx-gst1.0-plugin - imx-parser - libdrm - libimxdmabuffer - linux-fslc-imx - linux-imx - optee-client - optee-test Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * u-boot-imx: Restrict recipe for i.MX6, i.MX7 and i.MX8Otavio Salvador2022-02-211-1/+1
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * u-boot-fslc-mxsboot: Restrict recipe for mxs-generic-bsp overrideOtavio Salvador2022-02-211-1/+1
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * imx-atf: Use mx8-generic-bsp as COMPATIBLE_MACHINEOtavio Salvador2022-02-211-1/+1
| | | | | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * imx-vpu-hantro: Mark PACKAGE_ARCH as MACHINE_SOCARCHOtavio Salvador2022-02-212-0/+2
| | | | | | | | | | | | | | The compilation vary depending on the target SoC we wish to use so we must ensure it doesn't end in generic architecture feed. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
| * Rework recipes to use imx-generic-bsp more extensivelyOtavio Salvador2022-02-2112-18/+12
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | This rework the recipes making use of new imx-generic-bsp override; it has been applied to: - alsa-state - firmware-imx - imx-kobs - imx-test - imx-uuc - linux-fslc - linux-fslc-lts - packagegroup-fsl-mfgtool - u-boot-fslc - uuu Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>