Skip to contentSkip to conversation

linux: add option to select the CIP real-time kernel

PATCH Superseded Angelo Compagnucci 3 participants 4 messages Nov 26, 2019 – Nov 27, 2019

lore
Share & tools
lore
#0 lore raw

PATCH v2 1/1 linux: add option to select the CIP real-time kernel

From: Angelo Compagnucci <[email protected]>

This patch adds Linux CIP RT, the PREEMPT_RT real-time variant maintained by the CIP team.

---
Changelo:
v1 -> v2:
* better commit message (T. Petazzoni)
* fixed variable condition checking in mk (T. Petazzoni)

 linux/Config.in | 12 ++++++++++++
 linux/linux.mk  |  2 +-
 2 files changed, 13 insertions(+), 1 deletion(-)
linux/Config.in +12 -0
index 8c5539c..eacd53d 100644
@@ -53,6 +53,17 @@ config BR2_LINUX_KERNEL_LATEST_CIP_VERSION
 
 	  https://www.cip-project.org
 
+config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
+	bool "Latest CIP RT SLTS version (4.19.72-cip10-rt4)"
+	help
+	  Same as the CIP version, but this is the PREEMPT_RT realtime
+	  variant.
+
+	  The CIP community plans to maintain 4.19 for security and
+	  bug fixes for more than 10 years.
+
+	  https://www.cip-project.org
+
 config BR2_LINUX_KERNEL_CUSTOM_VERSION
 	bool "Custom version"
 	help
@@ -124,6 +135,7 @@ config BR2_LINUX_KERNEL_VERSION
 	string
 	default "5.3.8" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "4.19.82-cip14" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
+	default "4.19.72-cip10-rt4" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
 	default BR2_LINUX_KERNEL_CUSTOM_VERSION_VALUE \
 		if BR2_LINUX_KERNEL_CUSTOM_VERSION
 	default "custom" if BR2_LINUX_KERNEL_CUSTOM_TARBALL
linux/linux.mk +1 -1
index c45db4d..762f886 100644
@@ -29,7 +29,7 @@ LINUX_SITE_METHOD = hg
 else ifeq ($(BR2_LINUX_KERNEL_CUSTOM_SVN),y)
 LINUX_SITE = $(call qstrip,$(BR2_LINUX_KERNEL_CUSTOM_REPO_URL))
 LINUX_SITE_METHOD = svn
-else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION),y)
+else ifeq ($(BR2_LINUX_KERNEL_LATEST_CIP_VERSION)$(BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION),y)
 LINUX_SOURCE = linux-cip-$(LINUX_VERSION).tar.gz
 LINUX_SITE = https://git.kernel.org/pub/scm/linux/kernel/git/cip/linux-cip.git/snapshot
 else ifneq ($(findstring -rc,$(LINUX_VERSION)),)
Signature · 1 line
2.7.4
#1 lore raw

PATCH v2 1/1 linux: add option to select the CIP real-time kernel

Quoted 11 lines · On Tue, 26 Nov 2019 12:59:33 +0100 Angelo Compagnucci…

From: Angelo Compagnucci <[email protected]>

This patch adds Linux CIP RT, the PREEMPT_RT real-time variant maintained by the CIP team.

---
Changelo:
v1 -> v2:
* better commit message (T. Petazzoni)
* fixed variable condition checking in mk (T. Petazzoni)

Applied to next, thanks.

Thomas

Signature · 3 lines
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
#2 lore raw

PATCH v2 1/1 linux: add option to select the CIP real-time kernel

In reply to Angelo Compagnucci
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line
Quoted 1 line

"Angelo" == Angelo Compagnucci <[email protected]> writes:

Hi,

Quoted 15 lines
linux/Config.in +11 -0
+config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
+	bool "Latest CIP RT SLTS version (4.19.72-cip10-rt4)"
+	help
+	  Same as the CIP version, but this is the PREEMPT_RT realtime
+	  variant.
+
+	  The CIP community plans to maintain 4.19 for security and
+	  bug fixes for more than 10 years.
+
+	  https://www.cip-project.org
+
 config BR2_LINUX_KERNEL_CUSTOM_VERSION
 	bool "Custom version"
 	help

linux/Config.in config BR2_LINUX_KERNEL_VERSION · line 138

Quoted 4 lines
linux/Config.in +1 -0
@@ -124,6 +135,7 @@ config BR2_LINUX_KERNEL_VERSION
 	string
 	default "5.3.8" if BR2_LINUX_KERNEL_LATEST_VERSION
 	default "4.19.82-cip14" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
+	default "4.19.72-cip10-rt4" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION

So the two CIP variants are not even in sync? Annoying :/

Signature · 1 line
Bye, Peter Korsgaard
#3 lore raw

PATCH v2 1/1 linux: add option to select the CIP real-time kernel

Quoted 18 lines · Peter Korsgaard
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines
Quoted 2 lines

"Angelo" == Angelo Compagnucci <[email protected]> writes:

Hi,

Quoted 13 lines
linux/Config.in +11 -0
+config BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION
+    bool "Latest CIP RT SLTS version (4.19.72-cip10-rt4)"
+    help
+      Same as the CIP version, but this is the PREEMPT_RT realtime
+      variant.
+
+      The CIP community plans to maintain 4.19 for security and
+      bug fixes for more than 10 years.
+
+      https://www.cip-project.org
+
 config BR2_LINUX_KERNEL_CUSTOM_VERSION
     bool "Custom version"
Quoted 8 lines

linux/Config.in config BR2_LINUX_KERNEL_VERSION · line 138

Quoted 6 lines

help

linux/Config.in +1 -0
@@ -124,6 +135,7 @@ config BR2_LINUX_KERNEL_VERSION
     string
     default "5.3.8" if BR2_LINUX_KERNEL_LATEST_VERSION
     default "4.19.82-cip14" if BR2_LINUX_KERNEL_LATEST_CIP_VERSION
+    default "4.19.72-cip10-rt4" if BR2_LINUX_KERNEL_LATEST_CIP_RT_VERSION

So the two CIP variants are not even in sync? Annoying :/

unfortunately, yes. It's annoying.

Quoted 3 lines

--
Bye, Peter Korsgaard