Re: [Linuxptp-users] failed to adjust clock: Invalid argument and phc offset keep increasing
PTP IEEE 1588 stack for Linux
Brought to you by:
rcochran
From: Richard C. <ric...@gm...> - 2017-08-02 20:06:30
|
On Fri, Jul 21, 2017 at 04:38:17PM -0400, Kin Man wrote: > I have compiled the Linux PTP project v 1.7 and compiled the ptp4l and > phc2sys apps. The ptp4l seems to work fine between the master (a Linux > machine) and slave (my Xilinx Zynq board), but the phcsys seems not to work > properly, as the phc offset keep increasing and it pop out the failed to > adjust the clock message. > > When we used the Xilinx board as master and use the Linux machine as slave, > then phc2sys is fine. while we are trying to debug the problem, we noticed > the argument to the function clock_adjtime(clkid, &tx) seems to be the same > between the working and the non-working case, therefore, we are wondering > if something wrong with the clock_adjtime function. Any advice will be > helpful. Is this a mainline Linux kernel, or is it a vendor kernel? Thanks, Richard |