All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: "Marcin Kuśka" <marckuska@gmail.com>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai] unsupported ARM9 machine
Date: Fri, 22 Jun 2012 15:13:03 +0200	[thread overview]
Message-ID: <4FE46F5F.1060500@xenomai.org> (raw)
In-Reply-To: <CAHue_TXMiLTxiK2ZORVccov2wqd+ML-H0zwhLoDYh+7+8_56xw@mail.gmail.com>

On 06/22/2012 03:07 PM, Marcin Kuśka wrote:
> 2012/6/13 Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
> 
>>
>> For instance, the fact that you are compiling both
>> arch/arm/common/timer-sp.c and smp_twd.c will lead to a conflict the way
>> timer-sp.c is currently made. omap4 has the same problem since for
>> instance arch/arm/mach-omap2/timer.c is compiled both in the omap3 and
>> the omap4 case. So, just look at how it is done, and do it the same way.
>>
>> Another simpler solution is to start from the ipipe core-3.2 branch,
>> which supports being built for several SOCs. However, it will require
>> upgrading to xenomai 2.6 branch head.
>>
>> --
>>                                                                Gilles.
>>
>>
> Ok I checked the arch/arm/common/timer-sp.c (i assume this file implements
> the timer for vexpress) and all the__ipipe_mach_timerint;
> __ipipe_mach_timerstolen; and so on, are there and there is nothing to be
> done there. I don't know if i understand you right. Which part should I do
> the same as with omap4?

The problem is that if you are compiling with CONFIG_SMP for a cortex
a9, there is also an __ipipe_mach_timerint, __ipipe_mach_timerstolen,
etc... in the generic code for cortex a9. So, you get multiple definitions.

omap4 has exactly the same problem, because it compiles some code which
is common with omap3, already modified for CONFIG_IPIPE.

So what you have to do is solve the multiple definitions for vexpress
the way they are solved for the omap4/omap3.

> 
> 
> About that simpler solution using ipipe core-3.2 branch. There is no ipipe
> core-3.2 at the http://download.gna.org/adeos/patches/v3.x/arm/ site or am
> I looking for wrong site?

Yes, I am talking about a branch in the adeos ipipe git repository. The
patch is not released yet. But anyway, for what you have to do, working
with git is much simpler than working with patches.

-- 
					    Gilles.


  reply	other threads:[~2012-06-22 13:13 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-06-05 12:20 [Xenomai] [Xenomai -help] unsupported ARM9 machine Marcin Kuśka
2012-06-05 12:27 ` [Xenomai] " Gilles Chanteperdrix
2012-06-05 15:34   ` Marcin Kuśka
2012-06-05 15:42     ` Gilles Chanteperdrix
2012-06-13 15:31       ` Marcin Kuśka
2012-06-13 20:14         ` Gilles Chanteperdrix
2012-06-22 13:07           ` Marcin Kuśka
2012-06-22 13:13             ` Gilles Chanteperdrix [this message]
2012-06-27 14:20               ` Marcin Kuśka
2012-06-27 15:18                 ` Gilles Chanteperdrix
2012-06-27 15:45                   ` Marcin Kuśka
2012-06-27 16:18                     ` Gilles Chanteperdrix
2012-07-03 16:49                       ` Marcin Kuśka
2012-07-03 16:55                         ` Gilles Chanteperdrix
2012-07-06 12:06                           ` Marcin Kuśka
2012-07-06 12:18                             ` Gilles Chanteperdrix
2012-06-05 18:16     ` 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=4FE46F5F.1060500@xenomai.org \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=marckuska@gmail.com \
    --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.