Re: [Xenomai-help] build xenomai userspace app, illegal instruction

2011-05-17 Thread Koenig, Florian
Hi, in linux-2.6.36 menuconfig is in Real-time syste/nucleus/machine only "Enable unlocked context switch" to choose, no hw-fpu ? > You can set CONFIG_XENO_HW_FPU, it is located in the "Real-time > system"/"nucleus"/"Machine" menu. > > -- >

Re: [Xenomai-help] build xenomai userspace app, illegal instruction

2011-05-17 Thread Koenig, Florian
Hi, > After copying trivial-periodic to 405GP cpu, it returns illegal instruction. Hm, in a previous mail I asked if the installed Xenomai programs from the test suite like "latency" or "cyclictest" do work. Is that the case? If not, it's most likely not a build problem. The latency and cyclicte

Re: [Xenomai-help] build xenomai userspace app, illegal instruction

2011-05-16 Thread Koenig, Florian
o satch.c make[1]: Leaving directory `/usr/src/xenomai-2.5.6/examples/posix' After copying trivial-periodic to 405GP cpu, it returns illegal instruction. Is /opt/eldk-4.2 meant to be the rootfs of the 405GP cpu ? I use a initramfs, which is placed in /usr/src/initramfs, so i only copy the x

Re: [Xenomai-help] build xenomai userspace app, illegal instruction

2011-05-16 Thread Koenig, Florian
Hi, i installed eldk into /opt/eldk-4.2, then i installed (make install) xenomai user-space into /opt/eldk-4.2/ppc_4xx . Now when i try to build the xenomai examples with $ make XENO=/opt/eldk-4.2/usr/xenomai-2.5.6/bin It uses /lib/modules/2.6.32-5-686 from the local kernel, so i used $ make X

[Xenomai-help] build xenomai userspace app, illegal instruction

2011-05-13 Thread Koenig, Florian
Hi, i have a powerpc 405GP without FPU and want to build a xenomai application. I installed and setup eldk-4.2 for ppc_4xx, to have a cross toolchain on my x86 computer. After that, i patched the linux-2.6.36 kernel with scripts/prepare-kernel.sh --linux=/usr/src/linux-2.6.36/ --adeos=ksrc/arch/p