Commit abe7d152 authored by Ivan Tyagov's avatar Ivan Tyagov

Initial scripts for TSN setup of k3 (master, edge server) and...

Initial scripts for TSN setup of k3 (master, edge server) and a20-prod/a20-prod-1 (coupler devices).
parent ab8807f9
#!/bin/bash
chrt -f 97 ptp4l -s -S -i eth0 --step_threshold=1 -m &> ptp4l_eth0.log &
#!/bin/bash
chrt -f 97 ptp4l -s -S -i eth0 --step_threshold=1 -m &> ptp4l_eth0.log &
#!/bin/bash
# kill all
pkill -f "ptp4l"
pkill -f "phc2sys"
#!/bin/bash
chrt -f 97 ptp4l -H -i enp6s0 --step_threshold=1 -m &> ptp4l_enp6s0.log &
pmc -u -b 0 -i enp6s0 "SET GRANDMASTER_SETTINGS_NP clockClass 248 clockAccuracy 0xfe offsetScaledLogVariance 0xffff currentUtcOffset 37 leap61 0 leap59 0 currentUtcOffsetValid 1 ptpTimescale 1 timeTraceable 1 frequencyTraceable 0 timeSource 0xa0"
chrt -f 95 phc2sys -m -c enp6s0 -s CLOCK_REALTIME --step_threshold=1 -w &> phc2sys_enp6s0.log &
#!/bin/bash
chrt -f 97 ptp4l -H -i enp7s0 --step_threshold=1 -m &> ptp4l_enp7s0.log &
pmc -u -b 0 -i enp7s0 "SET GRANDMASTER_SETTINGS_NP clockClass 248 clockAccuracy 0xfe offsetScaledLogVariance 0xffff currentUtcOffset 37 leap61 0 leap59 0 currentUtcOffsetValid 1 ptpTimescale 1 timeTraceable 1 frequencyTraceable 0 timeSource 0xa0"
chrt -f 95 phc2sys -m -c enp7s0 -s CLOCK_REALTIME --step_threshold=1 -w &> phc2sys_enp7s0.log &
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment