aboutsummaryrefslogtreecommitdiffstats
path: root/classes
AgeCommit message (Collapse)Author
2021-04-26fsl-eula-unpack: Update EULA to v22 for NXP release 5.4.70-2.3.2Tom Hochstein
NXP release 5.4.70-2.3.2 uses EULA version 22. Also add entries for versions 18 and 19. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-04-17classes: fsl-kernel-localversion: Fix config fragments applyOtavio Salvador
We have to ensure the task run do_kernel_metadata so the config fragments can be applied properly. Refs: #707. Fixes: #733. Fixes: 49299998 ("classes: fsl-kernel-localversion: Fix task dependency") Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2021-04-10classes: fsl-kernel-localversion: Fix task dependencyOtavio Salvador
We need to do any change to the generated `.config` file after it is finished to be modified. In the case of `kernel-yocto` class being in use, we need to do it after `kernel_configme` task. Fixes: c7e23876 ("linux-imx.inc: inherit kernel-yocto class") Fixes: #707. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Change-Id: I7d32b47595dff269defdc5b3f98aa0b9d89b603a
2021-03-17classes: imx-boot-container: add class to provide boot containerAndrey Zhizhikin
Add a class which extends the u-boot build mechanism with providing a separate "flash.bin" binary that replaces the imx-boot in the WIC file. This class is inherited in u-boot-fslc recipe and extends it only to those machines that have a corresponding "imx-boot-container" machine override set. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2021-02-13use-imx-security-controller-firmware: Update DXL and Phantom DXL revsTom Hochstein
Bump to rev A1 for i.MX 8DXL and C0 for 8DXL Phantom. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-01-21fsl-eula-unpack: Document EULA v16 and v17Tom Hochstein
Add entries for EULA versions 16 and 17. The next NXP release 5.4.70-2.3.0 uses version 17. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-01-21imx8qxpmek: Update the i.MX 8QXP default build to rev C0Tom Hochstein
The current machine configuration support for 8QXP MEK is for rev B0 silicon. Support for rev C0 is implemented using a machine override `mx8qxpc0`. Update the default build to rev C0 silicon. Support for rev B0 is provided with a new machine feature `soc-revb0`. The machine override is removed. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-01-21fsl-eula-unpack: Add historic V13 EULA infoTom Hochstein
This missing license version is not causing any known problem, but adding it shouldn't cause a problem and could be useful if a V13 archive should surface. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-13EULA: Update to LA_OPT_NXP_Software_License v15 August 2020Tom Hochstein
Update the EULA file in the layer and the corresponding variable in fsl-eula-unpack.bbclass. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-11-10fsl-kernel-localversion.bbclass: add preconfigure after do_kernel_metadataMing Liu
do_preconfigure task should run after do_kernel_metadata, or else there might be no ${WORKDIR}/defconfig present when KBUILD_DEFCONFIG is being set rather than defconfig added in SRC_URI. Signed-off-by: Ming Liu <liu.ming50@gmail.com>
2020-10-27fsl-eula-unpack.bbclass: add v15 license md5sumAndrey Zhizhikin
Latest NXP release 5.4.47-2.2.0 includes components which has license files updated to version 15 of LA_OPT_NXP_Software_License. Record the checksum of the new file version in the class in order to allow those components to be used. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
2020-09-23EULA: Update to LA_OPT_NXP_Software_License v11 February 2020Tom Hochstein
Update the EULA file in the layer and the corresponding variable in fsl-eula-unpack.bbclass. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-09-23imx-seco: upgrade to version 3.6.3Andrey Zhizhikin
Upstream version has been bumped up, update the recipe to match it. SECO FW name is picked up from the machine definition, as it is now defined in a separate bbclass which allows FW names to be set based on machine's SoC. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-08-13fsl-eula-unpack: exclude FSL_EULA_FILE from sstate signatureSamuli Piippo
Use vardepsexclude for FSL_EULA_FILE variable to to make sstate cache usable from different build directories. Signed-off-by: Samuli Piippo <samuli.piippo@qt.io>
2020-05-25linux-imx-headers: fix imx headers missing in sdkAndrey Zhizhikin
i.MX-specific headers are missing in SDK once generated via image do_populate_sdk task. This was caused by dropped ALLOW_EMPTY package-controlling variable which is required for this recipe in order to indicate that package can have RDEPENDS. Additional RDEPENDS are also required by packages using new mechanisms to include linux-imx-headers, this allows headers to be propagated to the SDK when dependent package is included. Introduce ALLOW_EMPTY in recipe and RDEPENDS in use-imx-headers bbclass to have imx headers to be populated in the SDK. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16recipes-*: refine restrictions for NXP BSPAndrey Zhizhikin
Certain packages are using linux-imx-headers, which enforces them to use NXP BSP since headers are provided from the NXP kernel tree. Those recipes, which requires NXP kernel headers, are now including the use-imx-headers class to make sure the correct headers package is used. Since the introduction of separation between NXP and Mainline BSP for certain machines, recipes which are NXP-dependent are getting their COMPATIBLE_HOST to be marked as (null) effectively making them incompatible with mainline BSP which is expected behavior. By extending this restriction into the use-imx-headers class, all recipes which inherits is (because it is required) are getting automatically restricted to NXP BSP, hence making package NXP-dependent much easier. linux-imx-headers is marked as "NXP-only" but it is done explicitly inside the recipe in order to avoid confusion of inheriting the class. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
2020-04-16EULA: Update to v10Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-16fsl-eula-unpack.bbclass: add latest license md5sumMax Krummenacher
The 4.14.98-2.3.0 BSP targeting latest SoC silicon revisions uses an even newer license text 'LA_OPT_NXP_Software_License v10 December 2019'. And the upcomming 5.4.3-2.0.0 BSP uses yet another one: 'LA_OPT_NXP_Software_License v11 February 2020'. Add their md5sums additionally. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com>
2020-04-10fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein
Each new version of the EULA is meant to be a click through that includes any existing packages with an older EULA. The latest EULA is also copied in the layer. Capture this model in the class by listing the known EULAs and checking that any package has a known EULA. The new model also allows extensibility, so new EULAs can be introduced separately. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-04-02dtc-145: Remove class and recipeMihai Lindner
These were used as workaround for issues with building u-boot 2017.03 and older, after dtc upgrade to 1.4.6 and newer. We can drop them after upgrading all providers of u-boot. Signed-off-by: Mihai Lindner <mihai.lindner@nxp.com>
2020-03-27Revert "fsl-eula-unpack.bbclass: Enhance EULA model"Otavio Salvador
This reverts commit 9418435542ce76a2346f1a4aa2cbbb429a5d3543.
2020-03-27fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein
Each new version of the EULA is meant to be a click through that includes any existing packages with an older EULA. The latest EULA is also copied in the layer. Capture this model in the class by listing the known EULAs and checking that any package has a known EULA. The new model also allows extensibility, so new EULAs can be introduced separately. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-27fsl-eula-unpack.bbclass: CleanupTom Hochstein
- Remove current working directory handling and use the equivalent runfetchcmd workdir parameter - Simplify the SRC_URI for loop Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-03-03fsl-eula-unpack.bbclass: Verify LICENSE contains ProprietaryTom Hochstein
All EULA packages are proprietary, so verify that the recipe LICENSE contains Proprietary before fetching the package. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-02-12fsl-vivante-kernel-driver-handler: Fix kernel name in variable assignmentTom Hochstein
If the graphics driver is built into the kernel, a warning is generated for each i.MX kernel recipe, like this: WARNING: /home/r60874/zeus/sources/meta-imx/meta-bsp/recipes-kernel/linux/linux-imx_5.4.bb: Variable key RPROVIDES_${KERNEL_PACKAGE_NAME}-base ( ${KERNEL_PACKAGE_NAME}-${KERNEL_VERSION}) replaces original key RPROVIDES_kernel-base ( kernel-module-imx-gpu-viv). The problem is that the kernel name used in variables is no longer a constant 'kernel', but is now parameterized: https://github.com/openembedded/openembedded-core/commit/6c8c899849d101fd1b86aad0b8eed05c7c785924 Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-01-07Update mdsum in fsl-eula-unpack bbclassCristinel Panfir
-update license mdsum for firmware, codec, parser and vpu Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2019-12-18kernel-itbimage.bbclass: Align the usage to spaces for indentation, as ↵Darko Komljenovic
spaces raise the warning Signed-off-by: Darko Komljenovic <dkomljenovic@zoho.com>
2019-11-23recipes: Use features_check instead of distro_features_checkKhem Raj
distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
2019-01-17remove True option to getVar callsAndré Draszik
getVar() has been defaulting to expanding by default for a long time (2016), thus remove the True option from getVar() calls with a regex search and replace. Search & replace made using the following command: sed -e 's|\(d\.getVar \?\)( \?\([^,()]*\), \?True)|\1(\2)|g' \ -i $(git grep -E 'getVar ?\( ?([^,()]*), ?True\)' \ | cut -d':' -f1 \ | sort -u) Signed-off-by: André Draszik <andre.draszik@jci.com>
2018-10-26classes/use-imx-headers: Easy linux-imx-headers useOtavio Salvador
This allow to easy reuse of binary packages among similar SoCs. The usual use for this is to share SoC specific packages among different boards independently of the kernel version it is using, as far it is ABI compatible with the official version it will just work. Following recipes has been reworked to make use of the class: - imx-lib - imx-test - imx-vpu-hantro - imx-vpu - imx-alsa-plugins - gstreamer1.0-plugins-base - gstreamer1.0-plugins-imx - imx-gst1.0-plugin Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2018-09-26image_types_fsl.bbclass: Use IMAGE_LINK_NAME for mxs binariesOtavio Salvador
The binary is generated as part of the image build so it should use the same naming schema to provide consistency. This also fixes the wks templates which use it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-08-30EULA: Update to v24Tom Hochstein
Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-30dtc-145: Deploy renamed binary only and add new classMax Krummenacher
dtc-145-native is used by older U-Boot recipes. U-Boot only depends on the native dtc binary. So, to not clash with files from the regular dtc native build do only install the dtc binary renamed to dtc-145. Also, create a new class to handle with dtc-145 dependency. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br>
2018-07-03image_types_fsl.bbclass: Remove image generation codeOtavio Salvador
In rocko, when using this we triggered a warning so users had enough time to migrate. We are now relying on wic to generate the uSD images and then we ought to remove the leftover code for this release. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03Remove barebox and imx-bootletsOtavio Salvador
Those are untested and anyone interested in supporting them (mainly barebox) ought to send the support to OE-Core instead. This also removes the corresponding code from the image_types_fsl.bbclass as it is not going to be used from now on. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03wic: Fix image generation for i.MX MXS SoC familyOtavio Salvador
The image needs to use the U-Boot generated, for the uSD card, so a dependency on that must be added to ensure the file is available prior 'wic' uses it. Besides that, the fstype needs to be changed so it sets the partition mark allowing the bootrom to find it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03machine-overrides-extender.bbclass: Avoid an empty overrideOtavio Salvador
All uses of MACHINEOVERRIDES already include an ':' suffix so we cannot add it again or we end with a match-all override. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-07-03machine-overrides-extender.bbclass: Postpone overrides processingOtavio Salvador
We need to keep a reference to the original MACHINEOVERRIDES value so it can be reprocessed as need. This allow the compatibility with existing BSP's while fixing the complex multilib interactions. I'd like to record that Richard Purdie was key to solve this issue. Its implications were beyond my understanding until he guided me and provided a prototype fix. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-06kernel-itbimage: set dtb load line only if DTB_LOAD is setRichard Leitner
The load address line for the dtb should only be given if DTB_LOAD was set accordingly before. Therefore add this check. Without this patch the dtb was loaded to 0x0 if no DTB_LOAD was set and the boot therefore failed. Now when no DTB_LOAD is set the bootloader uses the device tree in place. Signed-off-by: Richard Leitner <richard.leitner@skidata.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-06-01machine-overrides-extender.bbclass: Fix multilib parsingOtavio Salvador
The 'ConfigParsed' event was too early and when we mangled the MACHINEOVERRIDES using the extender, we ended overriding some values when using together with multilib. This fixes the multilib use-case and keep current ones working. Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-05-22Revert "machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event"Otavio Salvador
This reverts commit 65144beb63673d215221d800e1905eedb9f2f8ed. The commit has side effects and must be better investigated. For now, we are reverting it so we don't cause problems for other use cases. Change-Id: I63333c974746bd7f95fa7a56153099256e206912 Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-05-22machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' eventOtavio Salvador
The 'ConfigParsed' event was too early and when we mangled the MACHINEOVERRIDES using the extender, we ended overriding some values when using together with multilib. This fixes the multilib use-case and keep current ones working. Change-Id: I6f1d952dfe2d04fa10229a86763af4ca6b1e601f Reported-by: Cristinel Panfir <cristinel.panfir@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2018-04-26fsl-kernel-localversion.bbclass: Allow disabling SCMVERSIONJan Vermaete
Do not add the short git hash to the kernel name when SCMVERSION is not set. Change-Id: I15bf597eab3a811846f3bb28a95b0f8f8a393483 Signed-off-by: Jan Vermaete <jver@oip.be> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-12-12kernel-itbimage: depends extraimage task to fix EXTRA_IMAGEDEPEND license issueChunrong Guo
*Fix the build error: |[Errno 2] No such file or directory: '.../licenses/ppa/recipeinfo' Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-11-16kernel-itbimage: itbimage instead of fitimageChunrong Guo
*Using one unified name to its and image bin Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-28kernel-itbimage: add DTB_LOAD to set dtb load addressChunrong Guo
*Dtb address will be not the same for arm64 and arm32 Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-06classes/image_types_fsl.bbclass: Remove linux.sb supportOtavio Salvador
There is no machine which makes use of this image type and it is untested since long time ago. Drop it. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-10-06image_types_fsl.bbclass: Add deprecation warningOtavio Salvador
This adds a deprecation warning when using the 'sdcard' image format. We are supporting 'wic' for all SoCs and the conversion is straightforward. This 'sdcard' image format will be removed for next release. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-30kernel-imximage.bbclass: Add documentation about the classOtavio Salvador
This adds a small documentation about the class as comment. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2017-09-27kernel-imximage.bbclass: Linux kernel with DCD headersOtavio Salvador
This new image type adds support to generate a Linux kernel with DCD headers. Essentially it adds support to directly boot a Linux kernel without a bootloader. As the Linux kernel will be boot directly, it required that the Device Tree is appended to the kernel image, which had support included in OE-Core. To have the Linux kernel generated with the DCD headers, following steps must be followed: - Linux kernel recipe must inherit kernel-imximage class; - Device Tree appended Linux kernel must be used (KERNEL_DEVICETREE_BUNDLE = "1"); - DCD header configuration must be provided (dcd.cfg or dcd-<devicetree>.cfg); Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>