Dear Sirs,
we saw in a NXP community topic that INETx_EVENTy_IN is not supported by your fec_ptp.c driver.
https://community.nxp.com/t5/i-MX-Processors/i-MX6s-dl-input-PPS-to-FEC-for-PTP-Grand-master-ENET-15...
we could circumvent the problem by configuring the period and time of the start of the PPS, i.e:
echo "0 $timestamp_ptp_start 0 1 0" > /sys/class/ptp/ptp0/period
In any case, we did not encounter the following problems:
1) Starting the ptp at the same time, there is no alignment, a phase is maintained between the two PPSs of the two boards. In theoria, with the above command with period 1 second and having 0 nanoseconds as the start time (timestamp_ptp_start seconds and 0 nanoseconds), they should align, which is not the case.
2) When any change takes place, such as ptp being switched off or restarted and the Ethernet cable being switched on or off, the PPS signal of both cards collapses, remaining at a stable low logic value, requiring both cards to be rebooted.
How can we solve this?