summaryrefslogtreecommitdiffstats
path: root/conf
Commit message (Collapse)AuthorAgeFilesLines
* 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>
* conf: machine: imx8m*: convert exlinux syntax to new overridesAndrey Zhizhikin2021-08-123-12/+12
| | | | | | | | | | New override mechanism uses ":" instead of "_", this causes the extlinux variables defined in machine include files not ot be set proper. Correct exlinux variables syntax to adhere to new overrides. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer.conf: Drop compatibility with older than hardknott releasesKhem Raj2021-08-121-1/+1
| | | | | | New override syntax requires it Signed-off-by: Khem Raj <raj.khem@gmail.com>
* layer: Convert to new override syntaxKhem Raj2021-08-1236-285/+285
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* imx8mp-evk.inc: Make jailhouse specific to NXP BSPTom Hochstein2021-07-291-2/+3
| | | | | | | Align the jailhouse enablement for i.MX 8M Plus EVK with the other 8M EVK machines, making jailhouse specific to NXP BSP. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* jailhouse: Drop from MACHINE_FEATURES_BACKFILLTom Hochstein2021-07-292-6/+3
| | | | | | | | The backfill feature is for features that were once always enabled without the ability to disable them. This is not true of jailhouse; it has always had a feature allowing it to be disabled. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* recipes-graphics: clutter/cogl: move bbappend to dynamic layersPierre-Jean Texier2021-06-041-0/+3
| | | | | | | | | | | | | | | As it breaks the build on master since [1]. Move bbappend files to dynamic layers since recipes were moved to meta-gnome Fixes: ERROR: No recipes in default available for: /home/bdx-iot/ci/meta-freescale/recipes-graphics/clutter/clutter-1.0_%.bbappend /home/bdx-iot/ci/meta-freescale/recipes-graphics/cogl/cogl-1.0_%.bbappend [1] - http://git.openembedded.org/openembedded-core/commit/?id=c4f167d05f58f35a6b94e8dbc4721ab67e7e71eb Signed-off-by: Pierre-Jean Texier <texier.pj2@gmail.com>
* imx8dx-mek: Fix ATF_PLATFORM and IMX_BOOT_SOC_TARGETTom Hochstein2021-05-211-0/+4
| | | | | | | | The values for ATF_PLATFORM and IMX_BOOT_SOC_TARGET need to be set in the machine config file directly, as they are not shared with imx8qxp-mek and are now removed from the include file. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8qxp-mek: Move ATF_PLATFORM and IMX_BOOT_SOC_TARGETTom Hochstein2021-05-212-5/+4
| | | | | | | | The values of ATF_PLATFORM and IMX_BOOT_SOC_TARGET are not shared by imx8dx-mek, so move them out of imx8x-mek.inc and into the machine config file itself. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* layerscape: not set u-boot-dtb.bin in UBOOT_CONFIGTing Liu2021-05-1113-27/+27
| | | | | | | | | | | | | | | The u-boot binary name is u-boot-fit-dtb.bin if CONFIG_MULTI_DTB_FIT is set. Below build error appears due to no u-boot-dtb.bin generated: | cp: cannot stat '.../u-boot-dtb.bin': No such file or directory | WARNING: exit code 1 from a shell command. Regardless of CONFIG_OF_SEPARATE or CONFIG_MULTI_DTB_FIT being set, the binary is copied as u-boot.bin which is used in uboot-config.bbclass by default. Not set u-boot-dtb.bin in UBOOT_CONFIG, just use the default u-boot.bin. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* conf: machine: imx8m[m,n,p]: enable extlinux supportAndrey Zhizhikin2021-05-043-0/+57
| | | | | | | | | | | | | | | | Newer U-Boot versions enables distro boot option as a default. This requires that the target uses either Syslinux or boot script in order to start instead of customized boot environment. Since according to U-Boot documentation [1], Syslinux is considered as a preferred way of using distro boot - enable it for imx8mm, imx8mn and imx8mp derivatives for mainline BSP. Syslinux options are introduced in machine-specific headers in order to assemble correct extlinux.conf file. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com> Link: [1]: https://source.denx.de/u-boot/u-boot/-/blob/master/doc/README.distro
* imx-base.inc: use new wks file for boot containerAndrey Zhizhikin2021-05-041-10/+9
| | | | | | | | | | | | | Boot container provided by mainline U-Boot build can be used directly in the result image file, as it requires two binary files to be populated onto raw partition, hence it uses separate image generation scheme from imx-boot provided by NXP. Use new WKS file for mainline BSP built for aarch64 which picks up and packs boot container binary files from U-Boot directly into result image. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base.inc: Fix opencv preferred versionTom Hochstein2021-05-041-1/+1
| | | | | | The i.MX fork of opencv is upgraded to 4.5.2.imx. Fix the preferred version. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: use 0x80008000 as the UBOOT_ENTRYPOINT for mx6ul, mx6ull and ↵Marc Ferland2021-05-041-3/+3
| | | | | | | | | | mx6ulz Based on the different reference manuals, the DDR controller for the mx6ul, mx6ull and mx6ulz is at 0x80000000 and not 0x10000000 like the imx6 dual or quad for example. Signed-off-by: Marc Ferland <ferlandm@amotus.ca>
* imx8mp-lpddr4-evk: Add device trees for basler cameraTom Hochstein2021-04-301-0/+2
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8dxl-ddr3l-evk: Fix machine nameTom Hochstein2021-04-281-0/+0
| | | | | | The machine variant is for DDR3L memory, so fix the name. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8dxl-ddr3-evk: Fix BOARD_TYPETom Hochstein2021-04-281-0/+2
| | | | | | | | The BOARD_TYPE used for this board by imx-sc-firmware is val. It will eventually be evk, but for now using evk is wrong and causes the board to fail to boot. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* ls1043/ls1046: use _prepend to adjust dtb orderTing Liu2021-04-223-3/+3
| | | | | | | | When generating fitImage, the default configuration uses the first dtb file in KERNEL_DEVICETREE. Change to _prepend to adjust the dtb order, thus changing the default configuration in fitImage if using nxp BSP. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* Move mesa/etnaviv to xf86-video-modesettingAndreas Müller2021-04-201-1/+5
| | | | | | | * armada sources are gone finally * glmark2-es2 performance is almost doubled 87 -> 162 Signed-off-by: Andreas Müller <schnitzeltony@gmail.com>
* ls1043/ls1046: add wic.bz2 as default IMAGE_FSTYPESTing Liu2021-04-201-0/+2
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>