summaryrefslogtreecommitdiffstats
path: root/classes
Commit message (Collapse)AuthorAgeFilesLines
* use-imx-security-controller-firmware: Update DXL and Phantom DXL revsTom Hochstein2021-02-131-2/+2
| | | | | | Bump to rev A1 for i.MX 8DXL and C0 for 8DXL Phantom. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* fsl-eula-unpack: Document EULA v16 and v17Tom Hochstein2021-01-211-0/+4
| | | | | | | 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>
* imx8qxpmek: Update the i.MX 8QXP default build to rev C0Tom Hochstein2021-01-211-2/+3
| | | | | | | | | | 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>
* fsl-eula-unpack: Add historic V13 EULA infoTom Hochstein2021-01-211-0/+2
| | | | | | | | 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>
* EULA: Update to LA_OPT_NXP_Software_License v15 August 2020Tom Hochstein2020-11-131-1/+1
| | | | | | | 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>
* fsl-kernel-localversion.bbclass: add preconfigure after do_kernel_metadataMing Liu2020-11-101-1/+1
| | | | | | | | 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>
* fsl-eula-unpack.bbclass: add v15 license md5sumAndrey Zhizhikin2020-10-271-0/+2
| | | | | | | | | | 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>
* EULA: Update to LA_OPT_NXP_Software_License v11 February 2020Tom Hochstein2020-09-231-1/+1
| | | | | | | 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>
* imx-seco: upgrade to version 3.6.3Andrey Zhizhikin2020-09-231-0/+36
| | | | | | | | | | 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>
* fsl-eula-unpack: exclude FSL_EULA_FILE from sstate signatureSamuli Piippo2020-08-131-0/+1
| | | | | | | 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>
* linux-imx-headers: fix imx headers missing in sdkAndrey Zhizhikin2020-05-251-0/+6
| | | | | | | | | | | | | | | | | | 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>
* recipes-*: refine restrictions for NXP BSPAndrey Zhizhikin2020-04-161-0/+12
| | | | | | | | | | | | | | | | | | | | | | | 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>
* EULA: Update to v10Tom Hochstein2020-04-161-1/+1
| | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
* fsl-eula-unpack.bbclass: add latest license md5sumMax Krummenacher2020-04-161-0/+4
| | | | | | | | | | | 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>
* fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein2020-04-101-1/+78
| | | | | | | | | | | | | | | 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>
* dtc-145: Remove class and recipeMihai Lindner2020-04-021-7/+0
| | | | | | | | 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>
* Revert "fsl-eula-unpack.bbclass: Enhance EULA model"Otavio Salvador2020-03-271-44/+1
| | | | This reverts commit 9418435542ce76a2346f1a4aa2cbbb429a5d3543.
* fsl-eula-unpack.bbclass: Enhance EULA modelTom Hochstein2020-03-271-1/+44
| | | | | | | | | | | | | | | 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>
* fsl-eula-unpack.bbclass: CleanupTom Hochstein2020-03-271-19/+10
| | | | | | | | - 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>
* fsl-eula-unpack.bbclass: Verify LICENSE contains ProprietaryTom Hochstein2020-03-031-0/+5
| | | | | | | 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>
* fsl-vivante-kernel-driver-handler: Fix kernel name in variable assignmentTom Hochstein2020-02-121-3/+3
| | | | | | | | | | | | | | 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>
* Update mdsum in fsl-eula-unpack bbclassCristinel Panfir2020-01-071-1/+1
| | | | | | -update license mdsum for firmware, codec, parser and vpu Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
* kernel-itbimage.bbclass: Align the usage to spaces for indentation, as ↵Darko Komljenovic2019-12-181-3/+3
| | | | | | spaces raise the warning Signed-off-by: Darko Komljenovic <dkomljenovic@zoho.com>
* recipes: Use features_check instead of distro_features_checkKhem Raj2019-11-231-1/+1
| | | | | | distro_features_check is now deprecated Signed-off-by: Khem Raj <raj.khem@gmail.com>
* remove True option to getVar callsAndré Draszik2019-01-174-22/+22
| | | | | | | | | | | | | | 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>
* classes/use-imx-headers: Easy linux-imx-headers useOtavio Salvador2018-10-261-0/+19
| | | | | | | | | | | | | | | | | | | | | 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>
* image_types_fsl.bbclass: Use IMAGE_LINK_NAME for mxs binariesOtavio Salvador2018-09-261-5/+13
| | | | | | | | 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>
* EULA: Update to v24Tom Hochstein2018-08-301-1/+1
| | | | | Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* dtc-145: Deploy renamed binary only and add new classMax Krummenacher2018-07-301-0/+7
| | | | | | | | | | 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>
* image_types_fsl.bbclass: Remove image generation codeOtavio Salvador2018-07-031-230/+2
| | | | | | | | | | 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>
* Remove barebox and imx-bootletsOtavio Salvador2018-07-031-66/+2
| | | | | | | | | | 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>
* wic: Fix image generation for i.MX MXS SoC familyOtavio Salvador2018-07-031-0/+14
| | | | | | | | | | | 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>
* machine-overrides-extender.bbclass: Avoid an empty overrideOtavio Salvador2018-07-031-1/+1
| | | | | | | 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>
* machine-overrides-extender.bbclass: Postpone overrides processingOtavio Salvador2018-07-031-9/+12
| | | | | | | | | | | | 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>
* kernel-itbimage: set dtb load line only if DTB_LOAD is setRichard Leitner2018-06-061-1/+5
| | | | | | | | | | | | 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>
* machine-overrides-extender.bbclass: Fix multilib parsingOtavio Salvador2018-06-011-1/+6
| | | | | | | | | | | 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>
* Revert "machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' event"Otavio Salvador2018-05-221-1/+1
| | | | | | | | | | 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>
* machine-overrides-extender.bbclass: Postpone until 'RecipeParsed' eventOtavio Salvador2018-05-221-1/+1
| | | | | | | | | | | | 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>
* fsl-kernel-localversion.bbclass: Allow disabling SCMVERSIONJan Vermaete2018-04-261-1/+3
| | | | | | | | | 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>
* kernel-itbimage: depends extraimage task to fix EXTRA_IMAGEDEPEND license issueChunrong Guo2017-12-121-0/+8
| | | | | | | | | *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>
* kernel-itbimage: itbimage instead of fitimageChunrong Guo2017-11-161-13/+13
| | | | | | | | *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>
* kernel-itbimage: add DTB_LOAD to set dtb load addressChunrong Guo2017-10-281-1/+1
| | | | | | | *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>
* classes/image_types_fsl.bbclass: Remove linux.sb supportOtavio Salvador2017-10-061-27/+0
| | | | | | | 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>
* image_types_fsl.bbclass: Add deprecation warningOtavio Salvador2017-10-061-0/+2
| | | | | | | | | | 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>
* kernel-imximage.bbclass: Add documentation about the classOtavio Salvador2017-09-301-0/+19
| | | | | | This adds a small documentation about the class as comment. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* kernel-imximage.bbclass: Linux kernel with DCD headersOtavio Salvador2017-09-271-0/+41
| | | | | | | | | | | | | | | | | | | | | 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>
* add kernel-itbimage supportChunrong Guo2017-08-301-0/+481
| | | | | | | | | | | This creates a itbimage that contents: - 1 kernel - 1 rootfs - 1 dtb - 1 boot configuration Signed-off-by: Chunrong Guo <chunrong.guo@nxp.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* image_types_fsl: fix for dtb filenames containing multiple dotsMax Krummenacher2017-08-301-1/+1
| | | | | | | | | | | | In _generate_boot_image(), if a dtb file has more than one dot the current logic fails. e.g. 'device.tree.dtb' will be truncated at the first dot to 'device' while it should be 'device.tree'. Fix by removing awk in favour of letting basename also remove the .dtb extension. Signed-off-by: Max Krummenacher <max.krummenacher@toradex.com> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* classes/image_types_fsl: Fix uboot_mxsboot task dependencyFabio Berton2017-08-241-2/+2
| | | | | Signed-off-by: Fabio Berton <fabio.berton@ossystems.com.br> Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
* Stop using image_types_uboot classOtavio Salvador2017-07-311-2/+1
| | | | | | | | OE-Core now uses the CONVERSION TYPES to implement the U-Boot support so the class has been removed. This commit removes the code which inherits it so allowing it to keep working with the new code base. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>