Skip to contentSkip to conversation

Remove support for Xenomai 3.0.x and kernel 4.4

PATCH New Jan Kiszka 1 participant 1 message May 23, 2025

lore
Share & tools
lore

Jan Kiszka

author
#0 lore raw

PATCH 1/1 Remove support for Xenomai 3.0.x and kernel 4.4

From: Jan Kiszka <[email protected]>

This line is now officially retired.

---
 .gitlab-ci.yml                                |  6 ----
 Kconfig                                       | 15 --------
 ci/xenomai_3_0_x.yml                          | 34 -------------------
 conf/distro/include/xenomai-version.inc       | 18 ++++------
 opt-linux-4.4.yml                             | 17 ----------
 opt-linux-latest-4.4.yml                      | 18 ----------
 opt-xenomai-3.0.x.yml                         | 18 ----------
 recipes-core/images/demo-image.bb             |  3 +-
 recipes-kernel/linux/files/bbb_4.4.cfg        |  4 ---
 recipes-kernel/linux/linux-xenomai-3_4.4.bb   | 21 ------------
 .../linux/linux-xenomai-3_latest.bb           | 18 +++-------
 recipes-xenomai/xenomai/xenomai_3.0.15.bb     | 18 ----------
 12 files changed, 11 insertions(+), 179 deletions(-)
 delete mode 100644 ci/xenomai_3_0_x.yml
 delete mode 100644 opt-linux-4.4.yml
 delete mode 100644 opt-linux-latest-4.4.yml
 delete mode 100644 opt-xenomai-3.0.x.yml
 delete mode 100644 recipes-kernel/linux/files/bbb_4.4.cfg
 delete mode 100644 recipes-kernel/linux/linux-xenomai-3_4.4.bb
 delete mode 100644 recipes-xenomai/xenomai/xenomai_3.0.15.bb
.gitlab-ci.yml +0 -6
index f4daf38..de48bc3 100644
@@ -27,12 +27,6 @@ stages:
   rules:
     - if: '$CI_PIPELINE_SOURCE != "schedule" && ($ONLY_RUN == null || $ONLY_RUN == $CI_JOB_NAME)'
 
-stable/v3.0.x:
-  extends: .parent
-  trigger:
-    include:
-      - local: '/ci/xenomai_3_0_x.yml'
-
 stable/v3.1.x:
   extends: .parent
   trigger:
Kconfig +0 -15
index 042be93..3bcf9ef 100644
@@ -98,10 +98,6 @@ config XENOMAI_3_1_LATEST
 	bool "Head of stable/v3.1.x branch"
 	depends on !TARGET_RPI4
 
-config XENOMAI_3_0_LATEST
-	bool "Head of stable/v3.0.x branch"
-	depends on !ARCH_ARM64
-
 endchoice
 
 config KAS_INCLUDE_XENOMAI
@@ -110,7 +106,6 @@ config KAS_INCLUDE_XENOMAI
 	default "opt-xenomai-3.3.x.yml" if XENOMAI_3_3_LATEST
 	default "opt-xenomai-3.2.x.yml" if XENOMAI_3_2_LATEST
 	default "opt-xenomai-3.1.x.yml" if XENOMAI_3_1_LATEST
-	default "opt-xenomai-3.0.x.yml" if XENOMAI_3_0_LATEST
 
 choice
 	prompt "Kernel version"
@@ -176,14 +171,6 @@ config KERNEL_4_19
 	bool "Latest 4.19-cip I-pipe release"
 	depends on !TARGET_RPI4 && (XENOMAI_3_2_LATEST || XENOMAI_3_2 || XENOMAI_3_1_LATEST || XENOMAI_3_1)
 
-config KERNEL_4_4_LATEST
-	bool "Head of 4.4-cip I-pipe branch"
-	depends on XENOMAI_3_0_LATEST
-
-config KERNEL_4_4
-	bool "Latest 4.4-cip I-pipe release"
-	depends on XENOMAI_3_0_LATEST
-
 endchoice
 
 config KAS_INCLUDE_KERNEL
@@ -203,8 +190,6 @@ config KAS_INCLUDE_KERNEL
 	default "opt-linux-5.4.yml" if KERNEL_5_4
 	default "opt-linux-latest-4.19.yml" if KERNEL_4_19_LATEST
 	default "opt-linux-4.19.yml" if KERNEL_4_19
-	default "opt-linux-latest-4.4.yml" if KERNEL_4_4_LATEST
-	default "opt-linux-4.4.yml" if KERNEL_4_4
 
 comment "Features"
 
ci/xenomai_3_0_x.yml deleted +0 -34
deleted file mode 100644
index 0b0c837..0000000
@@ -1,34 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2019 - 2022
-#
-# Authors:
-#  Quirin Gylstorff <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-include:
-  - local: '/ci/gitlab-ci-base.yml'
-
-variables:
-  XENOMAI_BUILD_OPTION: ":opt-xenomai-3.0.x.yml:opt-debug.yml"
-  LINUX_BUILD_OPTION: ":opt-linux-latest-4.4.yml"
-  XENOMAI_VERSION: "3.0.x"
-  KERNEL_VERSION: "4.4"
-  CACHE_KERNEL: ipipe
-
-build-4.4:beagle-bone-black:
-  extends: .build:beagle-bone-black
-
-lava-test-4.4:beagle-bone-black:
-  needs: [ "build-4.4:beagle-bone-black" ]
-  extends: .lava-test:beagle-bone-black
-
-build-4.4:x86-64-efi:
-  extends: .build:x86-64-efi
-
-lava-test-4.4:x86-64-efi:
-  needs: [ "build-4.4:x86-64-efi" ]
-  extends: .lava-test:x86-64-efi
conf/distro/include/xenomai-version.inc +6 -12
index 81c61ac..c64101e 100644
@@ -11,9 +11,6 @@
 
 XENOMAI_DEFAULT_KERNEL_VERSION = "6.12%"
 
-XENOMAI_3_0_VERSION_LIST = "3.0 3.0% 3.0.% 3.0.15 stable-3.0.x"
-XENOMAI_3_0_KERNEL_VERSION = "4.4%"
-
 XENOMAI_3_1_VERSION_LIST = "3.1 3.1% 3.1.% 3.1.5 stable-3.1.x"
 XENOMAI_3_1_KERNEL_VERSION = "5.4%"
 
@@ -23,18 +20,15 @@ XENOMAI_3_2_KERNEL_VERSION = "6.1%"
 XENOMAI_3_3_VERSION_LIST = "3.3 3.3% 3.3.% stable-3.2.x"
 XENOMAI_3_3_KERNEL_VERSION = "6.12%"
 
-# If PREFERRED_VERSION_xenomai contains any item from XENOMAI_3_0_VERSION_LIST use
-# XENOMAI_3_0_KERNEL_VERSION. Same for the other XENOMAI_*_VERSION_LIST.
+# If PREFERRED_VERSION_xenomai contains any item from XENOMAI_3_1_VERSION_LIST use
+# XENOMAI_3_1_KERNEL_VERSION. Same for the other XENOMAI_*_VERSION_LIST.
 PREFERRED_VERSION_linux-xenomai-3 ?= \
     "${@bb.utils.contains_any('PREFERRED_VERSION_xenomai', \
-        '${XENOMAI_3_0_VERSION_LIST}', '${XENOMAI_3_0_KERNEL_VERSION}', \
+        '${XENOMAI_3_1_VERSION_LIST}', '${XENOMAI_3_1_KERNEL_VERSION}', \
         bb.utils.contains_any('PREFERRED_VERSION_xenomai', \
-            '${XENOMAI_3_1_VERSION_LIST}', '${XENOMAI_3_1_KERNEL_VERSION}', \
+            '${XENOMAI_3_2_VERSION_LIST}', '${XENOMAI_3_2_KERNEL_VERSION}', \
             bb.utils.contains_any('PREFERRED_VERSION_xenomai', \
-                '${XENOMAI_3_2_VERSION_LIST}', '${XENOMAI_3_2_KERNEL_VERSION}', \
-                bb.utils.contains_any('PREFERRED_VERSION_xenomai', \
-                    '${XENOMAI_3_3_VERSION_LIST}', '${XENOMAI_3_3_KERNEL_VERSION}', \
-                    '${XENOMAI_DEFAULT_KERNEL_VERSION}', d), \
-                d), \
+                '${XENOMAI_3_3_VERSION_LIST}', '${XENOMAI_3_3_KERNEL_VERSION}', \
+                '${XENOMAI_DEFAULT_KERNEL_VERSION}', d), \
             d), \
         d)}"
opt-linux-4.4.yml deleted +0 -17
deleted file mode 100644
index b026c70..0000000
@@ -1,17 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2020-2021
-#
-# Authors:
-#  Quirin Gylstorff <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-header:
-  version: 14
-
-local_conf_header:
-  linux-xenomai-version: |
-    PREFERRED_VERSION_linux-xenomai-3 = "4.4%"
opt-linux-latest-4.4.yml deleted +0 -18
deleted file mode 100644
index 34b57be..0000000
@@ -1,18 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2021
-#
-# Authors:
-#  Jan Kiszka <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-header:
-  version: 14
-
-local_conf_header:
-  linux-xenomai-latest: |
-    PREFERRED_VERSION_linux-xenomai-3 = "9999-%"
-    LATEST_GIT_BRANCH = "4.4"
opt-xenomai-3.0.x.yml deleted +0 -18
deleted file mode 100644
index b078e6c..0000000
@@ -1,18 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2020-2024
-#
-# Authors:
-#  Jan Kiszka <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-header:
-  version: 14
-
-local_conf_header:
-  xenomai-3-0-x: |
-    PREFERRED_VERSION_xenomai = "stable-3.0.x"
-    PREFERRED_VERSION_xenomai-compat = "stable-3.0.x"
recipes-core/images/demo-image.bb +1 -2
index 241cd99..fbc4ed4 100644
@@ -18,10 +18,9 @@ DESCRIPTION = "Xenomai demo and test image"
 # Since 3.3.x a new package (xenomai-testsuite) is providing the testsuite.
 def has_testsuite_package(d):
     xeno_ver = "PREFERRED_VERSION_xenomai"
-    v3_0 = d.getVar("XENOMAI_3_0_VERSION_LIST")
     v3_1 = d.getVar("XENOMAI_3_1_VERSION_LIST")
     v3_2 = d.getVar("XENOMAI_3_2_VERSION_LIST")
-    all = v3_0 + " " + v3_1 + " " + v3_2
+    all = v3_1 + " " + v3_2
 
     return bb.utils.contains_any(xeno_ver, all, False, True, d)
 
recipes-kernel/linux/files/bbb_4.4.cfg deleted +0 -4
deleted file mode 100644
index 4628f44..0000000
@@ -1,4 +0,0 @@
-# CONFIG_RAW_PRINTK is not set
-# CONFIG_DEBUG_LL is not set
-# CONFIG_IPIPE_DEBUG is not set
-# CONFIG_XENO_OPT_DEBUG is not set
recipes-kernel/linux/linux-xenomai-3_4.4.bb deleted +0 -21
deleted file mode 100644
index 678f7f6..0000000
@@ -1,21 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2018-2025
-#
-# Authors:
-#  Jan Kiszka <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-require recipes-kernel/linux/linux-xenomai-3.inc
-
-SRC_URI:append:amd64 = " git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1"
-SRCREV:amd64 ?= "ipipe-core-4.4.302-cip91-x86-40"
-
-SRC_URI:append:armhf = " git://github.com/xenomai-ci/ipipe.git;protocol=https;nobranch=1"
-SRC_URI:append:armhf = " ${@ 'file://bbb_4.4.cfg' if d.getVar('MACHINE') == 'beagle-bone-black' else '' }"
-SRCREV:armhf ?= "ipipe-core-4.4.302-cip91-arm-25"
-
-PV ?= "${@d.getVar('SRCREV').split('-')[2]}+"
recipes-kernel/linux/linux-xenomai-3_latest.bb +4 -14
index 0aeeaa2..7381ea6 100644
@@ -14,10 +14,6 @@ require recipes-kernel/linux/linux-xenomai-3.inc
 
 PV = "9999-g${COMMIT}"
 
-def is_xeno_3_0(d):
-    xeno_ver = d.getVar('PREFERRED_VERSION_xenomai') or ''
-    return xeno_ver.startswith('3.0') or xeno_ver == 'stable-3.0.x'
-
 def is_kernel(d, ver):
     linux_ver = d.getVar('LATEST_GIT_BRANCH') or ''
     return linux_ver == ver
@@ -37,12 +33,10 @@ python () {
 
 # default: amd64 or i386
 GIT_REPO = "${@ \
-    'git://github.com/xenomai-ci/ipipe.git' if is_xeno_3_0(d) \
-    else 'git://github.com/xenomai-ci/ipipe-x86.git' if is_kernel(d, '4.19') or is_kernel(d, '5.4') \
+    'git://github.com/xenomai-ci/ipipe-x86.git' if is_kernel(d, '4.19') or is_kernel(d, '5.4') \
     else 'git://source.denx.de/xenomai/linux-dovetail.git' }"
 GIT_BRANCH = "${@ \
-    'ipipe-4.4.y-cip' if is_xeno_3_0(d) \
-    else 'ipipe-x86-4.19.y-cip' if is_kernel(d, '4.19') \
+    'ipipe-x86-4.19.y-cip' if is_kernel(d, '4.19') \
     else 'ipipe-x86-5.4.y' if is_kernel(d, '5.4') \
     else 'v5.10.y-cip-dovetail-rebase' if is_kernel(d, '5.10') \
     else 'v5.15.y-dovetail-rebase' if is_kernel(d, '5.15') \
@@ -52,12 +46,10 @@ GIT_BRANCH = "${@ \
     else d.getVar('LATEST_KERNEL_BRANCH') }"
 
 GIT_REPO:armhf = "${@ \
-    'git://github.com/xenomai-ci/ipipe.git' if is_xeno_3_0(d) \
-    else 'git://github.com/xenomai-ci/ipipe-arm.git' if is_kernel(d, '4.19') or is_kernel(d, '5.4') \
+    'git://github.com/xenomai-ci/ipipe-arm.git' if is_kernel(d, '4.19') or is_kernel(d, '5.4') \
     else 'git://source.denx.de/xenomai/linux-dovetail.git' }"
 GIT_BRANCH:armhf = "${@ \
-    'ipipe-4.4.y-cip' if is_xeno_3_0(d) \
-    else 'ipipe/4.19.y-cip' if is_kernel(d, '4.19') \
+    'ipipe/4.19.y-cip' if is_kernel(d, '4.19') \
     else 'ipipe/5.4.y' if is_kernel(d, '5.4') \
     else 'v5.10.y-cip-dovetail-rebase' if is_kernel(d, '5.10') \
     else 'v5.15.y-dovetail-rebase' if is_kernel(d, '5.15') \
@@ -81,5 +73,3 @@ GIT_BRANCH:arm64 = "${@ \
 
 SRC_URI += "${GIT_REPO};protocol=https;branch=${GIT_BRANCH}"
 SRCREV = "${AUTOREV}"
-
-SRC_URI:append:beagle-bone-black = " ${@ 'file://bbb_4.4.cfg' if is_xeno_3_0(d) else '' }"
recipes-xenomai/xenomai/xenomai_3.0.15.bb deleted +0 -18
deleted file mode 100644
index 2c0debd..0000000
@@ -1,18 +0,0 @@
-#
-# Xenomai Real-Time System
-#
-# Copyright (c) Siemens AG, 2019
-#
-# Authors:
-#  Quirin Gylstorff <[email protected]>
-#
-# SPDX-License-Identifier: MIT
-#
-
-require xenomai.inc
-
-# Note: When updating PV, also update conf/distro/include/xenomai-version.inc!
-
-SRC_URI = " \
-    git://github.com/xenomai-ci/xenomai.git;protocol=https;branch=stable/v3.0.x;tag=v${PV} \
-    "
Signature · 1 line
2.43.0