Skip to content

QNX network time synchronization and evaluation of available methods using their QNX implementations

Notifications You must be signed in to change notification settings

pziyang/qnx_net_time_sync

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

15 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

QNX network time synchronization and evaluation of available methods using their QNX implementations

steps to get & apply the patch and compile & run the PTPd on QNX 6.5.0

create a new directory

  mkdir ptp_qnx
  cd ptp_qnx

clone a github project (almost 30MB)

  git clone --depth 1 https://github.com/dumblob/qnx_net_time_sync.git

download PTPd version 2.2.2

  http://sourceforge.net/projects/ptpd/files/ptpd/2.2.2/ptpd-2.2.2.tar.gz

unpack the recently downloaded archive with PTPd

  tar -xzf ptpd-2.2.2.tar.gz
  cd ptpd-2.2.2

apply the patch

  patch -p 1 < ../qnx_net_time_sync/src/ptp/patch.ptpd-2.2.2

compile PTPd

  cd src/
  make

run PTPd as master on interface eth0 with maximum verbosity

  ./ptpd2 -G -b eth0 -C -DVfS

or as slave

  ./ptpd2 -g -b eth0 -C -DVfS

About

QNX network time synchronization and evaluation of available methods using their QNX implementations

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published