Closed jbqubit closed 1 month ago
/opt/Xilinx/Vivado/2022.2/settings64.sh: No such file or directory
Did you run nix develop git+https://git.m-labs.hk/m-labs/artiq-zynq\?ref=release-8
before running this command? I copied the provided JSON and was able to build it using both methods on my machine, as long as I am in the devShell. For the incremental method, I also run the make
command with the -B
flag to ensure that the manifests get updated correctly.
gateware/kasli_soc.py -g ../build/gateware /home/britton/experiment/cryo0/cryo0.json
Did this command not output anything, or was it cut for length? Normally this would take some time for the gateware to build...
Here is an additional link that may be helpful: https://git.m-labs.hk/sinara-hw/assembly/src/branch/master/src/sw_sup/setup_build_pc.md#installation. AFAIK it is not linked in the manual but there are some forum posts that discuss this.
EDIT: Provided link may not be helpful given that the system builds mainline Kasli just fine, but provided for completeness regardless.
Thanks for the quick advice.
I made the following edits to my system.
1) In ~/.local/share/nix/trusted-settings.json
add the following
{
"extra-sandbox-paths":{
"/opt":true
},
"extra-substituters":{
"https://nixbld.m-labs.hk":true
},
"extra-trusted-public-keys":{
"nixbld.m-labs.hk-1:5aSRVA5b320xbNvu30tqxVPXpld73bhtOeH6uAjRyHc=":true
}
}
2) In ~/.config/nix/nix.conf
add extra-sandbox-paths = /opt
And both build methods now work.
If I revert (2) I see that the makeArtiqZynqPackage error recurs.
I'm running Ubuntu 2022.04 LTS.
ACK. Will see about adding the additional Nix configuration tips to the manual as soon as I've gotten the chance to try and recreate the original problem (just have to get a Vivado install going again first...)
The updated ARTIQ developer build documentation provides several methods for building for Kasli-SoC. Both methods fail for various reasons. Tests are conducted on a system that successfully builds for kasli.
nix makeArtiqZynqPackage
Zynq incremental build
cryo0.json