Skip to contentSkip to conversation

unable to patch

Xenomai [email protected] 2 participants 2 messages Jul 8, 2016 1 message not in the archive

lore
Share & tools
lore
#1 lore raw
In reply to a message not in the archive

Hi,
Having failed to patch the kernel for arm,I tried with Linux kernel 3.0.43,3.14,3.18 4.20 with xenomai 2.6.4's adeos ipipe as well as ipipe-core. Unfortunately most of them ended with the following last messages. unable to patch the kernel 3.0.43 with adeos -ipipe-3.0.43

regardspraneeth

-------------- next part --------------
A non-text attachment was scrubbed...
Name: image.png
Type: image/png
Size: 29623 bytes
Desc: not available
URL: <http://xenomai.org/pipermail/xenomai/attachments/20160708/06607ad9/attachment.png>

#2 lore raw
Quoted 3 lines · On Fri, Jul 08, 2016 at 10:29:43AM +0000, [email protected] wrote:

Hi,
Having failed to patch the kernel for arm,I tried with Linux kernel 3.0.43,3.14,3.18 4.20 with xenomai 2.6.4's adeos ipipe as well as ipipe-core. Unfortunately most of them ended with the following last messages. unable to patch the kernel 3.0.43 with adeos -ipipe-3.0.43

I guess you do not get a message about kernel 3.0.43 when trying to apply a patch on 3.14. Anyway, this message means that you are trying to apply a patch to a kernel which is not the kernel it was made for.

Basically, this is explained in the file ksrc/arch/arm/patches/README in the source tree:

- the patches directly in this directory apply to mainline kernels, the ones from kernel.org, with the exact same version as the version in the I-pipe patch name (so for instance, ipipe-core-3.14.17-arm-4.patch applies to the vanilla kernel 3.14.17, probably not to 3.14.0 or 3.14.73)

- for the case of patches to the mainline kernel you are encouraged to use more recent versions from https://xenomai.org//downloads/ipipe
area, but only for versions of the kernel supported by Xenomai, so for instance ipipe-core-3.14.44-arm-17.patch is a better choice than ipipe-core-3.14.17-arm-4.patch (which ships with Xenomai 2.6.4), but you can not use ipipe-core-3.18.20-arm-10.patch or ipipe-core-4.1.18-arm-5.patch, because Xenomai does not support Linux versions after Linux 3.14. But any version in the stable branch (3.14.44 for instance) should be OK.

- the patches in the sub-directories (beaglebone, mxc, raspberry, zynq) apply to specific vendor forks, which exactly should be documented in the README file. Sometimes they are pre or post patches meaning that you have to apply them before or after a patch for a mainline kernel, the details are given in the README file.

Signature · 2 lines
					    Gilles.
https://click-hack.org