Please provide the following info (check/uncheck the boxes after clicking “+ Create Topic”): Software Version
DRIVE OS Linux 5.2.0
DRIVE OS Linux 5.2.0 and DriveWorks 3.5
NVIDIA DRIVE™ Software 10.0 (Linux)
NVIDIA DRIVE™ Software 9.0 (Linux)
other DRIVE OS version
other
Below are my commands and the output. Please check if it helps. Thanks.
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvavb/daemons$ timedatectl set-ntp 0
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvavb/daemons$ sudo ./phc2sys -s /dev/ptp0 -w -S 1.0 -O 0 & sudo ./ptp4l -f ./gPTP.cfg -p /dev/ptp0 -i eth0.200 -m -D
[4] 1549
ptp4l[928.373]: selected /dev/ptp0 as PTP clock
ptp4l[928.376]: port 1: get_ts_info not supported
ptp4l[928.456]: port 1: INITIALIZING to LISTENING on INITIALIZE
ptp4l[928.456]: port 0: INITIALIZING to LISTENING on INITIALIZE
ptp4l[935.073]: port 1: LISTENING to MASTER on ANNOUNCE_RECEIPT_TIMEOUT_EXPIRES
ptp4l[935.073]: selected best master clock 00044b.fffe.a4e4d1
ptp4l[935.073]: assuming the grand master role
@VickNV, I got the following error with the suggested command
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvavb/daemons$ sudo ./phc2sys -s /dev/ptp0 -w -S 1.0 -O 0 & ./ptp4l -f ./gPTP.cfg -p /dev/ptp0 -i eth0.200 -m -D
[1] 2824
ptp4l[127.295]: selected /dev/ptp0 as PTP clock
ptp4l[127.296]: Failed to open /dev/ptp0: Permission denied
failed to create a clock
Upon giving the “777” permissions to “/dev/ptp0”, I got the following errors:
nvidia@tegra-ubuntu:~/drive-t186ref-linux/samples/nvavb/daemons$ sudo ./phc2sys -s /dev/ptp0 -w -S 1.0 -O 0 & ./ptp4l -f ./gPTP.cfg -p /dev/ptp0 -i eth0.200 -m -D
[2] 2876
ptp4l[202.009]: selected /dev/ptp0 as PTP clock
ptp4l[202.011]: port 1: get_ts_info not supported
ptp4l[202.012]: socket failed: Operation not permitted
ptp4l[202.012]: port 1: INITIALIZING to FAULTY on INITIALIZE
ptp4l[202.012]: uds: bind failed: Permission denied
ptp4l[202.012]: port 0: INITIALIZING to FAULTY on INITIALIZE