[chrony-users] PPS on stretch Raspberry Pi |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-users Archives
]
- To: chrony-users@xxxxxxxxxxxxxxxxxxxx
- Subject: [chrony-users] PPS on stretch Raspberry Pi
- From: Deven Hickingbotham <devenh@xxxxxxxxxxx>
- Date: Mon, 26 Feb 2018 07:39:54 -0800
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=pacbell.net; s=s2048; t=1519659598; bh=blV3PRNrvb+NNdu7pPv6kdGHqnVNPK64DBweKrqQjsA=; h=To:From:Subject:Date:From:Subject; b=BH2sbQFe4A7TArKgDlFM79VozpXXIzFbijd0Q6T4APLR0qse8y2P52Q8GkUSg7BZV0SvqfAj43umJ4jFBqG/kdY93xV3IMI8uGoezOpOgC8ka3M/H4d/EVdrfEgCZn2KpX4lOPrufhUlWhg361lwhNJqsRNhOvoTyAHKQDCroGtFf597+GPgZOGJs2k+VQgQgKDAtnWOKaN3eoLgt3Tpm21aD3miWi0rRAmba5qcPB/yMEJpFBRJirnlYsYFNLlQAtP5fSfJ15yu/kojKsHN8Pr0F221AEI0taLdq9nuVaETOqwAP7q8x0JniJkWmfIsLqwwiGD3cr0TgXbOD74/xg==
I've had chrony 2.3 running on jessie with PPS, but haven't been able to
get PPS working on stretch with chrony 3.0. Here is my configuration on
stretch (which was the same on jessie):
Installation:
sudo apt-get -y install chrony pps-tools
/boot/cmdline.txt:
dwc_otg.lpm_enable=0 console=tty1 root=PARTUUID=1d614c15-02
rootfstype=ext4 elevator=deadline fsck.repair=yes rootwait quiet splash
plymouth.ignore-serial-consoles
/boot/config.txt:
# For more options and information see
# http://rpf.io/configtxt
# Some settings may impact device functionality. See link above for details
# uncomment if you get no picture on HDMI for a default "safe" mode
#hdmi_safe=1
# uncomment this if your display has a black border of unused pixels visible
# and your display can output without overscan
#disable_overscan=1
# uncomment the following to adjust overscan. Use positive numbers if
console
# goes off screen, and negative if there is too much border
#overscan_left=16
#overscan_right=16
#overscan_top=16
#overscan_bottom=16
# uncomment to force a console size. By default it will be display's
size minus
# overscan.
#framebuffer_width=1280
#framebuffer_height=720
# uncomment if hdmi display is not detected and composite is being output
#hdmi_force_hotplug=1
# uncomment to force a specific HDMI mode (this will force VGA)
#hdmi_group=1
#hdmi_mode=1
# uncomment to force a HDMI mode rather than DVI. This can make audio
work in
# DMT (computer monitor) modes
#hdmi_drive=2
# uncomment to increase signal to HDMI, if you have interference,
blanking, or
# no display
#config_hdmi_boost=4
# uncomment for composite PAL
#sdtv_mode=2
#uncomment to overclock the arm. 700 MHz is the default.
#arm_freq=800
# Uncomment some or all of these to enable the optional hardware interfaces
#dtparam=i2c_arm=on
#dtparam=i2s=on
#dtparam=spi=on
# Uncomment this to enable the lirc-rpi module
#dtoverlay=lirc-rpi
# Additional overlays and parameters are documented /boot/overlays/README
# Enable audio (loads snd_bcm2835)
dtparam=audio=on
enable_uart=1
dtoverlay=pps-gpio,gpiopin=4
/etc/modules:
# /etc/modules: kernel modules to load at boot time.
#
# This file contains the names of kernel modules that should be loaded
# at boot time, one per line. Lines beginning with "#" are ignored.
i2c-dev
pps-gpio
/etc/chrony/chrony.conf:
server 0.us.pool.ntp.org iburst
server 1.us.pool.ntp.org iburst
server 2.us.pool.ntp.org iburst
server 3.us.pool.ntp.org iburst
#server 192.168.0.108 iburst
#server 172.20.10.6 iburst
refclock PPS /dev/pps0 lock NMEA refid PPS
# Settings for 1 update per 1 to 2.5 second seconds
#refclock SHM 0 offset 0.5 delay 0.2 refid NMEA noselect
# Setting for 2, 3, 4, 5, 10 updates per seconds
refclock SHM 0 offset 0.1 delay 0.2 refid NMEA noselect
# In first three updates step the system clock instead of slew
# if the adjustment is larger than 0.01 seconds.
makestep 0.01 3
# Enable kernel synchronization of the real-time clock (RTC).
rtcsync
# Allow NTP client access from local network.
allow 192.168
allow 172.20
--
To unsubscribe email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "unsubscribe" in the subject.
For help email chrony-users-request@xxxxxxxxxxxxxxxxxxxx
with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.