Hi again,
I decided to do it on Linux and installed everything as is suggested in the instructions. Given that all is the same, once I downloaded the artiq-zynq pachage (its release-8), I just executed nix develop
and then nix build --print-build-logs --impure --expr 'let fl = builtins.getFlake "git+https://git.m-labs.hk/m-labs/artiq-zynq?ref=release-8"; in (fl.makeArtiqZynqPackage {target="kasli_soc"; variant="standalone"; json=./basic.json;}).kasli_soc-standalone-sd'
The error I get is the same:
kasli_soc-standalone-gateware> Fastino (EEM0) starting at RTIO channel 0x000000
kasli_soc-standalone-gateware> USER LED at RTIO channel 0x000001
kasli_soc-standalone-gateware> USER LED at RTIO channel 0x000002
kasli_soc-standalone-gateware> /etc/profile: line 37: /opt/Xilinx/Vivado/2022.2/settings64.sh: No such file or directory
kasli_soc-standalone-gateware> Traceback (most recent call last):
kasli_soc-standalone-gateware> File "/nix/store/a2iy41gccss952qhh8vnaivxjla29alq-gateware/kasli_soc.py", line 672, in <module>
kasli_soc-standalone-gateware> main()
kasli_soc-standalone-gateware> File "/nix/store/a2iy41gccss952qhh8vnaivxjla29alq-gateware/kasli_soc.py", line 668, in main
kasli_soc-standalone-gateware> soc.build(build_dir=args.g)
kasli_soc-standalone-gateware> File "/nix/store/vbv516vz6qi4m4wgavbdb1m1qwq7qnc4-python3-3.11.9-env/lib/python3.11/site-packages/migen_axi/integration/soc_core.py", line 169, in build
kasli_soc-standalone-gateware> self.platform.build(self, *args, **kwargs)
kasli_soc-standalone-gateware> File "/nix/store/vbv516vz6qi4m4wgavbdb1m1qwq7qnc4-python3-3.11.9-env/lib/python3.11/site-packages/migen/build/xilinx/platform.py", line 59, in build
kasli_soc-standalone-gateware> return self.toolchain.build(self, *args, **kwargs)
kasli_soc-standalone-gateware> ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
kasli_soc-standalone-gateware> File "/nix/store/vbv516vz6qi4m4wgavbdb1m1qwq7qnc4-python3-3.11.9-env/lib/python3.11/site-packages/migen/build/xilinx/vivado.py", line 224, in build
kasli_soc-standalone-gateware> _run_vivado(build_name)
kasli_soc-standalone-gateware> File "/nix/store/vbv516vz6qi4m4wgavbdb1m1qwq7qnc4-python3-3.11.9-env/lib/python3.11/site-packages/migen/build/xilinx/vivado.py", line 69, in _run_vivado
kasli_soc-standalone-gateware> raise OSError("Subprocess failed")
kasli_soc-standalone-gateware> OSError: Subprocess failed
I checked that the file settings64.sh exists. I also looked int /etc/profile
and it only has 27 lines of code.
My artiq-zynq
package is NOT in /opt
, but this should not be the problem.
Any idea?