diff options
| author | Zelan Zou <zelan.zou@nxp.com> | 2025-08-29 14:34:18 +0800 |
|---|---|---|
| committer | Zelan Zou <zelan.zou@nxp.com> | 2025-08-31 16:42:09 +0800 |
| commit | 1cf0dc9bc7051a1547e944299d4a338f831b2f04 (patch) | |
| tree | 59f415e345ecf3fbacd6af517106ce143b1d91e0 | |
| parent | baf84923f894b5e6d355a08f0494d87aa0d29c3f (diff) | |
| download | meta-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.inc | 18 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-qoriq_5.10.bb | 8 | ||||
| -rw-r--r-- | recipes-kernel/linux/linux-qoriq_6.12.bb | 9 |
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 @@ | |||
| 1 | inherit kernel qoriq_build_64bit_kernel siteinfo | 1 | inherit kernel qoriq_build_64bit_kernel siteinfo |
| 2 | inherit fsl-kernel-localversion | 2 | inherit fsl-kernel-localversion kernel-yocto |
| 3 | 3 | ||
| 4 | SUMMARY = "Linux Kernel for NXP QorIQ platforms" | 4 | SUMMARY = "Linux Kernel for NXP QorIQ platforms" |
| 5 | SECTION = "kernel" | 5 | SECTION = "kernel" |
| 6 | LICENSE = "GPL-2.0-only" | 6 | LICENSE = "GPL-2.0-only" |
| 7 | 7 | ||
| 8 | DEPENDS:append = " libgcc" | 8 | DEPENDS: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 |
| 10 | RRECOMMENDS:${KERNEL_PACKAGE_NAME}-base = "" | 10 | RDEPENDS:${KERNEL_PACKAGE_NAME}-base = "" |
| 11 | 11 | ||
| 12 | KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}" | 12 | KERNEL_CC:append = " ${TOOLCHAIN_OPTIONS}" |
| 13 | KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}" | 13 | KERNEL_LD:append = " ${TOOLCHAIN_OPTIONS}" |
| @@ -21,12 +21,16 @@ PV = "${LINUX_VERSION}+git${SRCPV}" | |||
| 21 | 21 | ||
| 22 | SCMVERSION ?= "y" | 22 | SCMVERSION ?= "y" |
| 23 | LOCALVERSION = "" | 23 | LOCALVERSION = "" |
| 24 | |||
| 24 | DELTA_KERNEL_DEFCONFIG ?= "" | 25 | DELTA_KERNEL_DEFCONFIG ?= "" |
| 25 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " | 26 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm64 = "lsdk.config " |
| 26 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " | 27 | DELTA_KERNEL_DEFCONFIG:prepend:qoriq-arm = "multi_v7_lpae.config lsdk.config " |
| 27 | 28 | ||
| 28 | do_merge_delta_config[depends] += "virtual/${TARGET_PREFIX}gcc:do_populate_sysroot bison-native:do_populate_sysroot" | 29 | do_merge_delta_config[depends] += "virtual/cross-cc:do_populate_sysroot bison-native:do_populate_sysroot" |
| 29 | do_merge_delta_config[dirs] = "${B}" | 30 | do_merge_delta_config[dirs] = "${B}" |
| 31 | do_kernel_metadata[noexec] = "1" | ||
| 32 | do_kernel_configme[noexec] = "1" | ||
| 33 | do_kernel_configcheck[noexec] = "1" | ||
| 30 | 34 | ||
| 31 | do_merge_delta_config() { | 35 | do_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 | |||
| 53 | addtask merge_delta_config before do_kernel_localversion after do_patch | 58 | addtask merge_delta_config before do_kernel_localversion after do_patch |
| 54 | 59 | ||
| 55 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" | 60 | FILES:${KERNEL_PACKAGE_NAME}-image += "/boot/zImage*" |
| 61 | INSANE_SKIP:${PN}-src += " buildpaths" | ||
| 56 | COMPATIBLE_MACHINE = "(qoriq)" | 62 | COMPATIBLE_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 @@ | |||
| 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 2 | |||
| 3 | LINUX_VERSION = "5.10.52" | ||
| 4 | |||
| 5 | SRC_URI = "git://github.com/nxp-qoriq/linux;protocol=https;nobranch=1" | ||
| 6 | SRCREV = "a11753a89ec610768301d4070e10b8bd60fde8cd" | ||
| 7 | |||
| 8 | require 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 @@ | |||
| 1 | LIC_FILES_CHKSUM = "file://COPYING;md5=6bc538ed5bd9a7fc9398086aedcd7e46" | ||
| 2 | LINUX_VERSION = "6.12.20" | ||
| 3 | |||
| 4 | LINUX_QORIQ_BRANCH ?= "lf-6.12.y" | ||
| 5 | LINUX_QORIQ_SRC ?= "git://github.com/nxp-qoriq/linux.git;protocol=https" | ||
| 6 | SRC_URI = "${LINUX_QORIQ_SRC};branch=${LINUX_QORIQ_BRANCH}" | ||
| 7 | SRCREV = "dfaf2136deb2af2e60b994421281ba42f1c087e0" | ||
| 8 | |||
| 9 | require linux-qoriq.inc | ||
