Part Number: TMDXIDK5728
Tool/software: Linux
HI
Using Linux SDK 4.1 and starting ptp4l on eth0, P2P, with transport IPv4
eth0 is up and running and has an IP address assignes:
root@am57xx-evm:~# ifconfig
eth0 Link encap:Ethernet HWaddr FC:0F:4B:9C:12:A0
inet addr:192.168.0.2 Bcast:192.168.0.255 Mask:255.255.255.0
inet6 addr: fe80::fe0f:4bff:fe9c:12a0%763860/64 Scope:Link
UP BROADCAST RUNNING MULTICAST MTU:1500 Metric:1
RX packets:35960 errors:0 dropped:0 overruns:0 frame:0
TX packets:14446 errors:0 dropped:0 overruns:0 carrier:0
collisions:0 txqueuelen:1000
RX bytes:2345720 (2.2 MiB) TX bytes:977124 (954.2 KiB)
Interrupt:93
I get a "timed out while polling for tx timestamp" and "increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug"
Croot@am57xx-evm:~# ./ptp4l -ieth0 -P -m
ptp4l[91052.824]: selected /dev/ptp0 as PTP clock
ptp4l[91052.837]: port 1: INITIALIZING to LISTENING on INITIALIZE
ptp4l[91052.838]: port 0: INITIALIZING to LISTENING on INITIALIZE
ptp4l[91052.839]: port 1: link up
ptp4l[91053.839]: timed out while polling for tx timestamp
ptp4l[91053.840]: increasing tx_timestamp_timeout may correct this issue, but it is likely caused by a driver bug
ptp4l[91053.840]: port 1: send peer delay request failed
ptp4l[91053.841]: port 1: LISTENING to FAULTY on FAULT_DETECTED (FT_UNSPECIFIED)
^Croot@am57xx-evm:~#
I tried to increase tx_timestamp_timeout up to 100ms. This did not help
L2 transport is working correctly:
-/ptp4l -ieth0 -P -m -2