All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: Didenko Sergey <didenkos@domain.hid>
Cc: xenomai@xenomai.org, mohamad.sharifi@domain.hid,
	"Me (Samsung Account)" <d.sergey@domain.hid>,
	jorge.ramirez@domain.hid
Subject: Re: [Xenomai-help] Support for ARCH_MV88F6290
Date: Fri, 25 Sep 2009 10:37:20 +0200	[thread overview]
Message-ID: <4ABC8140.4000301@domain.hid> (raw)
In-Reply-To: <1f3e02580909242312i2a817f43y6a63a8d15631d3ec@domain.hid>

Didenko Sergey wrote:
> Hello All
> 
> I'm porting Xenomai 2.4.9 to the Linux Kernel 2.6.29.
> 
> Target platform is MV 88F6290

I do not find this platform anywhere, neither in the kernel source, nor
on the internet.

> CPU: ARM926EJ-S
> Adeos patch: adeos-ipipe-2.6.29-arm-1.13-03.patch
> 
> I do patch the kernel with xenomai and adeos:
> ./prepare-kernel.sh --arch=arm
> --linux=/.../kernel/linux-2.6.29-v02.00.29/
> --adeos=/.../xenomai-2.4.9/ksrc/arch/arm/patches/adeos-ipipe-2.6.29-arm-1.13-03.patch
> 
> Then I compile the Linux kernel.
> At the time when I start to compile the kernel I have to answer for many
> questions regarding configuration, it is Ok!
> But finally I got the compile error like:
> 
> ===
> arch/arm/kernel/ipipe.c: In function '__ipipe_grab_irq':
> arch/arm/kernel/ipipe.c:492: error: implicit declaration of function
> '__ipipe_mach_irq_mux_p'
> make[1]: *** [arch/arm/kernel/ipipe.o] Error 1
> make: *** [arch/arm/kernel] Error 2
> ===
> 
> the reason of this error is that there is no definition of the macro
> "__ipipe_mach_irq_mux_p" for the target platform as well as there are no
> the others CPU dependent definitions.
> 
> If I refer to the file "arch/arm/mach-at91/include/mach/irqs.h" all
> definitions like
> CONFIG_ARCH_AT91SAM9* are not defined

So, it is an AT91 something ?

> 
> But, in the Xenomai's build questionnaire messages (build time) I found
> next lines:
> 
> ===
> 
> *
> * System Type
> *
> ARM system type
>   1. Agilent AAEC-2000 based (ARCH_AAEC2000)
>  .
>  .
>  .
>   38. Nuvoton W90X900 CPU (ARCH_W90X900)
>> 39. Marvell MV88F6290 (ARCH_MV88F6290)
> choice[1-39]: 39
> 
> ===
> 
> Actually I did not select any system type anyhow. And it does not allow
> me to select it somehow, but the default choice is correct - system type
> is MV88F6290! I don't know why but it is a very nice that default system
> type is exactly what I need :) (please give some comments on it)
> 
> The questions!
> 
> 1) It looks like Xenomai do support the target SoC (MV88F6290), as well
> as do support processor type ARM926 it has.

There is no Xenomai code specific to a CPU core. What matters is what
SOC you are using, and from your description MV88F6290 is not a SOC, it
is a board. The SOC being an AT91 from what you told us. And yes, most
AT91 are supported.

> Then why I can not find the CPU dependent definitions in the patched
> kernel's source code?
> 2) What does it takes for you to support this system and CPU if it is
> not supported yet?

This question is an FAQ, the answer may be found here:
http://www.xenomai.org/index.php/I-pipe:ArmPorting
But from your description, if the SOC is really an AT91, what is missing
is probably just a #ifdef for its multiplexed GPIOS.

But if you tell me exactly what kernel sources you are using and send me
your .config, and I will be able to give you a definitive answer.

-- 
                                          Gilles



  reply	other threads:[~2009-09-25  8:37 UTC|newest]

Thread overview: 15+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2009-09-25  6:12 [Xenomai-help] Support for ARCH_MV88F6290 Didenko Sergey
2009-09-25  8:37 ` Gilles Chanteperdrix [this message]
     [not found]   ` <1f3e02580909250400r7595efw769fedac12b71fce@domain.hid>
     [not found]     ` <4ABCA99D.1040206@domain.hid>
     [not found]       ` <1f3e02580909250526v52a0408ex455cc22191f3802@domain.hid>
     [not found]         ` <4ABCC977.6010500@domain.hid>
     [not found]           ` <1f3e02580909280458ubf3f610he5e52aab1efa1cc6@domain.hid>
2009-09-29 16:27             ` Gilles Chanteperdrix
  -- strict thread matches above, loose matches on Subject: below --
2009-10-08  8:27 Didenko Sergey
2009-10-08  8:41 ` Gilles Chanteperdrix
2009-10-09  2:09   ` Didenko Sergey
2009-10-09  9:12     ` Gilles Chanteperdrix
2009-10-14  6:19 Didenko Sergey
2009-10-14  7:25 ` Gilles Chanteperdrix
2009-10-16  5:26   ` Didenko Sergey
2009-10-16  7:43     ` Gilles Chanteperdrix
2009-10-16  8:30       ` Didenko Sergey
2009-10-16  8:46         ` Gilles Chanteperdrix
2009-10-16  8:56           ` Didenko Sergey
2009-10-16  9:30             ` Didenko Sergey

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=4ABC8140.4000301@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=d.sergey@domain.hid \
    --cc=didenkos@domain.hid \
    --cc=jorge.ramirez@domain.hid \
    --cc=mohamad.sharifi@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.