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
84
Issues
84
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
8dfc70a1
Commit
8dfc70a1
authored
Jun 20, 2012
by
Tomasz Wlostowski
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
build: download gateware from ohwr.org if no WR HDL repo found
parent
3a82f384
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
12 additions
and
4 deletions
+12
-4
download-info
build/download-info
+2
-1
wrs_build_gateware
build/scripts/wrs_build_gateware
+10
-3
No files found.
build/download-info
View file @
8dfc70a1
...
...
@@ -127,5 +127,6 @@ uClibc-0.9.32.tar.bz2 cfcb6c25d8ebe12817499d8749ee8ae1 \
zlib-1.2.5.tar.bz2 be1e89810e66150f5b0327984d8625a0 \
http://kent.dl.sourceforge.net/sourceforge/libpng/zlib-1.2.5.tar.bz2
wrs3-gw.tar.gz 339414ba4d26ee4d50ddb36284377860 \
http://www.ohwr.org/attachments/download/1371/wrs3-gw.tar.gz
build/scripts/wrs_build_gateware
View file @
8dfc70a1
...
...
@@ -5,7 +5,7 @@ WRS_SCRIPT_NAME=$(basename $0)
.
${
WRS_BASE_DIR
}
/scripts/wrs_functions
wrs_check_vars WRS_OUTPUT_DIR
WRS_HW_DIR
wrs_check_vars WRS_OUTPUT_DIR
wrs_echo
"--- Deploying FPGA firmware"
...
...
@@ -13,6 +13,13 @@ mkdir -p ${WRS_OUTPUT_DIR}/images/wr
mkdir
-p
${
WRS_OUTPUT_DIR
}
/images/wr/lib
mkdir
-p
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware
cp
${
WRS_HW_DIR
}
/syn/scb_8ports/scb_top_synthesis.bin
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware/8ports_mb.bin
cp
${
WRS_HW_DIR
}
/rt/rt_cpu.bin
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware/rt_cpu.bin
echo
"
$WRS_HW_DIR
"
if
[
"
$WRS_HW_DIR
"
!=
""
]
;
then
cp
${
WRS_HW_DIR
}
/syn/scb_8ports/scb_top_synthesis.bin
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware/8ports_mb.bin
cp
${
WRS_HW_DIR
}
/rt/rt_cpu.bin
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware/rt_cpu.bin
else
tarname
=
wrs3-gw.tar.gz
wrs_download
$tarname
tar
xzf
$WRS_DOWNLOAD_DIR
/
$tarname
-C
${
WRS_OUTPUT_DIR
}
/images/wr/lib/firmware
fi
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