Part Number: AM4378
Hi experts,
Our company currently uses AM4378 chip and wants to implement IEEE 1588 function.
I have found relevant information and can use ptp4l and software timestamp to achieve the goal, but encountered an error when using hardware timestamp:
ptp4l[10250.237]: selected /dev/ptp0 as PTP clock
ptp4l[10250.321]: port 1: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[10250.324]: port 0: INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[10258.297]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[10258.297]: selected best master clock a81087.fffe.d6382b
ptp4l[10258.297]: assuming the grand master role
ptp4l[10259.299]: timed out while polling for tx timestamp
ptp4l[10259.299]: increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug
ptp4l[10259.299]: port 1: send sync failed
ptp4l[10259.299]: port 1: MASTER to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
Could you please teach us how to fix this error?
Is it because the SDK is too old? Current SDK version is "04.03.00.05 preempt-rt".
In addition, please help to answer some questions below, thank you !
1. There is a config file of ptp.cfg in ptp4l related commands. Where should I download it? Will there be a problem if not set
2. It is known that the MAC of AM4378 supports 1588. Does it have reached the status of SFD, or what changes need to be made.
3. If our company will implement timestamp on PHY in the future, the parameter of ptp4l will also use -H, how will the program determine whether timestamp is currently on MAC or PHY?
Many thanks.
Best Regards,
Luke Chen