Please provide the following info (tick the boxes after creating this topic):
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
<Please provide details about your query/application pipeline/usecase/pictures here >
Error String
< Please provide just the error messages here >
Logs
Provide logs in text box instead of image
Please paste the complete application log here. If there are multiple logs, please use multiple text box
We connected the laser radar to the network port mgbe1_0 and then configured the PTP4L and phc2sys system services. The phc2sys system service is used to synchronize the system time to the PTP hardware clock on the network port, and the PTP4L system service is used to synchronize the PTP hardware clock on the network port to the laser radar clock. We started both services and disabled automatic time updates on the system. We determined that the time had been synchronized based on the data returned by the laser radar. However, when we manually modified the system time, the time returned by the laser radar was the time before the modification, and the time did not synchronize successfully. However, when we restarted the phc2sys system service, the time synchronized again. Can you help take a look?
zhangzs@tegra-ubuntu:~/adas_ws$ cat /etc/systemd/system/ptp4l.service
[Unit]
Description=PTP4L Service
After=network.target
[Service]
ExecStart=/usr/local/sbin/ptp4l -H -2 -m -f /etc/linuxptp/automotive-master.cfg -i mgbe1_0
[Install]
WantedBy=multi-user.target
zhangzs@tegra-ubuntu:~/adas_ws$ cat /etc/systemd/system/phc2sys.service
[Unit]
Description=PHC2SYS Service
After=network.target
[Service]
ExecStart=/usr/local/sbin/phc2sys -s CLOCK_REALTIME -c /dev/ptp4 -O 0 -m -u 10
[Install]
WantedBy=multi-user.target
zhangzs@tegra-ubuntu:~/adas_ws$ cat /etc/linuxptp/automotive-master.cfg
#
# Automotive Profile example configuration for master containing those
# attributes which differ from the defaults. See the file, default.cfg, for
# the complete list of available options.
#
[global]
# Options carried over from gPTP.
gmCapable 1
priority1 248
priority2 248
logSyncInterval -3
syncReceiptTimeout 3
neighborPropDelayThresh 800
min_neighbor_prop_delay -20000000
assume_two_step 1
path_trace_enabled 1
follow_up_info 1
transportSpecific 0x1
ptp_dst_mac 01:80:C2:00:00:0E
network_transport L2
delay_mechanism P2P
#
# Automotive Profile specific options
#
BMCA noop
serverOnly 1
inhibit_announce 1
asCapable true
inhibit_delay_req 1
zhangzs@tegra-ubuntu:~/adas_ws$