From 7db0498a9aca7df5aacb9b5b1585a2731dd7a547 Mon Sep 17 00:00:00 2001 From: Yann Sionneau Date: Thu, 27 Aug 2015 11:02:06 +0200 Subject: [PATCH] artiq_flash: dont prepend the runtime file with mezzanine board directory if using -d --- artiq/frontend/artiq_flash.sh | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/artiq/frontend/artiq_flash.sh b/artiq/frontend/artiq_flash.sh index 4d155e4b9..881e5a616 100755 --- a/artiq/frontend/artiq_flash.sh +++ b/artiq/frontend/artiq_flash.sh @@ -123,9 +123,13 @@ then PROXY=bscan_spi_kc705.bit BIOS_ADDR=0xaf0000 RUNTIME_ADDR=0xb00000 - RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi + RUNTIME_FILE=runtime.fbi FS_ADDR=0xb40000 - if [ -z "$BIN_PREFIX" ]; then BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705; fi + if [ -z "$BIN_PREFIX" ] + then + RUNTIME_FILE=${MEZZANINE_BOARD}/runtime.fbi + BIN_PREFIX=$ARTIQ_PREFIX/binaries/kc705 + fi search_for_proxy $PROXY elif [ "$BOARD" == "pipistrello" ] then