summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* firmware-imx-8m: Use mx8m-generic-bsp as COMPATIBLE_MACHINEOtavio Salvador2022-02-211-1/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-21110-365/+402
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* classes/machine-overrides-extender: Postpone filter outOtavio Salvador2022-02-211-3/+4
| | | | | | | The overrides ought to allow the filter out execution even for overrides included during the extension, for this to work we need to postpone it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* classes/machine-overrides-extender: Allow filter out without an overrideOtavio Salvador2022-02-211-2/+2
| | | | | | | We should be able to use a single MACHINEOVERRIDES_EXTENDER_FILTER_OUT definition, without an override, to reduce code duplication. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* kernel-module-imx-gpu-viv: 6.4.0.p2.4+fslc -> 6.4.3.p2.4+fslcOtavio Salvador2022-02-211-1/+1
| | | | | | | | | | | | | | This includes folowing versions updates: 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>
* Merge pull request #979 from zandrey/optee-fix-bsd-licenseOtavio Salvador2022-02-183-3/+3
|\ | | | | optee-imx: clarify BSD license
| * optee-imx: clarify BSD licenseAndrey Zhizhikin2022-02-183-3/+3
|/ | | | | | | | | | | | | | | | 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. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* Merge pull request #978 from YoeDistro/yoe/mutOtavio Salvador2022-02-121-0/+3
|\ | | | | imx-g2d-samples: Ping to imxgpu2d machines
| * imx-g2d-samples: Ping to imxgpu2d machinesKhem Raj2022-02-121-0/+3
|/ | | | | | | It depends on imx-gpu-g2d recipe which is specific to imxgpu2d machine types Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #976 from sean-anderson-seco/crconfOtavio Salvador2022-02-111-3/+1
|\ | | | | Fix building crconf with usrmerge
| * crconf: Don't set FILESSean Anderson2022-02-111-2/+0
| | | | | | | | | | | | | | | | 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>
| * crconf: Set SBINDIR and MANDIRSean Anderson2022-02-111-1/+1
| | | | | | | | | | | | | | | | | | | | | | 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>
* | Merge pull request #977 from thochstein/masterOtavio Salvador2022-02-111-0/+1
|\ \ | | | | | | weston-init: Set bindir properly in weston.ini
| * | weston-init: Set bindir properly in weston.iniTom Hochstein2022-02-111-0/+1
|/ / | | | | | | | | | | | | The customized weston.ini is installed in the rootfs with an unresolved bindir variable. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #975 from thochstein/masterOtavio Salvador2022-02-102-5/+5
|\ \ | | | | | | Upgrade imx-vpu-hantro
| * | imx-vpu-hantro-daemon: Upgrade to 1.1.1Tom Hochstein2022-02-101-2/+2
| | | | | | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * | imx-vpu-hantro: Upgrade to 1.24.0Tom Hochstein2022-02-101-3/+3
|/ / | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #965 from thochstein/masterOtavio Salvador2022-02-1022-124/+206
|\ \ | |/ |/| Update graphics for L5.10.72-2.2.0
| * weston-init: Enable screen sharingTom Hochstein2022-01-291-1/+2
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * weston: Adjust base patch for forkTom Hochstein2022-01-291-8/+10
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * weston: Upgrade to L5.10.72-2.2.0 releaseTom Hochstein2022-01-291-1/+1
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
| * weston: Update base portion of recipeTom Hochstein2022-01-296-6/+104
| | | | | | | | | | | | | | Update the base portion of the i.MX fork recipe to the latest OE-core recipe c8aa0222ce2be647911114aaebcbb0d55d7caf87. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * weston: Rework SRC_URITom Hochstein2022-01-291-5/+3
| | | | | | | | | | | | | | Rework the i.MX SRC_URI override so it's clear what is changed and what is inherited. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * wayland-protocols: Upgrade to 1.22.imxTom Hochstein2022-01-292-5/+5
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-gpu-apitrace: Upgrade to 10.0.0Tom Hochstein2022-01-292-11/+8
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-g2d-samples: New recipe for G2D sample appsTom Hochstein2022-01-291-0/+22
| | | | | | | | | | | | | | | | 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>
| * imx-gpu-g2d: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-292-39/+31
| | | | | | | | | | | | | | This version has the sample apps removed, available now in the new recipe imx-g2d-samples. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-g2d: Consolidate G2D recipes in single folderTom Hochstein2022-01-292-0/+0
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * kernel-module-isp-vvcam: Upgrade to 4.2.2.16.0Tom Hochstein2022-01-291-2/+2
| | | | | | | | | | | | | | | | | | | | 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>
| * kernel-module-imx-gpu-viv: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-291-2/+2
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-gpu-viv: Upgrade to 6.4.3.p2.4Tom Hochstein2022-01-294-46/+18
| | | | | | | | | | | | | | | | - x11 is no longer supported - dri is no longer supported - remove vestiges of 64-bit framebuffer on Wayland, which is no longer supported Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * libdrm: Upgrade to 2.4.107.imxTom Hochstein2022-01-282-6/+6
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | Merge pull request #973 from tprrt/tprrt/fix-imx-atf-ccacheOtavio Salvador2022-02-051-2/+2
|\ \ | | | | | | imx-atf: add mark quotation to prevent build issue with ccache
| * | imx-atf: add mark quotation to prevent build issue with ccacheThomas Perrot2022-02-041-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | | Merge pull request #974 from thochstein/imx-vpu-hantroOtavio Salvador2022-02-042-5/+5
|\ \ \ | |/ / |/| | Revert imx-vpu-hantro and imx-vpu-hantro-daemon due to package fetch failure
| * | Revert "imx-vpu-hantro: Upgrade to 1.24.0"Tom Hochstein2022-02-041-3/+3
| | | | | | | | | | | | | | | | | | | | | The latest imx-vpu-hantro-daemon fails to download and has been reverted to the previous version, so revert this version as well. This reverts commit ddbc40ac9cb001f1e16da218a08f3a3a43b29dbb.
| * | Revert "imx-vpu-hantro-daemon: Upgrade to 1.1.1"Tom Hochstein2022-02-041-2/+2
| |/ | | | | | | | | | | | | | | | | | | | | | | | | The new package fails to download, so revert this for now. $ wget https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-vpu-hantro-daemon-1.1.1.tar.gz --2022-02-04 13:19:34-- https://www.nxp.com/lgfiles/NMG/MAD/YOCTO//imx-vpu-hantro-daemon-1.1.1.tar.gz Resolving www.nxp.com (www.nxp.com)... 104.94.208.185 Connecting to www.nxp.com (www.nxp.com)|104.94.208.185|:443... connected. HTTP request sent, awaiting response... 304 Not Modified 2022-02-04 13:19:35 ERROR 304: Not Modified. This reverts commit 4d713c80302466a3d4d2b33e071cfeeb866aa548.
* | Merge pull request #970 from tprrt/tprrt/fix-optee-overridesOtavio Salvador2022-02-023-5/+4
|\ \ | | | | | | optee: fix override syntax
| * | optee-test: correct TA_DEV_KIT_DIRThomas Perrot2022-02-021-2/+2
| | | | | | | | | | | | | | | | | | | | | The value is either ${STAGING_INCDIR}/optee/export-user_ta_arm32/ or ${STAGING_INCDIR}/optee/export-user_ta_arm64/ Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
| * | optee-os: fix an override syntaxThomas Perrot2022-02-021-2/+1
| | | | | | | | | | | | | | | | | | Correct a forgotten change when switching to the new syntax. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
| * | optee-client: fix an override syntaxThomas Perrot2022-02-021-1/+1
| | | | | | | | | | | | | | | | | | Correct a forgotten change when switching to the new syntax. Signed-off-by: Thomas Perrot <thomas.perrot@bootlin.com>
* | | Merge pull request #972 from tprrt/tprrt/fix-optee-test-dependsOtavio Salvador2022-02-021-1/+1
|\ \ \ | | | | | | | | optee-test: replace old pycrypto with pycryptodome