forked from M-Labs/nix-scripts
zynq: fix previous commit
This commit is contained in:
parent
b3715bbfc8
commit
eabcda5013
7
zynq.nix
7
zynq.nix
|
@ -1,8 +1,9 @@
|
||||||
let
|
let
|
||||||
|
pkgs = import <nixpkgs> {};
|
||||||
zynq-rs-latest = import <zynq-rs>;
|
zynq-rs-latest = import <zynq-rs>;
|
||||||
artiq-zynq = import <artiq-zynq>;
|
artiq-zynq = import <artiq-zynq>;
|
||||||
zynq-rs = import "${artiq-zynq}/zynq-rs.nix";
|
zynq-rs = import "${artiq-zynq}/zynq-rs.nix";
|
||||||
pkgs = import <nixpkgs> {};
|
zc706-szl = (import zynq-rs).zc706-szl;
|
||||||
artiq-fast = import <artiq-fast> { inherit pkgs; };
|
artiq-fast = import <artiq-fast> { inherit pkgs; };
|
||||||
in
|
in
|
||||||
(
|
(
|
||||||
|
@ -40,8 +41,8 @@ in
|
||||||
echo Power cycle done.
|
echo Power cycle done.
|
||||||
|
|
||||||
export USER=hydra
|
export USER=hydra
|
||||||
export OPENOCD_ZYNQ=${<zynq-rs>}/openocd
|
export OPENOCD_ZYNQ=${zynq-rs}/openocd
|
||||||
export SZL=${zynq-rs.zc706-szl}/szl.elf
|
export SZL=${zc706-szl}/szl.elf
|
||||||
pushd ${<artiq-zynq>}
|
pushd ${<artiq-zynq>}
|
||||||
bash ${<artiq-zynq>}/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}
|
bash ${<artiq-zynq>}/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}
|
||||||
popd
|
popd
|
||||||
|
|
Loading…
Reference in New Issue