From 9aa1236c0022fe65c2754fc3fdc50b2d44e9588a Mon Sep 17 00:00:00 2001 From: PrincessPi3 Date: Sat, 14 Jun 2025 00:49:27 -0600 Subject: [PATCH] 1.2-dev --- debug-level-conf/chrony.conf | 9 +++++++++ full_status.sh | 12 ++++++++++++ 2 files changed, 21 insertions(+) diff --git a/debug-level-conf/chrony.conf b/debug-level-conf/chrony.conf index b3f11c3..5271679 100644 --- a/debug-level-conf/chrony.conf +++ b/debug-level-conf/chrony.conf @@ -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 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 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 10.0.0.0/24 diff --git a/full_status.sh b/full_status.sh index 10b1d2a..1956190 100644 --- a/full_status.sh +++ b/full_status.sh @@ -59,5 +59,17 @@ echo "i2c devices" ls -lh /dev/i2c* | sort -k9 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 clear \ No newline at end of file