summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
...
* 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>
* 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>
* wayland-protocols: Upgrade 1.22.imx -> 1.25.imxTom Hochstein2022-03-251-3/+3
| | | | | | | | 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-251-3/+3
| | | | | | | | | 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>
* 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>
* 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>
* Merge pull request #1000 from zandrey/topic/cleanup-atf-address-variableOtavio Salvador2022-03-074-4/+0
|\ | | | | Clean-up obsolete ATF load address for i.MX8M machines
| * conf: machine: imx8m*: clean-up obsolete ATF load addressAndrey Zhizhikin2022-03-074-4/+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>
* | 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>
* xf86-video-imx-vivante: drop vivante specific x11 driverMax Krummenacher2022-03-061-1/+0
| | | | | | | | | | | | 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 #994 from Freescale/topic/warn-old-overridesOtavio Salvador2022-03-031-0/+2
|\ | | | | 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-031-0/+2
| | | | | | | | | | | | | | | | | | 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>
* | 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>
* optee-test: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* optee-client: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* optee-os: Upgrade 3.10.0.imx -> 3.15.0.imxTom Hochstein2022-02-241-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* 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>
* | 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-2314-167/+202
|\ | | | | Generalize overrides subsystem for NXP and Mainline support
| * 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>
| * Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-147/+189
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* | layers: Bump to use kirkstoneKhem Raj2022-02-211-1/+1
|/ | | | | | its not going to be backward ABI compatible with honister due to variable renaming. Signed-off-by: Khem Raj <raj.khem@gmail.com>
* Merge pull request #965 from thochstein/masterOtavio Salvador2022-02-101-6/+6
|\ | | | | Update graphics for L5.10.72-2.2.0
| * wayland-protocols: Upgrade to 1.22.imxTom Hochstein2022-01-291-3/+3
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * libdrm: Upgrade to 2.4.107.imxTom Hochstein2022-01-281-3/+3
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | imx-base: Install the driver when nxp8987 in MACHINE_FEATURESDaiane Angolini2022-02-011-0/+3
|/ | | | Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
* conf: machine: imx8mq-evk: add mainline bsp supportAndrey Zhizhikin2022-01-191-4/+30
| | | | | | | | | | | | | | | | Recent versions of upstream U-Boot and Kernel do provide support for i.MX8MQ derivative, and it can be built using Mainline BSP. Convert machine definition to include all parts, that are required to build Mainline BSP: - Drop hardcoded BSP flavor setting in machine configuration - Add boot container machine override - Split machine features - Define ATF load address - Add dependency to firmware package - Provide extlinux configuration to utilize distro boot feature Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx8dxl-ddr3l-evk: Fix BOARD_TYPEVinicius Aquino2021-11-051-1/+1
| | | | Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* Merge pull request #915 from Ossanes/topic/remove-mx53ardOtavio Salvador2021-11-041-29/+0
|\ | | | | imx53ard: Remove machine due to its deadline
| * imx53ard: Remove machine due to its deadlineVinicius Aquino2021-11-031-29/+0
| | | | | | | | | | | | Its defconfig has been removed by commit 1c4bd238 of u-boot-fslc. Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* | imx8x-mek.inc: Remove obsolete dtb for DSPVinicius Aquino2021-11-031-1/+0
|/ | | | | | Some dtb for DSP were removed from the kernel. Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* imx8qm-mek: remove obsolete dtbSamuli Piippo2021-11-011-1/+0
| | | | | | | imx8qm-mek-dsp.dtb is no longer available in the kernel, it was removed in de78ae45bfffed2c9490ab733d11ebab2672984d Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
* mx25pdk: Remove machine due to its deadlineVinicius Aquino2021-10-192-33/+0
| | | | | | The commit 2610bf14 from u-boot-fslc removes support for mx25pdk Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* lx2160ardb: update rcw to support rev2 boardTing Liu2021-10-151-3/+3
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* conf: machine: imx8mp-lpddr4-evk: align dtbs with new kernelAndrey Zhizhikin2021-09-291-2/+7
| | | | | | | | | New kernel from NXP release lf-5.10.52-2.1.0 has different set of dtbs for imx8mp-lpddr4-evk, with some newly introduced and some dropped. Align machine dtb list to match the content of new kernel. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* Merge pull request #856 from thochstein/gstreamerOtavio Salvador2021-09-102-12/+7
|\ | | | | Gstreamer: Upgrade to 1.18.0[.imx]
| * imx8mq-evk.conf: Drop redundant gstreamer preferred versionTom Hochstein2021-09-011-7/+0
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
| * imx-base.inc: Set gstreamer preferred version to 1.18.0[.imx]Tom Hochstein2021-09-011-5/+7
| | | | | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | imx8mm-evk.inc: Drop qca9377Tom Hochstein2021-09-091-2/+2
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | The build for kernel-module-qca9377 is broken: ``` | /.../yocto/master/build/tmp/work/imx8mm_lpddr4_evk-fsl-linux/kernel-module-qca9377/3.1-r0/git/CORE/SERVICES/COMMON/adf/linux/adf_os_dma_pvt.h:104:25: error: 'DMA_ATTR_NON_CONSISTENT' undeclared (first use in this function) | 104 | DMA_ATTR_NON_CONSISTENT); | | ^~~~~~~~~~~~~~~~~~~~~~~ ``` The Linux API here is changed for 5.10, so the i.MX fork is now incompatible. Nothing suitable is found in Qualcomm's source either, so drop qca9377. Fixes: #851 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* | conf: machine: imx8m: correct tune for mainline bspAndrey Zhizhikin2021-08-273-0/+15
|/ | | | | | | | | | | | Mainline BSP does not contain imx8m in machine overrides, which causes generic tunes to be set for i.MX8M derivates, rather than a more precise tune which enables crypto extension. Those extensions are enabled in NXP BSP due to those settings rely on machine overrides. Adapt tunes for Mainline BSP in machine include files to include crypto extensions and align it with NXP BSP. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base.inc: Define a default value for OPTEE_BIN_EXTTom Hochstein2021-08-241-0/+1
| | | | | | | | | | | | | | Without a default the IMAGE_BOOT_FILES is not parsed properly, leading to the following error for machines without such a variable definition: ``` | ERROR: _exec_cmd: install -m 0644 -D /z/build-master/imx233-olinuxino-maxi/build/tmp-glibc/deploy/images/imx233-olinuxino-maxi/make_dtb_boot_files /z/build-master/imx233-olinuxino-maxi/build/tmp-glibc/work/imx233_olinuxino_maxi-oe-linux-gnueabi/core-image-base/1.0-r0/tmp-wic/boot.2/make_dtb_boot_files returned '1' instead of 0 | output: install: cannot stat '/z/build-master/imx233-olinuxino-maxi/build/tmp-glibc/deploy/images/imx233-olinuxino-maxi/make_dtb_boot_files': No such file or directory ERROR: Task (/opt/oe/configs/z/build-master/imx233-olinuxino-maxi/layers/openembedded-core/meta/recipes-core/images/core-image-base.bb:do_image_wic) failed with exit code '1' ``` Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx6qdlsabre*: Add support for opteeTom Hochstein2021-08-212-0/+6
| | | | | | If optee is enabled via machine feature, use optee uboot config. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx6qdlsabre*: Add uboot config options for u-boot-imxTom Hochstein2021-08-212-12/+27
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Fix optee boot imagesTom Hochstein2021-08-211-2/+2
| | | | | | | | For optee support tee.bin is needed in the image. The optee image uTee is renamed with an SOC qualifier. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* machines: Adjust for using new location of tune files from coreKhem Raj2021-08-1831-31/+31
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx-base.inc: Fix another overrideTom Hochstein2021-08-121-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: More override fixesTom Hochstein2021-08-121-8/+8
| | | | | | | | | | Adds fixes for _imx, _imxdpu, _imxdrm, _imxgpu, _imxgpu3d, virtual PREFERRED_PROVIDER versions Fix other places for imx/imxdpu/imxdrm overrides Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>