Now I use:

- xenomai 2.6.0   2011-11-05

- kernel 2.6.38.8

- patch adeos-ipipe-2.6.38.8-x86-2.10-01.patch

 

The following command works well:

scripts/prepare-kernel.sh --linux=/usr/src/linux-2.6.38.8 
--adeos=/usr/src/xenomai-2.6.0/ksrc/arch/x86/patches/adeos-ipipe-2.6.38.8-x86-2.10-01.patch
 --arch=x86

Then I enter the configuration menu with

Make menuconfig

 

I apply the changes suggested in 'hard real time linux using xenomai on intel 
Multi-Core processors'

Save and exit

 

When I try to compile the kernel with 'Make'  , the compilation finishes on:

CC      kernel/xenomai/nucleus/pod.o
In file included from 
/usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch.h:2:0,
                 from 
/usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod_32.h:27,
                 from 
/usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/bits/pod.h:2,
                 from kernel/xenomai/nucleus/pod.c:47:
/usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch_32.h:30:2: 
attention : #warning "Buffer overflow detection not supported in 32bit mode" 
[-Wcpp]
/usr/src/linux-2.6.38.8/arch/x86/include/asm/xenomai/switch_32.h:31:2: erreur: 
#error "Disable CONFIG_CC_STACKPROTECTOR in your kernel configuration"
make[3]: *** [kernel/xenomai/nucleus/pod.o] Erreur 1
make[2]: *** [kernel/xenomai/nucleus] Erreur 2
make[1]: *** [kernel/xenomai] Erreur 2
make: *** [kernel] Erreur 2

 

Gregory

 

-----Message d'origine-----
De : Philippe Gerum [mailto:[email protected]] 
Envoyé : mercredi 28 décembre 2011 10:31
À : Gregory Gosse
Cc : xenomai-help; Gilles Chanteperdrix
Objet : Re: [Xenomai-help] problem following 'xenomai quick build guide'

 

On 12/28/2011 10:17 AM, Gregory Gosse wrote:

> Now i use more recent xenomai and kernel versions :

> 

> - xenomai 2.6.0   2011-11-05 ( latest )

> 

> - kernel 2.6.39 ( latest in 2.6 serie )

> 

> With the same patch :

> 

> - adeos-ipipe-2.6.23-x86_64-1.4-03.patch

> 

> I launch the command

> 

> scripts/prepare-kernel.sh --linux=/usr/src/linux-2.6.39 

> --adeos=/usr/src/xenomai-2.6.0/ksrc/arch/x86/patches/adeos-ipipe-2.6.2

> 3-x86_64-1.4-03.patch

> --arch=x86_64

 

- there is no support for 2.6.39/x86. Looking at ksrc/arch/x86/patches tells 
you so. Latest kernel release currently supported on this arch is 2.6.38.8.

 

--arch=x86, not x86_64 which is for legacy patches when 32 and 64bit linux 
trees were not merged yet.

 

You need to unpack a vanilla linux 2.6.38.8 kernel tree, then

 

$ cd <linux-tree>

$ <xenomai-2.6.0>/scripts/prepare-kernel.sh --arch=x86

 

Nothing more.

 

> 

> And get

> 

> Unable to patch kernel 2.6.39 with 

> adeos-ipipe-2.6.23-x86_64-1.4-03.patch

> 

> with many Hunk #xx FAILED at xx

> 

> Gregory

> 

> -----Message d'origine-----

> De : Gilles Chanteperdrix  <mailto:[mailto:[email protected]]> 
> [mailto:[email protected]]

> Envoyé : mardi 27 décembre 2011 17:59

> À : Gregory Gosse

> Cc :  <mailto:[email protected]> [email protected]

> Objet : Re: [Xenomai-help] problem following 'xenomai quick build guide'

> 

> On 12/27/2011 05:56 PM, Gregory Gosse wrote:

> 

>  > What can I do to go further ?

> 

> There is no point in starting with such outdated versions. Please 

> download the latest stable release of Xenomai (xenomai 2.6.0), and if 

> the quick build guide does not work, follow the not quick build guide 

> called "README.INSTALL" which ships with the sources.

> 

> --

> 

>                                                                  Gilles.

> 

> 

> 

> _______________________________________________

> Xenomai-help mailing list

>  <mailto:[email protected]> [email protected]

>  <https://mail.gna.org/listinfo/xenomai-help> 
> https://mail.gna.org/listinfo/xenomai-help

 

 

--

Philippe.

_______________________________________________
Xenomai-help mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-help

Reply via email to