FAQ_MA35_Family How to Use Precision Time Protocol(PTP)
Posted: 11 Apr 2024, 14:52
Question :
How to use Precision Time Protocol (PTP) ?
Answer.
MA35D1 test process is as follows:
#MA35 , #PTP #buildroot
.
How to use Precision Time Protocol (PTP) ?
Answer.
MA35D1 test process is as follows:
- Buildroot setting:
Code: Select all
$ make menuconfig
Code: Select all
Target packages --> System tools --> util-linux --> [*] hwclock Networking applications --> [*] ethtool [*] linuxptp
- Kernel setting:
Code: Select all
$ make linux-menuconfig
Code: Select all
Device Drivers --> PTP clock support --> <*> PTP clock support
- Test
Master:Slave :Code: Select all
$ ifconfig eth0 192.168.10.88 netmask 255.255.255.0 $ date "2023-09-14 9:17:00" $ ifconfig eth0 allmulti $ ptp4l -i eth0 -H -m
Code: Select all
$ ifconfig eth1 192.168.10.100 netmask 255.255.255.0 $ ptp4l -i eth1 -H -m -s
#MA35 , #PTP #buildroot
.