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
83
Issues
83
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
ebe88437
Commit
ebe88437
authored
Jun 19, 2014
by
Alessandro Rubini
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
scripts and doc: we don't support LX130T any more
Signed-off-by:
Alessandro Rubini
<
rubini@gnudd.com
>
parent
17072091
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
14 deletions
+10
-14
flash-wrs
build/flash-wrs
+1
-3
wrs_build_gateware
build/scripts/wrs_build_gateware
+5
-5
wrs-build.in
doc/wrs-build.in
+4
-6
No files found.
build/flash-wrs
View file @
ebe88437
...
...
@@ -47,7 +47,7 @@ showhelp()
printf
"Options:
\n
"
printf
" -h|--help
\t
Show this help message
\n
"
printf
" -m|--mode
\t
can be: default (df and nf), df (dataflash),
\n\t\t
nf (nandflash), ddr (ddr memories).
\n
"
printf
" -g|--gateware
\t
Select the gateware: 18p (18 ports, default), 8p (8 ports)
, LX130T (small FPGA), LX240T (big FGPA)
\n
"
printf
" -g|--gateware
\t
Select the gateware: 18p (18 ports, default), 8p (8 ports)
\n
"
printf
" -e
\t\t
Completely erase the memory (Can erase your configuration)
\n
"
printf
" -b|--build
\t
Use files that you have built in the WRS_OUTPUT_DIR
\n
"
printf
" -m1|--mac1
\t
Default MAC address for the ethernet port on board
\n
"
...
...
@@ -191,8 +191,6 @@ while [ $# -ge 1 ]; do
# Obtain which gateware type we want to keep for flash
if
[
"
$2
"
=
"18p"
]
||
[
"
$2
"
=
"8p"
]
;
then
gateware
=
"
$2
*.bin"
;
elif
[
"
$2
"
=
"LX240T"
]
||
[
"
$2
"
=
"LX130T"
]
;
then
gateware
=
"*-
$2
.bin"
;
else
echo
"Error: Invalid gateware selection
\"
$2
\"
"
showhelp
...
...
build/scripts/wrs_build_gateware
View file @
ebe88437
...
...
@@ -17,13 +17,13 @@ cp ${WRS_BASE_DIR}/../binaries/rt_cpu.bin "$FWDIR"
if
[
"
$WRS_HW_DIR
"
!=
""
]
;
then
wrs_echo
"Copying binaries from
$WRS_HW_DIR
"
cp
${
WRS_HW_DIR
}
/syn/scb_8ports/scb_top_synthesis.bin
$FWDIR
/8p_mb-LX130T.bin
cp
${
WRS_HW_DIR
}
/syn/scb_18ports/scb_top_synthesis.bin
$FWDIR
/18p_mb-LX13
0T.bin
# cp ${WRS_HW_DIR}/syn/scb_8ports/scb_top_synthesis.bin $FWDIR/8p_mb-LX240T.bin
# cp ${WRS_HW_DIR}/syn/scb_18ports/scb_top_synthesis.bin
$FWDIR/18p_mb-LX240T.bin
cp
${
WRS_HW_DIR
}
/syn/scb_8ports/scb_top_synthesis.bin
\
$FWDIR
/8p_mb-LX24
0T.bin
cp
${
WRS_HW_DIR
}
/syn/scb_18ports/scb_top_synthesis.bin
\
$FWDIR
/18p_mb-LX240T.bin
else
tarname
=
"wrs-gw-v4.0-dev-20140328.tar.gz"
wrs_echo
"Using pre-buil
d
binaries from
$tarname
"
wrs_echo
"Using pre-buil
t
binaries from
$tarname
"
wrs_download
$tarname
tar
xzf
$WRS_DOWNLOAD_DIR
/
$tarname
-C
$FWDIR
fi
doc/wrs-build.in
View file @
ebe88437
...
...
@@ -789,7 +789,7 @@ Options:
-
h
|--
help
Show
this
help
message
-
m
|--
mode
can
be
:
default
(
df
and
nf
),
df
(
dataflash
),
nf
(
nandflash
),
ddr
(
ddr
memories
).
-
g
|--
gateware
Select
the
gateware
:
18
p
(
18
ports
,
default
),
8
p
(
8
ports
)
,
LX130T
(
small
FPGA
),
LX240T
(
big
FGPA
)
-
g
|--
gateware
Select
the
gateware
:
18
p
(
18
ports
,
default
),
8
p
(
8
ports
)
-
e
Completely
erase
the
memory
(
Can
erase
your
configuration
)
-
b
|--
build
Use
files
that
you
have
built
in
the
WRS_OUTPUT_DIR
-
m1
|--
mac1
Default
MAC
address
for
the
Ethernet
port
on
board
...
...
@@ -822,11 +822,9 @@ install different binaries on these memories:
@
end
itemize
You
can
select
which
type
of
gateware
you
want
to
flash
on
your
switch
.
By
default
we
only
write
on
the
nandflash
the
gateware
for
18
ports
for
both
its
light
(@
code
{
LX130T
})
and
full
(@
code
{
LX240T
})
FPGA
size
.
If
you
know
which
type
of
FPGA
you
are
using
(
i
.
e
,
@
code
{
LX240T
})
and
you
want
to
have
the
gateware
for
8
and
18
ports
you
can
use
the
flag
as
below
:
switch
.
Currently
we
only
support
LX240T
(
the
current
circuit
doesn
't
fit in the LX130T any more). 8-port images are sometimes used for
testing. And you can select it like this:
@smallexample
$ ./build/flash-wrs --gateware LX240T <...>
...
...
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