All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jan Kiszka <jan.kiszka@domain.hid>
To: Gregory CLEMENT <gclement00@domain.hid>
Cc: BOUIN Alexandre <abouin@domain.hid>, adeos-main@gna.org
Subject: Re: [Adeos-main] AT91SAM9261 adeos support for 2.6.19 kernel
Date: Wed, 11 Apr 2007 13:04:36 +0200	[thread overview]
Message-ID: <461CC0C4.2060000@domain.hid> (raw)
In-Reply-To: <305035a40704110221u348611ebs8fb73b7ddb0f8bd3@domain.hid>

[-- Attachment #1: Type: text/plain, Size: 3480 bytes --]

Gregory CLEMENT wrote:
> 2007/4/11, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
>> Gregory CLEMENT wrote:
>>> 2007/4/10, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org>:
>>>
>>>> Gregory CLEMENT wrote:
>>>>
>>>>> Hello,
>>>>>
>>>>> We port the adeos-ipipe-2.6.19-arm-1.6-05.patch for AT91SAM9261.
>>>>>
>>>>> This patch must be applied on vanilla 2.6.19 with at91 patch (
>>>>> http://maxim.org.za/AT91RM9200/2.6/2.6.19-at91.patch.gz ) applied for
>>>>> supporting AT91SAM9261.
>>>>> So first get vanilla kernel, then apply at91 patch then apply our
>>>>> patch instead of adeos-ipipe-2.6.19-arm-1.6-05.patch.
>>>>>
>>>>> For now it works with Xenomai on AT91SAM9261-EK, if someone is
>>>>> intersting we can send the benchmark result.
>>>>> As AT91SAM926x are pretty similar of AT91RM9200, there is a some
>>>>> duplicate code and some common code.
>>>>> In the future it could be also work on all AT91SAM926x, we can test
>>>>> it. But before going ahead we would like some comment on this patch.
>>>>>
>>>>> The better would be working on 2.6.20 which already have support for
>>>>> AT91SAM926x, but we didn't see any arm patch on this kernel nor any
>>>>> file modified on git.
>>>>>
>>>>> Hope this patch will be usefull.
>>>> It looks good. I will try and port the I-pipe patch for ARM to Linux
>>>> 2.6.20. In the meantime, could you separate the AT91SAM9261 specific
>>>> code and the changes (if any) made to the rest of the I-pipe from the
>>>> rest of the I-pipe ? This would ease distribution and maintenance.
>>>
>>> OK I made a diff between our patch and
>>> adeos-ipipe-2.6.19-arm-1.6-05.patch. I had to reworked our patch for
>>> removing fake difference.
>>> As you will see there is not many difference between the 2 patchs and
>>> we don't modify the rest of I-pipe.
>>> There is also difference due to the fact that we made our patch on a
>>> kernel patched with at91 whereas adeos patch was made on vanilla
>>> kernel.
>>>
>>> As this diff file isn't really readeable, I can say that the main file
>>> we modified are:
>>> * arch/arm/mach-at91rm9200/Kconfig
>>> -> here we add support for AT91SAM9261
>>>
>>> * arch/arm/mach-at91rm9200/at91sam9261.c
>>> -> here we add support for TCB0 and modify interrupt priority in the
>>> same way of AT91RM9200
>>>
>>> * arch/arm/mach-at91rm9200/at91sam926x_time.c
>>> -> and here we add the same code that was in
>>> arch/arm/mach-at91rm9200/at91rm9200_time.c. As it is exactly the same
>>> code added as we use the same peripheral, maybe we can add a common
>>> file ( an at91_ipipe_time.c), instead of having duplicated code.
>> Sorry, I did not make myself clear, I would like a difference between
>> the trees, not between the diffs. In other words, the modifications you
>> made.
> 
> Well this differences show the modification we made, but I agree it is
> not really readable.
> 
> Between which tree do you want the diffs ?
> Vanilla kernel +adeos patch  and at91 patched kernel + our patch ?
> With this you'll have a lot of at91 patch in it.
> 
> Maybe we can try to make a diff between
> at91 patched kernel +adeos patch  and at91 patched kernel + our patch ?
> But with this solution we have to made some modification on adeos
> patch for applying it on at91 patched kernel.
> 
> Last solution is to attach the file modified.

Already tried interdiff between to original ipipe patch and your version?

Jan


[-- Attachment #2: OpenPGP digital signature --]
[-- Type: application/pgp-signature, Size: 250 bytes --]

  reply	other threads:[~2007-04-11 11:04 UTC|newest]

Thread overview: 27+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2007-04-10 16:47 [Adeos-main] AT91SAM9261 adeos support for 2.6.19 kernel Gregory CLEMENT
2007-04-10 17:15 ` Gilles Chanteperdrix
2007-04-11  9:01   ` Gregory CLEMENT
2007-04-11  9:10     ` Gilles Chanteperdrix
2007-04-11  9:21       ` Gregory CLEMENT
2007-04-11 11:04         ` Jan Kiszka [this message]
2007-04-11 12:15         ` Gilles Chanteperdrix
2007-04-17 21:42           ` Gilles Chanteperdrix
2007-04-18  9:51             ` Gregory CLEMENT
2007-04-18 19:50               ` Gilles Chanteperdrix
2007-04-18 20:55                 ` Gilles Chanteperdrix
2007-04-20  8:32                   ` Gregory CLEMENT
2007-04-20  8:41                     ` Gilles Chanteperdrix
2007-04-10 17:20 ` [Xenomai-core] " Gregory CLEMENT
2007-04-12 17:24 ` [Adeos-main] " Jose Pascual
2007-04-12 17:31   ` Gilles Chanteperdrix
2007-04-13  7:55     ` Jose Pascual
2007-04-13  8:53       ` Gilles Chanteperdrix
2007-04-20  8:17       ` Gilles Chanteperdrix
     [not found]         ` <00e801c78328$d2569a90$7703cfb0$@com>
2007-04-20  9:07           ` Gilles Chanteperdrix
2007-04-23  8:29             ` Jan Kiszka
2007-04-13  7:58     ` Jose Pascual
2007-04-13  8:59       ` Gilles Chanteperdrix
     [not found] <403B28AE6257B548B66BB88414AC78330174BBCE@STEGOSAURE.adetel.com>
2007-04-16 14:02 ` Gilles Chanteperdrix
2007-04-16 14:35   ` BOUIN Alexandre
     [not found] <403B28AE6257B548B66BB88414AC78330174BBD5@domain.hid>
2007-04-18  9:43 ` BOUIN Alexandre
2007-04-18  9:48   ` 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=461CC0C4.2060000@domain.hid \
    --to=jan.kiszka@domain.hid \
    --cc=abouin@domain.hid \
    --cc=adeos-main@gna.org \
    --cc=gclement00@domain.hid \
    /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.