From: Tim Cussins <timcussins@domain.hid>
To: Philippe Gerum <rpm@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Marvell sheeva support
Date: Tue, 20 Jul 2010 12:00:45 +0100 [thread overview]
Message-ID: <1279623645.2187.35.camel@domain.hid> (raw)
In-Reply-To: <1279210298.1995.38.camel@domain.hid>
Hi guys,
I hope you don't mind if I reply to you together.
On Thu, 2010-07-15 at 18:11 +0200, Philippe Gerum wrote:
> On Thu, 2010-07-15 at 13:53 +0200, Gilles Chanteperdrix wrote:
> > Tim Cussins wrote:
> > > Hi all,
> > >
> > > We're looking at migrating to one of Marvell's MV88F series SOC's, and
> > > are very keen to deploy Xenomai as part of our solution.
> > >
> > > I noticed Sergey Didenko was looking at this a few months back and
> > > things looked to be ok - has his (or anyone else's) work made it into a
> > > stable release?
> > >
> > > I will be able to assist in about a fortnight if that would be useful
> > > for squaring that work away.
> > >
> > > Let me know if I can help!
> >
> > We are interested. I seem to remember that Serguey had unexplained
> > latencies issues, so, if you start with his work, please bear this in
> > mind, there was probably something wrong with his port. A guide
> > explaining how to port the I-pipe patch on ARM exists:
> > http://www.xenomai.org/index.php/I-pipe:ArmPorting
> > The section about chained GPIOs irqs is outdated, if your platform has
> > some, I will explain how it should be implemented.
> >
> > Please start from the I-pipe git (git://git.denx.de/ipipe-2.6.git),
> > merging it with the branch you will use if needed, so that you can
> > submit a patch only containing the modifications necessary for the
> > Sheeva platform.
Not a problem :)
> > We can also provide you with a root filesystem for validating this platform.
That would be brilliant. I imagine I'll be iterating though uImages on
an SD card loaded with your rootfs. Sound ok? Let me know how to obtain
the rootfs (or better, show me how you prefer to do it, so I learn
something! Ta.)
>
> You can also use the patch below as a starting point for your port:
> http://download.gna.org/adeos/patches/tmp/adeos-ipipe-2.6.29-mv88f6290.patch
I've tried applying this to vanilla 2.6.29 and 2.6.29.6 - it doesn't
apply cleanly (well, fails :P). Am I approaching this the wrong way?
Also tried chucking the patch into the xenomai tree and getting
prepare_kernel.sh to try: still no joy.
> caveats:
>
> - it is based on an old kernel release, and moving to 2.6.3x would
> require some work. If you need so, then you should merge the
> arm-dependent bits from the patch above with the generic I-pipe bits
> from a newer release as available here (e.g. 2.6.33):
> http://download.gna.org/adeos/patches/v2.6/arm/
Building and running the current patch (2.6.29) seems like a reasonable
starting point, but producing a 2.6.33 patch seems like the right thing
to do...
> - the fcse implementation in that patch won't work with the l2 outer
> cache enabled. The two options have been made mutually exclusive via
> Kconfig.
Out of interest: is this a fundamental limitation, or do you believe
that the L2 and FCSE might be happy together after a bit of work?
> you should use Xenomai 2.5.3 or above to get this running.
>
> As a reference point, the worst-case scheduling latency for user-space
> threads, observed on a mv88f6290 using that patch with fcse enabled (no
> l2), is below 70 us.
That's brilliant. Our requirements aren't for super-low latency, but
definitely realtime. We might go with L2 and no FCSE if the latency is
still ok. Just FYI :)
> HTH,
>
Yep, thanks. I'll be able to do this work: I'm just trying to estimate
how long it'll take me to get up to speed and produce a patch for 2.6.33.
Any thoughts on the volume and nature of the work remaining would be helpful.
Cheers,
Tim
next prev parent reply other threads:[~2010-07-20 11:00 UTC|newest]
Thread overview: 21+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-07-12 14:10 [Xenomai-help] Marvell sheeva support Tim Cussins
2010-07-15 11:53 ` Gilles Chanteperdrix
2010-07-15 16:11 ` Philippe Gerum
2010-07-20 11:00 ` Tim Cussins [this message]
2010-07-21 6:23 ` Gilles Chanteperdrix
2010-08-11 14:58 ` Tim Cussins
2010-08-11 15:25 ` Gilles Chanteperdrix
2010-08-11 16:33 ` Tim Cussins
2010-08-11 15:28 ` Philippe Gerum
2010-08-11 16:24 ` Tim Cussins
[not found] ` <1281544161.1730.23.camel@domain.hid>
2010-08-11 16:44 ` Tim Cussins
2010-08-11 16:56 ` Gilles Chanteperdrix
2010-08-12 15:04 ` Tim Cussins
2010-08-12 15:11 ` Gilles Chanteperdrix
2010-08-11 16:30 ` Philippe Gerum
2010-08-12 15:45 ` Tim Cussins
2010-08-12 15:58 ` Philippe Gerum
2010-08-12 16:03 ` Philippe Gerum
2010-08-12 16:21 ` Tim Cussins
2010-08-16 11:00 ` Tim Cussins
2010-07-21 9:50 ` Philippe Gerum
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=1279623645.2187.35.camel@domain.hid \
--to=timcussins@domain.hid \
--cc=rpm@xenomai.org \
--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.