From dacc57af741d77176d993aa94fbdb2cb8ba3a066 Mon Sep 17 00:00:00 2001 From: Sebastien Bourdeauducq Date: Mon, 12 Jul 2021 16:41:03 +0800 Subject: [PATCH] zynq: install matching openocd version on rpi --- artiq-zynq.nix | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/artiq-zynq.nix b/artiq-zynq.nix index dac7501..67d3311 100644 --- a/artiq-zynq.nix +++ b/artiq-zynq.nix @@ -44,7 +44,9 @@ in export OPENOCD_ZYNQ=${artiq-zynq.zynq-rs}/openocd export SZL=${szlEnv} pushd ${} - bash ${}/remote_run.sh -h rpi-4 -o "-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -i /opt/hydra_id_rsa" -d ${artiq-zynq.zc706-nist_qc2-jtag} + export NIX_SSHOPTS="-F /dev/null -o StrictHostKeyChecking=no -o UserKnownHostsFile=/dev/null -o LogLevel=ERROR -i /opt/hydra_id_rsa" + ssh rpi-4 "nix-store -r ${} --add-root openocd-pkgs --indirect && nix-env -e openocd && nix-env -iA openocd -f openocd-pkgs && rm openocd-pkgs" + bash ${}/remote_run.sh -h rpi-4 -o $NIX_SSHOPTS -d ${artiq-zynq.zc706-nist_qc2-jtag} popd echo Waiting for the firmware to boot...