Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
tapasco
tapasco
Commits
20e33f67
Commit
20e33f67
authored
May 26, 2017
by
Jens Korinth
Browse files
Zynq: clean bit_reload.sh output
parent
939702ba
Changes
1
Hide whitespace changes
Inline
Side-by-side
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
Supports
Markdown
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