Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
tapasco
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
52
Issues
52
List
Boards
Labels
Service Desk
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Operations
Operations
Incidents
Environments
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
tapasco
tapasco
Commits
20e33f67
Commit
20e33f67
authored
May 26, 2017
by
Jens Korinth
1
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Zynq: clean bit_reload.sh output
parent
939702ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
4 additions
and
4 deletions
+4
-4
platform/zynq/module/bit_reload.sh
platform/zynq/module/bit_reload.sh
+4
-4
No files found.
platform/zynq/module/bit_reload.sh
View file @
20e33f67
...
...
@@ -54,18 +54,18 @@ shift "$((OPTIND-1))"
BITSTREAM
=
"
$1
"
if
[
-n
$BITSTREAM
]
&&
[[
$BITSTREAM
==
*
.bit
]]
&&
[[
-e
$BITSTREAM
]]
then
pushd
$TAPASCO_HOME
/platform/zynq/module
pushd
$TAPASCO_HOME
/platform/zynq/module
&> /dev/null
if
[[
`
lsmod |
grep
tapasco |
wc
-l
`
-eq
1
]]
;
then
sudo
./unload.sh
fi
popd
popd
&> /dev/null
echo
"Loading bitstream
$BITSTREAM
..."
sudo
sh
-c
"cat
$BITSTREAM
> /dev/xdevcfg"
echo
"Done!"
pushd
$TAPASCO_HOME
/platform/zynq/module
pushd
$TAPASCO_HOME
/platform/zynq/module
&> /dev/null
echo
"Loading kernel module ..."
sudo
./load.sh
popd
popd
&> /dev/null
echo
"Done."
else
show_usage
...
...
Jens Korinth
@jk
mentioned in commit
a831b501
·
Jul 14, 2017
mentioned in commit
a831b501
mentioned in commit a831b5015df6bd8f8d23ddd334a3b1159392de92
Toggle commit list
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