@@ -97,8 +97,8 @@ config KERNEL_4_19
config KERNEL_5_10
bool "Kernel 5.10.x-cip"
-config KERNEL_6_1_MAINLINE
- bool "Kernel 6.1.x-mainline"
+config KERNEL_6_1
+ bool "Kernel 6.1.x-cip"
endchoice
@@ -107,12 +107,11 @@ config KAS_INCLUDE_KERNEL
default "kas/opt/4.4.yml" if KERNEL_4_4
default "kas/opt/4.19.yml" if KERNEL_4_19
default "kas/opt/5.10.yml" if KERNEL_5_10
- default "kas/opt/6.1-mainline.yml" if KERNEL_6_1_MAINLINE
+ default "kas/opt/6.1.yml" if KERNEL_6_1
config KERNEL_RT
bool "Real-time CIP kernel"
depends on !ARCH_RISCV64
- depends on !KERNEL_6_1_MAINLINE
config KAS_INCLUDE_KERNEL_RT
string
@@ -187,7 +186,7 @@ if IMAGE_FLASH && !KERNEL_4_4 && !KERNEL_4_19
config IMAGE_SWUPDATE
bool "SWUpdate support for root partition"
- depends on TARGET_QEMU_AMD64 || TARGET_SIMATIC_IPC227E || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM || TARGET_BBB || ( TARGET_QEMU_RISCV64 && KERNEL_6_1_MAINLINE ) || TARGET_HIHOPE_RZG2M
+ depends on TARGET_QEMU_AMD64 || TARGET_SIMATIC_IPC227E || TARGET_QEMU_ARM64 || TARGET_QEMU_ARM || TARGET_BBB || ( TARGET_QEMU_RISCV64 && KERNEL_6_1 ) || TARGET_HIHOPE_RZG2M
config IMAGE_SECURE_BOOT
bool "Secure boot support"
@@ -13,5 +13,5 @@ require conf/distro/debian-bookworm.conf
require cip-core-common.inc
PREFERRED_VERSION_swupdate ?= "2023.05%"
-PREFERRED_VERSION_linux-cip ?= "5.10.%"
-PREFERRED_VERSION_linux-cip-rt ?= "5.10.%"
+PREFERRED_VERSION_linux-cip ?= "6.1.%"
+PREFERRED_VERSION_linux-cip-rt ?= "6.1.%"
similarity index 72%
rename from kas/opt/6.1-mainline.yml
rename to kas/opt/6.1.yml
@@ -14,4 +14,5 @@ header:
local_conf_header:
kernel-version: |
- KERNEL_NAME = "mainline"
+ PREFERRED_VERSION_linux-cip = "6.1.%"
+ PREFERRED_VERSION_linux-cip-rt = "6.1.%"
new file mode 100644
@@ -0,0 +1,12 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2023
+#
+# SPDX-License-Identifier: MIT
+
+require linux-cip-common.inc
+
+KERNEL_DEFCONFIG_VERSION ?= "6.1.y-cip"
+
+SRC_URI[sha256sum] = "5e4dd386aa8a4cce341b8efeec76320feed53770ead67c838ffb321edd47b157"
new file mode 100644
@@ -0,0 +1,12 @@
+#
+# CIP Core, generic profile
+#
+# Copyright (c) Siemens AG, 2023
+#
+# SPDX-License-Identifier: MIT
+
+require linux-cip-common.inc
+
+KERNEL_DEFCONFIG_VERSION ?= "6.1.y-cip"
+
+SRC_URI[sha256sum] = "188c2ee35a13058858d71aa9121ad9f75c3834126bd93d019ab1687ce0027aa7"
deleted file mode 100644
@@ -1,19 +0,0 @@
-# CIP Core, generic profile
-#
-# Copyright (c) Siemens AG, 2018-2023
-#
-# SPDX-License-Identifier: MIT
-
-require recipes-kernel/linux/linux-custom.inc
-require recipes-kernel/linux/cip-kernel-config.inc
-
-ARCHIVE_VERSION = "${@ d.getVar('PV')[:-2] if d.getVar('PV').endswith('.0') else d.getVar('PV') }"
-
-KERNEL_DEFCONFIG_VERSION ?= "6.1.y-cip"
-
-SRC_URI += " \
- https://cdn.kernel.org/pub/linux/kernel/v6.x/linux-${ARCHIVE_VERSION}.tar.xz"
-
-SRC_URI[sha256sum] = "2c16dfe2168a2e64ac0d55a12d625ebfb963818bb48b60c1868c7c460644c4fd"
-
-S = "${WORKDIR}/linux-${ARCHIVE_VERSION}"