On 05/17/2011 09:53 AM, Koenig, Florian wrote: > Hi, > > Do you have CONFIG_XENO_HW_FPU disabled? If not, please disable and > retry. Illegal instructions are maybe due to hard-float instructions in > the binary. I will check on our Walnut board when time permits... > hopefully today.
Nobody will understand that the above paragraph was written by myself without proper quoting! > I set CONFIG_XENO_HW_FPU to > # CONFIG_XENO_HW_FPU is not set Well, that should not be done manually and it could not be set via "menuconfig", I just realized. It's not the problem anyway, I believe. > I rebuild the xenomai userspace stuff (make clean;./configure > --host=powerpc-linux;make;make install), but the same (illegal instruction), > when i run it on powerpc cpu. I just tried latency on my Walnut board and it works fine: -bash-3.2# cat /proc/cpuinfo processor : 0 cpu : 405GP clock : 200.000000MHz revision : 1.69 (pvr 4011 0145) bogomips : 400.00 timebase : 200000000 platform : Walnut model : ibm,walnut Memory : 32 MB -bash-3.2# cd /home/wolf/bin/ -bash-3.2# ./latency == Sampling period: 100 us == Test mode: periodic user-mode task == All results in microseconds warming up... RTT| 00:00:01 (periodic user-mode task, 100 us period, priority 99) RTH|----lat min|----lat avg|----lat max|-overrun|---msw|---lat best|--lat worst RTD| 10.840| 11.570| 35.235| 0| 0| 10.840| 35.235 RTD| 9.710| 10.675| 37.205| 0| 0| 9.710| 37.205 RTD| 9.710| 10.465| 35.995| 0| 0| 9.710| 37.205 RTD| 9.710| 10.475| 43.635| 0| 0| 9.710| 43.635 RTD| 9.710| 13.885| 45.525| 0| 0| 9.710| 45.525 RTD| 9.710| 11.605| 37.505| 0| 0| 9.710| 45.525 ^C---|-----------|-----------|-----------|--------|------|------------------------- RTS| 9.710| 11.445| 45.525| 0| 0| 00:00:07/00:00:07 And also the example trivial-periodic works: -bash-3.2# export LD_LIBRARY_PATH=/home/wolf/lib -bash-3.2# ./trivial-periodic Time since last turn: 1000.009340 ms Time since last turn: 1000.008920 ms Time since last turn: 1000.001100 ms Time since last turn: 999.989450 ms > All other "normal" apps are running, only when i link to xenomai userspace > libs i get illegal instructions. On linux side i dont need > CONFIG_MATH_EMULATION enabled, because i want to use soft-float, that is > correct, or? I'm really puzzled what you are doing. It makes sense that you show us your build commands step by step. Wolfgang. _______________________________________________ Xenomai-help mailing list [email protected] https://mail.gna.org/listinfo/xenomai-help
