* [Xenomai] unable to patch kernel
@ 2015-08-26 11:03 Fabian
2015-08-26 12:12 ` Gilles Chanteperdrix
2015-08-26 14:18 ` Lennart Sorensen
0 siblings, 2 replies; 4+ messages in thread
From: Fabian @ 2015-08-26 11:03 UTC (permalink / raw)
To: xenomai
Hi,
I am trying to patch a beaglebone black debian arm kernel with the xenomai 3
kernel for dual kernel mode (cobalt).
I used the debian kernel v3.14.39 and the ipipe-core 3.14.39-arm-9.patch,
because this seems to be the newest matching combination. but when i start
the patching it tells me:
prepare-kernel.sh: Unable to patch kernel 3.14.39 with
ipipe-core3.14.39-arm-9.patch
I also tried other kernel and ipipe versions combinations but with the same
result.
I got the debian-kernel from this git: https://github.com/beagleboard/linux.git
and the xenomai-kernel from here: https://git.xenomai.org/xenomai-3.git
Unfortunately i have not found an instruction how to do this with the new
xenomai version 3, only version 2.6 is described in the net.
Thanks in advance
Regards
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] unable to patch kernel
2015-08-26 11:03 [Xenomai] unable to patch kernel Fabian
@ 2015-08-26 12:12 ` Gilles Chanteperdrix
2015-08-26 14:18 ` Lennart Sorensen
1 sibling, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2015-08-26 12:12 UTC (permalink / raw)
To: Fabian; +Cc: xenomai
On Wed, Aug 26, 2015 at 11:03:33AM +0000, Fabian wrote:
> Hi,
>
> I am trying to patch a beaglebone black debian arm kernel with the xenomai 3
> kernel for dual kernel mode (cobalt).
>
> I used the debian kernel v3.14.39 and the ipipe-core 3.14.39-arm-9.patch,
> because this seems to be the newest matching combination.
The I-pipe patches are meant for mainline Linux kernels, not for
Linux kernel forks. If you want to apply an I-pipe patch to a Linux
kernel fork, you have to:
- fix the obvious merge conflicts;
- inspect the changes made by the fork which could require further
patching, you can use the following document as a checklist:
http://xenomai.org/2014/09/porting-xenomai-dual-kernel-to-a-new-arm-soc/
If you are interested in using the latest versions, you should have
a look at the I-pipe download area:
http://xenomai.org/downloads/ipipe/v3.x/arm/
--
Gilles.
https://click-hack.org
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] unable to patch kernel
2015-08-26 11:03 [Xenomai] unable to patch kernel Fabian
2015-08-26 12:12 ` Gilles Chanteperdrix
@ 2015-08-26 14:18 ` Lennart Sorensen
2015-08-26 14:28 ` Gilles Chanteperdrix
1 sibling, 1 reply; 4+ messages in thread
From: Lennart Sorensen @ 2015-08-26 14:18 UTC (permalink / raw)
To: Fabian; +Cc: xenomai
On Wed, Aug 26, 2015 at 11:03:33AM +0000, Fabian wrote:
> Hi,
>
> I am trying to patch a beaglebone black debian arm kernel with the xenomai 3
> kernel for dual kernel mode (cobalt).
>
> I used the debian kernel v3.14.39 and the ipipe-core 3.14.39-arm-9.patch,
> because this seems to be the newest matching combination. but when i start
> the patching it tells me:
>
> prepare-kernel.sh: Unable to patch kernel 3.14.39 with
> ipipe-core3.14.39-arm-9.patch
>
> I also tried other kernel and ipipe versions combinations but with the same
> result.
>
> I got the debian-kernel from this git: https://github.com/beagleboard/linux.git
That is NOT a debian kernel source. It looks like a TI kernel source
tree, and certainly the 3.14 branch on it is currently 3.14.51 based.
You didn't say which branch you used.
> and the xenomai-kernel from here: https://git.xenomai.org/xenomai-3.git
>
>
> Unfortunately i have not found an instruction how to do this with the new
> xenomai version 3, only version 2.6 is described in the net.
If you try to manually apply the patch file with patch you might see
where the conflicts are.
--
Len Sorensen
^ permalink raw reply [flat|nested] 4+ messages in thread
* Re: [Xenomai] unable to patch kernel
2015-08-26 14:18 ` Lennart Sorensen
@ 2015-08-26 14:28 ` Gilles Chanteperdrix
0 siblings, 0 replies; 4+ messages in thread
From: Gilles Chanteperdrix @ 2015-08-26 14:28 UTC (permalink / raw)
To: Lennart Sorensen; +Cc: Fabian, xenomai
On Wed, Aug 26, 2015 at 10:18:53AM -0400, Lennart Sorensen wrote:
> On Wed, Aug 26, 2015 at 11:03:33AM +0000, Fabian wrote:
> > Hi,
> >
> > I am trying to patch a beaglebone black debian arm kernel with the xenomai 3
> > kernel for dual kernel mode (cobalt).
> >
> > I used the debian kernel v3.14.39 and the ipipe-core 3.14.39-arm-9.patch,
> > because this seems to be the newest matching combination. but when i start
> > the patching it tells me:
> >
> > prepare-kernel.sh: Unable to patch kernel 3.14.39 with
> > ipipe-core3.14.39-arm-9.patch
> >
> > I also tried other kernel and ipipe versions combinations but with the same
> > result.
> >
> > I got the debian-kernel from this git: https://github.com/beagleboard/linux.git
>
> That is NOT a debian kernel source.
This does not change anything. As long as this is not a mainline
Linux kernel source, the I-pipe patches may not apply. And even if
they apply, further work is needed.
--
Gilles.
https://click-hack.org
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2015-08-26 14:28 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-08-26 11:03 [Xenomai] unable to patch kernel Fabian
2015-08-26 12:12 ` Gilles Chanteperdrix
2015-08-26 14:18 ` Lennart Sorensen
2015-08-26 14:28 ` Gilles Chanteperdrix
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.