From 203f8f335ff4704c45f161823e347f406c672747 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Tue, 30 Aug 2022 18:59:53 +0800 Subject: [PATCH] development setup --- README.md | 4 ++++ remote_run.sh | 2 +- 2 files changed, 5 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 53a9022..7f8db6d 100644 --- a/README.md +++ b/README.md @@ -28,6 +28,10 @@ Notes: - The impure build process is also compatible with non-Nix systems. - If the board is connected to the local machine, use the ``local_run.sh`` script. +- Due to questionable Zynq design decisions, JTAG boot works only once per power cycle. + A good workaround is to power the Red Pitaya through a uhubctl-compatible USB hub and + boot with a command such as: + ``ssh rpi-3.m-labs.hk "uhubctl -a off -p 4; sleep 2; uhubctl -a on -p 4; sleep 2" && ./remote_run.sh -i`` License ------- diff --git a/remote_run.sh b/remote_run.sh index 9de351c..7a1f113 100755 --- a/remote_run.sh +++ b/remote_run.sh @@ -11,7 +11,7 @@ if [ -z "$SZL" ]; then exit 1 fi -target_host="rpi-4.m-labs.hk" +target_host="rpi-3.m-labs.hk" impure=0 pure_dir="result" impure_dir="build"