summaryrefslogtreecommitdiffstats
path: root/conf/machine
Commit message (Collapse)AuthorAgeFilesLines
* imx8qm-mek: remove obsolete dtbSamuli Piippo2021-11-161-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> (cherry picked from commit 93ef06fbf7978d150d6064951af8e199174184d1)
* imx6ullevk: remove obsolete device tree entryOleksandr Suvorov2021-10-241-1/+0
| | | | | | | | | | | | | | | The imx6ul-14x14-evk-btwifi-oob.dtb has been removed from the Linux kernel lf-5.10.y since the commit a1488e98156e ("MLK-25618-1: arm: dts: imx6/7: clean up the old supported wifi/bt nodes to better support nxp wifi/bt") Bumping linux-imx_5.10.bb recipe to 5.10.52 broke building a kernel for imx6ullevk. Remove an entry for a non-existent dtb file. This fixes building a Linux kernel recipe for imx6ullevk. Fixes: c0659168 ("linux-imx*: Upgrade to 5.10.52") Signed-off-by: Oleksandr Suvorov <oleksandr.suvorov@foundries.io>
* conf: machine: imx8mp-lpddr4-evk: align dtbs with new kernelbackport-876-to-hardknottAndrey 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> (cherry picked from commit 93cf9cd9492e4c932591806f6bafc43270a934d8)
* jailhouse: Drop from MACHINE_FEATURES_BACKFILLTom Hochstein2021-09-132-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>
* imx-base: Fix characteres included on backport by mistakeDaiane Angolini2021-09-131-7/+7
| | | | Signed-off-by: Daiane Angolini <daiane.angolini@foundries.io>
* imx8mm-evk.inc: Drop qca9377Tom Hochstein2021-09-111-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>
* imx8mq-evk.conf: Drop redundant gstreamer preferred versionTom Hochstein2021-09-111-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-111-5/+7
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8mp-evk.inc: Make jailhouse specific to NXP BSPTom Hochstein2021-09-111-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>
* 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> (cherry picked from commit 2d4781c431a4ec171dbe260290afda86f572d708)
* 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> (cherry picked from commit 70488c4a04e6614772d869805d1c347dfc859422)
* layerscape: not set u-boot-dtb.bin in UBOOT_CONFIGTing Liu2021-05-1213-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> (cherry picked from commit 03f63f44246b8e62f85dcad86c1afec92ceb8c08)
* 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> (cherry picked from commit 0eebdde9e551e0e82684b347416d598c317e5d0a)
* 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> (cherry picked from commit acc75e4a8d2b74a21c86e5772eb9197bad126040)
* imx8mp-lpddr4-evk: Add device trees for basler cameraTom Hochstein2021-04-301-0/+2
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 469653d2a9bf9d6362445354177c85fa34a4bed8)
* imx8dxl-ddr3l-evk: Fix machine nameTom Hochstein2021-04-291-0/+0
| | | | | | | The machine variant is for DDR3L memory, so fix the name. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 9ef0fb90c03e8f8814cfa2cf637a873f112bbe94)
* imx8dxl-ddr3-evk: Fix BOARD_TYPETom Hochstein2021-04-291-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> (cherry picked from commit 0268af0e30d7f2b9a3e99c3aaa0866e4fbe29280)
* 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>
* qoriq: remove ext2.gz from default IMAGE_FSTYPESTing Liu2021-04-201-1/+1
| | | | | | | | | | The classic initial ramdisk has been replaced by the much more flexible and efficient initramfs a long time. Kernel warns about it being removed soon. Remove ext2.gz from default IMAGE_FSTYPES. Signed-off-by: Ting Liu <ting.liu@nxp.com>
* ls1043/ls1046: support WIC image generationTing Liu2021-04-204-0/+29
| | | | Signed-off-by: Ting Liu <ting.liu@nxp.com>
* u-boot-imx-tools: Drop i.MX specific toolsOtavio Salvador2021-04-181-5/+0
| | | | | | | | | | | We are building same tools as the original U-Boot thus we should rely on them. This is critical as native tools cannot vary between machines as there are no clear reason to convert this to be a cross tool as we build no machine specific code. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Provide a default value for SPL_BINARYOtavio Salvador2021-04-142-1/+7
| | | | | | | | | This fixes the build case when machine does not use SPL and does not set it. We couldn't use dynamic expansion or we trigger a recursive expansion so we opted to use an utility function to do the proper logic. Fixes: f98059fe ("imx-base.inc: Allow use of SPL_BINARY variable inside wic images") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Allow use of SPL_BINARY variable inside wic imagesOtavio Salvador2021-04-131-0/+4
| | | | | Fixes: 776932e1 ("Rework the u-boot-fslc and u-boot-imx settings logic") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Fix mfgtool selection for u-boot-fslcOtavio Salvador2021-04-131-1/+2
| | | | | | | | | For eventual use of u-boot-fslc as mfgtool flavor, this will need to be provided as an extra UBOOT_CONFIG thus reusing same provider. This fix some build errors with external layers. Fixes: 776932e1 ("Rework the u-boot-fslc and u-boot-imx settings logic") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx8dxl-ddr3-evk: Add support for 8DXLite EVK with DDR3Tom Hochstein2021-04-101-0/+9
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8dxl-lpddr4-evk: Rework machine for re-useTom Hochstein2021-04-102-17/+30
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8dxl-evk: Set NXP BSP as default and add device treeTom Hochstein2021-04-101-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx6ulevk: Fix comment about SPL supportOtavio Salvador2021-04-101-2/+1
| | | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: If9e1b788bebeef4429a2ed71756aac54629cba30
* imx8mp-ddr4-evk: Set mainline BSP to use u-boot-imx for nowTom Hochstein2021-04-071-0/+4
| | | | | | | | Since u-boot-fslc doesn't yet support this machine, set the configuration for mainline BSP to use u-boot-imx. Fixes #710. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* conf: imx8mp-evk.inc: correct u-boot make targetAndrey Zhizhikin2021-04-071-1/+1
| | | | | | | | | | | | | U-Boot make target set to empty string does not expand correctly for mainline BSP build, which append make target with 'flash.bin' entry. This causes the build to fail, since the u-boot.bin target is not produced when only 'flash.bin' is present in the make target list. Define the default make target to 'all', which allows proper build target expansion. Fixes: 823a97cf ("imx8mp-lpddr4-evk: Rework 8M Plus EVK config file") Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx8mp-ddr4-evk: Add machine config for i.MX 8M Plus EVK with DDR4Tom Hochstein2021-03-301-0/+23
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx8mp-lpddr4-evk: Rework 8M Plus EVK config fileTom Hochstein2021-03-303-93/+102
| | | | | | | | | There are two variants of the 8M Plus Evaluation Kit board, one with LPDDR4 and one with DDR4. Rework our existing config file to make this distinction explicit in the machine config file name and to allow for configuration re-use. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* Rework the u-boot-fslc and u-boot-imx settings logicOtavio Salvador2021-03-2425-31/+187
| | | | | | | | | | We need to make it more obvious what is in use, when we support both bootloaders and for it we are now using the _pn suffix for both. This also fixes the WIC_FILE depending on the choice otherwise image build fails. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx6qdlsabreauto: Rework u-boot-imx defconfig as distro agnosticOtavio Salvador2021-03-241-3/+3
| | | | | | We now bind the defconfig to the 'u-boot-imx' package. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx6qdlsabresd: Rework u-boot-imx defconfig as distro agnosticOtavio Salvador2021-03-241-3/+3
| | | | | | We now bind the defconfig to the 'u-boot-imx' package. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Allow override of IMX_DEFAULT_BOOTLOADEROtavio Salvador2021-03-241-2/+2
| | | | | | | We need to allow the override of the variable in 'local.conf' or other places, so we cannot overwrite it inside imx-base.inc. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Revert "imx6*.conf: Rework machine assignments for u-boot variables"Otavio Salvador2021-03-243-18/+15
| | | | This reverts commit cc4b91bf3a3cf5c2034372c607783048aae44b65.
* imx8dxl-evk: Set ATF_PLATFORM and IMX_BOOT_SOC_TARGETOtavio Salvador2021-03-241-0/+3
| | | | | | This sets the required variables so the target is buildable. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx51evk: Drop old perf fixup as we now use Linux mainlineOtavio Salvador2021-03-241-3/+0
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx28evk: Drop unused IMXBOOTLETS_MACHINE variableOtavio Salvador2021-03-241-2/+0
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* conf: machine: imx8m: make optee feature nxp dependentAndrey Zhizhikin2021-03-173-6/+13
| | | | | | | | | Mainline BSP does have lockups in boot when OP-TEE is included in the build. Make optee feature enabled only when NXP BSP flavor is chosen. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* conf: machine: mx8m[m,n,p]: use boot container classAndrey Zhizhikin2021-03-174-11/+28
| | | | | | | | | | | | | | | Use the new boot container build on mainline BSP for mx8mm, mx8mn and mx8mp machines. Boot container serves as a replacement for imx-boot package present in NXP BSP, and is created by U-Boot build system. Define ATF machine name and required load address. Define dependency on firmware package, as it provides DDR firmware binaries needed to construct boot container. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base.inc: add boot container condition and wks dependencyAndrey Zhizhikin2021-03-171-1/+31
| | | | | | | | | | | | | | | | Boot container provided by mainline U-Boot build can be used directly int the result image file, and does not depends on the imx-boot component provided by NXP. Define variable to be used for conditional inheritance on the imx-boot-container class when 'imx-boot-container' is present in machine overrides. Modify WKS dependency to imx-boot for mainline BSP built for aarch64 to use imx-boot when derivative does not set the boot container compatibility in its overrides. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* optee-imx: Upgrade to 3.10.0Tom Hochstein2021-03-161-3/+3
| | | | | | | | | | | | | | | | | | | | | | | | | | | | Update all recipes to pull sources from imx_5.4.70_2.3.0 branch in NXP upstream and update SRCREV to match release tags. Update PREFERRED_VERSION of optee for mx8 to point to 3.10.0.imx. Following notes are additions to the version update of recipes: -------------------------- optee-client: - Drop CFLAGS patch as it is already applied upstream optee-os: - Drop gcc10 patch as it is already applied upstream - Add dependency on python3-pycryptodomex-native - Drop NOWERROR flag as package is reworked to disable warnings by default - Rework mkimage load address since tee-init_load_addr.txt is no longer created optee-test: - Drop python3 patch as it is already applied upstream - Remove unused patch files from layer - Add dependency on python3-pycryptodomex-native - Add sysroot to C and C++ flags Fixes #686, fixes #689. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx6*.conf: Rework machine assignments for u-boot variablesTom Hochstein2021-03-133-15/+18
| | | | | | | | | | | | | | | | | | The u-boot settings in imx6qdlsabresd, imx6qdlsabreauto, and imx6ulevk are set to values that are correct for u-boot-fslc. Attempts to override these settings to fix u-boot-imx builds have broken u-boot-fslc builds, and vice versa. The u-boot-imx build is currently broken: ``` | install: cannot stat '/opt/work/upstream/fsl-xwayland/tmp/work/imx6qdlsabresd-fsl-linux-gnueabi/u-boot-imx/2020.04-r0/build/u-boot.img': No such file or directory ``` Rework the u-boot-fslc-specific overrides so they are used conditionally only for u-boot-fslc. The default settings are correct for u-boot-imx. Fixes: 880dbf2 ("fsl-base.inc: use conditional assignment for base variables") Fixes: e83f54d ("machines: imx-base.inc: fix failing u-boot builds") Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: CleanupTom Hochstein2021-03-131-2/+1
| | | | | | | - Remove redundant variable assignment - Move creeping comment back where it belongs Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base: use i.MX opencv version for mx8Chris Dimich2021-03-021-0/+3
| | | | | | Use i.MX fork to support additional machine learning demos and tiny dnn. Signed-off-by: Chris Dimich <Chris.Dimich@boundarydevices.com>
* imx-base: cleanup u-boot-toolsMax Krummenacher2021-02-221-4/+5
| | | | | | | | | | | | | There is no u-boot-fslc-tools recipe and thus the PREFERRED_PROVIDER is not available for u-boot-tools. Prevents: | NOTE: Multiple providers are available for u-boot-mkimage-native (u-boot-imx-tools-native, u-boot-tools-native) | Consider defining a PREFERRED_PROVIDER entry to match u-boot-mkimage-native | NOTE: Multiple providers are available for runtime nativesdk-u-boot-mkimage (nativesdk-u-boot-imx-tools, nativesdk-u-boot-tools) | Consider defining a PREFERRED_RPROVIDER entry to match nativesdk-u-boot-mkimage Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>