Re: [Linuxptp-users] can't get linux PTP to run
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: <Tim...@de...> - 2013-03-26 16:00:21
|
Hi, I tested the ptp test porgramm. capabilities: 599999999 maximum frequency adjustment (ppb) 0 programmable alarms 0 external time stamp channels 0 programmable periodic signals 0 pulse per second What i can do: I can adjust the frequency, get ptp clock time set/get the ptp clock from and to system time. time shift okay What i can not do: timer_create: Operation not supported PTP_ENABLE_PPS: Operation not supported I also tested /Documentation/networking/timestamping this seems fine: SO_TIMESTAMP 0 SO_TIMESTAMPNS 0 SO_TIMESTAMPING 0 873.135483: sent 124 bytes 873.135517: select 1864483us 875.000334: select returned: 0, success 875.000423: sent 124 bytes 875.000441: select 4999559us 880.004323: select returned: 0, success 880.004497: sent 124 bytes 880.004521: select 4995479us I also set both clocks to nealy the same nothing changed. Thanks, Benny >>Hi, >> >> >>I'm not an expert, but the log seems to indicate a systematically decreasing master time offset, with a maxed out freq. adjustment. I would say the >>PHC is somehow unable to properly step to a new value (clock_settime/adjtime fails). >> >>You could try setting both clocks nearly equal and see if they eventually converge. >> >>You could also compile and try the testptp program (/Documentation/ptp/testptp.c) to see if your PHC clock actually works. >> >>I'm not sure if support of the get_ts_info() call is required. >> >> >>J. |