Unicast PTP on Orin - Received SYNC without timestamp

Hi all!

I’m trying to sync an Orin to a to a PTP master using linuxptp.
Due to existing network topology, that i can’t change, i am forced to sync using unicast PTP.

Some Info about my setup:

  • Nvidia Jetson AGX Orin Devkit
  • Jetpack 5.0.3 (Rev 1)
  • linuxptp (6bac46)
  • TimeMachine TM2000B to sync to

here’s the config i’m using:

#unicast.cfg
[global]
unicast_req_duration		10
slaveOnly					1
domainNumber				3
time_stamping				hardware

[unicast_master_table]
table_id					1
logQueryInterval			1
UDPv4						192.168.1.20


##unicast ptp
[eth0]
unicast_master_table		1
delay_mechanism				E2E
network_transport			UDPv4
logAnnounceInterval			1
logSyncInterval				1
logMinDelayReqInterval		0

here’s what i’m running:
sudo ptp4l -f unicast.cfg -p /dev/ptp0 -m

These settings run on my Laptop without any problems.

this happens, when i’m running it on the jetson

option slaveOnly is deprecated, please use clientOnly instead
ptp4l[2692752.996]: selected /dev/ptp0 as PTP clock
ptp4l[2692752.997]: port 1 (eth1): taking /dev/ptp0 from the command line, not the attached ptp1
ptp4l[2692752.998]: driver rejected most general HWTSTAMP filter
ptp4l[2692753.003]: port 1 (eth1): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2692753.003]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2692753.004]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2692753.004]: port 1 (eth1): taking /dev/ptp0 from the command line, not the attached ptp1
ptp4l[2692756.569]: port 1 (eth1): new foreign master 40bd32.fffe.174c88-1
ptp4l[2692760.296]: driver rejected most general HWTSTAMP filter
ptp4l[2692760.301]: selected local clock 48b02d.fffe.910480 as best master
ptp4l[2692760.568]: selected best master clock 40bd32.fffe.174c88
ptp4l[2692760.568]: port 1 (eth1): LISTENING to UNCALIBRATED on RS_SLAVE
ptp4l[2692762.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692764.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692766.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692768.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692770.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692772.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692774.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692776.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692778.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692780.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692782.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692784.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692786.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692788.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692790.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692792.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692794.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692796.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692798.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692800.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692802.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692804.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692806.567]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692808.568]: port 1 (eth1): received SYNC without timestamp
ptp4l[2692810.568]: port 1 (eth1): received SYNC without timestamp

Any Idea what i’m doing wrong?

Greetings Kai

Sorry for the late response, have you managed to get issue resolved or still need the support? Thanks

Hi kayccc,
no worries!
I still need the support, haven’t figured out a solution.

Hi kai_ha,

Can you try below command on your Jetson AGX Orin device?
Master:
$ sudo ptp4l -i eth0 -m
Slave
$ sudo ptp4l -i eth0 -m -s

Master:
$ sudo ptp4l -i eth0 -f configs/default.cfg -m
Slave
$ sudo ptp4l -i eth0 -f configs/default.cfg -m -s

Hi carolyuu

running
$ sudo ptp4l -i eth0 -m -s

Output:

ptp4l[2669.212]: selected /dev/ptp0 as PTP clock
ptp4l[2669.213]: driver rejected most general HWTSTAMP filter
ptp4l[2669.217]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2669.218]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2669.218]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2676.590]: driver rejected most general HWTSTAMP filter
ptp4l[2676.595]: selected local clock 48b02d.fffe.903fe6 as best master
ptp4l[2683.225]: driver rejected most general HWTSTAMP filter
ptp4l[2690.818]: driver rejected most general HWTSTAMP filter
ptp4l[2697.556]: driver rejected most general HWTSTAMP filter
ptp4l[2705.151]: driver rejected most general HWTSTAMP filter
ptp4l[2712.224]: driver rejected most general HWTSTAMP filter

Running:
$ sudo ptp4l -i eth0 -f configs/default.cfg -m -s

Output:

ptp4l[2742.706]: selected /dev/ptp0 as PTP clock
ptp4l[2742.707]: driver rejected most general HWTSTAMP filter
ptp4l[2742.711]: port 1 (eth0): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2742.711]: port 0 (/var/run/ptp4l): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2742.711]: port 0 (/var/run/ptp4lro): INITIALIZING to LISTENING on INIT_COMPLETE
ptp4l[2750.318]: driver rejected most general HWTSTAMP filter
ptp4l[2750.322]: selected local clock 48b02d.fffe.903fe6 as best master
ptp4l[2757.539]: driver rejected most general HWTSTAMP filter
ptp4l[2763.792]: driver rejected most general HWTSTAMP filter
ptp4l[2770.927]: driver rejected most general HWTSTAMP filter
ptp4l[2777.779]: driver rejected most general HWTSTAMP filter

But like mentioned, running the default PTP settings is not possible, due to Network restrictions on customer side.
We need to connect via unicast PTP.

Best regards
Kai

This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.