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?
--
Gilles.
_______________________________________________
Xenomai-core mailing list
[email protected]
https://mail.gna.org/listinfo/xenomai-core