Richard,

I was able to get the files compiled/installed and was able to run one A10
dev kit as the GM, and the other as a slave.  When using software
timestamping, it seemed to work and achieve an offset of around 100us or
so.  

Now I am trying with the -H option for PHC to achieve better timing
(hopefully).  Should it work for the EMAC with the 4.1.22-ltsi-altera
kernel?  I had to adjust tx_timestamp_timeout up to 100 (maybe smaller
would work, I think 10 did not work) to avoid faults.

At first the master offset numbers start around -1000 and come up to 0 and
then keep climbing forever, as if it's servo'ing but getting no feedback.
I get a clockcheck warning for every master offset print:


ptp4l[2546.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2546.894]: master offset        -45 s0 freq   +6859 path delay
1205
ptp4l[2547.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2547.926]: master offset        -45 s0 freq   +6859 path delay
1205
ptp4l[2548.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2548.926]: master offset         -5 s0 freq   +6859 path delay
1205
ptp4l[2549.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2549.926]: master offset          0 s0 freq   +6859 path delay
1200
ptp4l[2550.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2550.926]: master offset         40 s0 freq   +6859 path delay
1200
ptp4l[2551.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2551.926]: master offset         40 s0 freq   +6859 path delay
1200
ptp4l[2552.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2552.926]: master offset         80 s0 freq   +6859 path delay
1200
ptp4l[2553.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2553.923]: master offset         80 s0 freq   +6859 path delay
1200
ptp4l[2554.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2554.926]: master offset        120 s0 freq   +6859 path delay
1200
ptp4l[2555.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2555.898]: master offset        160 s0 freq   +6859 path delay
1200
ptp4l[2556.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2556.926]: master offset        160 s0 freq   +6859 path delay
1200
ptp4l[2557.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2557.926]: master offset        200 s0 freq   +6859 path delay
1200
ptp4l[2558.894]: clockcheck: clock jumped backward or running slower than
expected!
ptp4l[2558.926]: master offset        220 s0 freq   +6859 path delay
1200


Thank you,

John


-----Original Message-----
From: Richard Cochran [mailto:richardcoch...@gmail.com] 
Sent: Tuesday, May 16, 2017 4:00 PM
To: John Lemonovich <john.lemonov...@foresys.com>
Cc: linuxptp-users@lists.sourceforge.net
Subject: Re: [Linuxptp-users] Adding LinuxPTP to Arria 10 SoC

On Tue, May 16, 2017 at 10:44:13AM -0500, John Lemonovich wrote:
> And then I ran:  make install  which put the output files into
> usr/local/sbin   and usr/local/man/man8

BTW, your can do 'make install DESTDIR=/my/embedded/fs' to install the
binaries and man pages to the proper place.

> Can I just copy those directories to my embedded Linux FS and run them?


Yes.

Thanks,
Richard

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Linuxptp-users mailing list
Linuxptp-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Reply via email to