All of lore.kernel.org
 help / color / mirror / Atom feed
From: Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>
To: marc doz <doz.marc@domain.hid>
Cc: xenomai@xenomai.org
Subject: Re: [Xenomai-help] kernel compilation problem with a Cortex A8, AM3517 EVM
Date: Mon, 23 Aug 2010 13:51:16 +0200	[thread overview]
Message-ID: <4C7260B4.4070100@domain.hid> (raw)
In-Reply-To: <AANLkTi=-7yEyDLn1tBmzkxMK+=Tr4F-7XNGdtzoespod@domain.hid>

marc doz wrote:
> Hi,
> I don't know where do you from my vendor kernel but it seems that it
> is a 2.6.32 kernel.

I have no doubt that it is a 2.6.32 kernel. The question is to know
whether it is a vanilla kernel, i.e. coming from kernel.org. Since in
your first post the kernel directory was named linux_0030 or something
like that, I assumed it was not. But in any case it does not change
anything since the I-pipe patch for arm does not exist for linux-2.6.32
either.

> This is my first time with git ! so I will need that you valid my
> method, please.
> 
> I test with these commands :
> 
> #git clone git://git.denx.de/ipipe-2.6.git
> #git checkout -branch -b ipipe-2.6.32-noarch origin/ipipe-2.6.32-noarch
> #git checkout -b vendor
> #cp -vR ../TI_linux/* ./

It will work better if the branch "vendor" comes from the vendor git.

> #git add *
> #git commit
> #git checkout ipipe-2.6.32-noarch
> #git merge vendor

Ill-chosen name. Since this is the branch where you will make the merge,
you should call it, say, vendor+ipipe-2.6.32-arm. Having a branch called
ipipe-2.6.32-noarch which in fact contains the vendor kernel patches with

> --> no error, no warning

That was expected.

> #git checkout -branch -b ipipe-2.6.31-noarch origin/ipipe-2.6.31-noarch
> #git checkout -branch -b ipipe-2.6.31-arm origin/ipipe-2.6.31-arm

You do not really need to checkout this branches. All you need is to
generate the patch with:
git diff origin/ipipe-2.6.31-noarch origin/ipipe-2.6.31-arm

> #git checkout ipipe-2.6.32-noarch
> #cat ../result.patch | patch -p1
> #find . -name '*.reji'

The rejects are expected, you are applying changes for a 2.6.31 kernel
to a 2.6.32 kernel, vendor-specific or not, this makes rejects. Anyway,
maybe you will get less rejects if you use 2.6.33 instead of 2.6.31.

Rejects in entry-*.S are no good sign, and will be hard to fix (without
more knowledge of the Adeos patch). Please try 2.6.33.

-- 
					    Gilles.


  reply	other threads:[~2010-08-23 11:51 UTC|newest]

Thread overview: 17+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2010-08-18 12:37 [Xenomai-help] kernel compilation problem with a Cortex A8, AM3517 EVM marc doz
2010-08-18 12:45 ` Gilles Chanteperdrix
2010-08-18 12:51 ` Gilles Chanteperdrix
2010-08-18 13:58   ` marc doz
2010-08-19 15:10     ` marc doz
2010-08-19 15:21       ` Gilles Chanteperdrix
2010-08-23 11:39         ` marc doz
2010-08-23 11:51           ` Gilles Chanteperdrix [this message]
2010-08-23 12:26             ` Gilles Chanteperdrix
2010-08-23 13:04               ` marc doz
2010-08-23 13:16                 ` Gilles Chanteperdrix
2010-08-24 13:12                   ` Flavio de Castro Alves Filho
2010-08-24 13:37                   ` marc doz
2010-08-24 15:03                     ` Flavio de Castro Alves Filho
2010-08-26 10:24                       ` marc doz
2010-08-26 12:32                         ` Gilles Chanteperdrix
     [not found]                           ` <AANLkTinWX2q41qgKgPGbYKiaTQ3rNYZCHA+E=UFT9fFh@domain.hid>
2010-08-27  8:45                             ` 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=4C7260B4.4070100@domain.hid \
    --to=gilles.chanteperdrix@xenomai.org \
    --cc=doz.marc@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.