ls2: Fix order of env vars.
authorAndrey Miroshnikov <andrey@technepisteme.xyz>
Fri, 11 Aug 2023 10:14:26 +0000 (10:14 +0000)
committerAndrey Miroshnikov <andrey@technepisteme.xyz>
Fri, 11 Aug 2023 10:14:26 +0000 (10:14 +0000)
HDL_workflow/ls2.mdwn

index 2df08da1755a06c9205027acb01a697a7bdec81a..da65c0cf90f7c7fb6e920b7c6f05bf4a2989df79 100644 (file)
     ./hdl-dev-repos
     ./hdl-tools-yosys
     ./nextpnr-xilinx-install
-    export PATH=/usr/local/nextpnr-xilinx/bin:$PATH
-    export XRAY_DIR=/usr/local/nextpnr-xilinx
     ./hdl-dev-ls2
+
+    # if you intend to upload fpga bitstreams in the same chroot, also need
+    # the fpga utilities
     ./fpga-boot-load-prog-install
+
     cd ~/src
 
     # make hello_world.bin from microwatt
@@ -46,6 +48,9 @@
     cd ../ls2
     git checkout 426e2d9585cd4b1fb96a38987f97878285ee5ba7
 
+    export PATH=/usr/local/nextpnr-xilinx/bin:$PATH
+    export XRAY_DIR=/usr/local/nextpnr-xilinx
+
     # plug in FPGA board (Arty A7-100t, VERSA_ECP5, other)
     # run in 2nd terminal "minicom -D /dev/ttyUSB1"