From: Philippe Gerum <rpm@xenomai.org>
To: Richard Cochran <richardcochran@domain.hid>
Cc: Bernhard Pfund <bernhard@domain.hid>,
adeos-main@gna.org, xenomai@xenomai.org,
Lennart Sorensen <lsorense@domain.hid>
Subject: Re: [Xenomai-core] [Adeos-main] I-pipe for 2.6.32 PPC
Date: Tue, 12 Jan 2010 17:03:19 +0100 [thread overview]
Message-ID: <1263312199.2455.169.camel@domain.hid> (raw)
In-Reply-To: <1262949018.2455.5.camel@domain.hid>
On Fri, 2010-01-08 at 12:10 +0100, Philippe Gerum wrote:
> On Fri, 2010-01-08 at 11:59 +0100, Richard Cochran wrote:
> > On Thu, Dec 10, 2009 at 07:56:28AM +0100, Bernhard Pfund wrote:
> > > I'm currently working with a fairly new ppc development board (P2020RDB) by
> > > Freescale. The board's BSP went mainline with 2.6.32 and I'd like to deploy an
> > > I-pipe enabled DENX kernel for testing. Now, is there an I-pipe patch for said
> > > kernel on the release schedule anywhere soon?
> >
> > I got ipipe-2.6.30 running the p2020ds with minimal effort. I can post
> > a diff if that might help you.
> >
> > I should have my own p2020rdb soon...
> >
> > I have noticed some unexplained freezes running xenomai programs on
> > the p2020ds in SMP mode, but I have not yet had time to look into
> > it. I hope we can work together to get SMP working reliably.
>
> I'm working on fixing the pipeline for 2.6.32/ppc64, which includes SMP
> mode. 32bit looks ok in UP mode, but I still need to validate SMP there.
> So it would be great if you could hammer that patch over your P2020 as
> well once it's ready. ETA, early next week. I'll keep you informed about
> this.
As expected, upgrading from 2.6.30 to 2.6.32 for ppc64 was a real pain.
Anyway, here is a patch which applies against 2.6.32.2 mainline; it is
pretty large because it also includes DENX-originated bits, from v2.6.32
to DENX-v2.6.32.
http://download.gna.org/adeos/patches/tmp/adeos-ipipe-2.6.32.2-powerpc-2.8-00.patch
This is expected to work over Xenomai 2.5.0. Tested over 52xx, 85xx, 4xx
for the 32bit support, pasemi for the 64bit part. I did not manage to
put my hands on a working ppc32/SMP board to give it a shot yet, so,
well, I wish you luck. This said, ppc64/SMP has been validated, so there
is hope.
Sidenote: ftrace may induce a massive stack consumption on ppc64 under
certain circumstances, causing kernel stack overflows. A way to work
around this should be to enable CONFIG_IRQSTACKS, but this won't work
with Xenomai over ppc64 yet, albeit this does work over ppc32.
This patch is in a staging directory for now; waiting for some feedback
to go further.
HTH,
--
Philippe.
next prev parent reply other threads:[~2010-01-12 16:03 UTC|newest]
Thread overview: 24+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-12-10 6:56 [Adeos-main] I-pipe for 2.6.32 PPC Bernhard Pfund
2009-12-12 10:13 ` Philippe Gerum
2009-12-12 15:09 ` bernhard
2010-01-08 10:59 ` Richard Cochran
2010-01-08 11:10 ` Philippe Gerum
2010-01-08 15:13 ` Bernhard Pfund
2010-01-12 16:03 ` Philippe Gerum [this message]
[not found] ` <20100112172443.GP8605@domain.hid>
2010-01-12 17:49 ` [Xenomai-core] " Philippe Gerum
[not found] ` <20100112185012.GQ8605@domain.hid>
2010-01-12 19:23 ` Philippe Gerum
[not found] ` <20100112221802.GR8605@domain.hid>
2010-01-14 7:53 ` Richard Cochran
2010-01-17 22:00 ` Philippe Gerum
2010-01-17 22:51 ` Wolfgang Denk
2010-01-20 22:27 ` Philippe Gerum
[not found] ` <20100118175113.GF24305@domain.hid>
2010-01-20 22:42 ` Philippe Gerum
2010-01-15 15:03 ` Philippe Gerum
2010-01-15 15:33 ` Wolfgang Grandegger
2010-01-15 17:28 ` Philippe Gerum
2010-01-15 20:08 ` Wolfgang Grandegger
[not found] ` <20100115161415.GA24305@domain.hid>
2010-01-15 17:22 ` Philippe Gerum
2010-02-23 7:53 ` Richard Cochran
2010-02-23 10:07 ` Philippe Gerum
2010-02-23 10:57 ` Richard Cochran
2010-02-25 16:48 ` Philippe Gerum
2010-03-19 10:20 ` Richard Cochran
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1263312199.2455.169.camel@domain.hid \
--to=rpm@xenomai.org \
--cc=adeos-main@gna.org \
--cc=bernhard@domain.hid \
--cc=lsorense@domain.hid \
--cc=richardcochran@domain.hid \
--cc=xenomai@xenomai.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.