Skip to content
Projects
Groups
Snippets
Help
Loading...
Sign in
Toggle navigation
S
Software for White Rabbit PTP Core
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
32
Issues
32
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
Software for White Rabbit PTP Core
Commits
1f33a736
Commit
1f33a736
authored
May 18, 2018
by
hongming
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
change config file.
parent
faac0874
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
12149 additions
and
12131 deletions
+12149
-12131
.config
.config
+19
-1
ipv4.c
lib/ipv4.c
+5
-5
wrc.bram
wrc.bram
+12125
-12125
No files found.
.config
View file @
1f33a736
...
...
@@ -10,6 +10,9 @@ CONFIG_RAMSIZE=131072
CONFIG_TEMP_POLL_INTERVAL
=
15
CONFIG_TEMP_HIGH_THRESHOLD
=
70
CONFIG_TEMP_HIGH_RAPPEL
=
60
# CONFIG_PLL_VERBOSE is not set
# CONFIG_PFILTER_VERBOSE is not set
# CONFIG_WRC_VERBOSE is not set
# CONFIG_VLAN is not set
CONFIG_VLAN_NR
=
0
CONFIG_VLAN_1_FOR_CLASS7
=
0
...
...
@@ -46,7 +49,22 @@ CONFIG_GENSDBFS=y
#
# wrpc-sw is tainted if you change the following options
#
# CONFIG_DEVELOPER is not set
CONFIG_DEVELOPER
=
y
CONFIG_CMD_LL
=
y
# CONFIG_DAC_LOG is not set
# CONFIG_CHECK_RESET is not set
# CONFIG_SPLL_FIFO_LOG is not set
CONFIG_PRINTF_IS_XINT
=
y
# CONFIG_PRINTF_IS_FULL is not set
# CONFIG_PRINTF_IS_MINI is not set
# CONFIG_PRINTF_IS_NONE is not set
CONFIG_ASSERT
=
y
# CONFIG_DETERMINISTIC_BINARY is not set
# CONFIG_NET_VERBOSE is not set
# CONFIG_SNMP_VERBOSE is not set
# CONFIG_FAKE_TEMPERATURES is not set
# CONFIG_LATENCY_PROBE is not set
CONFIG_DEFAULT_PRINT_TASK_TIME_THRESHOLD
=
0
CONFIG_VLAN_ARRAY_SIZE
=
1
CONFIG_PRINTF_XINT
=
y
# CONFIG_PRINTF_FULL is not set
...
...
lib/ipv4.c
View file @
1f33a736
...
...
@@ -197,17 +197,17 @@ DEFINE_WRC_TASK(ipv4) = {
void
setIP
(
unsigned
char
*
IP
)
{
volatile
unsigned
int
*
eb_ip
=
(
unsigned
int
*
)(
BASE_ETHERBONE_CFG
+
EB_IPV4
);
//
volatile unsigned int *eb_ip =
//
(unsigned int *)(BASE_ETHERBONE_CFG + EB_IPV4);
unsigned
int
ip
;
memcpy
(
myIP
,
IP
,
4
);
ip
=
(
myIP
[
0
]
<<
24
)
|
(
myIP
[
1
]
<<
16
)
|
(
myIP
[
2
]
<<
8
)
|
(
myIP
[
3
]);
while
(
*
eb_ip
!=
ip
)
*
eb_ip
=
ip
;
//
while (*eb_ip != ip)
//
*eb_ip = ip;
ext_config
(
IP
);
//
ext_config(IP);
bootp_retry
=
0
;
}
...
...
wrc.bram
View file @
1f33a736
This diff is collapsed.
Click to expand it.
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