All of lore.kernel.org
 help / color / mirror / Atom feed
* [Xenomai] kernel 3.12
@ 2016-04-18 12:46 Ran Shalit
  2016-04-18 13:45 ` Lennart Sorensen
  0 siblings, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-18 12:46 UTC (permalink / raw)
  To: xenomai

Hello,


I see in I-PIPE patch that kernel 3.12 is not provided in the link for
arm linux:

https://xenomai.org/downloads/ipipe/v3.x/arm/older/

Is there some way to use kernel 3.12 with Xenomai ?


Thank you,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 12:46 [Xenomai] kernel 3.12 Ran Shalit
@ 2016-04-18 13:45 ` Lennart Sorensen
  2016-04-18 13:47   ` Ran Shalit
  0 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-18 13:45 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Mon, Apr 18, 2016 at 03:46:52PM +0300, Ran Shalit wrote:
> I see in I-PIPE patch that kernel 3.12 is not provided in the link for
> arm linux:
> 
> https://xenomai.org/downloads/ipipe/v3.x/arm/older/
> 
> Is there some way to use kernel 3.12 with Xenomai ?

We have done it in the past (by backporting the 3.14 patch to 3.12),
but it is not officially supported by xenomai.

We have since moved to 3.14 which made things simpler overall than
sticking with 3.12.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 13:45 ` Lennart Sorensen
@ 2016-04-18 13:47   ` Ran Shalit
  2016-04-18 13:54     ` Lennart Sorensen
  0 siblings, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-18 13:47 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 18, 2016 at 4:45 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Mon, Apr 18, 2016 at 03:46:52PM +0300, Ran Shalit wrote:
>> I see in I-PIPE patch that kernel 3.12 is not provided in the link for
>> arm linux:
>>
>> https://xenomai.org/downloads/ipipe/v3.x/arm/older/
>>
>> Is there some way to use kernel 3.12 with Xenomai ?
>
> We have done it in the past (by backporting the 3.14 patch to 3.12),
> but it is not officially supported by xenomai.
>
> We have since moved to 3.14 which made things simpler overall than
> sticking with 3.12.
>
> --
> Len Sorensen

Hi Len,

Is there a link to that patch ? I would like to try it in my kernel.
We can't upgrade the kernel at this point, so we must use (3.12).

Thanks!
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 13:47   ` Ran Shalit
@ 2016-04-18 13:54     ` Lennart Sorensen
  2016-04-18 13:56       ` Ran Shalit
  0 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-18 13:54 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Mon, Apr 18, 2016 at 04:47:46PM +0300, Ran Shalit wrote:
> Is there a link to that patch ? I would like to try it in my kernel.
> We can't upgrade the kernel at this point, so we must use (3.12).

Well I put my patches on one of my web pages:

http://csclub.uwaterloo.ca/~lsorense/xenomai-3.12/

At least that might give you a starting point.

That is that last version of the patch before we moved to 3.14.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 13:54     ` Lennart Sorensen
@ 2016-04-18 13:56       ` Ran Shalit
  2016-04-18 14:28         ` Ran Shalit
  0 siblings, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-18 13:56 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 18, 2016 at 4:54 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Mon, Apr 18, 2016 at 04:47:46PM +0300, Ran Shalit wrote:
>> Is there a link to that patch ? I would like to try it in my kernel.
>> We can't upgrade the kernel at this point, so we must use (3.12).
>
> Well I put my patches on one of my web pages:
>
> http://csclub.uwaterloo.ca/~lsorense/xenomai-3.12/
>
> At least that might give you a starting point.
>
> That is that last version of the patch before we moved to 3.14.
>
> --
> Len Sorensen

Len,

That's really helpful ! I will try that.

Many thanks.

Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 13:56       ` Ran Shalit
@ 2016-04-18 14:28         ` Ran Shalit
  2016-04-18 14:30           ` Lennart Sorensen
  0 siblings, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-18 14:28 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 18, 2016 at 4:56 PM, Ran Shalit <ranshalit@gmail.com> wrote:
> On Mon, Apr 18, 2016 at 4:54 PM, Lennart Sorensen
> <lsorense@csclub.uwaterloo.ca> wrote:
>> On Mon, Apr 18, 2016 at 04:47:46PM +0300, Ran Shalit wrote:
>>> Is there a link to that patch ? I would like to try it in my kernel.
>>> We can't upgrade the kernel at this point, so we must use (3.12).
>>
>> Well I put my patches on one of my web pages:
>>
>> http://csclub.uwaterloo.ca/~lsorense/xenomai-3.12/
>>
>> At least that might give you a starting point.
>>
>> That is that last version of the patch before we moved to 3.14.
>>
>> --
>> Len Sorensen
>


Hi Len,

One more on this, if I may.
The kernel I am using is 3.12.0,
Does it mean that the patch (3.12.31) can be applied on 3.12.0 kernel
( or can it only be applied on 3.12.31 kernel) ?

Regards,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 14:28         ` Ran Shalit
@ 2016-04-18 14:30           ` Lennart Sorensen
  2016-04-24  7:21             ` Ran Shalit
  0 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-18 14:30 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Mon, Apr 18, 2016 at 05:28:26PM +0300, Ran Shalit wrote:
> On Mon, Apr 18, 2016 at 4:56 PM, Ran Shalit <ranshalit@gmail.com> wrote:
> > On Mon, Apr 18, 2016 at 4:54 PM, Lennart Sorensen
> > <lsorense@csclub.uwaterloo.ca> wrote:
> >> On Mon, Apr 18, 2016 at 04:47:46PM +0300, Ran Shalit wrote:
> >>> Is there a link to that patch ? I would like to try it in my kernel.
> >>> We can't upgrade the kernel at this point, so we must use (3.12).
> >>
> >> Well I put my patches on one of my web pages:
> >>
> >> http://csclub.uwaterloo.ca/~lsorense/xenomai-3.12/
> >>
> >> At least that might give you a starting point.
> >>
> >> That is that last version of the patch before we moved to 3.14.
> >>
> >> --
> >> Len Sorensen
> >
> 
> 
> Hi Len,
> 
> One more on this, if I may.
> The kernel I am using is 3.12.0,
> Does it mean that the patch (3.12.31) can be applied on 3.12.0 kernel
> ( or can it only be applied on 3.12.31 kernel) ?

I used 3.12.31, but it should be very minor tweaking to get it on 3.12.0.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-18 14:30           ` Lennart Sorensen
@ 2016-04-24  7:21             ` Ran Shalit
  2016-04-25 14:36               ` Lennart Sorensen
  0 siblings, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-24  7:21 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 18, 2016 at 5:30 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Mon, Apr 18, 2016 at 05:28:26PM +0300, Ran Shalit wrote:
>> On Mon, Apr 18, 2016 at 4:56 PM, Ran Shalit <ranshalit@gmail.com> wrote:
>> > On Mon, Apr 18, 2016 at 4:54 PM, Lennart Sorensen
>> > <lsorense@csclub.uwaterloo.ca> wrote:
>> >> On Mon, Apr 18, 2016 at 04:47:46PM +0300, Ran Shalit wrote:
>> >>> Is there a link to that patch ? I would like to try it in my kernel.
>> >>> We can't upgrade the kernel at this point, so we must use (3.12).
>> >>
>> >> Well I put my patches on one of my web pages:
>> >>
>> >> http://csclub.uwaterloo.ca/~lsorense/xenomai-3.12/
>> >>
>> >> At least that might give you a starting point.
>> >>
>> >> That is that last version of the patch before we moved to 3.14.
>> >>
>> >> --
>> >> Len Sorensen
>> >
>>
>>
>> Hi Len,
>>
>> One more on this, if I may.
>> The kernel I am using is 3.12.0,
>> Does it mean that the patch (3.12.31) can be applied on 3.12.0 kernel
>> ( or can it only be applied on 3.12.31 kernel) ?
>
> I used 3.12.31, but it should be very minor tweaking to get it on 3.12.0.
>
> --
> Len Sorensen

Hi Lan,

We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
Do you think the patch should be relevant for zynq ?
I see that xilinx have their own patch , but it is for older kernel 2.6.3
http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
SoC Linux--Patch

I also see that in git there is ipipe for 3.12.0
http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
But again I am unsure if it is relevant for zynq too.

Thank you for the time,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-24  7:21             ` Ran Shalit
@ 2016-04-25 14:36               ` Lennart Sorensen
  2016-04-25 16:38                 ` Ran Shalit
  0 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-25 14:36 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
> Do you think the patch should be relevant for zynq ?
> I see that xilinx have their own patch , but it is for older kernel 2.6.3
> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
> SoC Linux--Patch

You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
so it ought to work.  Doesn't mean there aren't other bits that need
fixing in the zynq specific code.  But maybe there isn't.

Just remember it was never an officially supported kernel version.
It worked for us, it was given a once over by a proper xenomai developer
who did not seem to think it was wrong, but if it doesn't work I wouldn't
expect the xenomai developers to be excited to help fix it.

> I also see that in git there is ipipe for 3.12.0
> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> But again I am unsure if it is relevant for zynq too.

Well that was a work in progress I believe and never officially released
as far as I recall.  I started from that one, but the one I posted is
actually based on the 3.14 patch and backported as far as I recall.
It has been a while since we moved to 3.14.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 14:36               ` Lennart Sorensen
@ 2016-04-25 16:38                 ` Ran Shalit
  2016-04-25 17:08                   ` Lennart Sorensen
  2016-04-25 19:50                   ` Gilles Chanteperdrix
  0 siblings, 2 replies; 19+ messages in thread
From: Ran Shalit @ 2016-04-25 16:38 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
<lsorense@csclub.uwaterloo.ca> wrote:
> On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
>> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
>> Do you think the patch should be relevant for zynq ?
>> I see that xilinx have their own patch , but it is for older kernel 2.6.3
>> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
>> SoC Linux--Patch
>
> You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
> so it ought to work.  Doesn't mean there aren't other bits that need
> fixing in the zynq specific code.  But maybe there isn't.
>
> Just remember it was never an officially supported kernel version.
> It worked for us, it was given a once over by a proper xenomai developer
> who did not seem to think it was wrong, but if it doesn't work I wouldn't
> expect the xenomai developers to be excited to help fix it.
>
>> I also see that in git there is ipipe for 3.12.0
>> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>> But again I am unsure if it is relevant for zynq too.
>
> Well that was a work in progress I believe and never officially released
> as far as I recall.  I started from that one, but the one I posted is
> actually based on the 3.14 patch and backported as far as I recall.
> It has been a while since we moved to 3.14.
>
> --
> Len Sorensen

Hi Len,

We've first tried to apply the patch for 3.12.0 but there were too many errors,
so we eventually used
http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
latest commit.
I hope the ipipe should work without any issues wuth this tree.
Is there a way to check if ipipe is OK with our version based on this commit ?

Regards,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 16:38                 ` Ran Shalit
@ 2016-04-25 17:08                   ` Lennart Sorensen
  2016-04-25 19:50                   ` Gilles Chanteperdrix
  1 sibling, 0 replies; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-25 17:08 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
> Hi Len,
> 
> We've first tried to apply the patch for 3.12.0 but there were too many errors,
> so we eventually used
> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> latest commit.
> I hope the ipipe should work without any issues wuth this tree.
> Is there a way to check if ipipe is OK with our version based on this commit ?

Well try it.  switch-test and latency and such that come with xenomai
are a start.  Pretty sure the documentation covers those.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 16:38                 ` Ran Shalit
  2016-04-25 17:08                   ` Lennart Sorensen
@ 2016-04-25 19:50                   ` Gilles Chanteperdrix
  2016-04-25 20:01                     ` Ran Shalit
  2016-04-26  5:48                     ` Ran Shalit
  1 sibling, 2 replies; 19+ messages in thread
From: Gilles Chanteperdrix @ 2016-04-25 19:50 UTC (permalink / raw)
  To: Ran Shalit; +Cc: xenomai

On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
> <lsorense@csclub.uwaterloo.ca> wrote:
> > On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
> >> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
> >> Do you think the patch should be relevant for zynq ?
> >> I see that xilinx have their own patch , but it is for older kernel 2.6.3
> >> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
> >> SoC Linux--Patch
> >
> > You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
> > so it ought to work.  Doesn't mean there aren't other bits that need
> > fixing in the zynq specific code.  But maybe there isn't.
> >
> > Just remember it was never an officially supported kernel version.
> > It worked for us, it was given a once over by a proper xenomai developer
> > who did not seem to think it was wrong, but if it doesn't work I wouldn't
> > expect the xenomai developers to be excited to help fix it.
> >
> >> I also see that in git there is ipipe for 3.12.0
> >> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> >> But again I am unsure if it is relevant for zynq too.
> >
> > Well that was a work in progress I believe and never officially released
> > as far as I recall.  I started from that one, but the one I posted is
> > actually based on the 3.14 patch and backported as far as I recall.
> > It has been a while since we moved to 3.14.
> >
> > --
> > Len Sorensen
> 
> Hi Len,
> 
> We've first tried to apply the patch for 3.12.0 but there were too many errors,
> so we eventually used
> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> latest commit.
> I hope the ipipe should work without any issues wuth this tree.
> Is there a way to check if ipipe is OK with our version based on this commit ?

Bad idea, this branch corresponds to some intermediate state. I
removed it.

-- 
					    Gilles.
https://click-hack.org


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 19:50                   ` Gilles Chanteperdrix
@ 2016-04-25 20:01                     ` Ran Shalit
  2016-04-25 20:09                       ` Lennart Sorensen
  2016-04-26  5:48                     ` Ran Shalit
  1 sibling, 1 reply; 19+ messages in thread
From: Ran Shalit @ 2016-04-25 20:01 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

On Mon, Apr 25, 2016 at 10:50 PM, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
>> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
>> <lsorense@csclub.uwaterloo.ca> wrote:
>> > On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
>> >> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
>> >> Do you think the patch should be relevant for zynq ?
>> >> I see that xilinx have their own patch , but it is for older kernel 2.6.3
>> >> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
>> >> SoC Linux--Patch
>> >
>> > You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
>> > so it ought to work.  Doesn't mean there aren't other bits that need
>> > fixing in the zynq specific code.  But maybe there isn't.
>> >
>> > Just remember it was never an officially supported kernel version.
>> > It worked for us, it was given a once over by a proper xenomai developer
>> > who did not seem to think it was wrong, but if it doesn't work I wouldn't
>> > expect the xenomai developers to be excited to help fix it.
>> >
>> >> I also see that in git there is ipipe for 3.12.0
>> >> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>> >> But again I am unsure if it is relevant for zynq too.
>> >
>> > Well that was a work in progress I believe and never officially released
>> > as far as I recall.  I started from that one, but the one I posted is
>> > actually based on the 3.14 patch and backported as far as I recall.
>> > It has been a while since we moved to 3.14.
>> >
>> > --
>> > Len Sorensen
>>
>> Hi Len,
>>
>> We've first tried to apply the patch for 3.12.0 but there were too many errors,
>> so we eventually used
>> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>> latest commit.
>> I hope the ipipe should work without any issues wuth this tree.
>> Is there a way to check if ipipe is OK with our version based on this commit ?
>
> Bad idea, this branch corresponds to some intermediate state. I
> removed it.
>
> --
>                                             Gilles.

Hi Gilles,

Is there any better way to apply ipipe on 3.12.0 ?

Thanks,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 20:01                     ` Ran Shalit
@ 2016-04-25 20:09                       ` Lennart Sorensen
  2016-04-25 20:23                         ` Gilles Chanteperdrix
  2016-04-26  6:08                         ` Jan Kiszka
  0 siblings, 2 replies; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-25 20:09 UTC (permalink / raw)
  To: Ran Shalit; +Cc: Gilles Chanteperdrix, xenomai

On Mon, Apr 25, 2016 at 11:01:40PM +0300, Ran Shalit wrote:
> On Mon, Apr 25, 2016 at 10:50 PM, Gilles Chanteperdrix
> <gilles.chanteperdrix@xenomai.org> wrote:
> > On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
> >> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
> >> <lsorense@csclub.uwaterloo.ca> wrote:
> >> > On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
> >> >> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
> >> >> Do you think the patch should be relevant for zynq ?
> >> >> I see that xilinx have their own patch , but it is for older kernel 2.6.3
> >> >> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
> >> >> SoC Linux--Patch

Actually that is xenomai 2.6.3 with 3.8 kernel patches.  2.6.4 is the
latest xenomai 2, while current xenomai is now 3.x (which we have not
yet moved to but really should at some point).

The fact it needs pre and post patches for zynq makes me suspect it
might involve a bit more work, but maybe I am wrong.  I have never had
to deal with pre and post patches.

> >> > You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
> >> > so it ought to work.  Doesn't mean there aren't other bits that need
> >> > fixing in the zynq specific code.  But maybe there isn't.
> >> >
> >> > Just remember it was never an officially supported kernel version.
> >> > It worked for us, it was given a once over by a proper xenomai developer
> >> > who did not seem to think it was wrong, but if it doesn't work I wouldn't
> >> > expect the xenomai developers to be excited to help fix it.
> >> >
> >> >> I also see that in git there is ipipe for 3.12.0
> >> >> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> >> >> But again I am unsure if it is relevant for zynq too.
> >> >
> >> > Well that was a work in progress I believe and never officially released
> >> > as far as I recall.  I started from that one, but the one I posted is
> >> > actually based on the 3.14 patch and backported as far as I recall.
> >> > It has been a while since we moved to 3.14.
> >> >
> >> > --
> >> > Len Sorensen
> >>
> >> Hi Len,
> >>
> >> We've first tried to apply the patch for 3.12.0 but there were too many errors,
> >> so we eventually used
> >> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
> >> latest commit.
> >> I hope the ipipe should work without any issues wuth this tree.
> >> Is there a way to check if ipipe is OK with our version based on this commit ?
> >
> > Bad idea, this branch corresponds to some intermediate state. I
> > removed it.
> >
> > --
> >                                             Gilles.
> 
> Hi Gilles,
> 
> Is there any better way to apply ipipe on 3.12.0 ?

Well as I said, I backported the 3.14 patch to 3.12 when we used 3.12,
which wasn't too hard.  That's what my patch for 3.12 was.

Unfortunately 3.12 was never a supported kernel for xenomai.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 20:09                       ` Lennart Sorensen
@ 2016-04-25 20:23                         ` Gilles Chanteperdrix
  2016-04-25 21:31                           ` Lennart Sorensen
  2016-04-26  6:08                         ` Jan Kiszka
  1 sibling, 1 reply; 19+ messages in thread
From: Gilles Chanteperdrix @ 2016-04-25 20:23 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 25, 2016 at 04:09:32PM -0400, Lennart Sorensen wrote:
> On Mon, Apr 25, 2016 at 11:01:40PM +0300, Ran Shalit wrote:
> > On Mon, Apr 25, 2016 at 10:50 PM, Gilles Chanteperdrix
> > <gilles.chanteperdrix@xenomai.org> wrote:
> > > On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
> > >> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
> > >> <lsorense@csclub.uwaterloo.ca> wrote:
> > >> > On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
> > >> >> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
> > >> >> Do you think the patch should be relevant for zynq ?
> > >> >> I see that xilinx have their own patch , but it is for older kernel 2.6.3
> > >> >> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
> > >> >> SoC Linux--Patch
> 
> Actually that is xenomai 2.6.3 with 3.8 kernel patches.  2.6.4 is the
> latest xenomai 2, while current xenomai is now 3.x (which we have not
> yet moved to but really should at some point).
> 
> The fact it needs pre and post patches for zynq makes me suspect it
> might involve a bit more work, but maybe I am wrong.  I have never had
> to deal with pre and post patches.

pre and post patches allow applying an I-pipe patch to a vendor
kernel. They make it possible for the I-pipe patch to evolve with
little changes to the pre/post patches.

-- 
					    Gilles.
https://click-hack.org


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 20:23                         ` Gilles Chanteperdrix
@ 2016-04-25 21:31                           ` Lennart Sorensen
  2016-04-25 21:42                             ` Gilles Chanteperdrix
  0 siblings, 1 reply; 19+ messages in thread
From: Lennart Sorensen @ 2016-04-25 21:31 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

On Mon, Apr 25, 2016 at 10:23:41PM +0200, Gilles Chanteperdrix wrote:
> pre and post patches allow applying an I-pipe patch to a vendor
> kernel. They make it possible for the I-pipe patch to evolve with
> little changes to the pre/post patches.

Oh right.  I guess I have been lucky enough to use a kernel close enough
to upstream to not have a problem.

-- 
Len Sorensen


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 21:31                           ` Lennart Sorensen
@ 2016-04-25 21:42                             ` Gilles Chanteperdrix
  0 siblings, 0 replies; 19+ messages in thread
From: Gilles Chanteperdrix @ 2016-04-25 21:42 UTC (permalink / raw)
  To: Lennart Sorensen; +Cc: xenomai

On Mon, Apr 25, 2016 at 05:31:03PM -0400, Lennart Sorensen wrote:
> On Mon, Apr 25, 2016 at 10:23:41PM +0200, Gilles Chanteperdrix wrote:
> > pre and post patches allow applying an I-pipe patch to a vendor
> > kernel. They make it possible for the I-pipe patch to evolve with
> > little changes to the pre/post patches.
> 
> Oh right.  I guess I have been lucky enough to use a kernel close enough
> to upstream to not have a problem.

If you took a version of the I-pipe patch and never updated it, then
you never had the problem it solves.

-- 
					    Gilles.
https://click-hack.org


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 19:50                   ` Gilles Chanteperdrix
  2016-04-25 20:01                     ` Ran Shalit
@ 2016-04-26  5:48                     ` Ran Shalit
  1 sibling, 0 replies; 19+ messages in thread
From: Ran Shalit @ 2016-04-26  5:48 UTC (permalink / raw)
  To: Gilles Chanteperdrix; +Cc: xenomai

On Mon, Apr 25, 2016 at 10:50 PM, Gilles Chanteperdrix
<gilles.chanteperdrix@xenomai.org> wrote:
> On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
>> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
>> <lsorense@csclub.uwaterloo.ca> wrote:
>> > On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
>> >> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
>> >> Do you think the patch should be relevant for zynq ?
>> >> I see that xilinx have their own patch , but it is for older kernel 2.6.3
>> >> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
>> >> SoC Linux--Patch
>> >
>> > You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
>> > so it ought to work.  Doesn't mean there aren't other bits that need
>> > fixing in the zynq specific code.  But maybe there isn't.
>> >
>> > Just remember it was never an officially supported kernel version.
>> > It worked for us, it was given a once over by a proper xenomai developer
>> > who did not seem to think it was wrong, but if it doesn't work I wouldn't
>> > expect the xenomai developers to be excited to help fix it.
>> >
>> >> I also see that in git there is ipipe for 3.12.0
>> >> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>> >> But again I am unsure if it is relevant for zynq too.
>> >
>> > Well that was a work in progress I believe and never officially released
>> > as far as I recall.  I started from that one, but the one I posted is
>> > actually based on the 3.14 patch and backported as far as I recall.
>> > It has been a while since we moved to 3.14.
>> >
>> > --
>> > Len Sorensen
>>
>> Hi Len,
>>
>> We've first tried to apply the patch for 3.12.0 but there were too many errors,
>> so we eventually used
>> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>> latest commit.
>> I hope the ipipe should work without any issues wuth this tree.
>> Is there a way to check if ipipe is OK with our version based on this commit ?
>
> Bad idea, this branch corresponds to some intermediate state. I
> removed it.
>

Is there a chance that the branch for-ipipe-3.12.0 will work OK ?

Thanks,
Ran


^ permalink raw reply	[flat|nested] 19+ messages in thread

* Re: [Xenomai] kernel 3.12
  2016-04-25 20:09                       ` Lennart Sorensen
  2016-04-25 20:23                         ` Gilles Chanteperdrix
@ 2016-04-26  6:08                         ` Jan Kiszka
  1 sibling, 0 replies; 19+ messages in thread
From: Jan Kiszka @ 2016-04-26  6:08 UTC (permalink / raw)
  To: Lennart Sorensen, Ran Shalit; +Cc: Gilles Chanteperdrix, xenomai

Folks,

in case you didn't notice: we have a 4.0-based ipipe for zynq in git
(http://git.xenomai.org/ipipe.git/log/?h=vendors/xilinx/zynq/ipipe-4.0).
You may move things to 4.1-LTS from there if you need long-term support.

Jan

On 2016-04-25 22:09, Lennart Sorensen wrote:
> On Mon, Apr 25, 2016 at 11:01:40PM +0300, Ran Shalit wrote:
>> On Mon, Apr 25, 2016 at 10:50 PM, Gilles Chanteperdrix
>> <gilles.chanteperdrix@xenomai.org> wrote:
>>> On Mon, Apr 25, 2016 at 07:38:45PM +0300, Ran Shalit wrote:
>>>> On Mon, Apr 25, 2016 at 5:36 PM, Lennart Sorensen
>>>> <lsorense@csclub.uwaterloo.ca> wrote:
>>>>> On Sun, Apr 24, 2016 at 10:21:50AM +0300, Ran Shalit wrote:
>>>>>> We intend to use ipipe with zynq (we already have 3.12.0 kernel used with zynq).
>>>>>> Do you think the patch should be relevant for zynq ?
>>>>>> I see that xilinx have their own patch , but it is for older kernel 2.6.3
>>>>>> http://www.wiki.xilinx.com/Xenomai+for+Zynq#Xenomai for Zynq-7000 AP
>>>>>> SoC Linux--Patch
> 
> Actually that is xenomai 2.6.3 with 3.8 kernel patches.  2.6.4 is the
> latest xenomai 2, while current xenomai is now 3.x (which we have not
> yet moved to but really should at some point).
> 
> The fact it needs pre and post patches for zynq makes me suspect it
> might involve a bit more work, but maybe I am wrong.  I have never had
> to deal with pre and post patches.
> 
>>>>> You can give it a try.  The zynq does have a Cortex-A9 as far as I recall,
>>>>> so it ought to work.  Doesn't mean there aren't other bits that need
>>>>> fixing in the zynq specific code.  But maybe there isn't.
>>>>>
>>>>> Just remember it was never an officially supported kernel version.
>>>>> It worked for us, it was given a once over by a proper xenomai developer
>>>>> who did not seem to think it was wrong, but if it doesn't work I wouldn't
>>>>> expect the xenomai developers to be excited to help fix it.
>>>>>
>>>>>> I also see that in git there is ipipe for 3.12.0
>>>>>> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>>>>>> But again I am unsure if it is relevant for zynq too.
>>>>>
>>>>> Well that was a work in progress I believe and never officially released
>>>>> as far as I recall.  I started from that one, but the one I posted is
>>>>> actually based on the 3.14 patch and backported as far as I recall.
>>>>> It has been a while since we moved to 3.14.
>>>>>
>>>>> --
>>>>> Len Sorensen
>>>>
>>>> Hi Len,
>>>>
>>>> We've first tried to apply the patch for 3.12.0 but there were too many errors,
>>>> so we eventually used
>>>> http://git.xenomai.org/ipipe-gch.git/log/?h=raw/for-ipipe-3.12.0
>>>> latest commit.
>>>> I hope the ipipe should work without any issues wuth this tree.
>>>> Is there a way to check if ipipe is OK with our version based on this commit ?
>>>
>>> Bad idea, this branch corresponds to some intermediate state. I
>>> removed it.
>>>
>>> --
>>>                                             Gilles.
>>
>> Hi Gilles,
>>
>> Is there any better way to apply ipipe on 3.12.0 ?
> 
> Well as I said, I backported the 3.14 patch to 3.12 when we used 3.12,
> which wasn't too hard.  That's what my patch for 3.12 was.
> 
> Unfortunately 3.12 was never a supported kernel for xenomai.
> 

-- 
Siemens AG, Corporate Technology, CT RDA ITP SES-DE
Corporate Competence Center Embedded Linux


^ permalink raw reply	[flat|nested] 19+ messages in thread

end of thread, other threads:[~2016-04-26  6:08 UTC | newest]

Thread overview: 19+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-04-18 12:46 [Xenomai] kernel 3.12 Ran Shalit
2016-04-18 13:45 ` Lennart Sorensen
2016-04-18 13:47   ` Ran Shalit
2016-04-18 13:54     ` Lennart Sorensen
2016-04-18 13:56       ` Ran Shalit
2016-04-18 14:28         ` Ran Shalit
2016-04-18 14:30           ` Lennart Sorensen
2016-04-24  7:21             ` Ran Shalit
2016-04-25 14:36               ` Lennart Sorensen
2016-04-25 16:38                 ` Ran Shalit
2016-04-25 17:08                   ` Lennart Sorensen
2016-04-25 19:50                   ` Gilles Chanteperdrix
2016-04-25 20:01                     ` Ran Shalit
2016-04-25 20:09                       ` Lennart Sorensen
2016-04-25 20:23                         ` Gilles Chanteperdrix
2016-04-25 21:31                           ` Lennart Sorensen
2016-04-25 21:42                             ` Gilles Chanteperdrix
2016-04-26  6:08                         ` Jan Kiszka
2016-04-26  5:48                     ` Ran Shalit

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.