Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
W
White Rabbit Switch - Software
Manage
Activity
Members
Labels
Plan
Issues
87
Issue boards
Milestones
Wiki
Code
Merge requests
4
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Monitor
Incidents
Service Desk
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Projects
White Rabbit Switch - Software
Commits
c6ddd7e9
Commit
c6ddd7e9
authored
12 years ago
by
Tomasz Wlostowski
Browse files
Options
Downloads
Patches
Plain Diff
build/scripts: include FPGA firmware in the final filesystem
parent
78fa9d38
Branches
Branches containing commit
Tags
Tags containing commit
No related merge requests found
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
build/scripts/wrs_build_gateware
+18
-0
18 additions, 0 deletions
build/scripts/wrs_build_gateware
build/wrs_build-all
+2
-1
2 additions, 1 deletion
build/wrs_build-all
with
20 additions
and
1 deletion
build/scripts/wrs_build_gateware
0 → 100755
+
18
−
0
View file @
c6ddd7e9
#!/bin/bash
# check variables, like all scripts herein do
WRS_SCRIPT_NAME
=
$(
basename
$0
)
.
${
WRS_BASE_DIR
}
/scripts/wrs_functions
wrs_check_vars WRS_OUTPUT_DIR WRS_HW_DIR
wrs_echo
"--- Deploying FPGA firmware"
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
This diff is collapsed.
Click to expand it.
build/wrs_build-all
+
2
−
1
View file @
c6ddd7e9
...
...
@@ -113,7 +113,8 @@ wrs_build_step 04-kernel wrs_build_kernel
wrs_build_step 05-modules wrs_build_modules
wrs_build_step 06-ptp-noposix wrs_build_ptp_noposix
wrs_build_step 07-wrs-userspace wrs_build_userspace
wrs_build_step 08-wrap-rootfs wrs_build_wraprootfs
wrs_build_step 08-wrs-gateware wrs_build_gateware
wrs_build_step 09-wrap-rootfs wrs_build_wraprootfs
if
$failed_step
;
then
wrs_die
"One or more build steps failed"
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment