From 7607c48956e6dc7b37e3b773abf8485ece249dce Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 11 Apr 2020 21:32:23 +0800 Subject: [PATCH] remote_run: load gateware --- remote_run.sh | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/remote_run.sh b/remote_run.sh index 43bf3dc6..3a636a35 100755 --- a/remote_run.sh +++ b/remote_run.sh @@ -10,4 +10,5 @@ TARGET_FOLDER=/tmp/zynq-\$USER ssh $TARGET_HOST "mkdir -p $TARGET_FOLDER" rsync openocd/* $TARGET_HOST:$TARGET_FOLDER rsync target/armv7-none-eabihf/release/runtime $TARGET_HOST:$TARGET_FOLDER -ssh $TARGET_HOST "cd $TARGET_FOLDER; openocd -f zc706.cfg -c 'load_image runtime; resume 0; exit'" +rsync build/top.bit $TARGET_HOST:$TARGET_FOLDER +ssh $TARGET_HOST "cd $TARGET_FOLDER; openocd -f zc706.cfg -c 'pld load 0 top.bit; load_image runtime; resume 0; exit'"