From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Frede Florian <florian.frede@ma-info.de>, xenomai@xenomai.org
Subject: Re: [Xenomai] Xenomai on PhyCore/Board
Date: Thu, 03 Jul 2014 14:32:55 +0200 [thread overview]
Message-ID: <53B54D77.3020808@xenomai.org> (raw)
In-Reply-To: <53B512BB.9040908@ma-info.de>
On 07/03/2014 10:22 AM, Frede Florian wrote:
> Hello,
>
> We started a new real time project. For this project we decided to
> compare the PREEMPT_RT and Xenomai on our future hardware. For this we
> got two developer board from Phytec.
>
> * Linux-phyCORE-AM335x-Kit
> (https://www.osadl.org/Profile-of-system-in-rack-7-slot-5.qa-profile-r7s5.0.html)
> * phyBOARD-Wega-AM335x
> (https://www.osadl.org/Profile-of-system-in-rack-8-slot-8.qa-profile-r8s8.0.html)
>
> Now I have the Problem that I can not compile a running Linux with
> Xenomai on this board. The supplier delivers patches for Kernel 3.2 for
> the board and on the linked page I get patches for the Kernel 3.12.19.
>
> * Is there a possibility to run Xenomai on one on this kernel versions?
> * I am really no expert in writing patches for a Kernel so I need some
> help or a HowTo. Where can I find that help?
>
> Thanks for helping a Xenomai beginner.
It is sometimes easier to port the board-specific patches (in your case,
the ones provided by Phytec) to a kernel already supported by Xenomai,
than to port the I-pipe patch (the patch used by Xenomai) to a kernel
not already supported. What makes your situation even more complicated,
is that the I-pipe patches for mainline Linux do not support the AM335x
processor, people working with this processor seem to prefer working
with kernel forks, so the patches for AM335x only exist for one of these
forks (namely the Robert Nelson repository).
So, I would suggest:
- porting the Phytec patches to a recent kernel supported by Xenomai,
like 3.10.32 or 3.14;
- merge with the I-pipe patch using git, there should not be conflicts,
as the I-pipe patch and the board specific patches should not touch the
same files;
- port Xenomai to this new kernel, using ideas from the AM335x patches
in Xenomai repository.
For the last step, you can use the help found in the following document:
http://www.xenomai.org/index.php/I-pipe-core:ArmPorting
You will find AM335x specific patches (for the Robert Nelson fork) in
the directory ksrc/arch/arm/patches/beaglebone in Xenomai sources, with
instructions on how to apply them to this fork in
ksrc/arch/arm/patches/README.
For general help about Xenomai, you can start here:
http://www.xenomai.org/index.php/Getting_Started
--
Gilles.
next prev parent reply other threads:[~2014-07-03 12:32 UTC|newest]
Thread overview: 8+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-07-03 8:22 [Xenomai] Xenomai on PhyCore/Board Frede Florian
2014-07-03 12:32 ` Gilles Chanteperdrix [this message]
2014-07-22 6:48 ` Frede Florian
2014-07-27 16:45 ` Gilles Chanteperdrix
[not found] ` <9fc8c769e5b64478942864724e979a74@EX132MBOX1B.de2.local>
2014-07-07 10:44 ` Stoidner, Christoph
2014-07-07 12:17 ` Gilles Chanteperdrix
2014-07-07 12:20 ` Gilles Chanteperdrix
2014-07-07 12:26 ` Gilles Chanteperdrix
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=53B54D77.3020808@xenomai.org \
--to=gilles.chanteperdrix@xenomai.org \
--cc=florian.frede@ma-info.de \
--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.