Hi ,WayneWWW
How to verify PTP network sync when we use single orin with a linux virtual machine?
Hi ,WayneWWW
How to verify PTP network sync when we use single orin with a linux virtual machine?
No idea. no experience with that.
Hi Wayne
We use sdk verision is Jetson Linux 35.1,kernel version is kernel-5.10.
Please confirm whether this version supports IEEE 1588v2 protocol,thanks.
My previous comment means I don’t know about your usecase between a Orin and linux VM.
Did you try that PTP test on 2 Orin device?
Hi Wayne
I understand what you said in the last reply, We only have one orin device right now.
We will confirm the dual orin use case after a few days.
Jetson Linux 35.1 supports PTP or not, we want to make sure.
Hi wayne
we used two orin device to test ptp as follows:
Host side
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.1/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
date 010100002018
phc_ctl /dev/ptp0 set
phc_ctl /dev/ptp0 get
Slave side
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.2/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
phc_ctl /dev/ptp0 get
The date obtained from the slave is January 1, 1970, not January 1, 2008. Please give me some advice, thank you.
Hi,
Could we just forget about what you are doing now and just run below commands and share result first?
host
$ sudo ptp4l -i eth0 -m
Slave
$ sudo ptp4l -i eth0 -m -s
Hi , have any news for this issue?
Thanks.
We are checking this. Will reply later.
Hi,
We tried the phc_ctl script to sync up time. Before doing phc_ctl to sync time, you need to run ptp4l command too.
Master:
$ sudo ptp4l -i eth0 -m
Slave:
$ sudo ptp4l -i eth0 -m -s
[Master]
# phc_ctl /dev/ptp0 get
phc_ctl[92332.285]: clock time is 1514764821.904995580 or Mon Jan 1 00:00:21 2018
[Slave]
# phc_ctl /dev/ptp0 get
phc_ctl[3678.214]: clock time is 0.000000000 or Thu Jan 1 00:00:00 1970
After start running ptp command and check on Slave:
# phc_ctl /dev/ptp0 get
phc_ctl[4491.644]: clock time is 1514765726.075818891 or Mon Jan 1 00:15:26 2018
可以麻煩你先自己讀一下你們那邊顯示的error log嗎
比方說我看到上面直接寫 “no such device”…
Hi ,Sirs
To summarize the test steps.
Host side:
ifconfig eth0 down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.1/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
date 010100002018
sudo ptp4l -i eth0 -m
phc_ctl /dev/ptp0 set
phc_ctl /dev/ptp0 get
Slave side:
ifconfig eth down
ifconfig eth0 up
ifconfig eth0 0.0.0.0
ip addr add 10.0.0.2/24 dev eth0
ip link set dev eth0 up
timedatectl set-ntp false
sudo ptp4l -i eth0 -m -s
phc_ctl /dev/ptp0 get
We still did not get the exact host time, may I ask whether this test sequence is correct or wrong?
Sorry for the late response, is this still an issue to support? Thanks
We have fixed this issue, thanks.
Glad to know issue resolved, would you might to share the root case and how to fix it? Thanks
Before running PTP synchronization, first configure the ip address, and then confirm that they can ping each other.
Thanks for your sharing!
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.