SAMA5D3 Ethernet Development System User’s Guide
DS50002789A-page 26
2018 Microchip Technology Inc.
4.9
PRECISION TIME PROTOCOL (IEEE 1588)
For switch daughter boards that support IEEE1588 Precision Time Protocol (PTP), the
PTP protocol can be run by navigating to the appropriate file system directory, then run-
ning the script found there. There are directories for end-to-end (e2e) and peer-to-peer
(p2P). The default.cfg file found in the e2e and p2p directories can be edited to change
the PTP parameters. Additional details can be found in the software setup guide for the
given switch.
# cd /ptp/e2e
# cd /ptp/p2p
# /linuxptp.sh
4.10 VLAN SETUP
VLAN control of switches is handled through the driver. The user can access the
driver's VLAN functions via files located at /sys/class/net/eth0/sw. Reading
/sys/class/net/eth0/sw/vlan_table shows the valid entries in the VLAN table. See the
appropriate switch reference guide for further details.
4.11 DHCP
To enable DHCP, change the word “static” to “dhcp” in the file /etc/network/interfaces.
4.12 NUTTCP TRAFFIC TESTING
The Linux installation includes the nuttcp utility, which has similar capabilities as iperf.
If you install nuttcp on another device such as a PC, you can perform traffic testing
between the two devices. A help menu is included. Additional details about nuttcp can
be found on the Internet.
Содержание SAMA5D3 XPLAINED
Страница 1: ... 2018 Microchip Technology Inc DS50002789A SAMA5D3 Ethernet Development System User s Guide ...
Страница 10: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 10 2018 Microchip Technology Inc NOTES ...
Страница 34: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 34 2018 Microchip Technology Inc NOTES ...
Страница 42: ...SAMA5D3 Ethernet Development System User s Guide DS50002789A page 42 2018 Microchip Technology Inc NOTES ...
Страница 47: ... 2018 Microchip Technology Inc DS50002789A page 47 NOTES ...