Re: Chrony on CM4
James Clark <[email protected]>
| Newsgroups | gmane.comp.time.chrony.user |
|---|---|
| Message-ID | <CANz3_EYkJr1AH_R0AKGkMNY70cPj0kL8nR6S_GLa5dC_-1-8Lw@mail.gmail.com> |
I've now got NTP-over-PTP working on the Marvell AQC-107. I set up a new PC with Fedora 38 as a server with a i210-T1 (same setup as with the CM4 except for adding a width option to the PHC clock and changing the offset). If I plug the server and the AQC-107 into the same switch (a Unifi USW-Flex-XG), offsets were consistently in the low tens of nanoseconds, and all the indicators. If there are multiple switches between clients and servers, then the offsets get significantly worse, as expected. On the CM4 server, I've noticed another problem: there are spikes in the PHC extpps refclock: instead of the offsets all being low tens of nanoseconds (as with the i210), it spikes up to hundreds of nanoseconds. I suspect this is the reading of the PHC interfering with the extts events. See https://github.com/raspberrypi/linux/issues/5231 James On Mon, Sep 4, 2023 at 9:31 PM Miroslav Lichvar <[email protected]> wrote: > > On Mon, Sep 04, 2023 at 04:11:47PM +0200, Miroslav Lichvar wrote: > > > Hardware Receive Filter Modes: > > > none > > > ptpv2-l4-event > > > ptpv2-l2-event > > > ptpv2-event > > > > That looks ok. I'm not sure why it doesn't work. > > Maybe it's limited to multicast. I've seen a Broadcom NIC doing that. > Does ptp4l work in unicast mode on this NIC? > > Looking at the driver, it seems the timestamping filters are > configured in software. I'm wondering if it could support an NTP > filter. > > -- > Miroslav Lichvar > > > -- > To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org > with "unsubscribe" in the subject. > For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org > with "help" in the subject. > Trouble? Email [email protected] > -- To unsubscribe email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org with "unsubscribe" in the subject. For help email chrony-users-request-kWFZVVI9zxvPqho9SqqRMmD2FQJk+8+b@public.gmane.org with "help" in the subject. Trouble? Email [email protected]