forked from M-Labs/nac3
1
0
Fork 0

remote_run: load gateware

This commit is contained in:
Sebastien Bourdeauducq 2020-04-11 21:32:23 +08:00
parent 356860e8dc
commit 7607c48956
1 changed files with 2 additions and 1 deletions

View File

@ -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'"