summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorZelan Zou <zelan.zou@nxp.com>2025-08-29 14:34:18 +0800
committerZelan Zou <zelan.zou@nxp.com>2025-08-31 16:42:09 +0800
commit1cf0dc9bc7051a1547e944299d4a338f831b2f04 (patch)
tree59f415e345ecf3fbacd6af517106ce143b1d91e0
parentbaf84923f894b5e6d355a08f0494d87aa0d29c3f (diff)
downloadmeta-freescale-1cf0dc9bc7051a1547e944299d4a338f831b2f04.tar.gz
linux-qoriq: Upgrade to LF-6.12.20_2.0.0
Signed-off-by: Zelan Zou <zelan.zou@nxp.com>
-rw-r--r--recipes-kernel/linux/linux-qoriq.inc18
-rw-r--r--recipes-kernel/linux/linux-qoriq_5.10.bb8
-rw-r--r--recipes-kernel/linux/linux-qoriq_6.12.bb9
3 files changed, 21 insertions, 14 deletions
diff --git a/recipes-kernel/linux/linux-qoriq.inc b/recipes-kernel/linux/linux-qoriq.inc
index 7243a345c..09de1ba0a 100644
--- a/recipes-kernel/linux/linux-qoriq.inc
+++ b/recipes-kernel/linux/linux-qoriq.inc
@@ -1,13 +1,13 @@
1inherit kernel qoriq_build_64bit_kernel siteinfo 1inherit kernel qoriq_build_64bit_kernel siteinfo
2inherit fsl-kernel-localversion 2inherit fsl-kernel-localversion kernel-yocto
3 3
4SUMMARY = "Linux Kernel for NXP QorIQ platforms" 4SUMMARY = "Linux Kernel for NXP QorIQ platforms"
5SECTION = "kernel" 5SECTION = "kernel"
6LICENSE = "GPL-2.0-only" 6LICENSE = "GPL-2.0-only"
7 7
8DEPENDS:append = " libgcc" 8DEPENDS:append = " libgcc coreutils-native"
9# not put Images into /boot of rootfs, install kernel-image if needed 9# not put Images into /boot of rootfs, install kernel-image if needed
10RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" 10RDEPENDS:${KERNEL_PACKAGE_NAME}-base = ""
11 11
12KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}" 12KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}"
13KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}" 13KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}"
@@ -21,12 +21,16 @@ PV = "${LINUX_VERSION}+git${SRCPV}"
21 21
22SCMVERSION ?= "y" 22SCMVERSION ?= "y"
23LOCALVERSION = "" 23LOCALVERSION = ""
24
24DELTA_KERNEL_DEFCONFIG ?= "" 25DELTA_KERNEL_DEFCONFIG ?= ""
25DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " 26DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config "
26DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " 27DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config "
27 28
28do_merge_delta_config[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot bison-native:do_populate_sysroot" 29do_merge_delta_config[depends] += "virtual/cross-cc:do_populate_sysroot bison-native:do_populate_sysroot"
29do_merge_delta_config[dirs] = "${B}" 30do_merge_delta_config[dirs] = "${B}"
31do_kernel_metadata[noexec] = "1"
32do_kernel_configme[noexec] = "1"
33do_kernel_configcheck[noexec] = "1"
30 34
31do_merge_delta_config() { 35do_merge_delta_config() {
32 # create config with make config 36 # create config with make config
@@ -42,15 +46,17 @@ do_merge_delta_config() {
42 for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do 46 for deltacfg in ${DELTA_KERNEL_DEFCONFIG}; do
43 if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then 47 if [ -f ${S}/arch/${ARCH}/configs/${deltacfg} ]; then
44 oe_runmake -C ${S} O=${B} ${deltacfg} 48 oe_runmake -C ${S} O=${B} ${deltacfg}
45 elif [ -f "${UNPACKDIR}/${deltacfg}" ]; then 49 elif [ -f "${S}/${deltacfg}" ]; then
46 ${S}/scripts/kconfig/merge_config.sh -m .config ${UNPACKDIR}/${deltacfg} 50 ${S}/scripts/kconfig/merge_config.sh -m .config ${S}/${deltacfg}
47 elif [ -f "${deltacfg}" ]; then 51 elif [ -f "${deltacfg}" ]; then
48 ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg} 52 ${S}/scripts/kconfig/merge_config.sh -m .config ${deltacfg}
49 fi 53 fi
50 done 54 done
51 cp .config ${UNPACKDIR}/defconfig 55 cp .config ${UNPACKDIR}/defconfig
52} 56}
57
53addtask merge_delta_config before do_kernel_localversion after do_patch 58addtask merge_delta_config before do_kernel_localversion after do_patch
54 59
55FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" 60FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*"
61INSANE_SKIP:${PN}-src += " buildpaths"
56COMPATIBLE_MACHINE = "(qoriq)" 62COMPATIBLE_MACHINE = "(qoriq)"
diff --git a/recipes-kernel/linux/linux-qoriq_5.10.bb b/recipes-kernel/linux/linux-qoriq_5.10.bb
deleted file mode 100644
index c62de58e7..000000000
--- a/recipes-kernel/linux/linux-qoriq_5.10.bb
+++ /dev/null
@@ -1,8 +0,0 @@
1LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
2
3LINUX_VERSION = "5.10.52"
4
5SRC_URI = "git://github.com/nxp-qoriq/linux;protocol=https;nobranch=1"
6SRCREV = "a11753a89ec610768301d4070e10b8bd60fde8cd"
7
8require recipes-kernel/linux/linux-qoriq.inc
diff --git a/recipes-kernel/linux/linux-qoriq_6.12.bb b/recipes-kernel/linux/linux-qoriq_6.12.bb
new file mode 100644
index 000000000..b43fe7d53
--- /dev/null
+++ b/recipes-kernel/linux/linux-qoriq_6.12.bb
@@ -0,0 +1,9 @@
1LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46"
2LINUX_VERSION = "6.12.20"
3
4LINUX_QORIQ_BRANCH ?= "lf-6.12.y"
5LINUX_QORIQ_SRC ?= "git://github.com/nxp-qoriq/linux.git;protocol=https"
6SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}"
7SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0"
8
9require linux-qoriq.inc