In pcie endpoint mode,use ptp4l to synchronization time between two Jetson devices

I have test PCIE endpoint mode between two jetson devices, it is ok.
I want to use ptp to synchronize time between two devices.
reference:http://linuxptp.sourceforge.net/

I use the “ethtool -T eth1”command to test eth1.The result is as follows
图片

Does eth1 support ptp function?

Sorry for the late response, we will do the investigation to update soon.

OK,thanks.

Is your PTP question for the native Ethernet or the Virtual Ethernet using PCIe interface?

use the Virtual Ethernet using PCIe interface,like this:

Bringing Up an Ethernet Interface Over PCIE
Use the following procedure to bring up an Ethernet interface over PCIE.
To bring up an Ethernet interface over PCIE
1.Connect the systems using the appropriate PCIe cable.
2.Boot the endpoint Jetson system.
3.Enter the following commands to configure and enable PCIe endpoint mode:
cd /sys/kernel/config/pci_ep/
mkdir functions/pci_epf_tvnet/func1
echo 16 > functions/pci_epf_tvnet/func1/msi_interrupts
ln -s functions/pci_epf_tvnet/func1 controllers/141a0000.pcie_ep/
echo 1 > controllers/141a0000.pcie_ep/start
4.Boot the root port system.
5.Verify that the PCIe link is up by entering the lspci command in root port system. The console output should include “PCIe device with vendor id: 0x10de and device id: 0x2296.”
6.Bring up both interfaces to establish an Ethernet link between the systems. Then assign them dynamic or static IP addresses.
For example, enter the following commands, in the order shown, to bring up the Ethernet interfaces and assign static IP addresses:
On the endpoint system: ifconfig eth1 up
On the root port system: ifconfig eth1 up
On the endpoint system: ifconfig eth1 192.168.2.1
On the root port system: ifconfig eth1 192.168.2.2
Ethernet interface eth1 is created in both systems.

Virtual Ethernet over PCIe doesn’t support PTP

1 Like

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