forked from M-Labs/artiq-zynq
remote_run: fixes
This commit is contained in:
parent
53e1af81b6
commit
b7c5a56470
@ -21,10 +21,10 @@ target_folder=/tmp/zynq-\$USER
|
||||
ssh $target_host "mkdir -p $target_folder"
|
||||
rsync openocd/* $target_host:$target_folder
|
||||
if [ $impure -eq 1 ]; then
|
||||
rsync src/target/armv7-none-eabihf/release/szl $target_host:$target_folder
|
||||
rsync src/target/armv7-none-eabihf/release/szl $target_host:$target_folder/szl.elf
|
||||
rsync src/build/top.bit $target_host:$target_folder
|
||||
else
|
||||
rsync result/szl $target_host:$target_folder
|
||||
rsync result/top.bit $target_host:$target_folder
|
||||
rsync -L result/szl.elf $target_host:$target_folder
|
||||
rsync -L result/top.bit $target_host:$target_folder
|
||||
fi
|
||||
ssh $target_host "cd $target_folder; openocd -f zc706.cfg -c 'pld load 0 top.bit; load_image szl; resume 0; exit'"
|
||||
ssh $target_host "cd $target_folder; openocd -f zc706.cfg -c 'pld load 0 top.bit; load_image szl.elf; resume 0; exit'"
|
||||
|
Loading…
Reference in New Issue
Block a user