Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
W
White Rabbit Switch - Software
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
86
Issues
86
List
Board
Labels
Milestones
Merge Requests
4
Merge Requests
4
CI / CD
CI / CD
Pipelines
Schedules
Wiki
Wiki
image/svg+xml
Discourse
Discourse
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Commits
Issue Boards
Open sidebar
Projects
White Rabbit Switch - Software
Commits
f14e28c9
Commit
f14e28c9
authored
Apr 10, 2019
by
baujc
Committed by
Adam Wujek
Apr 10, 2019
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Setup default config for the switch (WR profile by default)
parent
4d53cb1c
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
695 additions
and
150 deletions
+695
-150
Kconfig
Kconfig
+1
-1
Kconfig_port_timing.in
Kconfig_port_timing.in
+54
-126
wrs_release_defconfig
configs/wrs_release_defconfig
+638
-19
gen_kconfig_port_timing.sh
gen_kconfig_port_timing.sh
+2
-4
No files found.
Kconfig
View file @
f14e28c9
...
@@ -1055,7 +1055,7 @@ choice
...
@@ -1055,7 +1055,7 @@ choice
Optimize for size. Enables all -O2 optimizations except those that often increase code size.
Optimize for size. Enables all -O2 optimizations except those that often increase code size.
config OPTIMIZATION_DEBUGGING
config OPTIMIZATION_DEBUGGING
boolean "Debugging (-Og
-ggdb
)"
boolean "Debugging (-Og)"
help
help
Should be the optimization level of choice for the standard edit-compile-debug cycle
Should be the optimization level of choice for the standard edit-compile-debug cycle
...
...
Kconfig_port_timing.in
View file @
f14e28c9
This diff is collapsed.
Click to expand it.
configs/wrs_release_defconfig
View file @
f14e28c9
This diff is collapsed.
Click to expand it.
gen_kconfig_port_timing.sh
View file @
f14e28c9
...
@@ -57,7 +57,7 @@ function print_port_header() {
...
@@ -57,7 +57,7 @@ function print_port_header() {
echo
-e
"
\t
string
\"
Network interface
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
string
\"
Network interface
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
default
\"
wri
${
portIdx
}
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
default
\"
wri
${
portIdx
}
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
help"
>>
$OUTPUT_FILE
echo
-e
"
\t
Used to set the physi
v
cal port interface name:
\"
wri[1-18]
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
Used to set the physical port interface name:
\"
wri[1-18]
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_FIBER"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_FIBER"
>>
$OUTPUT_FILE
echo
-e
"
\t
int
\"
Fiber type
\"
"
>>
$OUTPUT_FILE
echo
-e
"
\t
int
\"
Fiber type
\"
"
>>
$OUTPUT_FILE
...
@@ -133,7 +133,7 @@ function print_instance_header() {
...
@@ -133,7 +133,7 @@ function print_instance_header() {
echo
-e
"
\n
choice"
>>
$OUTPUT_FILE
echo
-e
"
\n
choice"
>>
$OUTPUT_FILE
echo
-e
" prompt
\"
Profile
\"
"
>>
$OUTPUT_FILE
echo
-e
" prompt
\"
Profile
\"
"
>>
$OUTPUT_FILE
echo
-e
" default PORT
${
1
}
_INST
${
2
}
_PROFILE_
HA
"
>>
$OUTPUT_FILE
echo
-e
" default PORT
${
1
}
_INST
${
2
}
_PROFILE_
WR
"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
1
}
_INST
${
2
}
_PROFILE_PTP"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
1
}
_INST
${
2
}
_PROFILE_PTP"
>>
$OUTPUT_FILE
echo
-e
" bool
\"
PTP
\"
"
>>
$OUTPUT_FILE
echo
-e
" bool
\"
PTP
\"
"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
1
}
_INST
${
2
}
_PROFILE_WR"
>>
$OUTPUT_FILE
echo
-e
" config PORT
${
1
}
_INST
${
2
}
_PROFILE_WR"
>>
$OUTPUT_FILE
...
@@ -177,14 +177,12 @@ function print_instance_header() {
...
@@ -177,14 +177,12 @@ function print_instance_header() {
echo
-e
"endchoice"
>>
$OUTPUT_FILE
echo
-e
"endchoice"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_INST
${
2
}
_EGRESS_LATENCY"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_INST
${
2
}
_EGRESS_LATENCY"
>>
$OUTPUT_FILE
echo
-e
" depends on PORT
${
1
}
_INST
${
2
}
_PROFILE_WR!=y"
>>
$OUTPUT_FILE
echo
-e
" int
\"
timestampCorrectionPortDS.egressLatency (ps)
\"
"
>>
$OUTPUT_FILE
echo
-e
" int
\"
timestampCorrectionPortDS.egressLatency (ps)
\"
"
>>
$OUTPUT_FILE
echo
-e
" default
${
tx
}
"
>>
$OUTPUT_FILE
echo
-e
" default
${
tx
}
"
>>
$OUTPUT_FILE
echo
-e
" help"
>>
$OUTPUT_FILE
echo
-e
" help"
>>
$OUTPUT_FILE
echo
-e
" Defines the transmission constant delay (ps)"
>>
$OUTPUT_FILE
echo
-e
" Defines the transmission constant delay (ps)"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_INST
${
2
}
_INGRESS_LATENCY"
>>
$OUTPUT_FILE
echo
-e
"
\n
config PORT
${
1
}
_INST
${
2
}
_INGRESS_LATENCY"
>>
$OUTPUT_FILE
echo
-e
" depends on PORT
${
1
}
_INST
${
2
}
_PROFILE_WR!=y"
>>
$OUTPUT_FILE
echo
-e
" int
\"
timestampCorrectionPortDS.ingressLatency (ps)
\"
"
>>
$OUTPUT_FILE
echo
-e
" int
\"
timestampCorrectionPortDS.ingressLatency (ps)
\"
"
>>
$OUTPUT_FILE
echo
-e
" default
${
rx
}
"
>>
$OUTPUT_FILE
echo
-e
" default
${
rx
}
"
>>
$OUTPUT_FILE
echo
-e
" help"
>>
$OUTPUT_FILE
echo
-e
" help"
>>
$OUTPUT_FILE
...
...
Adam Wujek
💬
@awujek
mentioned in commit
78798762
·
Jun 07, 2019
mentioned in commit
78798762
mentioned in commit 787987629a7a1350f35cee559063797047da723c
Toggle commit list
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