* [Xenomai-help] Xenomai on Crusoe TM5900
@ 2009-07-17 16:03 Pierre Ficheux
2009-07-17 16:14 ` Gilles Chanteperdrix
0 siblings, 1 reply; 2+ messages in thread
From: Pierre Ficheux @ 2009-07-17 16:03 UTC (permalink / raw)
To: xenomai
Hi all,
I try to use Xenomai on TM5900 CPU:
Kernel is 2.6.28.9
Xenomai is 2.4.8
First configuration (CONFIG_HPET_TIMER is not set) gives lots of
overruns with latency program:
== 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|----lat best|---lat
worst
RTD| 4.493| 12.861| 25.111| 0| 4.493|
25.111
RTD| 9.057| 13.876| 1152.413| 37| 4.493|
1152.413
RTD| 12.180| 13.755| 640.259| 53| 4.493|
1152.413
RTD| 12.285| 13.924| 618.703| 70| 4.493|
1152.413
...
Please not I use CONFIG_HZ=250 as CONFIG_HZ=1000 freezes at boot time
system with "clocksource tsc unstable" message.
If I set HPET:
CONFIG_HPET_TIMER=y
CONFIG_HPET_EMULATE_RTC=y
CONFIG_X86_UP_APIC=y
CONFIG_X86_UP_IOAPIC=y
CONFIG_X86_LOCAL_APIC=y
CONFIG_X86_IO_APIC=y
I have a very strange message when starting latency:
Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
(modprobe xeno_native?)
Of course native skin is present and CONFIG_XENO_OPT_PERVASIVE enabled
CONFIG_XENO_SKIN_NATIVE=y
CONFIG_XENO_OPT_PERVASIVE=y
Any idea?
Thx by advance.
--
Pierre FICHEUX -/- CTO OW/OS4I, France -\- pierre.ficheux@domain.hid
http://www.os4i.com
http://www.ficheux.org
I would love to change the world, but they won't give me the source code
^ permalink raw reply [flat|nested] 2+ messages in thread
* Re: [Xenomai-help] Xenomai on Crusoe TM5900
2009-07-17 16:03 [Xenomai-help] Xenomai on Crusoe TM5900 Pierre Ficheux
@ 2009-07-17 16:14 ` Gilles Chanteperdrix
0 siblings, 0 replies; 2+ messages in thread
From: Gilles Chanteperdrix @ 2009-07-17 16:14 UTC (permalink / raw)
To: Pierre Ficheux; +Cc: xenomai
Pierre Ficheux wrote:
> Hi all,
>
> I try to use Xenomai on TM5900 CPU:
>
> Kernel is 2.6.28.9
> Xenomai is 2.4.8
>
> First configuration (CONFIG_HPET_TIMER is not set) gives lots of
> overruns with latency program:
>
> == 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|----lat best|---lat
> worst
> RTD| 4.493| 12.861| 25.111| 0| 4.493|
> 25.111
> RTD| 9.057| 13.876| 1152.413| 37| 4.493|
> 1152.413
> RTD| 12.180| 13.755| 640.259| 53| 4.493|
> 1152.413
> RTD| 12.285| 13.924| 618.703| 70| 4.493|
> 1152.413
> ...
>
> Please not I use CONFIG_HZ=250 as CONFIG_HZ=1000 freezes at boot time
> system with "clocksource tsc unstable" message.
Ok. Your processor likely halts the tsc when idle, or something. You
should try and see if there is no processor-specific kernel parameter to
prevent this behaviour, or alternatively try passing idle=poll.
You may also have issues with SMIs, see the TROUBLESHOOTING guide.
>
>
> If I set HPET:
>
> CONFIG_HPET_TIMER=y
> CONFIG_HPET_EMULATE_RTC=y
> CONFIG_X86_UP_APIC=y
> CONFIG_X86_UP_IOAPIC=y
> CONFIG_X86_LOCAL_APIC=y
> CONFIG_X86_IO_APIC=y
>
> I have a very strange message when starting latency:
>
> Xenomai: native skin or CONFIG_XENO_OPT_PERVASIVE disabled.
> (modprobe xeno_native?)
>
> Of course native skin is present and CONFIG_XENO_OPT_PERVASIVE enabled
>
> CONFIG_XENO_SKIN_NATIVE=y
> CONFIG_XENO_OPT_PERVASIVE=y
>
> Any idea?
Please show us the full .config.
--
Gilles
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2009-07-17 16:14 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-07-17 16:03 [Xenomai-help] Xenomai on Crusoe TM5900 Pierre Ficheux
2009-07-17 16:14 ` Gilles Chanteperdrix
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.