16:02:51
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 399
Average [ns]: 460.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 391
Average [ns]: 458.0
Difference [ns]: 134
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 399
Average [ns]: 460.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 395
Average [ns]: 458.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 395
Average [ns]: 458.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 395
Average [ns]: 460.0
Difference [ns]: 130
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 395
Average [ns]: 458.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 399
Average [ns]: 464.0
Difference [ns]: 130
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 399
Average [ns]: 462.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 399
Average [ns]: 460.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 399
Average [ns]: 460.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 399
Average [ns]: 460.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 395
Average [ns]: 458.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 399
Average [ns]: 462.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 395
Average [ns]: 460.0
Difference [ns]: 130
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 399
Average [ns]: 464.0
Difference [ns]: 130
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 399
Average [ns]: 462.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 395
Average [ns]: 460.0
Difference [ns]: 130
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 403
Average [ns]: 464.0
Difference [ns]: 122
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 521
eth3 -> eth1 [ns]: 395
Average [ns]: 458.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 399
Average [ns]: 462.0
Difference [ns]: 126
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:48
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 465
Average [ns]: 460.0
Difference [ns]: -10
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 463
eth3 -> eth1 [ns]: 465
Average [ns]: 464.0
Difference [ns]: -2
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 465
Average [ns]: 460.0
Difference [ns]: -10
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 451
eth3 -> eth1 [ns]: 457
Average [ns]: 454.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 459
eth3 -> eth1 [ns]: 461
Average [ns]: 460.0
Difference [ns]: -2
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 451
eth3 -> eth1 [ns]: 457
Average [ns]: 454.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 447
eth3 -> eth1 [ns]: 461
Average [ns]: 454.0
Difference [ns]: -14
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 459
eth3 -> eth1 [ns]: 461
Average [ns]: 460.0
Difference [ns]: -2
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 451
eth3 -> eth1 [ns]: 461
Average [ns]: 456.0
Difference [ns]: -10
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 451
eth3 -> eth1 [ns]: 469
Average [ns]: 460.0
Difference [ns]: -18
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 459
eth3 -> eth1 [ns]: 461
Average [ns]: 460.0
Difference [ns]: -2
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 461
Average [ns]: 458.0
Difference [ns]: -6
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 459
eth3 -> eth1 [ns]: 457
Average [ns]: 458.0
Difference [ns]: 2
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 455
eth3 -> eth1 [ns]: 465
Average [ns]: 460.0
Difference [ns]: -10
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:51
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 470
Average [ns]: 458.0
Difference [ns]: -24
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 474
Average [ns]: 458.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 474
Average [ns]: 460.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 474
Average [ns]: 458.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 478
Average [ns]: 460.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 482
Average [ns]: 464.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 470
Average [ns]: 458.0
Difference [ns]: -24
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 478
Average [ns]: 460.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 478
Average [ns]: 460.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 478
Average [ns]: 462.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 474
Average [ns]: 460.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 450
eth3 -> eth1 [ns]: 478
Average [ns]: 464.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 474
Average [ns]: 460.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 474
Average [ns]: 460.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 478
Average [ns]: 460.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 474
Average [ns]: 460.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 474
Average [ns]: 458.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 478
Average [ns]: 462.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 450
eth3 -> eth1 [ns]: 470
Average [ns]: 460.0
Difference [ns]: -20
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 446
eth3 -> eth1 [ns]: 470
Average [ns]: 458.0
Difference [ns]: -24
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 442
eth3 -> eth1 [ns]: 474
Average [ns]: 458.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:48
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 814
Average [ns]: 458.0
Difference [ns]: -712
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 94
eth3 -> eth1 [ns]: 814
Average [ns]: 454.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 814
Average [ns]: 458.0
Difference [ns]: -712
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 826
Average [ns]: 464.0
Difference [ns]: -724
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 818
Average [ns]: 460.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 822
Average [ns]: 460.0
Difference [ns]: -724
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 822
Average [ns]: 460.0
Difference [ns]: -724
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 106
eth3 -> eth1 [ns]: 822
Average [ns]: 464.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 818
Average [ns]: 460.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 818
Average [ns]: 460.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 818
Average [ns]: 460.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 106
eth3 -> eth1 [ns]: 818
Average [ns]: 462.0
Difference [ns]: -712
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 102
eth3 -> eth1 [ns]: 818
Average [ns]: 460.0
Difference [ns]: -716
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 98
eth3 -> eth1 [ns]: 818
Average [ns]: 458.0
Difference [ns]: -720
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:48
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378808
eth3 -> eth1 [ns]: 379732
Average [ns]: 462.0
Difference [ns]: -758540
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378820
eth3 -> eth1 [ns]: 379736
Average [ns]: 458.0
Difference [ns]: -758556
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379740
Average [ns]: 464.0
Difference [ns]: -758552
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379732
Average [ns]: 460.0
Difference [ns]: -758544
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379736
Average [ns]: 462.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378808
eth3 -> eth1 [ns]: 379740
Average [ns]: 466.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379728
Average [ns]: 458.0
Difference [ns]: -758540
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379724
Average [ns]: 456.0
Difference [ns]: -758536
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379740
Average [ns]: 462.0
Difference [ns]: -758556
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379736
Average [ns]: 460.0
Difference [ns]: -758552
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378820
eth3 -> eth1 [ns]: 379732
Average [ns]: 456.0
Difference [ns]: -758552
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379736
Average [ns]: 462.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379728
Average [ns]: 456.0
Difference [ns]: -758544
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378812
eth3 -> eth1 [ns]: 379736
Average [ns]: 462.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379732
Average [ns]: 458.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379732
Average [ns]: 458.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379736
Average [ns]: 460.0
Difference [ns]: -758552
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379732
Average [ns]: 458.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379736
Average [ns]: 460.0
Difference [ns]: -758552
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378808
eth3 -> eth1 [ns]: 379732
Average [ns]: 462.0
Difference [ns]: -758540
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: -378816
eth3 -> eth1 [ns]: 379732
Average [ns]: 458.0
Difference [ns]: -758548
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:50
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 558
Average [ns]: 460.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 562
Average [ns]: 460.0
Difference [ns]: -204
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 562
Average [ns]: 460.0
Difference [ns]: -204
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 558
Average [ns]: 460.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 558
Average [ns]: 460.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 558
Average [ns]: 460.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 354
eth3 -> eth1 [ns]: 554
Average [ns]: 454.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 554
Average [ns]: 456.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 562
Average [ns]: 460.0
Difference [ns]: -204
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 366
eth3 -> eth1 [ns]: 558
Average [ns]: 462.0
Difference [ns]: -192
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 562
Average [ns]: 460.0
Difference [ns]: -204
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 562
Average [ns]: 462.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 362
eth3 -> eth1 [ns]: 558
Average [ns]: 460.0
Difference [ns]: -196
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 354
eth3 -> eth1 [ns]: 558
Average [ns]: 456.0
Difference [ns]: -204
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 354
eth3 -> eth1 [ns]: 562
Average [ns]: 458.0
Difference [ns]: -208
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 358
eth3 -> eth1 [ns]: 558
Average [ns]: 458.0
Difference [ns]: -200
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:50
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 471
Average [ns]: 456.0
Difference [ns]: -30
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 449
eth3 -> eth1 [ns]: 471
Average [ns]: 460.0
Difference [ns]: -22
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 475
Average [ns]: 460.0
Difference [ns]: -30
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 467
Average [ns]: 456.0
Difference [ns]: -22
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 475
Average [ns]: 458.0
Difference [ns]: -34
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 479
Average [ns]: 460.0
Difference [ns]: -38
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 471
Average [ns]: 456.0
Difference [ns]: -30
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 475
Average [ns]: 458.0
Difference [ns]: -34
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 471
Average [ns]: 458.0
Difference [ns]: -26
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 475
Average [ns]: 460.0
Difference [ns]: -30
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 467
Average [ns]: 456.0
Difference [ns]: -22
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 441
eth3 -> eth1 [ns]: 475
Average [ns]: 458.0
Difference [ns]: -34
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 449
eth3 -> eth1 [ns]: 471
Average [ns]: 460.0
Difference [ns]: -22
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 479
Average [ns]: 462.0
Difference [ns]: -34
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 479
Average [ns]: 462.0
Difference [ns]: -34
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 445
eth3 -> eth1 [ns]: 467
Average [ns]: 456.0
Difference [ns]: -22
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:49
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 431
Average [ns]: 462.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 497
eth3 -> eth1 [ns]: 427
Average [ns]: 462.0
Difference [ns]: 70
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 423
Average [ns]: 458.0
Difference [ns]: 70
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 423
Average [ns]: 456.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 431
Average [ns]: 462.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 427
Average [ns]: 458.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 423
Average [ns]: 456.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 427
Average [ns]: 458.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 427
Average [ns]: 460.0
Difference [ns]: 66
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 427
Average [ns]: 458.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 431
Average [ns]: 462.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 423
Average [ns]: 458.0
Difference [ns]: 70
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 489
eth3 -> eth1 [ns]: 427
Average [ns]: 458.0
Difference [ns]: 62
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 493
eth3 -> eth1 [ns]: 423
Average [ns]: 458.0
Difference [ns]: 70
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 497
eth3 -> eth1 [ns]: 427
Average [ns]: 462.0
Difference [ns]: 70
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:51
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 387
Average [ns]: 460.0
Difference [ns]: 146
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 383
Average [ns]: 458.0
Difference [ns]: 150
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 387
Average [ns]: 456.0
Difference [ns]: 138
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 383
Average [ns]: 456.0
Difference [ns]: 146
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 391
Average [ns]: 460.0
Difference [ns]: 138
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 387
Average [ns]: 456.0
Difference [ns]: 138
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 387
Average [ns]: 458.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 383
Average [ns]: 458.0
Difference [ns]: 150
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 391
Average [ns]: 462.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 383
Average [ns]: 456.0
Difference [ns]: 146
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 391
Average [ns]: 458.0
Difference [ns]: 134
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 383
Average [ns]: 458.0
Difference [ns]: 150
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 525
eth3 -> eth1 [ns]: 383
Average [ns]: 454.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 387
Average [ns]: 460.0
Difference [ns]: 146
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 391
Average [ns]: 460.0
Difference [ns]: 138
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 383
Average [ns]: 458.0
Difference [ns]: 150
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 387
Average [ns]: 458.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 387
Average [ns]: 458.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 387
Average [ns]: 458.0
Difference [ns]: 142
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 529
eth3 -> eth1 [ns]: 391
Average [ns]: 460.0
Difference [ns]: 138
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 533
eth3 -> eth1 [ns]: 383
Average [ns]: 458.0
Difference [ns]: 150
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:48
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 436
eth3 -> eth1 [ns]: 480
Average [ns]: 458.0
Difference [ns]: -44
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 480
Average [ns]: 462.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 436
eth3 -> eth1 [ns]: 476
Average [ns]: 456.0
Difference [ns]: -40
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 436
eth3 -> eth1 [ns]: 480
Average [ns]: 458.0
Difference [ns]: -44
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 476
Average [ns]: 460.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 476
Average [ns]: 460.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 472
Average [ns]: 458.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 476
Average [ns]: 460.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 472
Average [ns]: 456.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 448
eth3 -> eth1 [ns]: 484
Average [ns]: 466.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 472
Average [ns]: 456.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 476
Average [ns]: 458.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 476
Average [ns]: 460.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 476
Average [ns]: 458.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 480
Average [ns]: 462.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 444
eth3 -> eth1 [ns]: 472
Average [ns]: 458.0
Difference [ns]: -28
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 472
Average [ns]: 456.0
Difference [ns]: -32
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 436
eth3 -> eth1 [ns]: 480
Average [ns]: 458.0
Difference [ns]: -44
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 476
Average [ns]: 458.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 480
Average [ns]: 460.0
Difference [ns]: -40
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 440
eth3 -> eth1 [ns]: 476
Average [ns]: 458.0
Difference [ns]: -36
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
16:02:47
+ sleep 10
+ cd /home/root/compareDirections
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 666
Average [ns]: 458.0
Difference [ns]: -416
Difference should be around 0 for PRU Ethernet with same time.
+ sleep 1
+ phc2sys -m -q -s /dev/ptp2 -c /dev/ptp4 -O 0 -l 6 -R 10 -c /dev/ptp6
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 670
Average [ns]: 460.0
Difference [ns]: -420
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 674
Average [ns]: 462.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 674
Average [ns]: 462.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 662
Average [ns]: 456.0
Difference [ns]: -412
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 666
Average [ns]: 458.0
Difference [ns]: -416
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 246
eth3 -> eth1 [ns]: 670
Average [ns]: 458.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 242
eth3 -> eth1 [ns]: 670
Average [ns]: 456.0
Difference [ns]: -428
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 666
Average [ns]: 458.0
Difference [ns]: -416
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 246
eth3 -> eth1 [ns]: 666
Average [ns]: 456.0
Difference [ns]: -420
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 246
eth3 -> eth1 [ns]: 666
Average [ns]: 456.0
Difference [ns]: -420
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ sleep 1
+ sleep 1
+ phc2sys -m -q -s /dev/ptp3 -c /dev/ptp5 -O 0 -l 6 -R 10 -c /dev/ptp7
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 670
Average [ns]: 460.0
Difference [ns]: -420
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 662
Average [ns]: 456.0
Difference [ns]: -412
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 674
Average [ns]: 462.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 662
Average [ns]: 456.0
Difference [ns]: -412
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 246
eth3 -> eth1 [ns]: 670
Average [ns]: 458.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 666
Average [ns]: 458.0
Difference [ns]: -416
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 674
Average [ns]: 462.0
Difference [ns]: -424
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 250
eth3 -> eth1 [ns]: 662
Average [ns]: 456.0
Difference [ns]: -412
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 246
eth3 -> eth1 [ns]: 666
Average [ns]: 456.0
Difference [ns]: -420
Difference should be around 0 for PRU Ethernet with same time.
+ for i in {1..10}
+ ./compareDirections.sh eth1 eth3
eth1 -> eth3 [ns]: 254
eth3 -> eth1 [ns]: 670
Average [ns]: 462.0
Difference [ns]: -416
Difference should be around 0 for PRU Ethernet with same time.
+ kill %1
+ reboot
