Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
osie
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Martin Manchev
osie
Commits
620a1e27
Commit
620a1e27
authored
Feb 06, 2023
by
Ivan Tyagov
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Cleanup not used any more setup.
parent
0c35d583
Changes
6
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
0 additions
and
38 deletions
+0
-38
tsn/a20-prod-1/start_ptp4l.sh
tsn/a20-prod-1/start_ptp4l.sh
+0
-2
tsn/a20-prod/pin-processes.sh
tsn/a20-prod/pin-processes.sh
+0
-16
tsn/a20-prod/start_ptp4l.sh
tsn/a20-prod/start_ptp4l.sh
+0
-2
tsn/k3/kill_all.sh
tsn/k3/kill_all.sh
+0
-5
tsn/k3/start_ptp4l_enp6s0.sh
tsn/k3/start_ptp4l_enp6s0.sh
+0
-7
tsn/k3/start_ptp4l_enp7s0.sh
tsn/k3/start_ptp4l_enp7s0.sh
+0
-6
No files found.
tsn/a20-prod-1/start_ptp4l.sh
deleted
100644 → 0
View file @
0c35d583
#!/bin/bash
chrt
-f
97 ptp4l
-s
-S
-i
eth0
--step_threshold
=
1
-m
&> ptp4l_eth0.log &
tsn/a20-prod/pin-processes.sh
deleted
100644 → 0
View file @
0c35d583
#!/bin/sh
# Pin ethernet IRQ bottom half to CPU1
echo
2
>
/proc/irq/56/smp_affinity
# Get PID for ethernet IRQ
irq56_pid
=
$(
pgrep
"irq/56-eth0"
)
# Pin ethernet IRQ upper half to CPU1
taskset
-p
2
$irq56_pid
# Get PID for ksoftirqd1
ksoftirq1_pid
=
$(
pgrep
"ksoftirqd/1"
)
# Set high priority for ksoftirqd/1
chrt
-f
-p
97
$ksoftirq1_pid
tsn/a20-prod/start_ptp4l.sh
deleted
100644 → 0
View file @
0c35d583
#!/bin/bash
chrt
-f
97 ptp4l
-s
-S
-i
eth0
--step_threshold
=
1
-m
&> ptp4l_eth0.log &
tsn/k3/kill_all.sh
deleted
100644 → 0
View file @
0c35d583
#!/bin/bash
# kill all
pkill
-f
"ptp4l"
pkill
-f
"phc2sys"
tsn/k3/start_ptp4l_enp6s0.sh
deleted
100644 → 0
View file @
0c35d583
#!/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 &
tsn/k3/start_ptp4l_enp7s0.sh
deleted
100644 → 0
View file @
0c35d583
#!/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 &
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment