All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Felipe Brandão Cavalcanti" <cavalkaf@domain.hid>
Cc: "xenomai@xenomai.org" <xenomai@xenomai.org>
Subject: Re: [Xenomai-help] Xenomai and Gumstix Overo
Date: Thu, 01 Jul 2010 08:49:24 +0200	[thread overview]
Message-ID: <4C2C3A74.6010608@domain.hid> (raw)
In-Reply-To: <AANLkTikdRdEXJd97HKlWzUmon8bu94n-ATNozWyOmTOu@domain.hid>

Felipe Brandão Cavalcanti wrote:
> I am actually trying to do the exact same thing.
> 
> On Wed, Jun 30, 2010 at 5:28 AM, Gilles Chanteperdrix <
> gilles.chanteperdrix@xenomai.org> wrote:
> 
>> Fredrik Asplund wrote:
>>>> Xenomai 2.5.3 was tested on OMAP3 with the mainline kernel. If you
>>>> absolutely want to use this vendor branch, you will have to fix the
>>>>  patch rejects by hand.
>>> Ok, yes, I thought so. I guess I was hoping someone had done the same
>>> thing and had some pointers on what to do in this specific case (i.e.
>>> applying Xenomai using Bitbake on a vendor branch).
>>>
>>> I will try to apply the patch rejects (I want to deviate from the
>>> original setup as little as possible, at least to begin with)
>> If you do not want to deviate from Xenomai usual setup, use the mainline
>> kernel. If I were you, I would have serious doubts on a vendor kernel
>> which touches generic files such as include/asm/cacheflush.h in order to
>> add some board-specific code.
>>
>>
> My first choice was to run a vanilla kernel, but no luck - didn't find any
> suitable config files, or any reports of success. I am on the same system -
> Gumstix Overo, kernel 2.6.33, Xenomai 2.5.3.

The 2.6.33 kernel has an overo_defconfig. This defconfig sets
CONFIG_MACH_OVERO. arch/arm/mach-omap2/Kconfig contains the following lines:

config MACH_OVERO
        bool "Gumstix Overo board"
        depends on ARCH_OMAP3 && ARCH_OMAP34XX
        select OMAP_PACKAGE_CBB

So, it looks to me like the vanilla kernel supports Gumstix overo.

> 
> Anyway, I've managed to change the files manually - the changes seem very
> minor (the changes in include/asm/cacheflush.h just move a function
> elsewhere, no code changes at all).

That is not the point. The point is that to add support for a board, you
should not mess with generic code. So, it is probably safer to get the
vanilla support working. The I-pipe patch modifies only SOC-specific
files, so, any well written board support which adds board-specific
files should merge with the I-pipe patch without any reject.

> 
> However, I am having problems with the kernel - any user-space Xenomai
> program gives me the following error:
> Xenomai or CONFIG_OPT_PERVASIVE disabled.
> (modprobe xeno_nucleus?)

is CONFIG_XENO_OPT_PERVASIVE in your configuration?

> All the logs seem normal to me (I-pipe reports normal starup, Xenomai
> reports successful start). I am starting to think that one of my changes to
> the kernel might be making the system to fail silently.

I use Xenomai 2.5.3 on an OMAP3 based board without any problems. So,
yes, either you are mis-configured (in order to check that, just use
Xenomai default configuration), or your kernel is broken.

> 
> So, any clues? I can send my changes and logs tomorrow morning, if they are
> of any help.
> 
> Another option which I am considering is trying Xenomai with the 2.6.31
> kernel, or maybe even 2.6.30 or 2.6.28.

I am sorry, but I am not willing to debug this, I am afraid you are on
your own.

-- 
					    Gilles.



  parent reply	other threads:[~2010-07-01  6:49 UTC|newest]

Thread overview: 32+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-06-29 19:40 [Xenomai-help] Xenomai and Gumstix Overo Fredrik Asplund
2010-06-29 20:03 ` Gilles Chanteperdrix
2010-06-30  8:17   ` Fredrik Asplund
2010-06-30  8:28     ` Gilles Chanteperdrix
2010-06-30 21:58       ` Felipe Brandão Cavalcanti
2010-07-01  3:01         ` Thomas Lockhart
2010-07-01  6:49         ` Gilles Chanteperdrix [this message]
2010-07-01  7:17           ` Gilles Chanteperdrix
2010-07-01  8:11         ` Fredrik Asplund
2010-07-01  8:59           ` Fredrik Asplund
2010-07-01  9:54             ` Gilles Chanteperdrix
2010-07-01 10:16               ` Fredrik Asplund
2010-07-01 12:22         ` Fredrik Asplund
2010-07-01 23:25           ` Felipe Brandão Cavalcanti
2010-07-02  7:33             ` Fredrik Asplund
2010-07-02 12:29               ` Fredrik Asplund
2010-07-02 12:35                 ` Felipe Brandão Cavalcanti
2010-07-02 12:40                 ` Gilles Chanteperdrix
2010-07-02 12:45                   ` Fredrik Asplund
2010-07-02 12:59                     ` Felipe Brandão Cavalcanti
2010-07-03  9:07                       ` Fredrik Asplund
2010-07-03 19:53                         ` Felipe Brandão Cavalcanti
2010-07-05  7:44                           ` Fredrik Asplund
2010-07-05 13:13                             ` Felipe Brandão Cavalcanti
2010-07-05 13:21                               ` Fredrik Asplund
2010-07-05 13:34                                 ` Fredrik Asplund
2010-07-05 20:15                                   ` Felipe Brandão Cavalcanti
2010-07-03 20:04                         ` Gilles Chanteperdrix
2010-07-05  7:52                           ` Fredrik Asplund
2010-07-02  8:14             ` Gilles Chanteperdrix
2010-07-02 12:34               ` Felipe Brandão Cavalcanti
2010-07-02 12:39                 ` 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=4C2C3A74.6010608@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=cavalkaf@domain.hid \
    --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.