From d71bc3a57ea74406f33cf344f189d75152be4dc0 Mon Sep 17 00:00:00 2001 From: mwojcik Date: Tue, 2 Jul 2024 11:24:03 +0800 Subject: [PATCH] update artiq-6 instructions --- src/sw_sup/artiq_legacy.md | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/src/sw_sup/artiq_legacy.md b/src/sw_sup/artiq_legacy.md index ba1e6a7..2d21f73 100644 --- a/src/sw_sup/artiq_legacy.md +++ b/src/sw_sup/artiq_legacy.md @@ -32,6 +32,14 @@ git checkout release-6 # or release-5... cd .. ``` +Keep in mind that ARTIQ-6 scripts have been removed in `nix-scripts`, so you may need to checkout the last commit that still has them. + +```shell +cd nix-scripts +git checkout c590df48e0553a670e18ebf9d02047bfcfddb40d +cd .. +``` + ## Setting up the environment and building firmware Within ``fish`` shell (others may not work correctly), set up the ARTIQ build environment: @@ -54,8 +62,7 @@ artiq_flash -V -d artiq_kasli --srcbuild There's a slight discrepancy from usual command - ``-V `` option is not present in ARTIQ-7+, but it is necessary here. If you want to send the binaries to a customer, there's no need packing up the whole build directory - only `top.bit`, `bootloader.bin` -and `runtime.elf/fbi` or `satman.elf/fbi` are necessary. You can use the `prep_pkg.py` script from extras to package -them up neatly into a zip file for distributions: +and `runtime.elf/fbi` or `satman.elf/fbi` are necessary. You can use the `prep_pkg.py` script from extras to package them up neatly into a zip file for distributions: ```shell python prep_pkg.py -v -d artiq_kasli/