aboutsummaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-imx/imx/defconfig
AgeCommit message (Collapse)Author
2022-02-21Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador
Essentially, we extend the overrides to a generic-bsp, nxp-bsp, and mainline-bsp. So, for example, the mx8mq override is split into: - imx-generic-bsp: compatible with every i.MX SoC and both BSP variants - imx-nxp-bsp: compatible with every i.MX SoC but specific to NXP BSP - imx-mainline-bsp: compatible with every i.MX SoC but specific to Mainline BSP - mx8-generic-bsp: compatible with every i.MX8 SoC and both BSP variants - mx8-nxp-bsp: compatible with every i.MX8 SoC but specific to NXP BSP - mx8-mainline-bsp: compatible with every i.MX8 SoC but specific to Mainline BSP - mx8m-generic-bsp: compatible with every i.MX8M SoC and both BSP variants - mx8m-nxp-bsp: compatible with every i.MX8M SoC but specific to NXP BSP - mx8m-mainline-bsp: compatible with every i.MX8M SoC but specific to Mainline BSP - mx8mq-generic-bsp: compatible with every i.MX8MQ SoC and both BSP variants - mx8mq-nxp-bsp: compatible with every i.MX8MQ SoC8 but specific to NXP BSP - mx8mq-mainline-bsp: compatible with every i.MX8MQ SoC but specific to Mainline BSP The extender mechanism is responsible for extending the override list to include the generic overrides. We can then use the three different variants to handle the metadata correctly. Generically speaking, the conversion mainly was automated (with a lot of back and forth until getting it right). To convert an existing layer, the following script can be used: ```sh git ls-files classes recipes-* \ | xargs sed -i \ -e 's,:\(mx[6-8]\w*\),:\1-nxp-bsp,g' \ -e 's,(\(mx[6-8]\w*\)),(\1-nxp-bsp),g' \ -e 's,\(mx[6-8]\w*\)|,\1-nxp-bsp|,g' \ -e 's,|\(mx[6-8]\w*\)),|\1-nxp-bsp),g' \ \ -e 's,:\(mx[5s]\w*\),:\1-generic-bsp,g' \ -e 's,(\(mx[5s]\w*\)),(\1-generic-bsp),g' \ -e 's,\(mx[5s]\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(mx[5s]\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(vf\w*\),:\1-generic-bsp,g' \ -e 's,:\(vf[56]0\w*\),:\1-generic-bsp,g' \ -e 's,\(vf\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf\w*\)),|\1-generic-bsp),g' \ -e 's,\(vf[56]0\w*\)|,\1-generic-bsp|,g' \ -e 's,|\(vf[56]0\w*\)),|\1-generic-bsp),g' \ \ -e 's,:\(imx\) ,:\1-nxp-bsp ,g' \ -e 's,(\(imx\)),(\1-nxp-bsp),g' \ -e 's,\(imx\)|,\1-nxp-bsp|,g' \ -e 's,|\(imx\)),|\1-nxp-bsp),g' for d in $(find -type d | egrep '/mx[6-8]w*'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/imx$'); do git mv $d $d-nxp-bsp done for d in $(find -type d | egrep '/mx[5s]w*'); do git mv $d $d-generic-bsp done ``` Fixes: #791. Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
2022-01-07linux-imx: Upgrade to 5.10.72Tom Hochstein
Update i.MX 6 & 7 defconfig: f05a22c9c4cd LF-4175-17: ARM: imx_v7_defconfig: Add config for rpmsg audio Update i.MX 8 defconfig: f76d8006a8e5 LF-3665-5 arm64: imx_v8_defconfig: Enable SOF compress option 7e95203bba8f LF-3435: arm64: defconfig: remove CONFIG_COMMON_CLK_BD718XX 48d63491d032 LF-3016-4 arm64: imx_v8_defconfig: enable virtio/ivshmem_net bcbd66b1822a LF-3001 arm64: imx_v8_defconfig: enable dma-buf heaps. e53e95819548 LF-2581-2 arm64: defconfig: add imx_v8_defconfig Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-07-02linux-imx*: Upgrade to 5.10.35Tom Hochstein
Upgrade kernel, headers, and mfgtool for NXP BSP. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2021-02-09linux-imx: Add comment for local defconfig changeTom Hochstein
Add a comment to the 32-bit defconfig so the local change made to CRYPTO_SHA1 is more easily seen by a developer trying to update the defconfig with the latest. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-10-20linux-imx[-headers]: Upgrade to 5.4.47 from NXPCristinel Panfir
- defconfigs: keep CRYPTO_DES and CRYPTO_SHA1 into kernel to avoid warnings - linux-imx-headers: update branch, same revision Signed-off-by: Cristinel Panfir <cristinel.panfir@nxp.com>
2020-09-23linux-imx[-mfgtool]: Upgrade kernel recipe to 5.4.24-2.1.0 from NXPTom Hochstein
Upgrade kernel recipe 5.4.3 -> 5.4.24, drop patches which are applied upstream and re-submit new kernel configuration files for arm32 and aarch64 build configurations. Kernel recipe version 5.4.3 is dropped from this layer in favor of the updated one. Signed-off-by: Tom Hochstein <tom.hochstein@nxp.com>
2020-05-06linux-imx-[mfgtool]-5.4.3: update recipes to align with kernel-yoctoAndrey Zhizhikin
When kernel-yocto class is inherited by kernel recipes, the way how PV is constructed changes to reflect GIT kernel tags and meta information. This causes the fetcher search to fail, since paths used to locate files are compiled from PV. Replace version-specific paths in recipes to use PN instead, which is registered in the fetcher as a valid search location. Linux kernel recipe should have LINUX_VERSION also defined, since it is used by kernel-yocto class to derive PV. This version is set to the real kernel version provided by NXP in their source tree. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>