All of lore.kernel.org
 help / color / mirror / Atom feed
From: Charles Steinkuehler <charles@steinkuehler.net>
To: xenomai@xenomai.org
Subject: Re: [Xenomai] Building BeagleBone kernel from git
Date: Wed, 21 Aug 2013 08:16:49 -0500	[thread overview]
Message-ID: <5214BDC1.30104@steinkuehler.net> (raw)
In-Reply-To: <5213D09E.80103@steinkuehler.net>

On 8/20/2013 3:25 PM, Charles Steinkuehler wrote:
> On 8/20/2013 2:55 PM, Gilles Chanteperdrix wrote:
>> On 08/20/2013 09:49 PM, Charles Steinkuehler wrote:
>>> 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).
> 
> Yep, that sounds like exactly what I want!  Thanks for the help!!
> 
> I'll report back if I run into more issues or if everything works out
> OK.  I am trying to integrate the xenomai patches into a customized
> version of Robert C. Nelson's BeagleBone kernel build scripts:
> 
> https://github.com/cdsteinkuehler/linux-dev

Thanks again for the help!

I managed to get a working xenomai kernel from the automated builds.  I
have only done light testing so far, but there didn't look to be any
major issues with the process.

Additions to the "stock" RCN kernel build:

I pull the ipipe-3.8 branch from git and use it to generate an ipipe
patch file

The ipipe patch is applied to a BeagleBone patched kernel tree [1]

I pull xenomai 2.6 (master) from git and run it's setup_kernel.sh on the
ipipe patched source tree

...build continues as usual.

More testing needs to be done, but it looks good so far!

[1] There was one hunk I could not get to apply automatically.  The code
in gpmc.c has changed extensively enough that git apply doesn't work
with this file.  To work around this, I skip this file when applying the
ipipe patch, and use a manual fix-up of the trivial 2-line change:

https://github.com/cdsteinkuehler/linux-dev/blob/am33x-v3.8-bone26-xenomai/patches/xenomai/0001-ipipe-core-3.8.13-arm-1.gpmc.patch

There's probably a better way to work around this problem, but this
should do until the next official xenomai release comes out...any day
now, right?!?  :)  Anyway, it doesn't look like it will be that hard to
roll forward with updated ipipe or xenomai patches.

Thanks again!!

-- 
Charles Steinkuehler
charles@steinkuehler.net

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 261 bytes
Desc: OpenPGP digital signature
URL: <http://www.xenomai.org/pipermail/xenomai/attachments/20130821/bb1c91c7/attachment.pgp>

  parent reply	other threads:[~2013-08-21 13:16 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
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         ` Charles Steinkuehler [this message]
2013-08-21 18:25           ` [Xenomai] Building BeagleBone kernel from git 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=5214BDC1.30104@steinkuehler.net \
    --to=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.