Skip to contentSkip to conversation

Pull request for branch for-2012.02/xenomai-update

GIT PULL New Thomas Petazzoni 3 participants 9 messages Jan 3, 2012 – Jan 7, 2012

lore
Share & tools
lore
#0 lore raw

The following changes since commit 5528286147492aafa8740c09db63290042b79cb0:

rt-tests: fix build issues on uClibc (2012-01-03 09:15:17 +0100)

are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.git for-2012.02/xenomai-update

Thomas Petazzoni (3):
xenomai: bump to 2.6.0
xenomai: restrict to the set of supported architectures
xenomai: mention which kernel versions are supported

 linux/Config.ext.in                         |    8 +++
 package/xenomai/Config.in                   |   62 +----------------------
 package/xenomai/xenomai-fix-lfs-issue.patch |   72 +++++++++++++++++++++++++++
 package/xenomai/xenomai.mk                  |   11 +----
 4 files changed, 83 insertions(+), 70 deletions(-)
 create mode 100644 package/xenomai/xenomai-fix-lfs-issue.patch

Thanks,

Signature · 1 line
Thomas Petazzoni
#1 lore raw

PATCH 1/3 xenomai: bump to 2.6.0

---
 package/xenomai/Config.in                   |   60 ----------------------
 package/xenomai/xenomai-fix-lfs-issue.patch |   72 +++++++++++++++++++++++++++
 package/xenomai/xenomai.mk                  |   11 +----
 3 files changed, 73 insertions(+), 70 deletions(-)
 create mode 100644 package/xenomai/xenomai-fix-lfs-issue.patch
package/xenomai/Config.in +0 -60
index cfeaa04..98ebf0a 100644
@@ -43,66 +43,6 @@ config BR2_PACKAGE_XENOMAI_SMP
 	  This option allows to enable or disable SMP support. It has
 	  to match your kernel configuration.
 
-choice
-	prompt "Xenomai ARM CPU type"
-	depends on BR2_arm
-	default BR2_PACKAGE_XENOMAI_CPU_GENERIC_ARM
-	help
-	  On the ARM architecture, Xenomai needs to be configured for
-	  a specific sub-architecture.  Select the appropriate
-	  sub-architecture from the list.
-
-	config BR2_PACKAGE_XENOMAI_CPU_AT91RM9200
-		bool "Atmel AT91RM9200"
-
-	config BR2_PACKAGE_XENOMAI_CPU_AT91SAM926X
-		bool "Atmel AT91SAM926X"
-
-	config BR2_PACKAGE_XENOMAI_CPU_INTEGRATOR
-		bool "ARM Ltd. Integrator"
-
-	config BR2_PACKAGE_XENOMAI_CPU_IXP4XX
-		bool "Intel IXP4XX (XScale)"
-
-	config BR2_PACKAGE_XENOMAI_CPU_IMX
-		bool "Freescale i.MX (MX1/MXL)"
-
-	config BR2_PACKAGE_XENOMAI_CPU_IMX21
-		bool "Freescale i.MX21"
-
-	config BR2_PACKAGE_XENOMAI_CPU_MX2
-		bool "Freescale MXC/MX2"
-
-	config BR2_PACKAGE_XENOMAI_CPU_MX3
-		bool "Freescale MXC/MX3"
-
-	config BR2_PACKAGE_XENOMAI_CPU_SA1100
-		bool "StrongARM SA1100"
-
-	config BR2_PACKAGE_XENOMAI_CPU_S3C2410
-		bool "S3C2410"
-
-	config BR2_PACKAGE_XENOMAI_CPU_GENERIC_ARM
-		bool "Generic ARM"
-
-endchoice
-
-# Now set CPU type. We force manually selected type even if detected in case
-# user takes the risk.
-config BR2_PACKAGE_XENOMAI_CPU_TYPE
-	string
-	depends on BR2_PACKAGE_XENOMAI && BR2_arm
-	default "at91rm9200"  if BR2_PACKAGE_XENOMAI_CPU_AT91RM9200
-	default "at91sam926x" if BR2_PACKAGE_XENOMAI_CPU_AT91SAM926X
-	default "integrator"  if BR2_PACKAGE_XENOMAI_CPU_INTEGRATOR
-	default "ixp4xx"      if BR2_PACKAGE_XENOMAI_CPU_IXP4XX
-	default "generic"     if BR2_PACKAGE_XENOMAI_CPU_GENERIC_ARM
-	default "imx"         if BR2_PACKAGE_XENOMAI_CPU_IMX
-	default "imx21"       if BR2_PACKAGE_XENOMAI_CPU_IMX21
-	default "mx2"         if BR2_PACKAGE_XENOMAI_CPU_MX2
-	default "mx3"         if BR2_PACKAGE_XENOMAI_CPU_MX3
-	default "s3c2410"     if BR2_PACKAGE_XENOMAI_CPU_S3C2410
-
 config BR2_PACKAGE_XENOMAI_TESTSUITE
        bool "Install testsuite"
        help
package/xenomai/xenomai-fix-lfs-issue.patch new file +72 -0

72 lines not on this page · raw message

package/xenomai/xenomai.mk +1 -10
index f795579..b1a492f 100644
@@ -7,7 +7,7 @@
 
 XENOMAI_VERSION = $(call qstrip,$(BR2_PACKAGE_XENOMAI_VERSION))
 ifeq ($(XENOMAI_VERSION),)
-XENOMAI_VERSION = 2.5.6
+XENOMAI_VERSION = 2.6.0
 endif
 
 XENOMAI_SITE = http://download.gna.org/xenomai/stable/
@@ -15,15 +15,6 @@ XENOMAI_SOURCE = xenomai-$(XENOMAI_VERSION).tar.bz2
 
 XENOMAI_INSTALL_STAGING = YES
 
-ifeq ($(BR2_arm),y)
-XENOMAI_CPU_TYPE = $(call qstrip,$(BR2_PACKAGE_XENOMAI_CPU_TYPE))
-# Set "generic" if not defined
-ifeq ($(XENOMAI_CPU_TYPE),)
-XENOMAI_CPU_TYPE = generic
-endif
-XENOMAI_CONF_OPT += --enable-arm-mach=$(XENOMAI_CPU_TYPE)
-endif #BR2_arm
-
 ifeq ($(BR2_PACKAGE_XENOMAI_SMP),y)
 XENOMAI_CONF_OPT += --enable-smp
 endif
Signature · 1 line
1.7.4.1
#4 lore raw

PATCH 2/3 xenomai: restrict to the set of supported architectures

In reply to Thomas Petazzoni
---
 linux/Config.ext.in       |    2 ++
 package/xenomai/Config.in |    2 ++
 2 files changed, 4 insertions(+), 0 deletions(-)
linux/Config.ext.in +2 -0
index 8a9f87e..b304efd 100644
@@ -3,6 +3,8 @@ menu "Linux Kernel Extensions"
 # Xenomai
 config BR2_LINUX_KERNEL_EXT_XENOMAI
 	bool "Adeos/Xenomai Real-time patch"
+	depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
+		   BR2_bfin || BR2_powerpc || BR2_sh4
 	select BR2_PACKAGE_XENOMAI
 	help
 	  Xenomai Kernel part.
package/xenomai/Config.in +2 -0
index 98ebf0a..ecab23e 100644
@@ -1,5 +1,7 @@
 config BR2_PACKAGE_XENOMAI
 	bool "Xenomai Userspace"
+	depends on BR2_i386 || BR2_x86_64 || BR2_arm || \
+		   BR2_bfin || BR2_powerpc || BR2_sh4
 	help
 	  Real-Time Framework for Linux
 	  http://www.xenomai.org
Signature · 1 line
1.7.4.1
#6 lore raw

PATCH 3/3 xenomai: mention which kernel versions are supported

In reply to Thomas Petazzoni
---
 linux/Config.ext.in |    6 ++++++
 1 files changed, 6 insertions(+), 0 deletions(-)
linux/Config.ext.in +6 -0
index b304efd..172fa76 100644
@@ -9,6 +9,12 @@ config BR2_LINUX_KERNEL_EXT_XENOMAI
 	help
 	  Xenomai Kernel part.
 
+	  In the current version of Xenomai, the following kernel
+	  versions are supported: on Blackfin, 2.6.34 and 2.6.36.9, on
+	  SH4, 2.6.32.10, on x86, 2.6.35.9, 2.6.37.6, 2.6.38.8, on
+	  ARM, 2.6.35.9, 2.6.37.6, 2.6.38.8, on NIOS2, 2.6.35, on
+	  PowerPC, 2.6.35.7, 2.6.36.4, 3.0.8.
+
 config BR2_LINUX_KERNEL_EXT_XENOMAI_ADEOS_PATCH
 	depends on BR2_LINUX_KERNEL_EXT_XENOMAI
 	string "Path for Adeos patch file"
Signature · 1 line
1.7.4.1
#8 lore raw
In reply to Thomas Petazzoni
Quoted 13 lines · Thomas Petazzoni

The following changes since commit
5528286147492aafa8740c09db63290042b79cb0:

rt-tests: fix build issues on uClibc (2012-01-03 09:15:17 +0100)

are available in the git repository at:
http://free-electrons.com/~thomas/buildroot.gitfor-2012.02/xenomai-update

Thomas Petazzoni (3):
xenomai: bump to 2.6.0
xenomai: restrict to the set of supported architectures
xenomai: mention which kernel versions are supported

Quoted 8 lines
 linux/Config.ext.in                         |    8 +++
 package/xenomai/Config.in                   |   62 +----------------------
 package/xenomai/xenomai-fix-lfs-issue.patch |   72
+++++++++++++++++++++++++++
 package/xenomai/xenomai.mk                  |   11 +----
 4 files changed, 83 insertions(+), 70 deletions(-)
 create mode 100644 package/xenomai/xenomai-fix-lfs-issue.patch

Entire series:

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.busybox.net/pipermail/buildroot/attachments/20120104/0c46752a/attachment.html>

#3 lore raw

PATCH 1/3 xenomai: bump to 2.6.0

In reply to Peter Korsgaard

Le Sat, 07 Jan 2012 20:40:44 +0100,
Peter Korsgaard <[email protected]> a ?crit :

Quoted 2 lines

It would have been to mention why the ARM variant stuff is no longer needed, but ok - Committed, thanks.

The --enable-arm-mach option has been removed, and the --enable-arm-tsc option is only useful is very specific situations. See:
http://git.xenomai.org/?p=xenomai-2.6.git;a=commitdiff;h=1f988e5b616a884fb13b85056757349b6312a592

Regards,

Thomas

Signature · 4 lines
Thomas Petazzoni, Free Electrons
Kernel, drivers, real-time and embedded Linux
development, consulting, training and support.
http://free-electrons.com