| Re: [chrony-dev] [RFC] Support for raw memory mapped clock sources |
[ Thread Index |
Date Index
| More chrony.tuxfamily.org/chrony-dev Archives
]
- To: chrony-dev@xxxxxxxxxxxxxxxxxxxx
- Subject: Re: [chrony-dev] [RFC] Support for raw memory mapped clock sources
- From: Enguerrand de Ribaucourt <enguerrand.de-ribaucourt@xxxxxxxxxxxxxxxxxxxx>
- Date: Thu, 23 Oct 2025 09:46:40 +0200
- Dkim-filter: OpenDKIM Filter v2.10.3 mail.savoirfairelinux.com 5DEDF3D84C9F
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=savoirfairelinux.com; s=DFC430D2-D198-11EC-948E-34200CB392D2; t=1761205602; bh=JtsjLiw8mh79GqvGKQ4HF9QlbHIS+iKSr8TO9ouKOmY=; h=Message-ID:Date:MIME-Version:To:From; b=Nnf8taWctoyVoJwTQm4aZiBmZ+Eqmoqfqqjr7qLjpSVuPxq+NCGxLzhsiQu8erk4h h67v9GbqQbEEQm78Y8dgqZv9nLj9FUqlg1n9k3DwdpzsfO/Tb07Zab6IkvEZYfxCRE emRtpIjUdFpdEh3MnzZaguWW7gTMT+5W7uQjM32jEwYElGqiwvKnqoNnCTNcvv9OPZ gYdxtawdhVEoYEx7r7IBHGfjFNGQlIgNz9njLLNWw5H/lCv3GX6tRNqUkYuQMfcRJJ 5n8PzYCPn/32rbIw3p8liuuImrkNPA6I1CMdrZ/6lJc2NPw78OgcP9zjXQ5CY+04yb IaGh4m3Xvjghw==
On 10/21/25 16:14, Josef 'Jeff' Sipek wrote:
Another option would be to write a kernel module to expose the FPGA's
registers as a /dev/ptp device. (I *think* it is possible to expose PTP
device without it being a NIC, but I'd have to check the code.) Chrony and
other timekeeping related software already know how to use those. Granted,
writing kernel code is way more effort than a simple mmio <-> SOCK refclock
user tool.
Thank you very much everyone for your input.
I had a look at the PHC driver possibilities. Turns out their is already
one in Xilinx's Linux fork! There's a corresponding IP for the FPGA
programmable logic. The PL should be able to forward NMEA to this IP.
-
https://github.com/Xilinx/linux-xlnx/blob/e9aec5f9a14dcfacbd0f839cdae46ec42616ce1c/drivers/ptp/ptp_xilinx.c#L1
--
Cheers,
Enguerrand de Ribaucourt
Savoir-faire Linux
--
To unsubscribe email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "unsubscribe" in the subject.
For help email chrony-dev-request@xxxxxxxxxxxxxxxxxxxx with "help" in the subject.
Trouble? Email listmaster@xxxxxxxxxxxxxxxxxxxx.