All of lore.kernel.org
 help / color / mirror / Atom feed
From: Philippe Gerum <rpm@xenomai.org>
To: Randy Smith <rsmith@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] Questions porting existing rtai-24.1.12 app to xenomai (PART II)
Date: Wed, 05 Apr 2006 18:45:53 +0200	[thread overview]
Message-ID: <4433F441.2080309@domain.hid> (raw)
In-Reply-To: <4433DC01.6060104@domain.hid>

Randy Smith wrote:
> 
> 
> Philippe Gerum wrote:
> 
>>
>> Ok, just to be 100% sure, I've just tried the following on a stock 
>> 2.1.0 grabbed from the mirror:
>>
>> ../somewhere/xenomai-2.1.0/configure --build=i686-linux 
>> --host=ppc-linux --prefix=$HOME/xenomai-install  CC=ppc_82xx-gcc 
>> CXX=ppc_82xx-gcc AR=ppc_82xx-ar LD=ppc_82xx-ld
>>
>> The resulting tree builds and install fine under $HOME/xenomai-install 
>> afterwards. There is no kernel dependency whatsoever since the 
>> user-space support does not even know about the kernel version which 
>> is going to be used in the first place, so we should be able to get 
>> the same user-space setup. Could you try rebuilding in a clean build 
>> tree using equivalent switches at config time, and let me know of the 
>> outcome? TIA,
>>
> Philippe,
> 
> Thanks for your patient help.  I did what you asked and it works fine 
> for the user side.
> 
> The kernel side is what is screwed up.  I am using the ELDK 3.1 from the 
> DENX CD and when I try applying the Adeos patch, it fails in several 
> places.  I ended up applying the patch by hand and I only had a few 
> places where I was scratching my head as to where to apply the changes 
> so that might be what I screwed up.  Is the 
> xenomai-2.1.0/ksrc/arch/powerpc/patches/adeos-ipipe-2.4.25-ppc-denx-1.0-03.patch 
> supposed to apply to the develop tree for ELDK 3.1 instead??  I couldn't 
> make heads or tails of the numbering scheme used on the patch wrt the 
> "denx-1.0-03" part.

Wrt 2.4 kernels, the project provides patches against snapshots of 
Denx's development tree, accessible from 
http://www.denx.de/en/Software/CVS. The date of the snapshot was missing 
in the patch filenames, which introduced a fair amount of confusion; 
this has been fixed in the repository. All 2.4-based Adeos patches for 
ppc have been built against Denx's devel tree as of 2005-11-09 so far. 
The Adeos version is always given by the trailing rev. number of any 
patch filename, e.g. 1.0-04 is the latest Adeos rev. for 2.4/ppc kernels.

For 2.6/ppc kernels, we provide patches against vanilla kernel trees as 
released by kernel.org.

> I'm so close...and I really want to figure this out.
> 

Ok, it's a bit early for Xmas gifts, but anyway, try this patch on 
2.4.25-11 as shipped with the ELDK 3.1:

http://download.gna.org/adeos/patches/v2.4/ppc/adeos-ipipe-2.4.25-11-ppc-denx-1.0-04.patch

-- 

Philippe.


  reply	other threads:[~2006-04-05 16:45 UTC|newest]

Thread overview: 18+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-04-04  8:32 [Xenomai-help] Questions porting existing rtai-24.1.12 app toxenomai Fillod Stephane
2006-04-04 14:24 ` [Xenomai-help] Questions porting existing rtai-24.1.12 app to xenomai (PART II) Randy Smith
2006-04-04 14:15   ` Philippe Gerum
2006-04-04 15:32     ` Randy Smith
2006-04-04 16:21       ` Philippe Gerum
2006-04-05 15:02         ` Randy Smith
2006-04-05 16:45           ` Philippe Gerum [this message]
2006-04-05 20:54             ` Randy Smith
2006-04-05 22:02               ` Philippe Gerum
2006-04-12 16:11               ` Randy Smith
2006-04-06  3:38 ` [Xenomai-help] question about the latency test running on Blackfin adam li
2006-04-06  7:05   ` Philippe Gerum
2006-04-07 12:27     ` adam li
2006-04-07 12:37       ` Philippe Gerum
2006-04-12  2:42         ` Li Yi
2006-04-12  7:46           ` Jan Kiszka
2006-04-12 12:28             ` adam li
2006-04-12 17:38               ` Jan Kiszka

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=4433F441.2080309@domain.hid \
    --to=rpm@xenomai.org \
    --cc=rsmith@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.