summaryrefslogtreecommitdiffstats
path: root/recipes-kernel/linux/linux-fslc-imx/mx8/defconfig
Commit message (Collapse)AuthorAgeFilesLines
* Generalize overrides subsystem for NXP and Mainline supportOtavio Salvador2022-02-211-982/+0
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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>
* linux-fslc-imx: upgrade to lf-5.10.52-2.1.0 from NXPAndrey Zhizhikin2021-09-291-78/+179
| | | | | | | | | | | | | | | | | | | | | | | Kernel repository has a new branch introduced, which is based on NXP release lf-5.10.52-2.1.0 and has latest stable patchlevel applied to it. Current version of up-merged kernel is 5.10.69. Update kernel recipe to include new kernel version and align kernel config files based on following NXP configurations: - imx_v8_defconfig used for i.MX8 family - i.MX6/7 families kernel config file did not require any additional sync, it matches to the imx_v7_defconfig Configuration file sync point in NXP linux-imx tree: a11753a89ec6 ("LF-4558-2 input: touch: goodix: change the i2c data length to a small one") Tracking information in recipe is updated to include new branch, tag and cherry-picks from NXP branch, together with patches applied from various sources. Patches already applied upstream are dropped from the list. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* linux-fslc-imx: upgrade to rel_imx_5.4.70_2.3.0 from NXPAndrey Zhizhikin2021-02-011-28/+26
| | | | | | | | | | | | | | | | | | | Kernel repository has a new branch introduced, which is based on NXP release 5.4.70-2.3.0 and has latest stable patchlevel applied to it. Current version of up-merged kernel is 5.4.92. Update kernel recipe to include new kernel version and align kernel config files based on following NXP configurations: - imx_v8_defconfig used for i.MX8 family - i.MX6/7 families kernel config file did not require any additional sync, it matches to the imx_v7_defconfig Tracking information in recipe is updated to include new branch, tag and cherry-picks from NXP branch, together with patches applied from various sources. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* linux-fslc-imx: upgrade to rel_imx_5.4.47_2.2.0 from NXPAndrey Zhizhikin2020-12-031-2/+32
| | | | | | | | | | | | | | | | | | | | | | | | | Kernel repository has a new branch introduced, which is based on NXP release 5.4.47-2.2.0 and has latest stable patchlevel applied to it. Current version of up-merged kernel is 5.4.74 and also contains following patches cherry-picked from imx_5.4.47_2.2.0 branch which were applied after release tag: 5ec03d06f54e MLK-24836 ARM: imx: Refresh wdog should consider the CMD mode on i.MX7ULP bba6ff64f0df MLK-24824-3 ARM: imx: Refresh wdog1 to make sure it is NOT timeout before disabled bad81140da7c MLK-24828 ARM: imx: Add revision support for i.MX7ULP rev 2.2 99fb4d4619ff MLK-24824-2 watchdog: imx7ulp: Move suspend/resume to noirq phase 8c8859e1c5b5 MLK-24824-1 watchdog: imx7ulp: Strictly follow the sequence for wdog operations Update kernel recipe to include new kernel version and align kernel config files based on following NXP configurations: - imx_v8_defconfig used for i.MX8 family - imx_v7_defconfig used for i.MX6/7 families Tracking information in recipe is updated to include new branch, tag and cherry-picks from NXP branch, together with patches applied from various sources. Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* linux-fslc-imx: set CRYPTO_XTS to built-inAndrey Zhizhikin2020-10-301-1/+1
| | | | | | | | | | | | | Commit [24543df3f4912] in upstream kernel (v5.4.73) sets CRYPTO_XTS as a fallback to provide 16 bytes IVs for certain CAAM module versions. This config parameter is defined as (m) in defconfig, and conflicts with new required value (y). Change the CRYPTO_XTS to (y) to fulfill new dependency requirement for both arm32 and aarch64 build configurations. Cc: Tom Hochstein <tom.hochstein@nxp.com> Signed-off-by: Andrey Zhizhikin <andrey.z@gmail.com>
* linux-fslc-imx: upgrade to rel_imx_5.4.24_2.1.0 from NXPAndrey Zhizhikin2020-09-231-5/+61
| | | | | | | | | | | | | | | | | | | | | NXP released a new BSP, which included a new kernel branch imx_5.4.24_2.1.0. This branch was picked up into linux-fslc repository and received an update up to v5.4.67 tag from stable korg. New release from NXP requires the new kernel branch to be used, so switch the kernel recipe to a new branch as well. Update defconfig file to align with imx_v8_defconfig provided by NXP and used as a base kernel configuration file for i.MX8 family, and imx_v7_defconfig which is used for i.MX6/7 families. Tracking information has been updated to reflect the state of the new branch; all NXP-specific patches are tracked to be present in the base NXP delivery and therefore were removed from the tracking list; all critical patches are also verified to be present in the updated kernel branch; specific cherry-picks are moved to new branch as well. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* linux[-fslc]-imx: update defconfig to use imx_v8_defconfigAndrey Zhizhikin2020-05-191-301/+41
| | | | | | | | | | | | | | | | Initial defconfig file submitted as a part of upgrade is not used by NXP to configure the kernel for i.MX family, and rather imx_v8_defconfig should be used as defconfig file instead. This has been indicated by NXP as their kernel unification strategy to provide one kernel for i.MX and QorIQ family. Update the previously committed defconfig file to the content of imx_v8_defconfig. Patches applied before [d12d36d3] and [6ef0f40c] are noted in this update. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* linux[-fslc]-imx: add missing config parameterAndrey Zhizhikin2020-05-071-0/+1
| | | | | | | | | | CONFIG_SND_SOC_SOF_IMX8 requires CONFIG_SND_SOC_SOF_IMX8_SUPPORT to be enabled, which is currently missing in the defconfig for both linux-imx and linux-fslc-imx kernel recipes. Add missing dependent variable to enable CONFIG_SND_SOC_SOF_IMX8. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* linux-imx: Remove duplicate CRYPTO_SHA512 from defconfigKevin Lannen2020-05-071-1/+0
| | | | | | | | The mx8 defconfig already contains CRYPTO_SHA512 as a module which is what is honored so this removes the extra line that also sets CRYPTO_SHA512 to be built in Signed-off-by: Kevin Lannen <kevin@patroness.com> Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>
* linux-fslc-imx: introduce 5.4.y kernel with NXP patchesAndrey Zhizhikin2020-05-061-0/+1057
Introduce new kernel recipe, which incorporates all patches from original NXP release 5.4.3-1.0.0 and latest patch level from stable 5.4.y kernel tree from korg. This kernel recipe is a consolidation of modifications from upstream and NXP and is meant to be supported by Community with further stable patchlevel updates, individual patches which pending in upstream to be included in the stable, and also to receive updates from NXP internal source tree from the [lf-5.4.y] branch, which corresponds to release 5.4.3-1.0.0. Signed-off-by: Andrey Zhizhikin <andrey.zhizhikin@leica-geosystems.com>