From eaa21ad315f6cc7f0a8ecd922573ab3283948902 Mon Sep 17 00:00:00 2001 From: Andrey Zhizhikin Date: Wed, 29 Sep 2021 09:18:49 +0000 Subject: linux-fslc-imx: upgrade to lf-5.10.52-2.1.0 from NXP 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 (cherry picked from commit 32cbd69284318ffec757feff476cdfae63d35d7e) --- recipes-kernel/linux/linux-fslc-imx_5.10.bb | 73 +++++++++++++++++++++++++++++ 1 file changed, 73 insertions(+) create mode 100644 recipes-kernel/linux/linux-fslc-imx_5.10.bb (limited to 'recipes-kernel/linux/linux-fslc-imx_5.10.bb') diff --git a/recipes-kernel/linux/linux-fslc-imx_5.10.bb b/recipes-kernel/linux/linux-fslc-imx_5.10.bb new file mode 100644 index 00000000..66fcbd6b --- /dev/null +++ b/recipes-kernel/linux/linux-fslc-imx_5.10.bb @@ -0,0 +1,73 @@ +# Released under the MIT license (see COPYING.MIT for the terms) +# +# SPDX-License-Identifier: MIT +# + +SUMMARY = "Linux Kernel provided by NXP and supported by Community" +DESCRIPTION = "Linux Kernel provided by NXP as the part of release distribution. \ +Main focus is set on i.MX Family Reference Boards. \ +It includes support for many NXP Proprietary IPs (GPU, VPU, IPU). \ +Latest stable Kernel patchlevel is applied and maintained by Community." + +############################################################################### +# This recipe (and corresponding kernel repository and branch) receives updates +# from 3 different sources: +# 1. Stable [linux-5.10.y] branch updates of korg; +# 2. NXP-specific updates via branch [5.10-2.1.x-imx] shared via CodeAurora forum; +# 3. Critical patches, which are not (yet) integrated into either of 2 above +# sources, but are required to be applied to the kernel tree. +# +# Therefore, there is a need to keep track on the patches which are introduced +# from every source. This could be achieved in this recipe by filling the +# below list with the information once the update is performed from any source. +# +# Once the critical patch gets merged into the stable branch, or NXP-specific +# patches would be covered by the tag - individual entries from sections below +# could be removed. +# +# ------------------------------------------------------------------------------ +# 1. Stable (tag or SHA(s)) +# ------------------------------------------------------------------------------ +# tag: v5.10.69 +# +# ------------------------------------------------------------------------------ +# 2. NXP-specific (tag or SHA(s)) +# ------------------------------------------------------------------------------ +# tag: lf-5.10.52-2.1.0 +# +# ------------------------------------------------------------------------------ +# 3. Critical patches (SHA(s)) +# ------------------------------------------------------------------------------ +# fb3e7593ee84 ("irq-imx-irqsteer: fix compile error if CONFIG_PM_SLEEP is not set") +# 96613ac4e960 ("arm: imx: include i.MX6SX DDR freq implementation for i.MX6UL") +# 36fea22d04f4 ("arm: imx: do not include smp_wfe_imx6.S for i.MX6SX") +# f86c8a4736f2 ("arm: imx: enable HAVE_IMX_BUSFREQ for i.MX6") +# 05f7280c8648 ("arm: imx: do not build busfreq without HAVE_IMX_BUSFREQ") +# +# NOTE to upgraders: +# This recipe should NOT collect individual patches, they should be applied to +# the linux-fslc kernel tree on the corresponding branch, and tracking +# information should be properly filled in above. +############################################################################### + +include linux-fslc.inc + +LICENSE = "GPLv2" +LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" + +KBRANCH = "5.10-2.1.x-imx" +SRCREV = "54bd61ba352bffaf33ee2c956f140a565c9e2201" + +# PV is defined in the base in linux-imx.inc file and uses the LINUX_VERSION definition +# required by kernel-yocto.bbclass. +# +# LINUX_VERSION define should match to the kernel version referenced by SRC_URI and +# should be updated once patchlevel is merged. +LINUX_VERSION = "5.10.69" + +# Local version indicates the branch name in the NXP kernel tree where patches are collected from. +LOCALVERSION = "-5.10.52-2.1.0" + +DEFAULT_PREFERENCE = "1" + +COMPATIBLE_MACHINE = "(mx6|mx7|mx8)" -- cgit v1.2.3-54-g00ecf