Build Instructions PTPd

Linux Drivers

Release Date
2023-07-22
    • Get the source from git clone git://git.code.sf.net/p/linuxptp/code linuxptp
    • Set the CROSS_COMPILE environment variable arm tool chain
    • Install the kernel headers
    • Include the headers path in makefile
/include CFLAGS = -Wall $(VER) $(incdefs) $(DEBUG) $(INC) $(EXTRA_CFLAGS) How to Run: Master: ./ptp4l -i eth0 -m -P & Slave: ./ptp4l -i eth0 -s -m -P &

Build Instructions for TestPtp utility

  • Go to the Documentation\ptp folder in the Linux distribution
  • Cross compile the testptp application .