Skip to contentSkip to conversation

ipipe patch for 3.6.0 arm?

Xenomai Sagar Behere 2 participants 4 messages Aug 21, 2013 – Aug 23, 2013

lore
Share & tools
lore
#1 lore raw
Quoted 6 lines · Sagar Behere

Hello,

I wish to run xenomai on a gumstix duovero (OMAP4430-based). A kernel supporting the duovero is supposedly under development in the omap-3.6 branch of Steve Sakoman's repo

Quoted 6 lines

http://git.sakoman.com/git/gitweb.cgi?p=linux.git;a=shortlog;h=refs/heads/omap-3.6

However, I don't see an ipipe patch for 3.6.0 in
http://download.gna.org/adeos/patches/v3.x/arm/older/

So how does one go about using xenomai with a 3.6.0 kernel?

You have two choices:
1- port the I-pipe patch to the target kernel
2- back/forward port the board specific changes to a kernel which has an I-pipe patch.

Usually 2 is easier.

Signature · 1 line
                                                                Gilles.
#2 lore raw
Quoted 12 lines · Gilles Chanteperdrix
Quoted 11 lines · Sagar Behere

Hello,

I wish to run xenomai on a gumstix duovero (OMAP4430-based). A kernel supporting the duovero is supposedly under development in the omap-3.6 branch of Steve Sakoman's repo

http://git.sakoman.com/git/gitweb.cgi?p=linux.git;a=shortlog;h=refs/heads/omap-3.6

However, I don't see an ipipe patch for 3.6.0 in
http://download.gna.org/adeos/patches/v3.x/arm/older/

Quoted 6 lines
Quoted 1 line

So how does one go about using xenomai with a 3.6.0 kernel?

You have two choices:
1- port the I-pipe patch to the target kernel
2- back/forward port the board specific changes to a kernel which has an I-pipe patch.

Hmm, I noticed tags for v3.9.4 and v3.10-rc2 at

http://git.xenomai.org/?p=ipipe.git;a=summary

I also noticed in the toplevel Makefile of the ipipe-next branch that the version was 3.9.4

So I followed choice 2 you suggested and forward ported the board specific changes to both 3.9.x and 3.10.x kernels.

However, it seems after checking out the v3.10-rc2 tag that it doesn't have xenomai specific stuff ?!

So I checked out ipipe-next, which seemed to have xenomai specific stuff. I then applied all my board specific changes to the ipipe-next code, used the prepare-kernel.sh script from the xenomai-2.6 master and tried to compile. However compilation errors come up like

-----
arch/arm/mach-omap2/io.c: In function ‘omap3_init_early’:
arch/arm/mach-omap2/io.c:472: error: expected expression before ‘<<’ token arch/arm/mach-omap2/io.c:477: error: expected expression before ‘==’ token arch/arm/mach-omap2/io.c:479: error: expected expression before ‘>>’ token
-----

I have not touched those files.. so is it that the ipipe-next branch is not usable or something?

What would you advice me to do now?

Thanks in advance,
Sagar

#3 lore raw
Quoted 13 lines · Sagar Behere
Quoted 12 lines · Gilles Chanteperdrix
Quoted 11 lines · Sagar Behere

Hello,

I wish to run xenomai on a gumstix duovero (OMAP4430-based). A kernel supporting the duovero is supposedly under development in the omap-3.6 branch of Steve Sakoman's repo

http://git.sakoman.com/git/gitweb.cgi?p=linux.git;a=shortlog;h=refs/heads/omap-3.6

However, I don't see an ipipe patch for 3.6.0 in
http://download.gna.org/adeos/patches/v3.x/arm/older/

Quoted 8 lines
Quoted 6 lines
Quoted 1 line

So how does one go about using xenomai with a 3.6.0 kernel?

You have two choices:
1- port the I-pipe patch to the target kernel
2- back/forward port the board specific changes to a kernel which has an I-pipe patch.

Hmm, I noticed tags for v3.9.4 and v3.10-rc2 at

Why not using the branch for 3.8? It is the latest I-pipe tree, the other trees are work in progress.

Signature · 1 line
                                              Gilles