On 04/10/2012 02:11 PM, Roberto Bielli wrote: > Il 10/04/2012 14:06, Gilles Chanteperdrix ha scritto: >> On 04/10/2012 02:05 PM, Roberto Bielli wrote: >>> Hi Gilles, >>> >>> i added this in configure of xenomai so i pass --enable-arm-mach=imx25 >>> >>> imx25) arch=5 >>> tsc_type=__XN_TSC_TYPE_FREERUNNING;; >>> >>> Furthermore in plat-mxc/include/mach/mxc.h explain which are cpumx2 and >>> imx25 is NOT mx2 >>> #define cpu_is_mx2() (cpu_is_mx21() || cpu_is_mx27()) >>> >>> i don't understand a things. >>> Does the tsc necessary to calculate correct timer period, or can i >>> disable tsc and xenomai continue work correctly ? >> Xenomai needs the tsc in kernel-space. Obviously, if you do not use the >> tsc in user-space, you will not see that it is wrong. Correct physical >> address is only needed for user-space. >> >>> However i cannot use tsc in my simple application. I resend the simple C >>> application that doesn't work. >> What do you mean you can not use the tsc in your application? What >> happens if you use it? >> > If i use tsc i have no error and i read a correct value. > So, it works. Good news. To know if it works as expected, you can try the "latency" test.
Something I have not asked, could you type: cat /proc/xenomai/timer on the mx25 board? -- Gilles. _______________________________________________ Xenomai-core mailing list Xenomaiemail@example.com https://mail.gna.org/listinfo/xenomai-core