* [Xenomai] /asm/ipipe.h not found
@ 2014-12-10 10:27 JAY KOTHARI
2014-12-10 10:38 ` Gilles Chanteperdrix
0 siblings, 1 reply; 7+ messages in thread
From: JAY KOTHARI @ 2014-12-10 10:27 UTC (permalink / raw)
To: xenomai
Hello,
I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on
BeagleBoard-XM. zImage is successfully made. But when I am building
the modules with following command
$make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules
It shows error:
make CONFIG_DEBUG_SECTION_MISMATCH=y
After this I ran
$make CONFIG_DEBUG_SECTION_MISMATCH=y
This lets to another error
include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or
directory.
compilation terminated.
Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG
and export it but it is not working.Help would be appreciated.
Jay Kothari
^ permalink raw reply [flat|nested] 7+ messages in thread* Re: [Xenomai] /asm/ipipe.h not found 2014-12-10 10:27 [Xenomai] /asm/ipipe.h not found JAY KOTHARI @ 2014-12-10 10:38 ` Gilles Chanteperdrix 2014-12-10 10:54 ` JAY KOTHARI 0 siblings, 1 reply; 7+ messages in thread From: Gilles Chanteperdrix @ 2014-12-10 10:38 UTC (permalink / raw) To: JAY KOTHARI; +Cc: xenomai On Wed, Dec 10, 2014 at 03:57:44PM +0530, JAY KOTHARI wrote: > Hello, > I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on > BeagleBoard-XM. You do not need to port it, it is already supported. Also, why using such old versions ? The latest version of Xenomai is 2.6.4 and will work with the I-pipe patch for Linux 3.2.21. > zImage is successfully made. But when I am building > the modules with following command > > $make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules > > It shows error: > make CONFIG_DEBUG_SECTION_MISMATCH=y Yes, this has been reported, and fixed in later patches. That is what you get by using old patches. Simply turn that off. > > After this I ran > $make CONFIG_DEBUG_SECTION_MISMATCH=y > > This lets to another error > include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or > directory. > compilation terminated. > > Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG > and export it but it is not working.Help would be appreciated. You do not provide enough information for us to answer that question. Sorry. -- Gilles. ^ permalink raw reply [flat|nested] 7+ messages in thread
* [Xenomai] /asm/ipipe.h not found 2014-12-10 10:38 ` Gilles Chanteperdrix @ 2014-12-10 10:54 ` JAY KOTHARI 2014-12-10 10:58 ` Gilles Chanteperdrix 2014-12-10 11:03 ` Gilles Chanteperdrix 0 siblings, 2 replies; 7+ messages in thread From: JAY KOTHARI @ 2014-12-10 10:54 UTC (permalink / raw) To: xenomai On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > On Wed, Dec 10, 2014 at 03:57:44PM +0530, JAY KOTHARI wrote: >> Hello, >> I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on >> BeagleBoard-XM. > > You do not need to port it, it is already supported. > > Also, why using such old versions ? The latest version of Xenomai is > 2.6.4 and will work with the I-pipe patch for Linux 3.2.21. > > >> zImage is successfully made. But when I am building >> the modules with following command >> >> $make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules >> >> It shows error: >> make CONFIG_DEBUG_SECTION_MISMATCH=y > > Yes, this has been reported, and fixed in later patches. That is > what you get by using old patches. Simply turn that off. > I turn it off by this command $make CONFIG_DEBUG_SECTION_MISMATCH=n >> >> After this I ran >> $make CONFIG_DEBUG_SECTION_MISMATCH=y >> >> This lets to another error >> include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or >> directory. >> compilation terminated. >> >> Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG >> and export it but it is not working.Help would be appreciated. > > You do not provide enough information for us to answer that > question. Sorry. > > -- > > After doing that I got following error make[1]: Nothing to be done for `relocs'. CHK include/linux/version.h CHK include/generated/utsrelease.h CC arch/x86/kernel/asm-offsets.s In file included from include/linux/sched.h:65:0, from arch/x86/kernel/asm-offsets.c:9: include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or directory compilation terminated. make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 I would try with newer version but if this gets fixed then it would be help for me. Thank you Jay Kothari ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] /asm/ipipe.h not found 2014-12-10 10:54 ` JAY KOTHARI @ 2014-12-10 10:58 ` Gilles Chanteperdrix 2014-12-10 11:03 ` Gilles Chanteperdrix 1 sibling, 0 replies; 7+ messages in thread From: Gilles Chanteperdrix @ 2014-12-10 10:58 UTC (permalink / raw) To: JAY KOTHARI; +Cc: xenomai On Wed, Dec 10, 2014 at 04:24:53PM +0530, JAY KOTHARI wrote: > I would try with newer version but if this gets fixed then it would be > help for me. If you want this fixed, then provide us with the information we need to fix it. If even there is something to fix. https://xenomai.org//asking-for-help/ -- Gilles. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] /asm/ipipe.h not found 2014-12-10 10:54 ` JAY KOTHARI 2014-12-10 10:58 ` Gilles Chanteperdrix @ 2014-12-10 11:03 ` Gilles Chanteperdrix 2014-12-10 12:46 ` JAY KOTHARI 1 sibling, 1 reply; 7+ messages in thread From: Gilles Chanteperdrix @ 2014-12-10 11:03 UTC (permalink / raw) To: JAY KOTHARI; +Cc: xenomai On Wed, Dec 10, 2014 at 04:24:53PM +0530, JAY KOTHARI wrote: > On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > > On Wed, Dec 10, 2014 at 03:57:44PM +0530, JAY KOTHARI wrote: > >> Hello, > >> I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on > >> BeagleBoard-XM. > > > > You do not need to port it, it is already supported. > > > > Also, why using such old versions ? The latest version of Xenomai is > > 2.6.4 and will work with the I-pipe patch for Linux 3.2.21. > > > > > >> zImage is successfully made. But when I am building > >> the modules with following command > >> > >> $make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules > >> > >> It shows error: > >> make CONFIG_DEBUG_SECTION_MISMATCH=y > > > > Yes, this has been reported, and fixed in later patches. That is > > what you get by using old patches. Simply turn that off. > > > I turn it off by this command > $make CONFIG_DEBUG_SECTION_MISMATCH=n > > >> > >> After this I ran > >> $make CONFIG_DEBUG_SECTION_MISMATCH=y > >> > >> This lets to another error > >> include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or > >> directory. > >> compilation terminated. > >> > >> Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG > >> and export it but it is not working.Help would be appreciated. > > > > You do not provide enough information for us to answer that > > question. Sorry. > > > > -- > > > > > After doing that I got following error > make[1]: Nothing to be done for `relocs'. > CHK include/linux/version.h > CHK include/generated/utsrelease.h > CC arch/x86/kernel/asm-offsets.s > In file included from include/linux/sched.h:65:0, > from arch/x86/kernel/asm-offsets.c:9: > include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or > directory > compilation terminated. > make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 Interesting information, but maybe not sufficient to solve your issue, you want to compile for beaglebone, but you are compiling a kernel for the x86 architecture ? I am afraid it will not work. -- Gilles. ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] /asm/ipipe.h not found 2014-12-10 11:03 ` Gilles Chanteperdrix @ 2014-12-10 12:46 ` JAY KOTHARI 2014-12-10 13:09 ` Gilles Chanteperdrix 0 siblings, 1 reply; 7+ messages in thread From: JAY KOTHARI @ 2014-12-10 12:46 UTC (permalink / raw) To: xenomai On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > On Wed, Dec 10, 2014 at 04:24:53PM +0530, JAY KOTHARI wrote: >> On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> >> wrote: >> > On Wed, Dec 10, 2014 at 03:57:44PM +0530, JAY KOTHARI wrote: >> >> Hello, >> >> I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on >> >> BeagleBoard-XM. >> > >> > You do not need to port it, it is already supported. >> > >> > Also, why using such old versions ? The latest version of Xenomai is >> > 2.6.4 and will work with the I-pipe patch for Linux 3.2.21. . >> > >> > >> >> zImage is successfully made. But when I am building >> >> the modules with following command >> >> >> >> $make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules >> >> >> >> It shows error: >> >> make CONFIG_DEBUG_SECTION_MISMATCH=y >> > >> > Yes, this has been reported, and fixed in later patches. That is >> > what you get by using old patches. Simply turn that off. >> > >> I turn it off by this command >> $make CONFIG_DEBUG_SECTION_MISMATCH=n >> >> >> >> >> After this I ran >> >> $make CONFIG_DEBUG_SECTION_MISMATCH=y >> >> >> >> This lets to another error >> >> include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or >> >> directory. >> >> compilation terminated. >> >> >> >> Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG >> >> and export it but it is not working.Help would be appreciated. >> > >> > You do not provide enough information for us to answer that >> > question. Sorry. >> > >> > -- >> > >> > >> After doing that I got following error >> make[1]: Nothing to be done for `relocs'. >> CHK include/linux/version.h >> CHK include/generated/utsrelease.h >> CC arch/x86/kernel/asm-offsets.s >> In file included from include/linux/sched.h:65:0, >> from arch/x86/kernel/asm-offsets.c:9: >> include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or >> directory >> compilation terminated. >> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 >> make: *** [prepare0] Error 2 > > Interesting information, but maybe not sufficient to solve your > issue, you want to compile for beaglebone, but you are compiling a > kernel for the x86 architecture ? I am afraid it will not work. > > -- > Gilles. Information: main processor architecture:x86 32bit target system: BeagleBoardXM Linux kernel release number:3.2.21 for target hardware dynamic boot parameter: root=/dev/sda7 resume=/dev/sda6 splash=silent quiet Xenomai release number you experience an issue: Xenomai-2.6.2 Havnt got it from GIT repositories Problem: I built zImage successfully. When I build modules its showing error $make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules it showed error make CONFIG_DEBUG_SECTION_MISMATCH=y As you suggested I disabled it and ran make CONFIG_DEBUG_SECTION_MISMATCH=n Now it shows following error: make[1]: Nothing to be done for `relocs'. CHK include/linux/version.h CHK include/generated/utsrelease.h CC arch/x86/kernel/asm-offsets.s In file included from include/linux/sched.h:65:0, from arch/x86/kernel/asm-offsets.c:9: include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or directory compilation terminated. make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 make: *** [prepare0] Error 2 If you need more information please let me know which information. Is there any other version of xenomai which has patch for linux-3.2.21? Please correct me. Jay Kothari ^ permalink raw reply [flat|nested] 7+ messages in thread
* Re: [Xenomai] /asm/ipipe.h not found 2014-12-10 12:46 ` JAY KOTHARI @ 2014-12-10 13:09 ` Gilles Chanteperdrix 0 siblings, 0 replies; 7+ messages in thread From: Gilles Chanteperdrix @ 2014-12-10 13:09 UTC (permalink / raw) To: JAY KOTHARI; +Cc: xenomai On Wed, Dec 10, 2014 at 06:16:15PM +0530, JAY KOTHARI wrote: > On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> wrote: > > On Wed, Dec 10, 2014 at 04:24:53PM +0530, JAY KOTHARI wrote: > >> On 12/10/14, Gilles Chanteperdrix <gilles.chanteperdrix@xenomai.org> > >> wrote: > >> > On Wed, Dec 10, 2014 at 03:57:44PM +0530, JAY KOTHARI wrote: > >> >> Hello, > >> >> I am porting linux-3.2.21(xenomai-2.6.2 patched to it) on > >> >> BeagleBoard-XM. > >> > > >> > You do not need to port it, it is already supported. > >> > > >> > Also, why using such old versions ? The latest version of Xenomai is > >> > 2.6.4 and will work with the I-pipe patch for Linux 3.2.21. > . > > >> > > >> > > >> >> zImage is successfully made. But when I am building > >> >> the modules with following command > >> >> > >> >> $make -j 8 ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules > >> >> > >> >> It shows error: > >> >> make CONFIG_DEBUG_SECTION_MISMATCH=y > >> > > >> > Yes, this has been reported, and fixed in later patches. That is > >> > what you get by using old patches. Simply turn that off. > >> > > >> I turn it off by this command > >> $make CONFIG_DEBUG_SECTION_MISMATCH=n > >> > >> >> > >> >> After this I ran > >> >> $make CONFIG_DEBUG_SECTION_MISMATCH=y > >> >> > >> >> This lets to another error > >> >> include/linux/ipipe.h :33:23: fatal error:asm/ipipe.h: No such file or > >> >> directory. > >> >> compilation terminated. > >> >> > >> >> Actually ipipe.h is there in /asm/ipipe.h:I tried to set CFLAG > >> >> and export it but it is not working.Help would be appreciated. > >> > > >> > You do not provide enough information for us to answer that > >> > question. Sorry. > >> > > >> > -- > >> > > >> > > >> After doing that I got following error > >> make[1]: Nothing to be done for `relocs'. > >> CHK include/linux/version.h > >> CHK include/generated/utsrelease.h > >> CC arch/x86/kernel/asm-offsets.s > >> In file included from include/linux/sched.h:65:0, > >> from arch/x86/kernel/asm-offsets.c:9: > >> include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or > >> directory > >> compilation terminated. > >> make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 > >> make: *** [prepare0] Error 2 > > > > Interesting information, but maybe not sufficient to solve your > > issue, you want to compile for beaglebone, but you are compiling a > > kernel for the x86 architecture ? I am afraid it will not work. > > > > -- > > Gilles. > > > > Information: > main processor architecture:x86 32bit > target system: BeagleBoardXM > Linux kernel release number:3.2.21 for target hardware > dynamic boot parameter: root=/dev/sda7 resume=/dev/sda6 splash=silent quiet > Xenomai release number you experience an issue: Xenomai-2.6.2 > Havnt got it from GIT repositories > > Problem: > I built zImage successfully. When I build modules its showing error > $make ARCH=arm CROSS_COMPILE=arm-none-linux-gnueabi modules > > it showed error > make CONFIG_DEBUG_SECTION_MISMATCH=y > > As you suggested I disabled it and ran > make CONFIG_DEBUG_SECTION_MISMATCH=n > > Now it shows following error: > > make[1]: Nothing to be done for `relocs'. > CHK include/linux/version.h > CHK include/generated/utsrelease.h > CC arch/x86/kernel/asm-offsets.s > In file included from include/linux/sched.h:65:0, > from arch/x86/kernel/asm-offsets.c:9: > include/linux/ipipe.h:33:23: fatal error: asm/ipipe.h: No such file or > directory > compilation terminated. > make[1]: *** [arch/x86/kernel/asm-offsets.s] Error 1 > make: *** [prepare0] Error 2 > > If you need more information please let me know which information. Please read my answer again. So far, the problem you have does not prove there is anything wrong with Xenomai: you are compiling a kernel patched for beaglebone, for the x86 architecture. This is not supposed to work. For details on how to install Xenomai see: https://xenomai.org/installing-xenomai-2-x/ > Is > there any other version of xenomai which has patch for linux-3.2.21? > Please correct me. A version of Xenomai 2.x supports all the I-pipe patches for kernel versions which have been published before. So, if for instance Xenomai 2.6.2 was the first xenomai version to support Linux 3.2.21: - Xenomai 2.6.2 supports all I-pipe patches for Linux 3.2.21 which were published later - all later Xenomai versions support all the I-pipe patches for Linux 3.2.21. -- Gilles. ^ permalink raw reply [flat|nested] 7+ messages in thread
end of thread, other threads:[~2014-12-10 13:09 UTC | newest] Thread overview: 7+ messages (download: mbox.gz follow: Atom feed -- links below jump to the message on this page -- 2014-12-10 10:27 [Xenomai] /asm/ipipe.h not found JAY KOTHARI 2014-12-10 10:38 ` Gilles Chanteperdrix 2014-12-10 10:54 ` JAY KOTHARI 2014-12-10 10:58 ` Gilles Chanteperdrix 2014-12-10 11:03 ` Gilles Chanteperdrix 2014-12-10 12:46 ` JAY KOTHARI 2014-12-10 13:09 ` 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.