Hi,
We tried the phc_ctl script to sync up time. Before doing phc_ctl to sync time, you need to run ptp4l command too.
Master:
$ sudo ptp4l -i eth0 -m
Slave:
$ sudo ptp4l -i eth0 -m -s
[Master]
# phc_ctl /dev/ptp0 get
phc_ctl[92332.285]: clock time is 1514764821.904995580 or Mon Jan 1 00:00:21 2018
[Slave]
# phc_ctl /dev/ptp0 get
phc_ctl[3678.214]: clock time is 0.000000000 or Thu Jan 1 00:00:00 1970
After start running ptp command and check on Slave:
# phc_ctl /dev/ptp0 get
phc_ctl[4491.644]: clock time is 1514765726.075818891 or Mon Jan 1 00:15:26 2018