Installing PTPd from SourceForge.net
This Deamon provides Precision Time Protocol functionality into Linux RT system. You have to follow these steps for downloading and installing the package (all the commands are in bold😞
opkg update
opkg flag ok libc6
opkg upgrade libc6
opkg install gcc gcc-symlinks
opkg install cpp cpp-symlinks
cd
opkg install libc6-dev
rm -rf opkg-*
opkg install binutils binutils-symlinks
opkg install make
opkg install sudo
ln -s /lib/libgcc_s.so.1 /lib/libgcc_s.so
wget http://sourceforge.net/projects/ptpd/files/ptpd-2.3.1-rc3.tar.gz
tar xzvf ptpd-2.3.1-rc3.tar.gz
opkg install libpcap1
opkg install gnu-config
opkg install gnupg-dev
opkg install libgnutls-dev
opkg install automake
opkg install autoconf
opkg install libgudev-1.0-0
opkg install libgudev-1.0-dbg
opkg install libgudev-1.0-dev
opkg install libtool
opkg install libtool-dev
opkg install libltdl-dev
cd ptpd-2.3.1-rc3
autoreconf -vi
./configure --enable-statistics --enable-ntpdc
make
Before the installation you need to change configuration file settings: ethernet port, clock class and modality (masterslave, slaveonly etc.). For doing this you have to edit client-e2e-socket.conf (through VI Editor for example)
vi client-e2e-socket.conf
./src/ptpd2 -c test/client-e2e-socket.conf
Now you are able to install the package
make install
For testing the functionality you can open the ptpd2.status.log which shows ptp infos (Master or Slave, precision, delay, etc.)
You can find this file here:
/var/run/ptpd2.status.log
opkg flag ok libc6
opkg upgrade libc6
These steps will only be necessary if you are using the 2013(sp1) version of the controller firmware. They don't hurt anything, but they're unnecessary.
Also, there is a pseudo package that you can install that will cover that laundry list of packages you have listed there. For 2014, it is packagegroup-core-sdk, for 2013(sp) it is task-sdk-native