Re: [Linuxptp-users] sanity_freq_limit

2015-06-21 Thread Richard Cochran
On Mon, Jun 22, 2015 at 03:35:19AM +, Daniel Le wrote: > Does ptp4l step only once (assuming the default first_step_threshold of 20 > microseconds is met) no matter how master offsets vary afterward? No, you can step a second and subsequent times by setting 'step_threshold' to a non-zero valu

Re: [Linuxptp-users] sanity_freq_limit

2015-06-21 Thread Daniel Le
eforge.net Subject: Re: [Linuxptp-users] sanity_freq_limit "...or that the change in time is not reflected in the subsequent time stamps". This is a good pointer for debugging. The system clock may have been stepped, but the FPGA hardware clock is not stepped and continues to provide the ti

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Miroslav Lichvar
On Fri, Jun 19, 2015 at 09:08:56PM +0200, Richard Cochran wrote: > On Fri, Jun 19, 2015 at 06:12:53PM +, Daniel Le wrote: > > Thanks Miroslav and Jake. > > > > I'm running linuxptp-1.4 and Linux kernel 2.6.35.7 with customization. My > > older linuxptp version has pi_f_offset_const instead of

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Daniel Le
it. Daniel -Original Message- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Friday, June 19, 2015 3:59 PM To: Daniel Le Cc: Linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] sanity_freq_limit On Fri, Jun 19, 2015 at 07:43:01PM +, Daniel Le wrote: >

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Richard Cochran
On Fri, Jun 19, 2015 at 07:43:01PM +, Daniel Le wrote: > > PHC is not used in my system. I have a proprietary NIC FPGA-based > MAC driver which has its own hardware clock, and in this scheme, > synchronizes to the Linux system clock that in turn is synchronized > to PTP Grandmaster via softwar

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Daniel Le
Message- From: Richard Cochran [mailto:richardcoch...@gmail.com] Sent: Friday, June 19, 2015 3:09 PM To: Daniel Le Cc: 'Miroslav Lichvar'; Linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] sanity_freq_limit On Fri, Jun 19, 2015 at 06:12:53PM +, Daniel Le wrote: > Th

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Richard Cochran
On Fri, Jun 19, 2015 at 06:12:53PM +, Daniel Le wrote: > Thanks Miroslav and Jake. > > I'm running linuxptp-1.4 and Linux kernel 2.6.35.7 with customization. My > older linuxptp version has pi_f_offset_const instead of first_step_threshold, > which I didn't alter. > > I added debugging code

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Daniel Le
niel Le Cc: Linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] sanity_freq_limit On Fri, Jun 19, 2015 at 04:15:20AM +, Daniel Le wrote: > And the log messages at start in "good case". I didn't save the log where my > system time was initially off a few minute

Re: [Linuxptp-users] sanity_freq_limit

2015-06-19 Thread Miroslav Lichvar
On Fri, Jun 19, 2015 at 04:15:20AM +, Daniel Le wrote: > And the log messages at start in "good case". I didn't save the log where my > system time was initially off a few minutes, though I remember the master > offsets were above 2. I'll need to reproduce such condition in order > t

Re: [Linuxptp-users] sanity_freq_limit

2015-06-18 Thread Daniel Le
niel Le Cc: Linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] sanity_freq_limit On Thu, Jun 18, 2015 at 07:18:53AM +, Daniel Le wrote: > > On Jun 18, 2015, at 2:58 AM, Miroslav Lichvar wrote: > > > >> On Thu, Jun 18, 2015 at 01:58:13AM +, Daniel Le

Re: [Linuxptp-users] sanity_freq_limit

2015-06-18 Thread Keller, Jacob E
On Wed, 2015-06-17 at 22:35 +, Daniel Le wrote: > Hello, > Hi, > I have a couple of questions about the frequency limit. How much may > it be reasonably increased from the default of 2 (20%)? And > this parameter is only configurable via the config file. Is that > correct? > Th

Re: [Linuxptp-users] sanity_freq_limit

2015-06-18 Thread Miroslav Lichvar
On Thu, Jun 18, 2015 at 07:18:53AM +, Daniel Le wrote: > > On Jun 18, 2015, at 2:58 AM, Miroslav Lichvar wrote: > > > >> On Thu, Jun 18, 2015 at 01:58:13AM +, Daniel Le wrote: > >> Additionally, in slave clock operation and software time stamping mode, > >> how (and where in the code) pt

Re: [Linuxptp-users] sanity_freq_limit

2015-06-18 Thread Daniel Le
> On Jun 18, 2015, at 2:58 AM, Miroslav Lichvar wrote: > >> On Thu, Jun 18, 2015 at 01:58:13AM +, Daniel Le wrote: >> Additionally, in slave clock operation and software time stamping mode, how >> (and where in the code) ptp4l can be forced to step the system clock with >> the time it fir

Re: [Linuxptp-users] sanity_freq_limit

2015-06-17 Thread Miroslav Lichvar
On Thu, Jun 18, 2015 at 01:58:13AM +, Daniel Le wrote: > Additionally, in slave clock operation and software time stamping mode, how > (and where in the code) ptp4l can be forced to step the system clock with the > time it first receives from a grandmaster clock? ptp4l should do that by defa

Re: [Linuxptp-users] sanity_freq_limit

2015-06-17 Thread Daniel Le
@lists.sourceforge.net Subject: [Linuxptp-users] sanity_freq_limit Hello, I have a couple of questions about the frequency limit. How much may it be reasonably increased from the default of 2 (20%)? And this parameter is only configurable via the config file. Is that correct? Thanks, Daniel

[Linuxptp-users] sanity_freq_limit

2015-06-17 Thread Daniel Le
Hello, I have a couple of questions about the frequency limit. How much may it be reasonably increased from the default of 2 (20%)? And this parameter is only configurable via the config file. Is that correct? Thanks, Daniel -