ASIC-README 39 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860
  1. SUPPORTED DEVICES
  2. Currently supported devices include:
  3. - Antminer U1/U2/U2+/U3 USB
  4. - Antminer S1
  5. - ASICMINER block erupters
  6. - ASICMINER Tube/Prisma
  7. - Avalon (including BitBurner and Klondike)
  8. - Avalon2/3
  9. - Avalon4/4.1/6
  10. - Avalon7
  11. - Avalon8
  12. - BFx2 USB
  13. - Butterfly Labs SC 65/28nm range
  14. - BF1 (bitfury) USB (red and blue)
  15. - BlackArrow Bitfury
  16. - BlackArrow Minion
  17. - Bi*fury USB
  18. - Cointerra
  19. - Compac bitshopperde
  20. - GekkoScience
  21. - Halong Dragonmint T1
  22. - Hashfast Babyjet and Sierra
  23. - Hashratio
  24. - Hexfury USB
  25. - KnCminer Mercury, Saturn and Jupiter
  26. - Nanofury USB
  27. - Other bitfury USB devices
  28. - Onestring miner USB
  29. - Rockminer R-Box/RK-Box/T1/New R-Box
  30. - Spondoolies SP10, SP30
  31. No COM ports on windows or TTY devices will be used by cgminer as it
  32. communicates directly with them via USB so it is normal for them to not exist or
  33. be disconnected when cgminer is running.
  34. The BFL devices should come up as one of the following:
  35. BAJ: BFL ASIC Jalapeño
  36. BAL: BFL ASIC Little Single
  37. BAS: BFL ASIC Single
  38. BAM: BFL ASIC Minirig
  39. BMA: BFL Monarch
  40. BFL devices need the --enable-bflsc option when compiling cgminer yourself.
  41. Avalon will come up as AVA.
  42. Avalon devices need the --enable-avalon option when compiling cgminer.
  43. Avalon2/3 will come up as AV2.
  44. Avalon2/3 devices need the --enable-avalon2 option when compiling cgminer.
  45. Avalon4/4.1 will come up as AV4, Please use the MM version to distinguish.
  46. Avalon6 will come up as AV6.
  47. Avalon4/4.1/6 devies need the --enable-avalon4 option when compiling cgminer.
  48. Avalon7 will come up as AV7.
  49. Avalon8 will come up as AV8.
  50. Klondike will come up as KLN.
  51. Klondike devices need the --enable-klondike option when compiling cgminer.
  52. ASICMINER block erupters will come up as AMU.
  53. ASICMINER devices need the --enable-icarus option when compiling cgminer.
  54. Also note that the AMU is managed by the Icarus driver which is detailed
  55. in the FPGA-README. Configuring them uses the same mechanism as outlined
  56. below for getting started with USB ASICs.
  57. ASICMINER BlockErupter Tube/Prisma will come up as BET.
  58. ASICMINER Tube/Prisma devices need the --enable-blockerupter option when
  59. compiling cgminer. This driver is apparently BROKEN and the original contributor
  60. has not submitted fixes.
  61. BlackArrow Bitfury devices
  62. BlackArrow Bitfury devices need the --enable-bab option when compiling cgminer.
  63. The current BlackArrow Bitfury devices are similar to the Bitfury GPIO mining
  64. boards, with both V1 and V2 controllers, and come up as BaB.
  65. BlackArrow Minion devices
  66. BlackArrow Minion devices need the --enable-minion option when compiling
  67. cgminer.
  68. BlackArrow Minion devices are SPI/GPIO mining devices and come up as MBA
  69. BITFURY devices
  70. Bitfury devices need the --enable-bitfury option when compiling cgminer.
  71. Currently the BPMC/BGMC BF1 devices AKA redfury/bluefury are supported and
  72. come up as BF1, along with the Bi*fury USB devices which come up as BXF.
  73. Nanofury devices come up as NF1. BFx2 devices come up as BXM.
  74. Bitfury USB devices are also set up as per the USB ASICs below.
  75. COINTERRA devices
  76. Cointerra devices need the --enable-cointerra option when compiling cgminer.
  77. Cointerra devices come up as CTA devices and currently take only hidden command
  78. line arguments for power settings.
  79. Cointerra USB devices are set up as per the USB ASIC instructions below.
  80. Compac devices
  81. Bitshopperde compac devices need the --enable-gekko option when compiling cgminer.
  82. This also supports the GekkoScience devices.
  83. bitshopperde come up as BSC, BSD, BSE
  84. GekkoScience devices
  85. GekkoScience devices need the --enable-gekko option when compiling cgminer.
  86. This also supports the bitshopperde devices.
  87. GekkoScience come up as GSC, GSD, GSE, GSF, GSH, GSI
  88. HALONG devices
  89. HALONG Dragonmint T1 devices will come up as DT1.
  90. Halong devices need the --enable-dragonmint_t1 option.
  91. HASHFAST devices
  92. Hashfast devices need the --enable-hashfast option when compiling cgminer.
  93. All current HFA devices are supported and are recognised with the name HFA
  94. in the --usb commands. After initialisation, cgminer will determine what type
  95. they are and give them the following names:
  96. HFB: Hashfast Babyjet
  97. HFS: Hashfast Sierra
  98. HFA: Hashfast non standard (eg. a Babyjet with an added board, Habanero)
  99. HASHRATIO devices
  100. Hashratio devices need the --enable-hashratio option when compiling cgminer.
  101. ANTMINER U1/U2+/U3 devices
  102. Antminer devices need the --enable-icarus option when compiling cgminer.
  103. Currently the U1/2/3 USB sticks are supported and come up as the following
  104. devices:
  105. ANU: Antminer U1/U2/U2+
  106. AU3: Antminer U3
  107. They are also set up as per the USB ASICs below.
  108. ANTMINER S1 devices
  109. Antminer S1 devices need the --enable-ants1 option when compiling cgminer.
  110. They are custom OpenWRT linux devices
  111. They are recognised with the name ANT
  112. BITMINE A1 devices
  113. Bitmine A1 devices need the --enable-bitmine_A1 compile option set.
  114. Rockminer R*Box
  115. Rockminer R*Box devices need the --enable-icarus compile option set.
  116. They appear with the following names:
  117. LIN: R-Box
  118. LIR: New R-Box
  119. ---
  120. GETTING STARTED WITH USB ASICS
  121. Unlike other software, cgminer uses direct USB communication instead of the
  122. ancient serial USB communication to be much faster, more reliable and use a
  123. lot less CPU. For this reason, setting up for mining with cgminer on these
  124. devices requires different drivers.
  125. See README 'SETTING UP USB DEVICES' for setting up USB mining with cgminer
  126. ---
  127. ASIC SPECIFIC COMMANDS
  128. --anu-freq <arg> Set AntminerU1/2 frequency in MHz, range 125-500 (default: 250.0)
  129. --au3-freq <arg> Set AntminerU3 frequency in MHz, range 100-250 (default: 225.0)
  130. --au3-volt <arg> Set AntminerU3 voltage in mv, range 725-850, 0 to not set (default: 775)
  131. --avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
  132. --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
  133. --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
  134. --avalon-freq <arg> Set frequency range for avalon-auto, single value or range
  135. --avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq:tech
  136. --avalon-temp <arg> Set avalon target temperature (default: 50)
  137. --avalon2-freq Set frequency range for Avalon2, single value or range
  138. --avalon2-voltage Set Avalon2 core voltage, in millivolts
  139. --avalon2-fan Set Avalon2 target fan speed
  140. --avalon2-cutoff <arg> Set Avalon2 overheat cut off temperature (default: 88)
  141. --avalon2-fixed-speed Set Avalon2 fan to fixed speed
  142. --avalon4-automatic-voltage Automatic adjust voltage base on module DH
  143. --avalon4-voltage Set Avalon4 core voltage, in millivolts, step: 125
  144. --avalon4-freq Set frequency for Avalon4, 1 to 3 values, example: 445:385:370
  145. --avalon4-fan Set Avalon4 target fan speed range
  146. --avalon4-temp <arg> Set Avalon4 target temperature (default: 42)
  147. --avalon4-cutoff <arg> Set Avalon4 overheat cut off temperature (default: 65)
  148. --avalon4-polling-delay <arg> Set Avalon4 polling delay value (ms) (default: 20)
  149. --avalon4-ntime-offset <arg> Set Avalon4 MM ntime rolling max offset (default: 4)
  150. --avalon4-aucspeed <arg> Set Avalon4 AUC IIC bus speed (default: 400000)
  151. --avalon4-aucxdelay <arg> Set Avalon4 AUC IIC xfer read delay, 4800 ~= 1ms (default: 9600)
  152. --avalon4-miningmode <arg> Set Avalon4 mining mode(0:custom, 1:eco, 2:normal, 3:turbo (default: 0)
  153. --avalon4-freezesafe Make Avalon4 running as a radiator when stratum server failed
  154. --avalon4-ntcb <arg> Set Avalon4 MM NTC B value (default: 3450)
  155. --avalon4-freq-min <arg> Set minimum frequency for Avalon4 (default: 100)
  156. --avalon4-freq-max <arg> Set maximum frequency for Avalon4 (default: 1000)
  157. --avalon4-noncecheck-off Disable A3218 inside nonce check function
  158. --avalon4-smart-speed <arg> Set smart speed, range 0-3. 0 means Disable (default: 2)
  159. --avalon4-speed-bingo <arg> Set A3218 speed bingo for smart speed mode 1 (default: 255)
  160. --avalon4-speed-error <arg> Set A3218 speed error for smart speed mode 1 (default: 3)
  161. --avalon4-least-pll <arg> Set least pll check threshold for smart speed mode 2 (default: 768)
  162. --avalon4-most-pll <arg> Set most pll check threshold for smart speed mode 2 (default: 256)
  163. --avalon7-voltage Set Avalon7 default core voltage, in millivolts, step: 78
  164. --avalon7-voltage-level Set Avalon7 default level of core voltage, range:[0, 15], step: 1
  165. --avalon7-voltage-offset Set Avalon7 default offset of core voltage, range:[-2, 1], step: 1
  166. --avalon7-freq Set Avalon7 default frequency, range:[24, 1404], step: 12, example: 500
  167. --avalon7-freq-sel <arg> Set Avalon7 default frequency select, range:[0, 5], step: 1, example: 3 (default: 0)
  168. --avalon7-fan Set Avalon7 target fan speed, range:[0, 100], step: 1, example: 0-100
  169. --avalon7-temp <arg> Set Avalon7 target temperature, range:[0, 100] (default: 99)
  170. --avalon7-polling-delay <arg> Set Avalon7 polling delay value (ms) (default: 20)
  171. --avalon7-aucspeed <arg> Set AUC3 IIC bus speed (default: 400000)
  172. --avalon7-aucxdelay <arg> Set AUC3 IIC xfer read delay, 4800 ~= 1ms (default: 19200)
  173. --avalon7-smart-speed <arg> Set Avalon7 smart speed, range 0-1. 0 means Disable (default: 1)
  174. --avalon7-th-pass <arg> Set A3212 th pass value (default: 162)
  175. --avalon7-th-fail <arg> Set A3212 th fail value (default: 10921)
  176. --avalon7-th-init <arg> Set A3212 th init value (default: 32767)
  177. --avalon7-th-ms <arg> Set A3212 th ms value (default: 1)
  178. --avalon7-th-timeout <arg> Set A3212 th timeout value (default: 0)
  179. --avalon7-iic-detect Enable Avalon7 detect through iic controller
  180. --avalon7-freqadj-time <arg> Set Avalon7 check interval when run in AVA7_FREQ_TEMPADJ_MODE (default: 60)
  181. --avalon7-delta-temp <arg> Set Avalon7 delta temperature when reset freq in AVA7_FREQ_TEMPADJ_MODE (default: 0)
  182. --avalon7-delta-freq <arg> Set Avalon7 delta freq when adjust freq in AVA7_FREQ_TEMPADJ_MODE (default: 100)
  183. --avalon7-freqadj-temp <arg> Set Avalon7 check temperature when run into AVA7_FREQ_TEMPADJ_MODE (default: 104)
  184. --avalon7-nonce-mask <arg> Set A3212 nonce mask, range 24-32. (default: 31)
  185. --no-avalon7-asic-debug Disable A3212 debug.
  186. --avalon8-voltage-level Set Avalon8 default level of core voltage, range:[0, 15], step: 1
  187. --avalon8-voltage-level-offset Set Avalon8 default offset of core voltage level, range:[-2, 1], step: 1
  188. --avalon8-freq Set Avalon8 default frequency, range:[25, 1200], step: 25, example: 800
  189. --avalon8-freq-sel <arg> Set Avalon8 default frequency select, range:[0, 3], step: 1, example: 3 (default: 3)
  190. --avalon8-fan Set Avalon8 target fan speed, range:[0, 100], step: 1, example: 0-100
  191. --avalon8-temp <arg> Set Avalon8 target temperature, range:[0, 100] (default: 90)
  192. --avalon8-polling-delay <arg> Set Avalon8 polling delay value (ms) (default: 20)
  193. --avalon8-aucspeed <arg> Set AUC3 IIC bus speed (default: 400000)
  194. --avalon8-aucxdelay <arg> Set AUC3 IIC xfer read delay, 4800 ~= 1ms (default: 19200)
  195. --avalon8-smart-speed <arg> Set Avalon8 smart speed, range 0-1. 0 means Disable (default: 1)
  196. --avalon8-th-pass <arg> Set A3210 th pass value (default: -1)
  197. --avalon8-th-fail <arg> Set A3210 th fail value (default: -1)
  198. --avalon8-th-init <arg> Set A3210 th init value (default: 32767)
  199. --avalon8-th-ms <arg> Set A3210 th ms value (default: 5)
  200. --avalon8-th-timeout <arg> Set A3210 th timeout value (default: 4294967295)
  201. --avalon8-th-add <arg> Set A3210 th add value (default: 1)
  202. --avalon8-iic-detect Enable Avalon8 detect through iic controller
  203. --avalon8-nonce-mask <arg> Set A3210 nonce mask, range 24-32. (default: -1)
  204. --avalon8-nonce-check <arg> Set A3210 nonce check, range 0-1. (default: 1)
  205. --avalon8-roll-enable <arg> Set A3210 roll enable, range 0-1. (default: 1)
  206. --avalon8-mux-l2h <arg> Set Avalon8 mux l2h, range 0-2. (default: 0)
  207. --avalon8-mux-h2l <arg> Set Avalon8 mux h2l, range 0-1. (default: 1)
  208. --avalon8-h2ltime0-spd <arg> Set Avalon8 h2ltime0 spd, range 0-255. (default: 3)
  209. --avalon8-spdlow <arg> Set Avalon8 spdlow, range 0-3. (default: -1)
  210. --avalon8-spdhigh <arg> Set Avalon8 spdhigh, range 0-3. (default: 3)
  211. --avalon8-cinfo-asic Set Avalon8 cinfo asic index, range:[0, 25], step: 1
  212. --avalon8-pid-p <arg> Set Avalon8 pid-p, range 0-9999. (default: 2)
  213. --avalon8-pid-i <arg> Set Avalon8 pid-i, range 0-9999. (default: 5)
  214. --avalon8-pid-d <arg> Set Avalon8 pid-d, range 0-9999. (default: 0)
  215. --bab-options <arg> Set BaB options max:def:min:up:down:hz:delay:trf
  216. --bet-clk <arg> Set clockspeed of ASICMINER Tube/Prisma to (arg+1)*10MHz (default: 23)
  217. --bflsc-overheat <arg> Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
  218. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  219. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  220. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  221. --bitmain-auto Adjust bitmain overclock frequency dynamically for best hashrate
  222. --bitmain-cutoff <arg> Set bitmain overheat cut off temperature
  223. --bitmain-fan <arg> Set fanspeed percentage for bitmain, single value or range (default: 20-100)
  224. --bitmain-freq <arg> Set bitmain freq options timeout:freq:regdata
  225. --bitmain-hwerror Set bitmain device detect hardware error
  226. --bitmain-options <arg> Set bitmain options baud:miners:asic:timeout:freq:regdata
  227. --bitmain-temp <arg> Set bitmain target temperature
  228. --bitmain-workdelay <arg> Set bitmain work delay (ms) 0-100
  229. --bitmain-voltage <arg> Set bitmain voltage - S2/S3 only
  230. --bitmain-dev <arg> Set bitmain device - S2 only
  231. --bitmainbeeper Set bitmain beeper ringing
  232. --bitmaintempoverctrl Set bitmain stop runing when temprerature is over 80 degree Celsius
  233. --bxf-bits <arg> Set max BXF/HXF bits for overclocking (default: 54)
  234. --bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
  235. --bxm-bits <arg> Set BXM bits for overclocking (default: 54)
  236. --hfa-hash-clock <arg> Set hashfast clock speed (default: 550)
  237. --hfa-fail-drop <arg> Set how many MHz to drop clockspeed each failure on an overlocked hashfast device (default: 10)
  238. --hfa-fan <arg> Set fanspeed percentage for hashfast, single value or range (default: 10-85)
  239. --hfa-name <arg> Set a unique name for a single hashfast device specified with --usb or the first device found
  240. --hfa-noshed Disable hashfast dynamic core disabling feature
  241. --hfa-options <arg> Set hashfast options name:clock or name:clock@voltage (comma separated)
  242. --hfa-temp-overheat <arg> Set the hashfast overheat throttling temperature (default: 95)
  243. --hfa-temp-target <arg> Set the hashfast target temperature (0 to disable) (default: 88)
  244. --hro-freq Set the hashratio clock frequency (default: 280)
  245. --klondike-options <arg> Set klondike options clock:temptarget
  246. --minion-chipreport <arg> Seconds to report chip 5min hashrate, range 0-100 (default: 0=disabled)
  247. --minion-freq <arg> Set minion chip frequencies in MHz, single value or comma list, range 100-1400 (default: 1200)
  248. --minion-freqchange Millisecond total time to do frequency changes (default: 1000)
  249. --minion-freqpercent Percentage to use when starting up a chip (default: 70%)
  250. --minion-idlecount Report when IdleCount is >0 or changes
  251. --minion-ledcount Turn off led when more than this many chips below the ledlimit (default: 0)
  252. --minion-ledlimit Turn off led when chips GHs are below this (default: 90)
  253. --minion-idlecount Report when IdleCount is >0 or changes
  254. --minion-noautofreq Disable automatic frequency adjustment
  255. --minion-overheat Enable directly halting any chip when the status exceeds 100C
  256. --minion-spidelay Add a delay in microseconds after each SPI I/O
  257. --minion-spireset SPI regular reset: iNNN for I/O count or sNNN for seconds - 0 means none
  258. --minion-spisleep Sleep time in milliseconds when doing an SPI reset
  259. --minion-temp <arg> Set minion chip temperature threshold, single value or comma list, range 120-160 (default: 135C)
  260. --nfu-bits <arg> Set nanofury bits for overclocking, range 32-63 (default: 50)
  261. --rock-freq <arg> Set RockMiner frequency in MHz, range 125-500 (default: 270)
  262. ANTMINER S1 DEVICES
  263. --bitmain-auto Adjust bitmain overclock frequency dynamically for best hashrate
  264. --bitmain-cutoff Set bitmain overheat cut off temperature
  265. --bitmain-fan Set fanspeed percentage for bitmain, single value or range (default: 20-100)
  266. --bitmain-freq Set frequency range for bitmain-auto, single value or range
  267. --bitmain-hwerror Set bitmain device detect hardware error
  268. --bitmain-options Set bitmain options baud:miners:asic:timeout:freq
  269. --bitmain-temp Set bitmain target temperature
  270. The Antminer S1 device comes with its own operating system and a preinstalled
  271. version of cgminer as part of the flash firmware. No configuration should be
  272. necessary.
  273. ANTMINER U1/2/3 DEVICES
  274. --anu-freq <arg> Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
  275. --au3-freq <arg> Set AntminerU3 frequency in MHz, range 100-250 (default: 225.0)
  276. --au3-volt <arg> Set AntminerU3 voltage in mv, range 725-850, 0 to not set (default: 750)
  277. By default, Antminer U1 devices run at a clockspeed of 200. This command allows
  278. you to specify a chosen frequency to attempt to run all ANU devices at. Cgminer
  279. will try to find the nearest frequency the device supports and will report if
  280. the frequency is not exactly as requested. Note that cgminer reports hashrate
  281. ONLY FROM VALID HASHES so if you increase the frequency but your hashrate does
  282. not increase or it decreases and hardware errors start showing up, you have
  283. overclocked it too much. In the worst case scenario it will fail to start at too
  284. high a speed. Most will run happily up to 250.
  285. ASICMINER BlockErupter Tube/Prisma DEVICES
  286. --bet-clk <arg> Set clockspeed of ASICMINER Tube/Prisma to (arg+1)*10MHz (default: 23)
  287. Default clockspeed for Tube/Prisma is 240MHz. This command allows to set clockspeed
  288. of on board BE200 chips in range from 200MHz to 320MHz. For Tube devices, you can
  289. try overclocking to 270MHz or even higher, but NOT recommended for Prisma devices.
  290. If you notice hash rate drops or board fails to start, restart cgminer with lower
  291. clockspeed.
  292. AVALON AND BITBURNER DEVICES
  293. Currently all known Avalon devices come with their own operating system and
  294. a preinstalled version of cgminer as part of the flash firmware, based on the
  295. most current cgminer version so no configuration should be necessary. It is
  296. possible to plug a USB cable from a PC into the Avalon device and mine using
  297. cgminer as per any other device. It will autodetect and hotplug using default
  298. options. You can customise the avalon behaviour by using the avalon-options
  299. command, and adjust its fan control-temperature relationship with avalon-temp.
  300. By default the avalon will also cut off when its temperature reaches 60
  301. degrees.
  302. All current BitBurner devices (BitBurner X, BitBurner XX and BitBurner Fury)
  303. emulate Avalon devices, whether or not they use Avalon chips.
  304. Avalon commands:
  305. --avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
  306. --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
  307. --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
  308. --avalon-freq <arg> Set frequency range for avalon-auto, single value or range
  309. --avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq:tech
  310. --avalon-temp <arg> Set avalon target temperature (default: 50)
  311. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  312. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  313. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  314. Avalon auto will enable dynamic overclocking gradually increasing and
  315. decreasing the frequency till the highest hashrate that keeps hardware errors
  316. under 2% is achieved. This WILL run your avalon beyond its normal specification
  317. so the usual warnings apply. When avalon-auto is enabled, the avalon-options
  318. for frequency and timeout are used as the starting point only.
  319. eg:
  320. --avalon-fan 50
  321. --avalon-fan 40-80
  322. By default the avalon fans will be adjusted to maintain a target temperature
  323. over a range from 20 to 100% fanspeed. avalon-fan allows you to limit the
  324. range of fanspeeds to a single value or a range of values.
  325. eg:
  326. --avalon-freq 300-350
  327. In combination with the avalon-auto command, the avalon-freq command allows you
  328. to limit the range of frequencies which auto will adjust to.
  329. eg:
  330. --avalon-temp 55
  331. This will adjust fanspeed to keep the temperature at or slightly below 55.
  332. If you wish the fans to run at maximum speed, setting the target temperature
  333. very low such as 0 will achieve this. This option can be added to the "More
  334. options" entry in the web interface if you do not have a direct way of setting
  335. it.
  336. eg:
  337. --avalon-cutoff 65
  338. This will cut off the avalon should it get up to 65 degrees and will then
  339. re-enable it when it gets to the target temperature as specified by avalon-temp.
  340. eg:
  341. --avalon-options 115200:24:10:D:1500:55
  342. The values are baud : miners : asic count : timeout : frequency : technology.
  343. Baud:
  344. The device is pretty much hard coded to emulate 115200 baud so you shouldn't
  345. change this.
  346. Miners:
  347. Most Avalons are 3 module devices, which come to 24 miners. 4 module devices
  348. would use 32 here.
  349. For BitBurner X and BitBurner XX devices you should use twice the number of
  350. boards in the stack. e.g. for a two-board stack you would use 4. For
  351. BitBurner Fury devices you should use the total number of BitFury chips in the
  352. stack (i.e. 16 times the number of boards). e.g. for a two-board stack you
  353. would use 32.
  354. Asic count:
  355. Virtually all have 10, so don't change this. BitBurner devices use 10 here
  356. even if the boards have some other number of ASICs.
  357. Timeout:
  358. This is how long the device will work on a work item before accepting new work
  359. to replace it. It should be changed according to the frequency (last setting).
  360. It is possible to set this a little lower if you are trying to tune for short
  361. block mining (eg p2pool) but much lower and the device will start creating
  362. duplicate shares.
  363. A value of 'd' means cgminer will calculate it for you based on the frequency
  364. and is highly recommended.
  365. Sample settings for valid different frequencies (last 3 values) for 110nm AVAs:
  366. 34:375:110 *
  367. 36:350:110 *
  368. 43:300:110
  369. 45:282:110 (default)
  370. 50:256:110
  371. Note that setting a value with an asterisk next to it will be using your
  372. avalon outside its spec and you do so at your own risk.
  373. For 55nm AVAs, the usual values are 8:1500
  374. Frequency:
  375. This is the clock speed of the devices. For Avalon 110nm devices, values from
  376. 256 upwards are valid with the default being 282 and the maximum practical
  377. being approximately 350. For 55nm devices values from 1000-2000 are valid with
  378. 1500 being the default.
  379. Technology:
  380. What sized technology ASICs are in use in the avalon, choices are 55 or 110,
  381. corresponding to the nm technology chips in use.
  382. The default frequency for BitBurner X and BitBurner XX boards is 282. The
  383. default frequency for BitBurner Fury boards is 256. Overclocking is
  384. possible - please consult the product documentation and/or manufacturer for
  385. information on safe values. Values outside this range are used at your own
  386. risk. Underclocking is also possible, at least with the X and XX boards.
  387. eg:
  388. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  389. This option takes the same format as --avalon-options. When specified, it
  390. will be used for BitBurner Fury boards in preference to the values specified
  391. in --avalon-options. (If not specified, BitBurner Fury boards will be
  392. controlled by the values used in --avalon options.) See --avalon-options for
  393. a detailed description of the fields.
  394. This option is particularly useful when using a mixture of different BitBurner
  395. devices as BitBurner Fury devices generally require significantly different
  396. clock frequencies from Avalon-based devices. This option is only available
  397. for boards with recent firmware that are recognized by cgminer as BBF.
  398. eg:
  399. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  400. Sets the core voltage for the BitBurner Fury boards. The default value is
  401. 900. Overvolting is possible - please consult the product documentation
  402. and/or manufaturer about the safe range of values. Values outside this range
  403. are used at your own risk.
  404. This option is only available for boards with recent firmware that are
  405. recognized by cgminer as BBF. For boards recognized as BTB, see
  406. --bitburner-voltage
  407. eg:
  408. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  409. Sets the core voltage for the Avalon-based BitBurner X and BitBurner XX
  410. boards. The default value is 1200. Overvolting and undervolting is
  411. possible - please consult the product documentation and/or the manufacturer
  412. for information about the safe range. Values outside this range are used at
  413. your own risk.
  414. Older BitBurner Fury firmware emulates a BitBurner XX board and is identified
  415. by cgminer as BTB. On these devices, --bitburner-voltage is used to control
  416. the voltage of the BitBurner Fury board. The actual core voltage will be
  417. 300mV less than the requested voltage, so to run a BitBurner Fury board at
  418. 950mV use --bitburner-voltage 1250. The default value of 1200 therefore
  419. corresponds to the default core voltage of 900mV.
  420. If you use the full curses based interface with Avalons you will get this
  421. information:
  422. AVA 0: 22/ 46C 2400R
  423. The values are:
  424. ambient temp / highest device temp lowest detected ASIC cooling fan RPM.
  425. Use the API for more detailed information than this.
  426. Avalon2 Devices
  427. --avalon2-freq Set frequency range for Avalon2, single value or range
  428. --avalon2-voltage Set Avalon2 core voltage, in millivolts
  429. --avalon2-fan Set Avalon2 target fan speed
  430. --avalon2-cutoff <arg> Set Avalon2 overheat cut off temperature (default: 88)
  431. --avalon2-fixed-speed Set Avalon2 fan to fixed speed
  432. Avalon4 Devices
  433. --avalon4-automatic-voltage Automatic adjust voltage base on module DH
  434. --avalon4-voltage Set Avalon4 core voltage, in millivolts, step: 125
  435. --avalon4-freq Set frequency for Avalon4, 1 to 3 values, example: 445:385:370
  436. --avalon4-fan Set Avalon4 target fan speed range
  437. --avalon4-temp <arg> Set Avalon4 target temperature (default: 42)
  438. --avalon4-cutoff <arg> Set Avalon4 overheat cut off temperature (default: 65)
  439. --avalon4-polling-delay <arg> Set Avalon4 polling delay value (ms) (default: 20)
  440. --avalon4-ntime-offset <arg> Set Avalon4 MM ntime rolling max offset (default: 4)
  441. --avalon4-aucspeed <arg> Set Avalon4 AUC IIC bus speed (default: 400000)
  442. --avalon4-aucxdelay <arg> Set Avalon4 AUC IIC xfer read delay, 4800 ~= 1ms (default: 9600)
  443. --avalon4-miningmode <arg> Set Avalon4 mining mode(0:custom, 1:eco, 2:normal, 3:turbo (default: 0)
  444. --avalon4-freezesafe Make Avalon4 running as a radiator when stratum server failed
  445. --avalon4-ntcb <arg> Set Avalon4 MM NTC B value (default: 3450)
  446. --avalon4-freq-min <arg> Set minimum frequency for Avalon4 (default: 100)
  447. --avalon4-freq-max <arg> Set maximum frequency for Avalon4 (default: 1000)
  448. --avalon4-noncecheck-off Disable A3218 inside nonce check function
  449. --avalon4-smart-speed <arg> Set smart speed, range 0-3. 0 means Disable (default: 2)
  450. --avalon4-speed-bingo <arg> Set A3218 speed bingo for smart speed mode 1 (default: 255)
  451. --avalon4-speed-error <arg> Set A3218 speed error for smart speed mode 1 (default: 3)
  452. --avalon4-least-pll <arg> Set least pll check threshold for smart speed mode 2 (default: 768)
  453. --avalon4-most-pll <arg> Set most pll check threshold for smart speed mode 2 (default: 256)
  454. Avalon7 Devices
  455. --avalon7-voltage Set Avalon7 default core voltage, in millivolts, step: 78
  456. --avalon7-voltage-level Set Avalon7 default level of core voltage, range:[0, 15], step: 1
  457. --avalon7-voltage-offset Set Avalon7 default offset of core voltage, range:[-2, 1], step: 1
  458. --avalon7-freq Set Avalon7 default frequency, range:[24, 1404], step: 12, example: 500
  459. --avalon7-freq-sel <arg> Set Avalon7 default frequency select, range:[0, 5], step: 1, example: 3 (default: 0)
  460. --avalon7-fan Set Avalon7 target fan speed, range:[0, 100], step: 1, example: 0-100
  461. --avalon7-temp <arg> Set Avalon7 target temperature, range:[0, 100] (default: 99)
  462. --avalon7-polling-delay <arg> Set Avalon7 polling delay value (ms) (default: 20)
  463. --avalon7-aucspeed <arg> Set AUC3 IIC bus speed (default: 400000)
  464. --avalon7-aucxdelay <arg> Set AUC3 IIC xfer read delay, 4800 ~= 1ms (default: 19200)
  465. --avalon7-smart-speed <arg> Set Avalon7 smart speed, range 0-1. 0 means Disable (default: 1)
  466. --avalon7-th-pass <arg> Set A3212 th pass value (default: 162)
  467. --avalon7-th-fail <arg> Set A3212 th fail value (default: 10921)
  468. --avalon7-th-init <arg> Set A3212 th init value (default: 32767)
  469. --avalon7-th-ms <arg> Set A3212 th ms value (default: 1)
  470. --avalon7-th-timeout <arg> Set A3212 th timeout value (default: 0)
  471. --avalon7-iic-detect Enable Avalon7 detect through iic controller
  472. --avalon7-freqadj-time <arg> Set Avalon7 check interval when run in AVA7_FREQ_TEMPADJ_MODE (default: 60)
  473. --avalon7-delta-temp <arg> Set Avalon7 delta temperature when reset freq in AVA7_FREQ_TEMPADJ_MODE (default: 0)
  474. --avalon7-delta-freq <arg> Set Avalon7 delta freq when adjust freq in AVA7_FREQ_TEMPADJ_MODE (default: 100)
  475. --avalon7-freqadj-temp <arg> Set Avalon7 check temperature when run into AVA7_FREQ_TEMPADJ_MODE (default: 104)
  476. --avalon7-nonce-mask <arg> Set A3212 nonce mask, range 24-32. (default: 31)
  477. --no-avalon7-asic-debug Disable A3212 debug.
  478. Avalon8 Devices
  479. --avalon8-voltage-level Set Avalon8 default level of core voltage, range:[0, 15], step: 1
  480. --avalon8-voltage-level-offset Set Avalon8 default offset of core voltage level, range:[-2, 1], step: 1
  481. --avalon8-freq Set Avalon8 default frequency, range:[25, 1200], step: 25, example: 800
  482. --avalon8-freq-sel <arg> Set Avalon8 default frequency select, range:[0, 3], step: 1, example: 3 (default: 3)
  483. --avalon8-fan Set Avalon8 target fan speed, range:[0, 100], step: 1, example: 0-100
  484. --avalon8-temp <arg> Set Avalon8 target temperature, range:[0, 100] (default: 90)
  485. --avalon8-polling-delay <arg> Set Avalon8 polling delay value (ms) (default: 20)
  486. --avalon8-aucspeed <arg> Set AUC3 IIC bus speed (default: 400000)
  487. --avalon8-aucxdelay <arg> Set AUC3 IIC xfer read delay, 4800 ~= 1ms (default: 19200)
  488. --avalon8-smart-speed <arg> Set Avalon8 smart speed, range 0-1. 0 means Disable (default: 1)
  489. --avalon8-th-pass <arg> Set A3210 th pass value (default: -1)
  490. --avalon8-th-fail <arg> Set A3210 th fail value (default: -1)
  491. --avalon8-th-init <arg> Set A3210 th init value (default: 32767)
  492. --avalon8-th-ms <arg> Set A3210 th ms value (default: 5)
  493. --avalon8-th-timeout <arg> Set A3210 th timeout value (default: 4294967295)
  494. --avalon8-th-add <arg> Set A3210 th add value (default: 1)
  495. --avalon8-iic-detect Enable Avalon8 detect through iic controller
  496. --avalon8-nonce-mask <arg> Set A3210 nonce mask, range 24-32. (default: -1)
  497. --avalon8-nonce-check <arg> Set A3210 nonce check, range 0-1. (default: 1)
  498. --avalon8-roll-enable <arg> Set A3210 roll enable, range 0-1. (default: 1)
  499. --avalon8-mux-l2h <arg> Set Avalon8 mux l2h, range 0-2. (default: 0)
  500. --avalon8-mux-h2l <arg> Set Avalon8 mux h2l, range 0-1. (default: 1)
  501. --avalon8-h2ltime0-spd <arg> Set Avalon8 h2ltime0 spd, range 0-255. (default: 3)
  502. --avalon8-spdlow <arg> Set Avalon8 spdlow, range 0-3. (default: -1)
  503. --avalon8-spdhigh <arg> Set Avalon8 spdhigh, range 0-3. (default: 3)
  504. --avalon8-cinfo-asic Set Avalon8 cinfo asic index, range:[0, 25], step: 1
  505. --avalon8-pid-p <arg> Set Avalon8 pid-p, range 0-9999. (default: 2)
  506. --avalon8-pid-i <arg> Set Avalon8 pid-i, range 0-9999. (default: 5)
  507. --avalon8-pid-d <arg> Set Avalon8 pid-d, range 0-9999. (default: 0)
  508. BFLSC Devices
  509. --bflsc-overheat <arg> Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
  510. This will allow you to change or disable the default temperature where cgminer
  511. throttles BFLSC devices by allowing them to temporarily go idle.
  512. BITFURY Devices
  513. --bxf-bits <arg> Set max BXF/HXF bits for overclocking (default: 54)
  514. In combination with the dynamic clocking on Bi*fury devices, this sets the
  515. highest bit target that cgminer will aim for.
  516. --bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
  517. Cgminer uses dynamic clocking on Bi*fury devices to try and maintain the
  518. temperature just below an optimal target. This option allows you to change the
  519. target temperature. When actively cooled below this, the devices will run at
  520. maximum speed.
  521. --bxm-bits <arg> Set BXM bits for overclocking (default: 54)
  522. Choose the overclocking bits for BFx2 devices.
  523. --nfu-bits <arg> Set nanofury bits for overclocking range 32-63 (default: 50)
  524. Cgminer by default sets the clockspeed on nanofury devices to the highest that
  525. is still within USB2 spec. This value allows you to alter the clockspeed, with
  526. ~54 being the optimal but requiring a higher power or USB3 port.
  527. Cointerra Devices
  528. --cta-load <arg> (0 - 255)
  529. --ps-load <arg> (0 - 100)
  530. These are undocumented.
  531. Drillbit Systems Devices
  532. --drillbit-options <arg> Set drillbit options <int|ext>:clock[:clock_divider][:voltage]
  533. * int/ext defines the clock source - default int. Not all boards support ext.
  534. * clock_divider must be 1 or 2 with a default of 1. Bitfury only,
  535. ignored on Avalon.
  536. * clock is in MHz, on Drillbit range 80-250 with a default of 200,
  537. recommended maximum 230. On Avalon range 500-1000 with a
  538. recommended maximum of 800.
  539. * voltage is ASIC core voltage in millivolts, available values vary per board but
  540. default is 850 and the recommended maximum is 950 (Bitfury) and 1000 (Avalon.)
  541. --drillbit-auto <every>:[<gooderr>:<baderr>:<maxerr>]
  542. If supported by firmware and device, this feature allows cgminer to
  543. automatically tweak each ASIC's clock rate up and down in to achieve
  544. optimal performance.
  545. * every - only required param, check each ASIC after each block of
  546. this many work units. Recommended value 100.
  547. * gooderr - the "Good" threshold is when less hardware errors than
  548. this per "every" work units, the clock rate will be increased.
  549. Default value 1.
  550. * baderr - the "Bad" threshold is when more hardware errors than
  551. this per "every" work units, the clock rate will be decreased.
  552. Default value 3.
  553. * maxerr - the "Max" threshold is when more hardware errors than
  554. this per "every" work units (including pre-empting before
  555. "every" work units is up), the clock rate will be decreased and
  556. will not be increased again past this point. Default value 10.
  557. BlackArrow Bitfury devices
  558. --bab-options <arg> Set BaB options Max:Def:Min:Up:Down:Hz:Delay:Trf
  559. Any option left blank or starting with 'd' will use the default setting
  560. If there are not enough options, then the remaining will be left at their
  561. default value
  562. Max:Def:Min are the chip speed limits to allow, ranging from 52 to 57
  563. Up:Down are the HW error % used to tune the chip speed
  564. Up means if the HW error % is less than up, over a 5 minute period,
  565. then increase the chip speed
  566. Down means if the HW error % is greater than down, over 5 minutes,
  567. then decrease the chip speed
  568. Hz is the SPI clock speed to use
  569. Delay is the us delay used between bytes for the SPI I/O - default 0
  570. Trf is the us delay used between sends for the SPI I/O - default 0
  571. Hashfast devices
  572. --hfa-hash-clock <arg> Set hashfast clock speed (default: 550)
  573. This will change the initialisation clock speed on all attached hfa devices.
  574. Note that if instability is detected by cgminer and the device has to undergo
  575. a reset, cgminer will lower the clockspeed on resetting it each time till the
  576. value returns to the default of 550.
  577. --hfa-fail-drop <arg> Set how many MHz to drop clockspeed each failure on an overlocked hashfast device (default: 10)
  578. If you overclock your hashfast device with --hfa-hash-clock and cgminer detects
  579. it failing to return hashes, it will restart it at a lower clock speed if
  580. possible. Changing this value will allow you to choose how much it will lower
  581. the clock speed or to disable this function entirely.
  582. --hfa-fan <arg> Set fanspeed percentage for hashfast, single value or range (default: 10-85)
  583. This changes the range of fanspeeds used on hashfast devices with firmware that
  584. supports it. Note that the fanspeed will dynamically change to try and maintain
  585. a target temperature with --hfa-temp-target but if the target temperature is
  586. disabled, the fanspeed will remain static.
  587. eg:
  588. --hfa-fan 25-100
  589. --hfa-temp-overheat <arg> Set the hashfast overheat throttling temperature (default: 95)
  590. Cgminer will temporarily stop sending hashfast devices work once this
  591. temperature is reached. Note that with the water cooling in these devices,
  592. temperature recovery is likely to be very quick and the device will start
  593. hashing again after only a very brief period.
  594. --hfa-temp-target <arg> Set the hashfast target temperature (0 to disable) (default: 88)
  595. On hashfast devices with firmware that supports dynamic fanspeed and die speeds,
  596. cgminer will try to maintain temperature according to this target by adjusting
  597. fanspeed and then if need be, throttle speeds on a die-by-die basis. Disabling
  598. this feature will leave a constant fanspeed and die speed but will not disable
  599. the temp-overheat feature.
  600. --hfa-name <arg> Set a unique name for a single hashfast device specified with --usb or the first device found
  601. This command allows you to specify the unique name stored in nvram on a single
  602. hashfast device. This name can be queried from the API stats command and comes
  603. up as "op name". Discrete names are used by cgminer to try to maintain settings
  604. across restarts, unplugs/hotplugs and so on. If this command is used by itself,
  605. the name will be given to the first hashfast device it encounters and then
  606. cgminer will proceed to go back to regular mining. If you have multiple devices,
  607. it is best to discretely choose the device you wish to use with the --usb
  608. command. For example
  609. 'lsusb' on linux shows the following devices (297c:0001 is a hfa device):
  610. Bus 001 Device 079: ID 297c:0001
  611. Bus 004 Device 042: ID 297c:0001
  612. If you wished to name the second device Slug you would add the commands:
  613. --hfa-name Slug --usb 4:42
  614. --hfa-noshed Disable hashfast dynamic core disabling feature
  615. Newer firmwares on hashfast devices dynamically disable cores that generate
  616. invalid data. This command will disable this feature where possible.
  617. --hfa-options <arg> Set hashfast options name:clock or clock@voltage (comma separated)
  618. This command allows you to set options for each discrete hashfast device by
  619. its name (if the firmware has naming support, i.e. version 0.3+). Currently
  620. this takes as option the clock speed alone or clock speed and voltage,
  621. although future options may be added.
  622. e.g.:
  623. --hfa-options "rabbit:650,turtle:550@800"
  624. Would set a device named rabbit to clock speed 650 MHz using default voltage
  625. and the one named turtle to 550 MHz using a voltage of 800 mv. Starting the
  626. device at a speed where it is most stable will give more reliable hashrates
  627. long term and prevent it interacting with other devices, rather than depending
  628. on the clockdown feature in cgminer.
  629. Note: Setting voltage cause a board reset and hotplug event on cgminer startup.
  630. Other undocumented hashfast command line options are for development purposes
  631. only at this stage and serve no useful purpose to end users.
  632. Hashratio Devices
  633. --hro-freq Set the hashratio clock frequency (default: 280)
  634. Bitmine A1 Devices
  635. --bitmine-a1-options <ref_clk>:<sys_clk>:<spi_clk>:<max_chip>
  636. ref_clk: reference clock in kHz (default: 16000)
  637. sys_clk: target system clock in kHz to be set in PLL (default: 250000)
  638. spi_clk: SPI clock in kHz (default: 800)
  639. max_chip: [debug/testing] limit chip chain
  640. Set 0 for fields you want to keep untouched to default, e.g.
  641. --bitmine-a1-options 0:0:400
  642. to only set SPI clock to 400kHz
  643. Rockminer R-Box Devices
  644. --rock-freq <arg> Set RockMiner frequency in MHz, range 125-500 (default: 270)
  645. Note that only a limited range is likely to be accepted (usually 200-290)