Commit dc6e3336 authored by Carsten Heinz's avatar Carsten Heinz

Update paths in zynq bitstream reload script

[SKIP CI]
parent bbbfc97c
Pipeline #1654 skipped
......@@ -25,7 +25,7 @@
# init paths
DRIVER=tlkm
DRIVERPATH="$TAPASCO_HOME/tlkm"
DRIVERPATH="$TAPASCO_HOME_RUNTIME/kernel"
show_usage() {
cat << EOF
......
......@@ -54,7 +54,7 @@ shift "$((OPTIND-1))"
BITSTREAM="$1"
if [ -n $BITSTREAM ] && [[ $BITSTREAM == *.bit ]] && [[ -e $BITSTREAM ]]
then
pushd $TAPASCO_HOME/platform/zynqmp/module &> /dev/null
pushd $TAPASCO_HOME_RUNTIME/platform/zynqmp/module &> /dev/null
if [[ `lsmod | grep tapasco | wc -l` -eq 1 ]]; then
sudo ./unload.sh
fi
......@@ -62,7 +62,7 @@ then
echo "Loading bitstream $BITSTREAM ..."
sudo sh -c "cat $BITSTREAM > /dev/xdevcfg"
echo "Done!"
pushd $TAPASCO_HOME/platform/zynqmp/module &> /dev/null
pushd $TAPASCO_HOME_RUNTIME/platform/zynqmp/module &> /dev/null
echo "Loading kernel module ..."
sudo ./load.sh
popd &> /dev/null
......
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