Master side:
1) setting date:
root@CDOT-BBWT:/# date
Thu Jul 25 11:03:00 IST 2019
3) running ptp4l
root@CDOT-BBWT:/# ./ptp4l -i eth1 -m &
root@CDOT-BBWT:/# ptp4l main
ptp4l[4166.518]: selected /dev/ptp0 as PTP clock
ptp4l[4166.523]: port 1: INITIALIZING t
On Thu, Jul 25, 2019 at 10:31:07AM +0530, gourav jain wrote:
> Hi Richard,
>
> After running commands, suggested by you, at slave side my date is becoming
>
> IST 1970 from IST 2019.
Huh?
What is that supposed to mean?
Please show us the logs.
Thanks,
Richard
_
Hi Richard,
After running commands, suggested by you, at slave side my date is becoming
IST 1970 from IST 2019.
One more observation i got, its same ,IST 1970, while running ./phc_ctl
/dev/ptp0 get.
Do i need to play with phc_ctl also ???
But at the master side its always proper i.e. IST 2
Hi Richard,
After running commands, suggested by you, at slave side my date is becoming
IST 1970 from IST 2019.
One more observation i got, its same while running ./phc_ctl /dev/ptp0 get
But at the master side its proper.
On 7/25/2019 9:53 AM, Richard Cochran wrote:
On Thu, Jul 25, 2019 a
On Thu, Jul 25, 2019 at 09:41:13AM +0530, gourav jain wrote:
> Can you pls let me know what all commands i need to run, order wise, in
> master and slave, to get same date on both master and slave??
master:
./ptp4l -i eth1 -m
./phc2sys -a -a -r -m
slave:
,/ptp4l -i eth1 -m -s
./phc2
Hi Mike,
Can you pls let me know what all commands i need to run, order wise, in
master and slave, to get same date on both master and slave??
Thanks,
Gourav
On 7/24/2019 6:44 PM, Lynch, Mike wrote:
You have to use phc2sys to synchronize the masters PHC clock to the
masters system clock.
You have to use phc2sys to synchronize the masters PHC clock to the masters
system clock. I'm not sure but I think it also has to be used on the slave
side to synchronize the slave system clock to the slave PHC clock, Richard?
From: gourav jain
Sent: Tuesday, July 23, 2019 11:55 PM
To: Richard
On Wed, Jul 24, 2019 at 01:14:33PM +, Lynch, Mike wrote:
> You have to use phc2sys to synchronize the masters PHC clock to the masters
> system clock. I'm not sure but I think it also has to be used on the slave
> side to synchronize the slave system clock to the slave PHC clock, Richard?
Y