Skip to content
~/ dnim.dev
▸ Writing ▸ About
All writing

~/writing/tags

#chrony

2 posts

Precision timing
August 25, 2026 8 min

The clock that rang like a bell under load

I built a PRU clock that held nanoseconds on the bench, then rang under load. The daemon crossing its ticks into CLOCK_REALTIME was modeling chrony's own steering and feeding the model back. I fixed it by moving the reference out of userspace, into a Linux PTP hardware clock.

#gps#pps#ptp#beaglebone
Precision timing
October 27, 2025 4 min

The GPS that answers 0xFF when it has nothing to say

Reading a u-blox GPS over I2C frees the UART, but the I2C interface has no concept of idle. When the module has nothing to send, every read comes back as 0xFF filler. This is the small bridge that turns that into a chrony refclock.

#gps#i2c#chrony#timing

dnim.dev · built and broken by JR

Writing GitHub RSS Email
esc

    Keyboard shortcuts

    • Open the command palette ⌘K / Ctrl K
    • Show this help ?
    • Go home g then h
    • Go to writing g then w
    • Close any dialog Esc

    Press ? anytime to see this.