Commit ebe88437 authored by Alessandro Rubini's avatar Alessandro Rubini

scripts and doc: we don't support LX130T any more

Signed-off-by: Alessandro Rubini's avatarAlessandro Rubini <rubini@gnudd.com>
parent 17072091
...@@ -47,7 +47,7 @@ showhelp() ...@@ -47,7 +47,7 @@ showhelp()
printf "Options: \n" printf "Options: \n"
printf " -h|--help\t Show this help message\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 " -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 " -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 " -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" printf " -m1|--mac1\t Default MAC address for the ethernet port on board\n"
...@@ -191,8 +191,6 @@ while [ $# -ge 1 ]; do ...@@ -191,8 +191,6 @@ while [ $# -ge 1 ]; do
# Obtain which gateware type we want to keep for flash # Obtain which gateware type we want to keep for flash
if [ "$2" = "18p" ] || [ "$2" = "8p" ]; then if [ "$2" = "18p" ] || [ "$2" = "8p" ]; then
gateware="$2*.bin"; gateware="$2*.bin";
elif [ "$2" = "LX240T" ] || [ "$2" = "LX130T" ]; then
gateware="*-$2.bin";
else else
echo "Error: Invalid gateware selection \"$2\"" echo "Error: Invalid gateware selection \"$2\""
showhelp showhelp
......
...@@ -17,13 +17,13 @@ cp ${WRS_BASE_DIR}/../binaries/rt_cpu.bin "$FWDIR" ...@@ -17,13 +17,13 @@ cp ${WRS_BASE_DIR}/../binaries/rt_cpu.bin "$FWDIR"
if [ "$WRS_HW_DIR" != "" ]; then if [ "$WRS_HW_DIR" != "" ]; then
wrs_echo "Copying binaries from $WRS_HW_DIR" 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_8ports/scb_top_synthesis.bin \
cp ${WRS_HW_DIR}/syn/scb_18ports/scb_top_synthesis.bin $FWDIR/18p_mb-LX130T.bin $FWDIR/8p_mb-LX240T.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 \
# cp ${WRS_HW_DIR}/syn/scb_18ports/scb_top_synthesis.bin $FWDIR/18p_mb-LX240T.bin $FWDIR/18p_mb-LX240T.bin
else else
tarname="wrs-gw-v4.0-dev-20140328.tar.gz" tarname="wrs-gw-v4.0-dev-20140328.tar.gz"
wrs_echo "Using pre-build binaries from $tarname" wrs_echo "Using pre-built binaries from $tarname"
wrs_download $tarname wrs_download $tarname
tar xzf $WRS_DOWNLOAD_DIR/$tarname -C $FWDIR tar xzf $WRS_DOWNLOAD_DIR/$tarname -C $FWDIR
fi fi
...@@ -789,7 +789,7 @@ Options: ...@@ -789,7 +789,7 @@ Options:
-h|--help Show this help message -h|--help Show this help message
-m|--mode can be: default (df and nf), df (dataflash), -m|--mode can be: default (df and nf), df (dataflash),
nf (nandflash), ddr (ddr memories). nf (nandflash), ddr (ddr memories).
-g|--gateware Select the gateware: 18p (18 ports, default), 8p (8 ports), LX130T (small FPGA), LX240T (big FGPA) -g|--gateware Select the gateware: 18p (18 ports, default), 8p (8 ports)
-e Completely erase the memory (Can erase your configuration) -e Completely erase the memory (Can erase your configuration)
-b|--build Use files that you have built in the WRS_OUTPUT_DIR -b|--build Use files that you have built in the WRS_OUTPUT_DIR
-m1|--mac1 Default MAC address for the Ethernet port on board -m1|--mac1 Default MAC address for the Ethernet port on board
...@@ -822,11 +822,9 @@ install different binaries on these memories: ...@@ -822,11 +822,9 @@ install different binaries on these memories:
@end itemize @end itemize
You can select which type of gateware you want to flash on your You can select which type of gateware you want to flash on your
switch. By default we only write on the nandflash the gateware switch. Currently we only support LX240T (the current circuit doesn't
for 18 ports for both its light (@code{LX130T}) and full fit in the LX130T any more). 8-port images are sometimes used for
(@code{LX240T}) FPGA size. If you know which type of FPGA you are testing. And you can select it like this:
using (i.e, @code{LX240T}) and you want to have the gateware for 8
and 18 ports you can use the flag as below:
@smallexample @smallexample
$ ./build/flash-wrs --gateware LX240T <...> $ ./build/flash-wrs --gateware LX240T <...>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment