Hello,
I am trying to synchronize imx6 cpu clock with the one of a NTP server using NTP protocol. It seems to work using settimeofday (step mode), however I need to implement the slew mode feature (using adjtime) in order to avoid the clock to be suddenly changed. The kernel discipline is performed with the adjtimex syscall. Can someone confirm that this feature cannot work with imx6 hardware?
Analysing the source code, I understand the tick timer is used to make the cpu clock go faster or slower. I suppose the issue is because the clock_event_device is registered with the CLOCK_EVT_FEAT_ONESHOT feature instead of CLOCK_EVT_FEAT_PERIODIC in the tick timer driver (/arch/arm/mach-imx/time.c). The timer is operating in free-running mode.
imx6q SoC
kernel imx_3.10.17_1.0.0_ga
Thank you.
Frederic
Hi Frederic
3.10.17 release is quite old, one can try 3.14.28 or 3.14.28 from
SABRE Board Reference Design|Freescale
Best regards
igor