Reg: Linux 3.8.13 64bit xenomai-2.6.4 compilation problem
Hi,
I am using freescale T2080 PowerPC based processor board. we are patched the linux kernel 3.8.13 with xenomai 2.6.4. After patched, The following kernel configuration are selected before compiling.
1) 64 bit Kernel.
2) Processor Type --> Embedded Processor
3) CPU Selection --> POWER7
4) Symmetric Multiprocessing support
5) Max No of CPU 8
6) Disabled the CPU Frequency Scaling
compiling the above configuration with fsl-64 bit freescale cross compiler. It gives the following error.
CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CC arch/powerpc/kernel/asm-offsets.s
In file included from include/linux/ipipe_debug.h:25:0,
from include/linux/ipipe.h:31,
from include/linux/sched.h:25,
from arch/powerpc/kernel/asm-offsets.c:17:include/linux/ipipe_domain.h: In function 'ipipe_current_context':include/linux/ipipe_domain.h:252:2: error: implicit declaration of function '__mtmsrd' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Kindly suggest us to resolve this issue.RegardsSuresh
Quoted 27 lines · Sureshvs
Hi,
I am using freescale T2080 PowerPC based processor board. we are patched the linux kernel 3.8.13 with xenomai 2.6.4. After patched, The following kernel configuration are selected before compiling.
1) 64 bit Kernel.
2) Processor Type --> Embedded Processor
3) CPU Selection --> POWER7
4) Symmetric Multiprocessing support
5) Max No of CPU 8
6) Disabled the CPU Frequency Scalingcompiling the above configuration with fsl-64 bit freescale cross compiler. It gives the following error.
CHK include/generated/uapi/linux/version.h CHK include/generated/utsrelease.h CC arch/powerpc/kernel/asm-offsets.sIn file included from
include/linux/ipipe_debug.h:25:0,
frominclude/linux/ipipe.h:31,
frominclude/linux/sched.h:25,
fromarch/powerpc/kernel/asm-offsets.c:17:include/linux/ipipe_domain.h: In function 'ipipe_current_context':include/linux/ipipe_domain.h:252:2: error: implicit declaration of function '__mtmsrd' [-Werror=implicit-function-declaration]
cc1: some warnings being treated as errors
make[1]: *** [arch/powerpc/kernel/asm-offsets.s] Error 1
make: *** [prepare0] Error 2
Quoted 1 line
Kindly suggest us to resolve this issue.RegardsSuresh
You should not use base your work on 3.8 for Xenomai/powerpc64, especially if unfamiliar with Linux over this architecture: this kernel is obsolete, and the interrupt pipeline port is broken for this release on powerpc64.
The I-pipe port has been heavily reworked for 3.14 to bring it back in shape, however no port to the T2080 was ever done here, so this is unlikely to work out of the box using the official I-pipe patches.
Please note that Xenomai 2.6.x will be EOL by the end of this year. We are moving to 3.x.
Signature · 1 line
Philippe.