@@ -9,10 +9,10 @@ ARTIQ_PREFIX=$(python3 -c "import artiq; print(artiq.__path__[0])")
9
9
10
10
# Default is kc705
11
11
BOARD=kc705
12
- # Default carrier board is nist_qc1
13
- CARRIER_BOARD =nist_qc1
12
+ # Default mezzanine board is nist_qc1
13
+ MEZZANINE_BOARD =nist_qc1
14
14
15
- while getopts " bBrht:d:f:" opt
15
+ while getopts " bBrht:d:f:m: " opt
16
16
do
17
17
case $opt in
18
18
b)
55
55
exit 1
56
56
fi
57
57
;;
58
- c )
58
+ m )
59
59
if [ " $OPTARG " == " nist_qc1" ]
60
60
then
61
- CARRIER_BOARD =nist_qc1
61
+ MEZZANINE_BOARD =nist_qc1
62
62
elif [ " $OPTARG " == " nist_qc2" ]
63
63
then
64
- CARRIER_BOARD =nist_qc2
64
+ MEZZANINE_BOARD =nist_qc2
65
65
else
66
- echo " KC705 carrier board is either nist_qc1 or nist_qc2"
66
+ echo " KC705 mezzanine board is either nist_qc1 or nist_qc2"
67
67
exit 1
68
68
fi
69
69
;;
72
72
echo " "
73
73
echo " To flash everything, do not use any of the -b|-B|-r option."
74
74
echo " "
75
- echo " usage: $0 [-b] [-B] [-r] [-h] [-c nist_qc1|nist_qc2] [-t kc705|pipistrello] [-d path] [-f path]"
75
+ echo " usage: $0 [-b] [-B] [-r] [-h] [-m nist_qc1|nist_qc2] [-t kc705|pipistrello] [-d path] [-f path]"
76
76
echo " -b Flash bitstream"
77
77
echo " -B Flash BIOS"
78
78
echo " -r Flash ARTIQ runtime"
79
79
echo " -h Show this help message"
80
80
echo " -t Target (kc705, pipistrello, default is: kc705)"
81
- echo " -c Carrier board (nist_qc1, nist_qc2, default is: nist_qc1)"
81
+ echo " -m Mezzanine board (nist_qc1, nist_qc2, default is: nist_qc1)"
82
82
echo " -f Flash storage image generated with artiq_mkfs"
83
83
echo " -d Directory containing the binaries to be flashed"
84
84
exit 1
118
118
if [ " $BOARD " == " kc705" ]
119
119
then
120
120
UDEV_RULES=99-kc705.rules
121
- BITSTREAM=artiq_kc705-${CARRIER_BOARD } -kc705.bit
121
+ BITSTREAM=artiq_kc705-${MEZZANINE_BOARD } -kc705.bit
122
122
CABLE=jtaghs1_fast
123
123
PROXY=bscan_spi_kc705.bit
124
124
BIOS_ADDR=0xaf0000
125
125
RUNTIME_ADDR=0xb00000
126
- RUNTIME_FILENAME=runtime_${CARRIER_BOARD } .fbi
126
+ RUNTIME_FILENAME=runtime_${MEZZANINE_BOARD } .fbi
127
127
FS_ADDR=0xb40000
128
128
if [ -z " $BIN_PREFIX " ]; then BIN_PREFIX=$ARTIQ_PREFIX /binaries/kc705; fi
129
129
search_for_proxy $PROXY
0 commit comments