On Dec 6, 2021, at 8:34 PM, Richard Cochran <richardcoch...@gmail.com> wrote:
On Mon, Dec 06, 2021 at 07:27:54AM -0500, Dan Geer wrote: I would like to start with my thanks for the support of the Linux PTP Project. The tools are a great success, and keep getting better! I'm developing a custom SBC that works perfectly approximately 90% of the time. However, when the SBC starts or restarts there are cases immediately after initialization where ptp4l goes into a repeating cycle of 1) syncing to a PTP Grand Master, 2) timing out on the port_delay_request, and 3) resetting the failed port. My SBC is based on a MPC8360E (NXP PowerQUICC® II Pro Processor with ucc_geth MACs) connected to DP83640 PHYTERs. You want to use the PTP features in the phyters. First step is to make sure the MAC driver isn't also doing time stamping. I don't see PTP support in mainline ucc_geth, but maybe you have a vendor kernel with time stamping patched in? Thanks, Richard Richard, Thanks for the quick response! No vendor kernel involved. I have the mainline ucc_geth. On the transmit side, the ucc_geth_start_xmit function calls skb_tx_timestamp(skb) which hooks into the mii_ts->txtstamp() function pointing to dp83640.c The phyter is doing the timestamp via the PHY MII timestamp interface. I've been going through the driver code, and all of the components seem to be in there. I'm using Documentation/networking/timestamping.rst as my reference. So, I'm into the phyter device driver... What's the next step? Thanks again, Dan
_______________________________________________ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users