[LinuxPPS] AMBA driver

Gerhard Bertelsmann info at gerhard-bertelsmann.de
Wed Jun 11 10:22:22 CEST 2008


Udo van den Heuvel wrote:

> Cirilo Bernardo wrote:
>   
>> On Tue, Jun 10, 2008 at 8:07 PM, Gerhard Bertelsmann
>> <info at gerhard-bertelsmann.de> wrote:
>> [snip]
>>     
>>> Any hints regarding the missing PPS on ntpd ?
>>>
>>>       
>> Did you apply the NTPD patch which attempts to use the PPS?
>> http://ftp.enneenne.com/pub/misc/linuxpps/refclocks/nmea/
>>     
>
> The ATOM driver should work without patching.
Thanks for your help - fixed the problem: pps.h was missing at compiling 
ntpd.
The ATOM driver is working without a patch:

root at OpenWrt:~# ntpq -p
     remote           refid      st t when poll reach   delay   offset  
jitter
==============================================================================
oPPS(0)          .PPS.            1 l   15   16  377    0.000    0.011   
0.244
-192.168.0.2     192.53.103.108   2 u   37   64  377    4.079   -4.057   
2.234
+noname          .GPS.            1 u   29   64  377    0.748    0.352   
0.244
xptbtime1.ptb.de .PTB.            1 u   54   64  377   28.295   -4.341   
3.483
+ntp1.sda.t-onli 10.40.8.8        2 u   40   64  377   13.034   -0.674   
0.793

root at OpenWrt:~# ntpdc -c kern
pll offset:           8e-06 s
pll frequency:        -156.147 ppm
maximum error:        0.007139 s
estimated error:      0.000244 s
status:               0001  pll
pll time constant:    4
precision:            1e-06 s
frequency tolerance:  512 ppm

So, LinuxPPS is also working on Mips ADM5120 SoC (Edimax BR-6104KP).
Probably its the cheapest, fairly accurate NTP server ;-)

Regards

Gerd






More information about the LinuxPPS mailing list