summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx8mm-evk.inc
Commit message (Collapse)AuthorAgeFilesLines
* conf/machine: Add NXP WiFi/BT support to NXP boardsTom Hochstein2022-12-271-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 42c17f72373103b74733781e7ba01bad8c560a00)
* imx8mm-evk.inc: Add dtbs for NXP BSPTom Hochstein2022-11-101-2/+5
| | | | | | | | | | For all i.MX 8MMini EVKs, add dtbs for linux-imx 5.15.52: - ${KERNEL_DEVICETREE_BASENAME}-rm67191-cmd-ram.dtb - ${KERNEL_DEVICETREE_BASENAME}-rm67199.dtb - ${KERNEL_DEVICETREE_BASENAME}-rm67199-cmd-ram.dtb Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit 21cb88a5a48566a5b234a71ce6551570f49827eb)
* imx8m*: Drop redundant UBOOT_SUFFIX assignmentTom Hochstein2022-08-021-1/+0
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> (cherry picked from commit d3f8b15d3cab77ae0397ab95ddcb4aed559e2db0)
* imx8m*-evk: allow switch between `u-boot-imx` and `u-boot-fslc`Otavio Salvador2022-08-011-1/+5
| | | | | | | | | | We ought to add `imx-boot-container` `MACHINEOVERRIDES` only if not building for `u-boot-imx`. This can be removed once it uses `binman` as `u-boot-imx` and u-boot-fslc would use same mechanism to build the container. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 1650359bc3eba454522f0db51846497549275caa)
* imx-base.inc: consolidate `IMX_EXTRA_FIRMWARE` definitionOtavio Salvador2022-07-291-3/+0
| | | | | | | | | | | | | | | We should have a single definition for `IMX_EXTRA_FIRMWARE` variable as this is SoC specific and not machine, or recipe, dependent. This removes multiple assignments from: - conf/machine/imx8mq-evk.conf - conf/machine/include/imx8mm-evk.inc - conf/machine/include/imx8mn-evk.inc - conf/machine/include/imx8mp-evk.inc - recipes-bsp/imx-mkimage/imx-boot_1.0.bb Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 63d73925950aa35ec1378696c0f5dcfd2fef9e83)
* imx8mm-evk: lift imx8mm-lpddr4-evk and imx8mm-ddr4-evk restrictionsOtavio Salvador2022-07-291-3/+0
| | | | | | | | | The Linux mainline kernel has support for both variations but U-Boot mainline only supports the LPDDR4 version. For now, we restrict the imx8mm-ddr4-evk version to use u-boot-imx. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> (cherry picked from commit 43534097a557810b36b4c30495d51d1d129c34b2)
* conf: machine: imx8m*: clean-up obsolete ATF load addressAndrey Zhizhikin2022-03-071-1/+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>
* Rework machine definitions to reduce duplicationOtavio Salvador2022-02-211-1/+1
| | | | Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* 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-271-0/+5
| | | | | | | | | | | | 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>
* machines: Adjust for using new location of tune files from coreKhem Raj2021-08-181-1/+1
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* conf: machine: imx8m*: convert exlinux syntax to new overridesAndrey Zhizhikin2021-08-121-4/+4
| | | | | | | | | | 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: Convert to new override syntaxKhem Raj2021-08-121-13/+13
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jailhouse: Drop from MACHINE_FEATURES_BACKFILLTom Hochstein2021-07-291-2/+2
| | | | | | | | 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>
* conf: machine: imx8m[m,n,p]: enable extlinux supportAndrey Zhizhikin2021-05-041-0/+19
| | | | | | | | | | | | | | | | 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
* Rework the u-boot-fslc and u-boot-imx settings logicOtavio Salvador2021-03-241-0/+5
| | | | | | | | | | 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>
* conf: machine: imx8m: make optee feature nxp dependentAndrey Zhizhikin2021-03-171-2/+4
| | | | | | | | | 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-171-2/+7
| | | | | | | | | | | | | | | 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>
* imx8mm-lpddr4-evk: follow changed device tree nameMax Krummenacher2021-02-011-1/+0
| | | | | | | | The kernel from rel_imx_5.4.70_2.3.0 got one device tree name changed: imx8mm-evk-revb.dts -> imx8mm-evk-revb-qca-wifi.dts Follow that in the machine config to keep the machine buildable. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx8mm-*-evk: Split 8M Mini EVK for LPDDR4 and DDR4 variantsTom Hochstein2021-01-211-0/+46
The 8M Mini Evaluation Kit has two variants, one for LPDDR4 and one for DDR4, with two corresponding sets of image components. The current machine configuration places both sets into a single image and boots for LPDDR4. The user must manually update the image to make it work for the DDR4 EVK variant. Simplify the DDR4 case by providing a dedicated machine configuration. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>