From 8af8c894810b591aed539430279be4476d09cbe2 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Sat, 4 Jul 2020 23:33:10 +0800 Subject: [PATCH] remote-run: use CRC for rsync of pure build products --- remote_run.sh | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/remote_run.sh b/remote_run.sh index 3f963397..785a4d0e 100755 --- a/remote_run.sh +++ b/remote_run.sh @@ -31,8 +31,8 @@ if [ $impure -eq 1 ]; then rsync $impure_dir/firmware/armv7-none-eabihf/release/szl $target_host:$target_folder/szl.elf rsync $impure_dir/gateware/top.bit $target_host:$target_folder else - rsync -L $pure_dir/szl.elf $target_host:$target_folder - rsync -L $pure_dir/top.bit $target_host:$target_folder + rsync -Lc $pure_dir/szl.elf $target_host:$target_folder + rsync -Lc $pure_dir/top.bit $target_host:$target_folder fi echo "Programming board..." ssh $target_host "cd $target_folder; openocd -f zc706.cfg -c 'pld load 0 top.bit; load_image szl.elf; resume 0; exit'"