Software Version
DRIVE OS 6.0.10.0
DRIVE OS 6.0.8.1
DRIVE OS 6.0.6
DRIVE OS 6.0.5
DRIVE OS 6.0.4 (rev. 1)
DRIVE OS 6.0.4 SDK
other
Target Operating System
Linux
QNX
other
Hardware Platform
DRIVE AGX Orin Developer Kit (940-63710-0010-300)
DRIVE AGX Orin Developer Kit (940-63710-0010-200)
DRIVE AGX Orin Developer Kit (940-63710-0010-100)
DRIVE AGX Orin Developer Kit (940-63710-0010-D00)
DRIVE AGX Orin Developer Kit (940-63710-0010-C00)
DRIVE AGX Orin Developer Kit (not sure its number)
other
SDK Manager Version
2.1.0
other
Host Machine Version
native Ubuntu Linux 20.04 Host installed with SDK Manager
native Ubuntu Linux 20.04 Host installed with DRIVE OS Docker Containers
native Ubuntu Linux 18.04 Host installed with DRIVE OS Docker Containers
other
Issue Description
We are setting up PTP synchronization on DRIVE AGX Orin with multiple radars connected.
Time source / pipeline
-
Ground-truth time comes from an GNSS GrandMaster (PTP GM) connected on mgbe0_0 (ptp0).
-
ptp4lruns in Boundary Clock mode (hardware timestamping, JBOD), detects the GM and distributes PTP on the sensor ports. -
We synchronize clocks as follows:
-
GM PHC → CLOCK_REALTIME (via
phc2sys-gm.service) -
CLOCK_REALTIME → each PHC on the sensor ports (via multiple
phc2sys-to@ptpX.service, one per/dev/ptpX)
-
Configurations used (attached):
-
ptp4l-bc.conf(Boundary Clock mode, JBOD enabled, hardware timestamping). -
ptp4l-bc.servicefor launchingptp4l. -
Multiple
phc2sys-to@ptpX.servicefiles.
Problem:
All 5 radars successfully receive PTP messages, but they do not synchronize to the correct UTC time.
On interface mgbe2_0, we observe two different PTP clocks being advertised simultaneously:
-
From the GNSS GrandMaster GM (expected, UDP transport).
-
Another apparently generated by the internal switch behind
mgbe2_0(L2 transport). This second time source corresponds to the time since the AGX boot, not UTC.
Screenshot: Wireshark capture on mgbe2_0 with a PTP filter, showing both sets of messages.
This dual advertisement causes inconsistent time distribution and incorrect timestamps at radar level.
Request for guidance
-
How can we disable or synchronize the internal PTP clock from the switch behind
mgbe2_0? -
Are there best practices for using Boundary Clock + multiple
phc2sysinstances in DRIVE OS to ensure consistent UTC distribution to all sensors?
Attachments
ptp4l-bc.conf.txt (514 Bytes)
ptp4l-bc.service.txt (209 Bytes)
phc2sys-gm.service.txt (373 Bytes)
phc2sys-to@ptp1.service.txt (398 Bytes) (example – services exist for ptp1 to ptp5, all identical except for the ptpX index)
