[Linuxptp-users] How to run LinuxPTP work over WiFi??

2019-08-14 Thread gourav jain
Hi, Planning to test linux ptp over wifi( WLM -200NX radio card) but not sure whether it will work or not. So far its working fine on NXP ethernet driver (gianfar.c). While i'm checking wireless capability via ethtool, getting following output, root@CDOT-BBWT:/# ethtool -T wlan0 Time stam

[Linuxptp-users] How to speed up sync process time

2019-07-26 Thread gourav jain
Hi Richard, In master side, when i tried to sync system clock from PHP clock via ./phc2sys -c CLOCK_REALTIME -s /dev/ptp0 -w It's taking around 3 hrs for 10 mins sync adjustment. Is there any way to speed up sync process?? -- Gourav

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-24 Thread gourav jain
ran wrote: 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 -- Gourav Jain /गौरव जैन S

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-24 Thread gourav jain
2019. On 7/25/2019 10:20 AM, gourav jain wrote: 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

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-24 Thread gourav jain
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 ./phc2sys -a -r -m Cheers

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-24 Thread gourav jain
. 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 Cochran *Cc:* linuxptp-users@lists.sourceforge.net *Subject:* Re: [Linuxptp-users

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-23 Thread gourav jain
ndly let me know after ptp4l what i need to run in slave to get my requirement done. Thanks, Gourav On 7/23/2019 10:28 PM, Richard Cochran wrote: On Tue, Jul 23, 2019 at 10:13:41AM +0530, gourav jain wrote: Hi, If your intent is to serve the system time, then you need two -r flags h

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-22 Thread gourav jain
Hi, If your intent is to serve the system time, then you need two -r flags here, for example: ./phc2sys -a -r -r -m the above said where i need to run in master or slave side ?? On 7/23/2019 9:50 AM, gourav jain wrote: Hi Richard, Whatever flag i'm setting in ./phc2sys it a

Re: [Linuxptp-users] Trying to sync date between master and slave

2019-07-22 Thread gourav jain
Hi Richard, Whatever flag i'm setting in ./phc2sys it always making date in the year of 1970 On 7/22/2019 7:54 PM, Richard Cochran wrote: On Mon, Jul 22, 2019 at 05:08:24PM +0530, gourav jain wrote: I'm trying to sync dates in-between two system(NPX based chipset MPC8313), by

[Linuxptp-users] Trying to sync date between master and slave

2019-07-22 Thread gourav jain
4 delay 1032 phc2sys[19577.824]: CLOCK_REALTIME phc offset-14187 s2 freq -11850 delay 1032 phc2sys[19578.832]: CLOCK_REALTIME phc offset -7536 s2 freq -9455 delay 1032 but when i checking date again, root@CDOT-BBWT:/# date _Thu Jan 1 11:05:31 IST 1970_ -