Fetch nexus bitstream and OTT from public bucket Change-Id: Ibabe81f3b953611fedb31e3b949f6d5d56acc2d8
diff --git a/platforms/nexus/matcha_hw.mk b/platforms/nexus/matcha_hw.mk index 2c26cda..624988b 100644 --- a/platforms/nexus/matcha_hw.mk +++ b/platforms/nexus/matcha_hw.mk
@@ -169,11 +169,13 @@ find "$(MATCHA_SRC_DIR)/bazel-out/" -type f -wholename "*fastbuild-*/sw/device/examples/spi_passthrough/spi_passthrough_fpga_nexus.bin" |\ xargs -I '{}' cp -f '{}' "$(OUT)" +## Fetch latest Nexus bitstream and matching opentitantool latest_bitstream: | $(OUT) - gsutil cp gs://louhi-cache/artifacts/nexus-bitstream_latest.tar.gz $(OUT) - cd $(OUT) && tar xf nexus-bitstream_latest.tar.gz - cd $(OUT) && tar xf results/fpga_nexus_smoketest.tar.gz - + curl https://storage.googleapis.com/shodan-public-artifacts/nexus-bitstream_latest.tar.gz -o $(OUT)/nexus-bitstream.tar.gz + tar -C $(OUT) -xf $(OUT)/nexus-bitstream.tar.gz + tar -C $(OUT) -xf $(OUT)/results/fpga_nexus_smoketest.tar.gz + curl https://storage.googleapis.com/shodan-public-artifacts/opentitantool_pkg_latest.tar.gz -o $(OUT)/opentitantool_pkg.tar.gz + tar -C $(OUT) -xf $(OUT)/opentitantool_pkg.tar.gz .PHONY:: matcha_hw_verilator_sim matcha_hw_clean matcha_hw_verilator_tests .PHONY:: matcha_sw_all opentitantool_pkg