Re: [Linuxptp-users] Can ptp4l be used without phc2sys?

2020-08-19 Thread Richard Hill
I had an iMX6 board running steady at <50ns using an external circuit to adjust the 125MHz system clock, from which the AVTP counter is incremented. It can be done Richard H -Original Message- From: Irene Kravets [mailto:ire...@sapling-inc.com] Sent: Mittwoch, 19. August 2020 13:49 To

Re: [Linuxptp-users] Can ptp4l be used without phc2sys?

2020-08-18 Thread Richard Hill
at the physical signal they are using just happens appear as > an output, or maybe the vendor kernel has extra code to make that > happen. Device tree to configure GPIOs and PADs - connect external pins to Capture/Compare in iMX Richard Hill ___ Linuxptp-users mailing list Linuxptp-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/linuxptp-users

Re: [Linuxptp-users] Fwd: Fwd: adding precision with PPS with PTP [linuxptp] on nvidia Jetson arm aarch64 device

2020-06-24 Thread Richard Hill
Some boards (but not yours) have PPS-in direct timestamping. Some iMX6s have this. You’ll still need to mod the driver as it only handles PPS-out, but it’s < 25ns accurate once running. There’s just far too much latency for PPS-in via GPIO to be useful. Richard H From: Andrey Vol

Re: [Linuxptp-users] Inexpensive ARM board for a PTP server (using GPS PPS)?

2019-02-05 Thread Richard Hill
> I have a GPS 1PPS signal available and would like to use it to > distribute time across my home network. The more accurate the better. > > GPS > single-board computer --> several PTP client hosts > 1PPS ethernet > > I see that the TI AM355x boards like the Be

Re: [Linuxptp-users] Grandmaster with gps pps

2018-06-26 Thread Richard Hill
> So have you actually connected PPS to an FEC ENET_1588_EVENT#_IN pin on > the imx, and modify the driver to use this for adjusting clock frequency? Until very recently, I've not had hardware where this connector has been available, so that's why I've had to use the external GPS-PPS/PPS-OUT c

Re: [Linuxptp-users] Grandmaster with gps pps

2018-06-25 Thread Richard Hill
Not directly related to this, but ... Having spent some time modifying the FEC driver, I can highlight some things to be aware of 1. The hardware nanosecond counter is not the same as PTP nanoseconds. PTP time is held as a variable, not by FEC 2. The PPS-OUT signal does fire each second, but is n

[Linuxptp-users] Fw: Aw: RE: NULL pointer in port_delay_request

2018-05-02 Thread Richard Hill
] Sent: Freitag, 27. April 2018 20:19 To: Richard Hill Cc: linuxptp-users@lists.sourceforge.net Subject: Re: [Linuxptp-users] NULL pointer in port_delay_request   On Tue, Apr 24, 2018 at 05:13:11PM +0100, Richard Hill wrote: > > Or should the list never be empty at this point ? > > Th

Re: [Linuxptp-users] NULL pointer in port_delay_request

2018-04-24 Thread Richard Hill
> > > I am getting a dst NULL pointer here (in port_delay_request) > > if (p->hybrid_e2e) { > struct ptp_message *dst = TAILQ_FIRST(&p->best->messages); > msg->address = dst->address; > msg->header.flagField[0] |= UNICAST; > } > This appears to be because the li

Re: [Linuxptp-users] NULL pointer in port_delay_request

2018-04-24 Thread Richard Hill
I am getting a dst NULL pointer here (in port_delay_request) if (p->hybrid_e2e) { struct ptp_message *dst = TAILQ_FIRST(&p->best->messages); msg->address = dst->address; msg->header.flagField[0] |= UNICAST; } (gdb) p dst $13 = (struct ptp_message *) 0