summaryrefslogtreecommitdiffstats
path: root/conf/machine/include/imx-base.inc
Commit message (Collapse)AuthorAgeFilesLines
...
* mx25pdk: Remove machine due to its deadlineVinicius Aquino2021-10-191-2/+0
| | | | | | The commit 2610bf14 from u-boot-fslc removes support for mx25pdk Signed-off-by: Vinicius Aquino <vinicius.aquino@ossystems.com.br>
* 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>
* 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>
* 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>
* 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>
* layer: Convert to new override syntaxKhem Raj2021-08-121-173/+173
| | | | Signed-off-by: Khem Raj <raj.khem@gmail.com>
* jailhouse: Drop from MACHINE_FEATURES_BACKFILLTom Hochstein2021-07-291-4/+1
| | | | | | | | 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.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>
* 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>
* 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-141-1/+1
| | | | | | | | | 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>
* Rework the u-boot-fslc and u-boot-imx settings logicOtavio Salvador2021-03-241-10/+43
| | | | | | | | | | 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>
* 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>
* 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>
* 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>
* imx-base.inc: Add PREFERRED_PROVIDER_u-boot-mfgtoolTom Hochstein2021-02-091-0/+1
| | | | | | | Add a preferred provider for u-boot-mfgtool since it also has both a community and an i.MX version. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* gstreamer1.0*: Fix versions for i.MX fork recipesTom Hochstein2021-02-011-4/+4
| | | | | | | | | | | | | The gstreamer1.0 recipes for the i.MX forks were updated to a newer version, but the file versions were not updated accordingly. For the NXP 5.4.47 release, the gstreamer version is 1.16.2.imx. For NXP 5.4.70, the gstreamer version is 1.16.3.imx. Note that the original version 1.16.imx was not appropriate either, and this fix can also be viewed from that perspective, that the third digit of the version should be included in the recipe version. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base: upgrade to release 5.4.70_2.3.0Max Krummenacher2021-02-011-7/+10
| | | | | | | | | Update PREFERRED to release 5.4.70_2.3.0. imx-gpu-viv now has opencl-clhpp in PROVIDES. Set this as the preferred provider. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-base.inc: add Gstreamer default for all iMX8 familiesPierluigi Passaro2021-01-311-0/+9
| | | | | | | | Set MACHINE_GSTREAMER_1_0_PLUGIN for mx8mq, mx8qm and mx8qxp machines. Also, set PREFERRED_VERSION_gstreamer1.0 and related plugins for all mx8 machines. Signed-off-by: Pierluigi Passaro <pierluigi.p@variscite.com>
* imx-base.inc: Set imx-gpu-viv as preferred provider for OpenCLTom Hochstein2021-01-261-0/+2
| | | | | | Use imx-gpu-viv for hardware-accelerated OpenCL implementation. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-gpu-viv: Align OpenCL package namesTom Hochstein2021-01-261-2/+2
| | | | | | | | The existing OpenCL recipes opencl-headers and opencl-icd-loader are dependencies for clinfo. In order to build clinfo with imx-gpu-viv as provider, fix imx-gpu-viv to provide the same recipe names. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* machines: imx-base.inc: fix failing u-boot buildsMax Krummenacher2021-01-261-12/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | If using a fsl-xxx distro the prefered provider of U-Boot is u-boot-imx. That U-Boot didn't make the switch to a unified dl/q/qp binary and does not use an spl. For the imx6ulevk it does not use an spl. The below commits try to address that, however the change is not limited to - the fsl distro but rather uses use-nxp-bsp which can be used with any distro - some machines which do not use u-boot-imx, e.g. colibri-imx6 now fail. Fix this by moving the configuration into the affected distro in meta-freescale-distro and the machines. Fixes: c9757ea3 ("imx-base.inc: Fix use-nxp-bsp after rework") 77e56f30 ("imx-base.inc: Limit use-fsl-bsp u-boot overrides to i.MX 6 and 7") e5cd33c9 ("u-boot.imx: Add u-boot configuration for fsl") Build tested with fsl-xwayland & use-nxp-bsp for imx6qdlsabreauto, imx6qdlsabresd, and imx6ulevk. Build tested with the fslc-xwayland & use-nxp-bsp for imx6qdlsabreauto, imx6qdlsabresd, imx6ulevk, and colibri-imx6. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx8dxl-evk: Add new board i.MX DXL EVKTom Hochstein2021-01-211-0/+3
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx6ulz-14x14-evk.conf: Add i.MX 6ULZ EVK boardTom Hochstein2021-01-211-8/+13
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Consolidate DEFAULTTUNE and UBOOT_ENTRYPOINT for 8MTom Hochstein2021-01-211-8/+2
| | | | | | | The DEFAULTTUNE and UBOOT_ENTRYPOINT are the same for all 8M, so set them using the mx8m override. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Fix use-nxp-bsp after reworkTom Hochstein2021-01-211-11/+11
| | | | | | | | | The use-*-bsp rework renamed use-fsl-bsp to use-nxp-bsp. It also added to MACHINEOVERRIDES automatically, so fix the comment as well. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Add imx-boot to the WKS_FILE_DEPENDS for aarch64Otavio Salvador2020-12-131-0/+3
| | | | | | | | | For now, the best alternative we have is to add the imx-boot to the depends list based on the architecture. We bind it to use-mainline-bsp so we avoid changing QoriQ machines. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I836015607b72dd6afbbb098925a789d4720460bd
* imx-base.inc: Filter out mx8m when building for mainline BSPOtavio Salvador2020-12-131-0/+1
| | | | | | | | We need to get mx8m out of the machine overrides to avoid adding NXP BSP specific overrides in the system. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: Ib99d5c6914c95cd18684a0e699da6679853f30b4
* imx-base.inc: add imx-boot as a dependency for mx8m machinesAndrey Zhizhikin2020-12-131-0/+1
| | | | | | | | | | | | | | | | | imx-boot is required to be provided as a dependency for mx8m machines in order to provide a boot container, which WIC is expecting to include into the final image. Since the only dependency for WIC present in the layer now is targeting mx8 machine and MACHINEOVERRIDES_EXTENDER_FILTER_OUT removes it when use-mainline-bsp is set - it leaves no 'imx-boot' container in the path of creating WIC file, and build for mx8m machines fails. Append WKS_FILE_DEPENDS to include imx-boot for mx8m, as it is required to be present regardless of the BSP flavor chosen. Fixes: e2589ccb ("imx-base.inc: Avoid adding 'imx-boot' as dependency for all SoCs") Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base.inc: Avoid adding 'imx-boot' as dependency for all SoCsOtavio Salvador2020-12-121-1/+0
| | | | | | | | | The use-mainline-bsp cannot be used to add the 'imx-boot' on the dependency chain as it breaks the other SoCs. The fix for this is still to be decided but for now restore the old behavior. Fixes: b93dcbeb (conf: machine: imx8m[m,p]: add support for fslc bsp) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* conf: machine: imx8m[m,p]: add support for fslc bspAndrey Zhizhikin2020-12-111-5/+9
| | | | | | | | | | | | | | | Add support for FSL Community BSP to imx8mmevk, imx8mpevk and imx8mnevk machines and ease restriction for those machines to be built with NXP-only BSP. FSL Community BSP allows those machines to pick up upstream components in order to construct the image. Bootloader provider is now selected to provide either u-boot-imx or u-boot-fslc for mx8mm machines based on the BSP flavor selected. WIC container is defined to accommodate ATF and option OP-TEE from NXP, as it is required for mx8mm family to boot. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base: install vpu fw for mx8qm/mx8qxp based machinesMax Krummenacher2020-11-091-3/+2
| | | | | | | | | | | Both SoC families use the same vpu firmware packaged into firmware-imx-vpu-imx8. Note that a package by the name firmware-imx-vpu-imx8-qxp does not exist. Compare with https://source.codeaurora.org/external/imx/meta-imx/tree/meta-bsp/conf/layer.conf?h=zeus-5.4.47-2.2.0#n70 Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
* imx-base.inc: Fix incorrect opencv packagingTom Hochstein2020-10-221-0/+1
| | | | | | | | | | | When building for 6Q in a common build folder, the sysroots used for opencv were actually for a previous 6SL build, causing a build break. Fix the build break by setting the opencv packaging properly as SoC-specific. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* imx-base.inc: Add sdma-imx7d firmware for i.MX8M based SoCsOtavio Salvador2020-10-071-1/+4
| | | | | | | | | | | | | | | We need to install the SDMA firmware for all i.MX8M based SoCs so it can properly enable the DMA support, this has been done for following SoC families: - mx8mm - mx8mn - mx8mp - mx8mq Reported-by: Brian Hutchinson <b.hutchman@gmail.com> Change-Id: I047164568e659a532307fdedab31cdbb521fdfa1 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx8mpevk.conf: add machine definition for i.MX8M Plus SocAndrey Zhizhikin2020-09-291-7/+16
| | | | | | | | | Add machine definition file based in NXP release 5.4.24-2.1.0 Modify imx-base.inc machine file to add defines required to bring new machine definition into the base. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-parser: Set package architecture correctly to tune-specificTom Hochstein2020-09-231-1/+0
| | | | | | | The tune-specific package architecture is sufficient, no need to use the more specific SOC or MACHINE package architecture. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* optee-imx: upgrade to version 3.7.0Andrey Zhizhikin2020-09-231-3/+3
| | | | | | | | | | | | | | | | | | | | | | | Update all recipes to pull sources from imx_5.4.24_2.1.0 branch in NXP upstream and update SRCREV to match release tags. Update PREFERRED_VERSION of optee for mx8 to point to 3.7.0.imx. Following notes are additions to the version update of recipes: -------------------------- optee-os: - Refresh gcc10 patch to resolve the fuzz during apply - Drop python patch as it is already applied upstream - Add new machines to the list optee-client: - Update CFLAGS patch to match 3.7.0 version - Split ${B} from ${S}, this makes build more clear optee-test: - Remove do_compile task and substitute with OEMAKE Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* firmware-imx: upgrade to version 8.8Andrey Zhizhikin2020-09-231-2/+2
| | | | | | | | | | | | | | | | | | Update all recipe PN to match the one from upstream. Latest delivery from NXP has VPU firmware for imx27 in the package, so enable it to be included in the image. It also also lacks the VPU firmware for imx8qxp, so disable the package for now until it is provided from NXP. firmware-imx has been re-worked to provide a more unified mechanism for installing firmware files into ${D} and package split is expalined in the comments section. NOTE: This update uses new EULA v11 from NXP. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* imx-base.inc: Change default Linux kernel to linux-fslc-imxOtavio Salvador2020-08-251-8/+8
| | | | | | | | | | | | The linux-imx does not offer fixes for security issues as well as new toolchain tooling, as we maintain an alternative Linux flavor it make sense to use it. The kernel can still to be overridden on the machine or distro definition, so preserving the flexibility. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I2378881cf9951f3dd85f758edf19af48185a50e8
* jailhouse: Enable Jailhouse for i.MXCristinel Panfir2020-05-251-0/+8
| | | | | | | | | | | | This is an adaptation of the original recipe https://bitbucket.org/retotech/meta-jailhouse - add recipe for Jailhouse version 0.11 - enable for mx8mq, mx8mm, mx8mn - add pyjailhouse/python tools like jailhouse-cell-linux - update to python3 classes Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
* imx-base.inc: Add imx override to filter_out list of mainline BSPOtavio Salvador2020-05-011-0/+2
| | | | | | | We should avoid leaking NXP settings when using mainline BSP so we need to filter it out. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* imx-base.inc: Reduce override of libdrm for mx6, mx7 and mx8Otavio Salvador2020-05-011-1/+3
| | | | | | | The library should not be overrided for SoCs without official BSP releases from NXP as it is untested. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>