This commit is contained in:
2025-06-14 00:49:27 -06:00
parent 2bb234d977
commit 9aa1236c00
2 changed files with 21 additions and 0 deletions
+9
View File
@@ -15,9 +15,18 @@ refclock SHM 0 refid NMEA offset 0.000 precision 1e-6 poll 0 filter 3
# trust means we trust this time. the NMEA will be kicked out as false ticker eventually, so we need to trust the combo # trust means we trust this time. the NMEA will be kicked out as false ticker eventually, so we need to trust the combo
refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust refclock PPS /dev/pps0 refid PPS lock NMEA offset 0.0 poll 3 trust
# enable RTC refclock
refclock PHC /dev/rtc0 poll 2 offset 0
# also enable logging by uncommenting the logging line # also enable logging by uncommenting the logging line
log tracking measurements statistics log tracking measurements statistics
# sync systemclock to RTC on startup
initstepslew 1 rtc
# Update RTC from system clock periodically
makestep 1 3
# allow local connections to ntp # allow local connections to ntp
allow 10.0.0.0/24 allow 10.0.0.0/24
+12
View File
@@ -59,5 +59,17 @@ echo "i2c devices"
ls -lh /dev/i2c* | sort -k9 ls -lh /dev/i2c* | sort -k9
hold_for_enter hold_for_enter
# rtc devices
clear
echo "rtc devices"
ls -lh /dev/rtc* | sort -k9
hold_for_enter
# hwclock status
clear
echo "hwclock status"
sudo hwclock --verbose
hold_for_enter
# clean up # clean up
clear clear