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
93b93b2f
Commit
93b93b2f
authored
Nov 28, 2017
by
Grzegorz Daniluk
Committed by
Adam Wujek
Nov 29, 2017
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
doc: update documentation for sdbfs generation shell command
parent
aa9161b7
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
3 deletions
+48
-3
wrc_board.tex
doc/HDLdoc/wrc_board.tex
+6
-0
wrc_generics.tex
doc/HDLdoc/wrc_generics.tex
+11
-0
wrc_ports.tex
doc/HDLdoc/wrc_ports.tex
+3
-3
wrpc.tex
doc/wrpc.tex
+28
-0
No files found.
doc/HDLdoc/wrc_board.tex
View file @
93b93b2f
...
...
@@ -66,6 +66,12 @@ their own BSP, can find the board-common module under:
\cline
{
1-3
}
g
\_
with
\_
external
\_
clock
\_
input
&
boolean
&
true
&
\\
\cline
{
1-3
}
g
\_
board
\_
name
&
string
&
"NA "
&
\\
\cline
{
1-3
}
g
\_
flash
\_
secsz
\_
kb
&
integer
&
256
&
\\
\cline
{
1-3
}
g
\_
flash
\_
sdbfs
\_
baddr
&
integer
&
0x600000
&
\\
\cline
{
1-3
}
g
\_
aux
\_
clks
&
integer
&
0
&
\\
\cline
{
1-3
}
g
\_
dpram
\_
initf
&
string
&
""
&
\\
...
...
doc/HDLdoc/wrc_generics.tex
View file @
93b93b2f
...
...
@@ -8,6 +8,17 @@
g
\_
with
\_
external
\_
clock
\_
input
&
boolean
&
false
&
enable external clock and 1-PPS inputs. The PLL inside WRPC will lock to
external 10 MHz and 1-PPS signal when operating in GrandMaster mode
\\
\hline
g
\_
board
\_
name
&
string
&
"NA "
&
board name, exported by WRPC software as
SNMP object for diagnostics
\\
\hline
g
\_
flash
\_
secsz
\_
kb
&
integer
&
256
&
Flash memory sector size in kilobytes.
Available through a Wishbone register, used by WRPC software to read/write
SDBFS image
\\
\hline
g
\_
flash
\_
sdbfs
\_
baddr
&
integer
&
0x600000
&
Default base address in Flash
memory where
\code
{
sdb fs
}
command should store an empty SDBFS image
\\
\hline
g
\_
phys
\_
uart
&
boolean
&
true
&
enable physical UART interface
\\
\hline
g
\_
virtual
\_
uart
&
boolean
&
false
&
enable virtual UART interface
\\
...
...
doc/HDLdoc/wrc_ports.tex
View file @
93b93b2f
...
...
@@ -29,7 +29,7 @@
\hline
rst
\_
n
\_
i
&
in
&
1
&
main reset input, active-low (hold for at least 5
\tts
{
clk
\_
sys
\_
i
}
cycles)
\\
\hline
\hline
\pagebreak
\hdltablesection
{
Timing system
}
\\
\hline
dac
\_
hpll
\_
load
\_
p1
\_
o
&
out
&
1
&
validates DAC value on data port
\\
...
...
@@ -89,7 +89,7 @@
when
\tts
{
g
\_
pcs
\_
16bit = true
}}
\\
\cline
{
1-3
}
phy16
\_
i
&
in
&
rec
&
\\
\hline
\hline
\pagebreak
\hdltablesection
{
GPIO
}
\\
\hline
led
\_
act
\_
o
&
out
&
1
&
signal for driving Ethernet activity LED
\\
...
...
@@ -103,7 +103,7 @@
scl
\_
i
&
in
&
1
&
\\
\cline
{
1-3
}
scl
\_
o
&
out
&
1
&
\\
\hline
\pagebreak
\hline
sfp
\_
sda
\_
i
&
in
&
1
&
\multirowpar
{
4
}{
I2C interface for EEPROM inside SFP module
}
\\
\cline
{
1-3
}
sfp
\_
sda
\_
o
&
out
&
1
&
\\
...
...
doc/wrpc.tex
View file @
93b93b2f
...
...
@@ -1849,6 +1849,34 @@ tools used to build and run it, you can write to our mailing list
\code
{
sdb
}
&
prints devices connected to the Wishbone bus inside WRPC
\\
\code
{
sdb fs <memtype> <baseadr> <param>
}
&
creates SDBFS image under
specified
\code
{
<baseadr>
}
in selected storage depending on
\code
{
<memtype>
}
(
{
\bf
0
}
- Flash,
{
\bf
1
}
- I2C EEPROM,
{
\bf
2
}
- 1-Wire EEPROM). The meaning
of last parameter
\code
{
<param>
}
depends on the type of selected storage. It
is either the sector size in kilobytes (for Flash) or I2C chip address (for
I2C EEPROM). Command
\code
{
sdb
}
is available if
\texttt
{
CONFIG
\_
GENSDBFS
}
is set.
\\
\code
{
sdb fs 0
}
&
creates SDBFS image in Flash memory. Base address and sector
size are taken from HDL Syscon registers for SPEC/SVEC boards. If you want
to use it for custom board, base address and sector size must be specified
as VHDL generic parameters of the WR PTP Core. Command
\code
{
sdb
}
is
available if
\texttt
{
CONFIG
\_
GENSDBFS
}
is set.
\\
\code
{
sdb fse <memtype> <baseadr> <param>
}
&
erases SDBFS image under
specified
\code
{
<baseadr>
}
from selected storage depending on
\code
{
<memtype>
}
(
{
\bf
0
}
- Flash,
{
\bf
1
}
- I2C EEPROM,
{
\bf
2
}
- 1-Wire
EEPROM). The meaning of last parameter
\code
{
<param>
}
depends on the type
of selected storage. It is either the sector size in kilobytes (for Flash)
or I2C chip address (for I2C EEPROM). Command
\code
{
sdb
}
is available
if
\texttt
{
CONFIG
\_
GENSDBFS
}
is set.
\\
\code
{
sdb fse 0
}
&
erases SDBFS image from Flash memory. Base address and sector
size are taken from HDL Syscon registers for SPEC/SVEC boards. If you want
to use it for custom board, base address and sector size must be specified
as VHDL generic parameters of the WR PTP Core. Command
\code
{
sdb
}
is
available if
\texttt
{
CONFIG
\_
GENSDBFS
}
is set.
\\
\code
{
sfp add <PN> <deltaTx> <deltaRx> <alpha>
}
&
stores calibration
parameters for SFP to a file in Flash/EEPROM
\\
...
...
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