* [Xenomai-help] xenomia adeos pacht error
@ 2010-07-09 7:28 Görkem Karadoğan
2010-07-09 8:06 ` Gilles Chanteperdrix
` (2 more replies)
0 siblings, 3 replies; 7+ messages in thread
From: Görkem Karadoğan @ 2010-07-09 7:28 UTC (permalink / raw)
To: xenomai
[-- Attachment #1: Type: text/plain, Size: 630 bytes --]
hi all,
i follow this install introduction (
http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL)
and i write this code
/opt/xenomai-2.5.3/scripts/prepare-kernel.sh --arch=arm \
--adeos=/opt/xenomai-2.5.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-*
\
--linux=/opt/linux-02.01.03.11/
and i got this error codes
Hunk #1 FAILED at 156.
1 out of 1 hunk FAILED -- saving rejects to file mm/vmalloc.c.rej
prepare-kernel.sh: Unable to patch kernel 2.6.29-rc3 with
adeos-ipipe-2.6.20-arm-1.8-03.patch.
i use linux-02.01.03.11 because of omap3530. Do you know which pacht is able
with kernel 2.6.29.rc3..
thanks...
[-- Attachment #2: Type: text/html, Size: 781 bytes --]
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 7:28 [Xenomai-help] xenomia adeos pacht error Görkem Karadoğan @ 2010-07-09 8:06 ` Gilles Chanteperdrix 2010-07-09 8:26 ` Görkem Karadoğan 2010-07-09 8:45 ` Philippe Gerum 2 siblings, 0 replies; 7+ messages in thread From: Gilles Chanteperdrix @ 2010-07-09 8:06 UTC (permalink / raw) To: Görkem Karadoğan; +Cc: xenomai Görkem Karadoğan wrote: > hi all, > > i follow this install introduction ( > http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL) > > and i write this code > > /opt/xenomai-2.5.3/scripts/prepare-kernel.sh --arch=arm \ > --adeos=/opt/xenomai-2.5.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* > \ > --linux=/opt/linux-02.01.03.11/ > > and i got this error codes > > Hunk #1 FAILED at 156. > 1 out of 1 hunk FAILED -- saving rejects to file mm/vmalloc.c.rej > prepare-kernel.sh: Unable to patch kernel 2.6.29-rc3 with > adeos-ipipe-2.6.20-arm-1.8-03.patch. > > i use linux-02.01.03.11 because of omap3530. Do you know which pacht is able > with kernel 2.6.29.rc3.. It seems I am having a hard time to get understood this days. I do not know what linux-02.01.03.11 is, and I do not really care, but it is not the mainline kernel. As I told you in the answer to your previous question here: https://mail.gna.org/public/xenomai-help/2010-07/msg00078.html We only provide Adeos patches for the mainline kernel. -- Gilles. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 7:28 [Xenomai-help] xenomia adeos pacht error Görkem Karadoğan 2010-07-09 8:06 ` Gilles Chanteperdrix @ 2010-07-09 8:26 ` Görkem Karadoğan 2010-07-09 8:34 ` Görkem Karadoğan 2010-07-09 8:45 ` Philippe Gerum 2 siblings, 1 reply; 7+ messages in thread From: Görkem Karadoğan @ 2010-07-09 8:26 UTC (permalink / raw) To: xenomai [-- Attachment #1: Type: text/plain, Size: 903 bytes --] ok Gilles i hope i understand you now . i changed my linux kernel. and tried again but this time when i write this code make ARCH=arm CROSS_COMPILE=arm-linux- O=$build_root bzImage modules i got this errors :S. thank you again ... root@domain.hid# make ARCH=arm CROSS_COMPILE=arm-linux- O=$build_root bzImage modules make: arm-linux-gcc: Command not found scripts/kconfig/conf -s arch/arm/Kconfig make: arm-linux-gcc: Command not found CHK include/linux/version.h UPD include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 Generating include/asm-arm/mach-types.h CHK include/linux/utsrelease.h UPD include/linux/utsrelease.h SYMLINK include/asm -> include/asm-arm CC arch/arm/kernel/asm-offsets.s /bin/sh: arm-linux-gcc: not found make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127 make: *** [prepare0] Error 2 root@domain.hid# [-- Attachment #2: Type: text/html, Size: 1074 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 8:26 ` Görkem Karadoğan @ 2010-07-09 8:34 ` Görkem Karadoğan 2010-07-09 8:51 ` Philippe Gerum 2010-07-09 9:01 ` Luc ANTOLINOS 0 siblings, 2 replies; 7+ messages in thread From: Görkem Karadoğan @ 2010-07-09 8:34 UTC (permalink / raw) To: xenomai [-- Attachment #1: Type: text/plain, Size: 1816 bytes --] 2010/7/9 Görkem Karadoğan <gkaradagan@domain.hid> > > > ok Gilles i hope i understand you now . i changed my linux kernel. and > tried again but this time > when i write this code make ARCH=arm CROSS_COMPILE=arm-linux- O=$build_root > bzImage modules > i got this errors :S. > > thank you again ... > > > > root@domain.hid# make ARCH=arm CROSS_COMPILE=arm-linux- > O=$build_root bzImage modules > make: arm-linux-gcc: Command not found > scripts/kconfig/conf -s arch/arm/Kconfig > make: arm-linux-gcc: Command not found > CHK include/linux/version.h > UPD include/linux/version.h > SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 > Generating include/asm-arm/mach-types.h > CHK include/linux/utsrelease.h > UPD include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-arm > CC arch/arm/kernel/asm-offsets.s > /bin/sh: arm-linux-gcc: not found > make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127 > make: *** [prepare0] Error 2 > root@domain.hid# and i forget build_root and i wrote it. again again i have error :S root@domain.hid# make ARCH=arm CROSS_COMPILE=arm-linux- O=/opt/linux-2.6.25.11/build_root bzImage modules make[1]: arm-linux-gcc: Command not found GEN /opt/linux-2.6.25.11/build_root/Makefile scripts/kconfig/conf -s arch/arm/Kconfig make[1]: arm-linux-gcc: Command not found CHK include/linux/version.h SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 make[2]: `/opt/linux-2.6.25.11/include/asm-arm/mach-types.h' is up to date. Using /opt/linux-2.6.25.11 as source for kernel /opt/linux-2.6.25.11 is not clean, please run 'make mrproper' in the '/opt/linux-2.6.25.11' directory. make[1]: *** [prepare3] Error 1 make: *** [sub-make] Error 2 root@domain.hid# [-- Attachment #2: Type: text/html, Size: 2206 bytes --] ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 8:34 ` Görkem Karadoğan @ 2010-07-09 8:51 ` Philippe Gerum 2010-07-09 9:01 ` Luc ANTOLINOS 1 sibling, 0 replies; 7+ messages in thread From: Philippe Gerum @ 2010-07-09 8:51 UTC (permalink / raw) To: Görkem Karadoğan; +Cc: xenomai On Fri, 2010-07-09 at 11:34 +0300, Görkem Karadoğan wrote: > > > 2010/7/9 Görkem Karadoğan <gkaradagan@domain.hid> > > > ok Gilles i hope i understand you now . i changed my linux > kernel. and tried again but this time > when i write this code make ARCH=arm CROSS_COMPILE=arm-linux- > O=$build_root bzImage modules > i got this errors :S. > > thank you again ... This is not the right list for this question. Please have a look there first and foremost, you will find useful hints to set up your kernel project: http://kernelnewbies.org/FAQ/KernelCompilation > > > > root@domain.hid# make ARCH=arm > CROSS_COMPILE=arm-linux- O=$build_root bzImage modules > make: arm-linux-gcc: Command not found > scripts/kconfig/conf -s arch/arm/Kconfig > make: arm-linux-gcc: Command not found > CHK include/linux/version.h > UPD include/linux/version.h > SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 > Generating include/asm-arm/mach-types.h > CHK include/linux/utsrelease.h > UPD include/linux/utsrelease.h > SYMLINK include/asm -> include/asm-arm > CC arch/arm/kernel/asm-offsets.s > /bin/sh: arm-linux-gcc: not found > make[1]: *** [arch/arm/kernel/asm-offsets.s] Error 127 > make: *** [prepare0] Error 2 > root@domain.hid > > and i forget build_root and i wrote it. again again i have error :S > > root@domain.hid# make ARCH=arm > CROSS_COMPILE=arm-linux- O=/opt/linux-2.6.25.11/build_root bzImage > modules > make[1]: arm-linux-gcc: Command not found > GEN /opt/linux-2.6.25.11/build_root/Makefile > scripts/kconfig/conf -s arch/arm/Kconfig > make[1]: arm-linux-gcc: Command not found > CHK include/linux/version.h > SYMLINK include/asm-arm/arch -> include/asm-arm/arch-at91 > make[2]: `/opt/linux-2.6.25.11/include/asm-arm/mach-types.h' is up to > date. > Using /opt/linux-2.6.25.11 as source for kernel > /opt/linux-2.6.25.11 is not clean, please run 'make mrproper' > in the '/opt/linux-2.6.25.11' directory. > make[1]: *** [prepare3] Error 1 > make: *** [sub-make] Error 2 > root@domain.hid > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 8:34 ` Görkem Karadoğan 2010-07-09 8:51 ` Philippe Gerum @ 2010-07-09 9:01 ` Luc ANTOLINOS 1 sibling, 0 replies; 7+ messages in thread From: Luc ANTOLINOS @ 2010-07-09 9:01 UTC (permalink / raw) To: Görkem Karadoğan; +Cc: xenomai 2010/7/9 Görkem Karadoğan <gkaradagan@domain.hid>: > scripts/kconfig/conf -s arch/arm/Kconfig > make[1]: arm-linux-gcc: Command not found Make sure you cross compiler is in your path. export PATH="<path_to_my_cross_compiler>:$PATH" etc. -- Luc ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai-help] xenomia adeos pacht error 2010-07-09 7:28 [Xenomai-help] xenomia adeos pacht error Görkem Karadoğan 2010-07-09 8:06 ` Gilles Chanteperdrix 2010-07-09 8:26 ` Görkem Karadoğan @ 2010-07-09 8:45 ` Philippe Gerum 2 siblings, 0 replies; 7+ messages in thread From: Philippe Gerum @ 2010-07-09 8:45 UTC (permalink / raw) To: Görkem Karadoğan; +Cc: xenomai On Fri, 2010-07-09 at 10:28 +0300, Görkem Karadoğan wrote: > hi all, > > i follow this install introduction > (http://www.xenomai.org/documentation/xenomai-2.5/README.INSTALL) > > and i write this code > > /opt/xenomai-2.5.3/scripts/prepare-kernel.sh --arch=arm \ > > --adeos=/opt/xenomai-2.5.3/ksrc/arch/arm/patches/adeos-ipipe-2.6.20-arm-* \ > --linux=/opt/linux-02.01.03.11/ > > and i got this error codes > > Hunk #1 FAILED at 156. > 1 out of 1 hunk FAILED -- saving rejects to file mm/vmalloc.c.rej > prepare-kernel.sh: Unable to patch kernel 2.6.29-rc3 with > adeos-ipipe-2.6.20-arm-1.8-03.patch. > > i use linux-02.01.03.11 because of omap3530. Do you know which pacht > is able with kernel 2.6.29.rc3.. > Please make sure to actually read the answer you have been given before rehashing the same question: https://mail.gna.org/public/xenomai-help/2010-07/msg00078.html That answer is crystal clear: i.e. Adeos patches for ARM are based on the mainline kernel tree, and not on any vendor branch. I guess that you can infer quite easily from this why those patches won't apply neatly on your vendor kernel then. Patches in ksrc/arm/patches/ should be used preferably. With a little effort, you should be able to find more information about this in the FAQ: http://www.xenomai.org/index.php/FAQs#Which_I-pipe_patch_should_I_use_with_Xenomai_version_X_on_platform_Y.3F To sum up: - the information is there, please read it. - from the information you gave us, and despite what Gilles told you explicitly in the mail mentioned above, you are still trying to apply a patch for kernel 2.6.20 to 2.6.29. This can't work, and very much looks like masochistic, really. There must be a reason why we issued a specific patch for each different kernel release we wanted to support over time, right? - you depend on a vendor kernel tree: you are on your own then. We just cannot maintain patches for each and every tree variant, so don't expect this patch to exist just because you need it. You could wait for quite a long time. Now, your options: As mentioned in the FAQ, you can find older releases of Adeos patches on our download site, including for 2.6.29. Those patches may or may not work for your kernel and/or omap platform, you will have to try and check by yourself. It is likely that those patches won't apply out-of-the-box, and will require some updates to fit your kernel though, be prepared for that. How complex it might be to get a working patch for your vendor kernel is unknown to us, just because we have no clue about what makes that kernel tree different from mainline, and quite frankly, we don't care about this. Time is a scarce resource for everyone. > thanks... > > > _______________________________________________ > Xenomai-help mailing list > Xenomai-help@domain.hid > https://mail.gna.org/listinfo/xenomai-help -- Philippe. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2010-07-09 9:01 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2010-07-09 7:28 [Xenomai-help] xenomia adeos pacht error Görkem Karadoğan 2010-07-09 8:06 ` Gilles Chanteperdrix 2010-07-09 8:26 ` Görkem Karadoğan 2010-07-09 8:34 ` Görkem Karadoğan 2010-07-09 8:51 ` Philippe Gerum 2010-07-09 9:01 ` Luc ANTOLINOS 2010-07-09 8:45 ` Philippe Gerum
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.