All of lore.kernel.org
 help / color / mirror / Atom feed
From: Wayne Warren <wwarren@emacinc.com>
To: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel
Date: Thu, 04 Oct 2012 11:57:02 -0500	[thread overview]
Message-ID: <1349369822.3775.107.camel@ENG-09-LX.emacinc.com> (raw)
In-Reply-To: <506B5E0E.5050900@xenomai.org>

Gilles,

Thanks for your help!

The ArmPorting guide is helpful, but unfortunately the first tip and
trick did not reveal any boot messages. I had to add a function
declaration for "printascii" to get the code to compile. I have
CONFIG_DEBUG_KERNEL, CONFIG_DEBUG_LL, and CONFIG_EARLY_PRINTK enabled
and have passed the boot parameter "earlyprintk" when attempting to
boot. 

According to 

http://www.xenomai.org/index.php/I-pipe-core:ArmPorting

(which seems to be a newer version of the page you mentioned) I should
try to boot the kernel without CONFIG_IPIPE or CONFIG_XENOMAI enabled
and if it does not work it is likely to be a problem with the timer.

I have then used "git diff --name-only <known-working-ti-kernel-ref>
<ipipe-merged-ref>" to get a list of files and I have been looking
through their current versions alongside a diff of each given file while
reading to the instructions provided in both the old and the new
ArmPorting guides to see what might have changed in timer-related code
that would prevent the kernel from booting.

If you have any additional advice, I would greatly appreciate it. Also,
if I could get an account on the Xenomai wiki, there are some simple
changes I would make to the ArmPorting page to improve its readability a
little (for example, create indented paragraphs for the description of
the "struct ipipe_timer" members). I guess I don't really have anything
concrete or technical to add to it so if you don't want to add me, I
understand.

Thanks again for your generous help!

Wayne

On Tue, 2012-10-02 at 23:35 +0200, Gilles Chanteperdrix wrote:
> On 10/02/2012 11:32 PM, Gilles Chanteperdrix wrote:
> 
> > On 10/02/2012 11:08 PM, Wayne Warren wrote:
> > 
> >> Howdy folks,
> > 
> > 
> > Hi
> > 
> > (snip)
> >> The tag that I have my eye on is ipip-2.6.37.6-arm-1.18-03 which I
> > 
> >> believe would correspond with the .patch file listed above. In fact, I
> >> have applied this patch and again resolved the merge conflicts, but run
> >> into a problem in that the Makefile/Kconfig kernel configuration
> >> variables do not seem to be included in that code. What seems to happen
> >> instead in the prepare-kernel.sh script adds them when patching the
> >> kernel. It seems like this script may do other important tasks as well.
> >>
> >> I am hoping someone can advise me with regard to either how to proceed
> >> without those variables or maybe offer advice for generally how to
> >> proceed with this attempt to pull in the i-pipe patches for a
> >> vendor-specific kernel branch.
> > 
> > 
> > You need to run prepare-kernel.sh with the I-pipe tree as well.
> > prepare-kernel.sh will simply skip the step where it tries to apply the
> > adeos patch. Actually, that is the way we maintain the Xenomai and the
> > I-pipe patch: we work with git and compile the prepared kernel.
> > 
> > To merge the I-pipe tree with a vendor tree, you can use git merge.
> 
> 
> Also note that there is a guide for porting the I-pipe patch to a new board:
> http://www.xenomai.org/index.php/I-pipe:ArmPorting
> 
> It is a bit outdated for 2.6.37, so, look at an architecture which works
> (for instance omap3) to know what to do.
> 
> In your case, you should try the first entry in the "tips and tricks"
> section.
> 



  reply	other threads:[~2012-10-04 16:57 UTC|newest]

Thread overview: 34+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-10-02 21:08 [Xenomai] Adeos I-Pipe patch problem on vendor-specific kernel Wayne Warren
2012-10-02 21:32 ` Gilles Chanteperdrix
2012-10-02 21:35   ` Gilles Chanteperdrix
2012-10-04 16:57     ` Wayne Warren [this message]
2012-10-04 17:09       ` Gilles Chanteperdrix
2012-10-04 18:02         ` Gilles Chanteperdrix
2012-10-05  8:06         ` Gilles Chanteperdrix
2012-10-05 18:47           ` Wayne Warren
2012-10-05 20:16             ` Gilles Chanteperdrix
2012-10-05 21:47               ` Wayne Warren
2012-10-05 22:43                 ` Gilles Chanteperdrix
2012-10-06  4:29                   ` Wayne Warren
2012-10-06  9:46                     ` Gilles Chanteperdrix
2012-10-09 20:55                       ` Wayne Warren
2012-10-09 21:12                         ` Gilles Chanteperdrix
2012-10-19 21:22                           ` Wayne Warren
2012-10-20  1:33                             ` Gilles Chanteperdrix
2012-10-22 19:22                               ` Wayne Warren
2012-10-22 19:25                                 ` Gilles Chanteperdrix
2012-10-22 19:34                                   ` Wayne Warren
2012-10-22 21:12                                     ` Gilles Chanteperdrix
2012-10-23 15:32                                       ` Wayne Warren
2012-10-23 20:12                                         ` Gilles Chanteperdrix
2012-10-24 17:32                                           ` Wayne Warren
2012-10-24 17:38                                             ` Gilles Chanteperdrix
2012-10-24 17:55                                               ` Wayne Warren
2012-10-24 18:05                                                 ` Gilles Chanteperdrix
2012-10-24 18:26                                                   ` Wayne Warren
2012-10-24 18:36                                                     ` Gilles Chanteperdrix
2012-10-24 17:36                                           ` Wayne Warren
2012-10-24 17:57                                             ` Gilles Chanteperdrix
2012-10-20  8:24                             ` Gilles Chanteperdrix
2012-10-19 21:32                           ` Wayne Warren
2012-10-20  1:36                             ` 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=1349369822.3775.107.camel@ENG-09-LX.emacinc.com \
    --to=wwarren@emacinc.com \
    --cc=gilles.chanteperdrix@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.