Skip to contentSkip to conversation

clock problem

Xenomai-help Philip Ha 1 participant 1 message Aug 15, 2011

lore
Share & tools
lore

Philip Ha

author
#0 lore raw
Quoted 7 lines

The cpu frequency is obtained by the linux kernel calibration procedure. This same procedure returns the same imprecise results without xenomai. Now, something in the distro kernel must change the frequency to a nice round value (a good candidate would be the cpufreq module, except that the acpi_cpufreq module does not seem to load on my atom).

Quoted 5 lines

As a workaround, xenomai proposes kernel parameters to adjust the idea of the machine clock/cpu frequency. Try adding the following argument on the kernel command line:

xeno_hal.clockfreq=1600000000 xeno_hal.cpufreq=1600000000

Hi Gilles,

Thank you very much for your help and advice. I tried it out on our PC, and it worked. The latency between messages stays constant (only varies to a few microseconds) after each reboot.

I really appreciate for your help and patience.

Best regards,

Philip Ha