All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Charles Steinkuehler <charles@steinkuehler.net>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Building BeagleBone kernel from git
Date: Tue, 20 Aug 2013 21:55:25 +0200	[thread overview]
Message-ID: <5213C9AD.2010903@xenomai.org> (raw)
In-Reply-To: <5213C836.403@steinkuehler.net>

On 08/20/2013 09:49 PM, Charles Steinkuehler wrote:
> On 8/20/2013 1:39 PM, Gilles Chanteperdrix wrote:
>> On 08/20/2013 04:58 PM, Charles Steinkuehler wrote:
>>> I am currently working with LinuxCNC in a xenomai real-time
>>> environment on the BeagleBone:
>>> 
>>> http://bb-lcnc.blogspot.com/p/machinekit_16.html
>>> 
>>> Everything is working well, but the kernel is being built using
>>> an out-of-tree patch set obtained by Michael Haberler.
>>> 
>>> I would like to switch to using a more 'official' xenomai build
>>> from git, but am unclear how to proceed.
>>> 
>>> Which git repository/branch would be the most appropriate for
>>> use in building a xenomai kernel for the BeagleBone / AM335x
>>> SoC?
>>> 
>>> Are there any 'gotchas' when using xenomai from git, or do the 
>>> instructions and procedures for using a released version
>>> apply?
>> 
>> You can use kernel from the I-pipe git at: 
>> git://git.xenomai.org/ipipe.git branch ipipe-3.8
> 
> Thanks!  I wasn't sure if I could use one of the ipipe branches or
> if I still needed to use one of the personal branches.
> 
>> And xenomai from the xenomai 2.6 git at: 
>> git://git.xenomai.org/xenomai-2.6.git branch master
>> 
>> The only difference in the installation procedure when using this
>> kernel with this version of Xenomai is that the
>> "prepare-kernel.sh" script will not apply the I-pipe patch to the
>> kernel, since the kernel is already patched, so the argument to
>> the "--adeos" parameter of prepare-kernel.sh is ignored.
> 
> OK, stupid question:
> 
> I see the ipipe branch has the kernel source, but I need to apply
> the patches to a non-stock kernel (ie: a mainline 3.8.13 kernel
> patched with the BeagleBone patch set).  Is there a way to get the
> prepare-kernel.sh script and/or a patch set to apply to a mainline
> kernel out of the ipipe git branch?
> 
> Sorry if this is a total newbie question, but I see instructions
> for using the prepare-kernel.sh script on a kernel directory, and 
> instructions for using the ipipe kernel source directly, but not
> how to get from one to the other.
> 
You want the I-pipe patch. To generate it, in the I-pipe tree, try:

./scripts/ipipe/genpatches.sh

You should then find a file ipipe-core-3.8.13-arm-1.patch which you
can try and apply to another tree, possibly additionally patching with
pre and post patches (respectively before and after the I-pipe patch).

-- 
                                                                Gilles.


  reply	other threads:[~2013-08-20 19:55 UTC|newest]

Thread overview: 24+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2013-08-20 14:58 [Xenomai] Building BeagleBone kernel from git Charles Steinkuehler
2013-08-20 18:39 ` Gilles Chanteperdrix
2013-08-20 18:45   ` Sagar Behere
2013-08-21  5:53     ` Michael Haberler
2013-08-21  8:45       ` Jan Kiszka
2013-08-20 19:49   ` Charles Steinkuehler
2013-08-20 19:55     ` Gilles Chanteperdrix [this message]
2013-08-20 20:25       ` Charles Steinkuehler
2013-08-20 22:37         ` Charles Steinkuehler
2013-08-20 23:12           ` Gilles Chanteperdrix
2013-08-21 22:15             ` [Xenomai] [PATCH] Fix for awk vs. gawk Charles Steinkuehler
2013-08-25 23:54               ` Gilles Chanteperdrix
2013-08-21 13:16         ` [Xenomai] Building BeagleBone kernel from git Charles Steinkuehler
2013-08-21 18:25           ` Gilles Chanteperdrix
2013-08-24 17:10             ` Ralf Roesch
2013-08-24 17:54               ` Michael Haberler
2013-08-25  0:59               ` Charles Steinkuehler
2013-08-25  7:24                 ` Ralf Roesch
2013-08-27 19:59             ` [Xenomai] [PATCH] BeagleBone 3.8.13 pre/post patches Charles Steinkuehler
2013-08-27 21:12               ` Gilles Chanteperdrix
2013-08-27 21:13                 ` Gilles Chanteperdrix
2013-08-27 21:57                   ` Charles Steinkuehler
2013-09-10 18:48               ` Gilles Chanteperdrix
2013-09-10 21:20                 ` Charles Steinkuehler

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=5213C9AD.2010903@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=charles@steinkuehler.net \
    --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.