ASIC-README 26 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640
  1. SUPPORTED DEVICES
  2. Currently supported devices include:
  3. - Avalon (including BitBurner and Klondike)
  4. - Butterfly Labs SC range
  5. - ASICMINER block erupters
  6. - BF1 (bitfury) USB (red and blue)
  7. - KnCminer Mercury, Saturn and Jupiter
  8. - BlackArrow Bitfury
  9. - BlackArrow Minion
  10. - Bi*fury USB
  11. - Onestring miner USB
  12. - Hexfury USB
  13. - Nanofury USB
  14. - Other bitfury USB devices
  15. - Hashfast Babyjet and Sierra
  16. - Antminer U1/U2/U2+ USB
  17. - Cointerra
  18. - Antminer S1
  19. - BFx2 USB
  20. No COM ports on windows or TTY devices will be used by cgminer as it
  21. communicates directly with them via USB so it is normal for them to not exist or
  22. be disconnected when cgminer is running.
  23. The BFL devices should come up as one of the following:
  24. BAJ: BFL ASIC Jalapeño
  25. BAL: BFL ASIC Little Single
  26. BAS: BFL ASIC Single
  27. BAM: BFL ASIC Minirig
  28. BFL devices need the --enable-bflsc option when compiling cgminer yourself.
  29. Avalon will come up as AVA.
  30. Avalon devices need the --enable-avalon option when compiling cgminer.
  31. Klondike will come up as KLN.
  32. Klondike devices need the --enable-klondike option when compiling cgminer.
  33. ASICMINER block erupters will come up as AMU.
  34. ASICMINER devices need the --enable-icarus option when compiling cgminer.
  35. Also note that the AMU is managed by the Icarus driver which is detailed
  36. in the FPGA-README. Configuring them uses the same mechanism as outlined
  37. below for getting started with USB ASICs.
  38. BlackArrow Bitfury devices
  39. BlackArrow Bitfury devices need the --enable-bab option when compiling cgminer.
  40. The current BlackArrow Bitfury devices are similar to the Bitfury GPIO mining
  41. boards, with both V1 and V2 controllers, and come up as BaB.
  42. BlackArrow Minion devices
  43. BlackArrow Minion devices need the --enable-minion option when compiling
  44. cgminer.
  45. BlackArrow Minion devices are SPI/GPIO mining devices and come up as MBA
  46. BITFURY devices
  47. Bitfury devices need the --enable-bitfury option when compiling cgminer.
  48. Currently the BPMC/BGMC BF1 devices AKA redfury/bluefury are supported and
  49. come up as BF1, along with the Bi*fury USB devices which come up as BXF.
  50. Nanofury devices come up as NF1. BFx2 devices come up as BXM.
  51. Bitfury USB devices are also set up as per the USB ASICs below.
  52. COINTERRA devices
  53. Cointerra devices need the --enable-cointerra option when compiling cgminer.
  54. Cointerra devices come up as CTA devices and currently take no command line
  55. arguments.
  56. Cointerra USB devices are set up as per the USB ASIC instructions below.
  57. HASHFAST devices
  58. Hashfast devices need the --enable-hashfast option when compiling cgminer.
  59. All current HFA devices are supported and are recognised with the name HFA
  60. in the --usb commands. After initialisation, cgminer will determine what type
  61. they are and give them the following names:
  62. HFB: Hashfast Babyjet
  63. HFS: Hashfast Sierra
  64. HFA: Hashfast non standard (eg. a Babyjet with an added board)
  65. ANTMINER U1 devices
  66. Antminer devices need the --enable-icarus option when compiling cgminer.
  67. Currently the U1 USB sticks are supported and come up as ANU devices. They
  68. are also set up as per the USB ASICs below. They need no options to work well
  69. but will accept all the icarus options.
  70. ANTMINER S1 devices
  71. Antminer S1 devices need the --enable-ants1 option when compiling cgminer.
  72. They are custom OpenWRT linux devices
  73. They are recognised with the name ANT
  74. BITMINE A1 devices
  75. Bitmine A1 devices need the --enable-bitmine_A1 compile option set.
  76. ---
  77. GETTING STARTED WITH USB ASICS
  78. Unlike other software, cgminer uses direct USB communication instead of the
  79. ancient serial USB communication to be much faster, more reliable and use a
  80. lot less CPU. For this reason, setting up for mining with cgminer on these
  81. devices requires different drivers.
  82. WINDOWS:
  83. On windows, the direct USB support requires the installation of a WinUSB
  84. driver (NOT the ftdi_sio driver), and attach it to the chosen USB device.
  85. When configuring your device, plug it in and wait for windows to attempt to
  86. install a driver on its own. It may think it has succeeded or failed but wait
  87. for it to finish regardless. This is NOT the driver you want installed. At this
  88. point you need to associate your device with the WinUSB driver. The easiest
  89. way to do this is to use the zadig utility which you must right click on and
  90. run as administrator. Then once you plug in your device you can choose the
  91. "list all devices" from the "option" menu and you should be able to see the
  92. device as something like: "BitFORCE SHA256 SC". Choose the install or replace
  93. driver option and select WinUSB. You can either google for zadig or download
  94. it from the cgminer directory in the DOWNLOADS link above.
  95. When you first switch a device over to WinUSB with zadig and it shows that
  96. correctly on the left of the zadig window, but it still gives permission
  97. errors, you may need to unplug the USB miner and then plug it back in. Some
  98. users may need to reboot at this point.
  99. LINUX:
  100. On linux, the direct USB support requires no drivers at all. However due to
  101. permissions issues, you may not be able to mine directly on the devices as a
  102. regular user without giving the user access to the device or by mining as
  103. root (administrator). In order to give your regular user access, you can make
  104. him a member of the plugdev group with the following commands:
  105. sudo usermod -G plugdev -a `whoami`
  106. If your distribution does not have the plugdev group you can create it with:
  107. sudo groupadd plugdev
  108. In order for the BFL devices to instantly be owned by the plugdev group and
  109. accessible by anyone from the plugdev group you can copy the file
  110. "01-cgminer.rules" from the cgminer archive into the /etc/udev/rules.d
  111. directory with the following command:
  112. sudo cp 01-cgminer.rules /etc/udev/rules.d/
  113. After this you can either manually restart udev and re-login, or more easily
  114. just reboot.
  115. OSX:
  116. On OSX, like Linux, no drivers need to be installed. However some devices
  117. like the bitfury USB sticks automatically load a driver thinking they're a
  118. modem and the driver needs to be unloaded for cgminer to work:
  119. sudo kextunload -b com.apple.driver.AppleUSBCDC
  120. sudo kextunload -b com.apple.driver.AppleUSBCDCACMData
  121. There may be a limit to the number of USB devices that you are allowed to start.
  122. The following set of commands, followed by a reboot will increase that:
  123. sudo su
  124. touch /etc/sysctl.conf
  125. echo kern.sysv.semume=100 >> /etc/sysctl.conf
  126. chown root:wheel /etc/sysctl.conf
  127. chmod 0644 /etc/sysctl.conf
  128. Some devices need superuser access to mine on them so cgminer may need to
  129. be started with sudo
  130. i.e.:
  131. sudo cgminer <insert commands here>
  132. ---
  133. ASIC SPECIFIC COMMANDS
  134. --anu-freq <arg> Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
  135. --avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
  136. --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
  137. --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
  138. --avalon-freq <arg> Set frequency range for avalon-auto, single value or range
  139. --avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq:tech
  140. --avalon-temp <arg> Set avalon target temperature (default: 50)
  141. --bab-options <arg> Set BaB options max:def:min:up:down:hz:delay:trf
  142. --bflsc-overheat <arg> Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
  143. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  144. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  145. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  146. --bitmain-auto Adjust bitmain overclock frequency dynamically for best hashrate
  147. --bitmain-cutoff Set bitmain overheat cut off temperature
  148. --bitmain-fan Set fanspeed percentage for bitmain, single value or range (default: 20-100)
  149. --bitmain-freq Set frequency range for bitmain-auto, single value or range
  150. --bitmain-hwerror Set bitmain device detect hardware error
  151. --bitmain-options Set bitmain options baud:miners:asic:timeout:freq
  152. --bitmain-temp Set bitmain target temperature
  153. --bxf-bits <arg> Set max BXF/HXF bits for overclocking (default: 54)
  154. --bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
  155. --bxm-bits <arg> Set BXM bits for overclocking (default: 54)
  156. --hfa-hash-clock <arg> Set hashfast clock speed (default: 550)
  157. --hfa-fail-drop <arg> Set how many MHz to drop clockspeed each failure on an overlocked hashfast device (default: 10)
  158. --hfa-fan <arg> Set fanspeed percentage for hashfast, single value or range (default: 10-85)
  159. --hfa-name <arg> Set a unique name for a single hashfast device specified with --usb or the first device found
  160. --hfa-noshed Disable hashfast dynamic core disabling feature
  161. --hfa-options <arg> Set hashfast options name:clock (comma separated)
  162. --hfa-temp-overheat <arg> Set the hashfast overheat throttling temperature (default: 95)
  163. --hfa-temp-target <arg> Set the hashfast target temperature (0 to disable) (default: 88)
  164. --klondike-options <arg> Set klondike options clock:temptarget
  165. --minion-chipreport <arg> Seconds to report chip 5min hashrate, range 0-100 (default: 0=disabled)
  166. --minion-freq <arg> Set minion chip frequencies in MHz, single value or comma list, range 100-1400 (default: 1000)
  167. --minion-idlecount Report when IdleCount is >0 or changes
  168. --minion-overheat Enable directly halting any chip when the status exceeds 100C
  169. --minion-temp <arg> Set minion chip temperature threshold, single value or comma list, range 120-160 (default: 135C)
  170. --nfu-bits <arg> Set nanofury bits for overclocking, range 32-63 (default: 50)
  171. ANTMINER S1 DEVICES
  172. --bitmain-auto Adjust bitmain overclock frequency dynamically for best hashrate
  173. --bitmain-cutoff Set bitmain overheat cut off temperature
  174. --bitmain-fan Set fanspeed percentage for bitmain, single value or range (default: 20-100)
  175. --bitmain-freq Set frequency range for bitmain-auto, single value or range
  176. --bitmain-hwerror Set bitmain device detect hardware error
  177. --bitmain-options Set bitmain options baud:miners:asic:timeout:freq
  178. --bitmain-temp Set bitmain target temperature
  179. The Antminer S1 device comes with it's own operating system and a preinstalled
  180. version of cgminer as part of the flash firmware. No configuration should be
  181. necessary.
  182. ANTMINER U1 DEVICES
  183. --anu-freq <arg> Set AntminerU1 frequency in MHz, range 150-500 (default: 200)
  184. By default, Antminer U1 devices run at a clockspeed of 200. This command allows
  185. you to specify a chosen frequency to attempt to run all ANU devices at. Cgminer
  186. will try to find the nearest frequency the device supports and will report if
  187. the frequency is not exactly as requested. Note that cgminer reports hashrate
  188. ONLY FROM VALID HASHES so if you increase the frequency but your hashrate does
  189. not increase or it decreases and hardware errors start showing up, you have
  190. overclocked it too much. In the worst case scenario it will fail to start at too
  191. high a speed. Most will run happily up to 250.
  192. AVALON AND BITBURNER DEVICES
  193. Currently all known Avalon devices come with their own operating system and
  194. a preinstalled version of cgminer as part of the flash firmware, based on the
  195. most current cgminer version so no configuration should be necessary. It is
  196. possible to plug a USB cable from a PC into the Avalon device and mine using
  197. cgminer as per any other device. It will autodetect and hotplug using default
  198. options. You can customise the avalon behaviour by using the avalon-options
  199. command, and adjust its fan control-temperature relationship with avalon-temp.
  200. By default the avalon will also cut off when its temperature reaches 60
  201. degrees.
  202. All current BitBurner devices (BitBurner X, BitBurner XX and BitBurner Fury)
  203. emulate Avalon devices, whether or not they use Avalon chips.
  204. Avalon commands:
  205. --avalon-auto Adjust avalon overclock frequency dynamically for best hashrate
  206. --avalon-cutoff <arg> Set avalon overheat cut off temperature (default: 60)
  207. --avalon-fan <arg> Set fanspeed percentage for avalon, single value or range (default: 20-100)
  208. --avalon-freq <arg> Set frequency range for avalon-auto, single value or range
  209. --avalon-options <arg> Set avalon options baud:miners:asic:timeout:freq:tech
  210. --avalon-temp <arg> Set avalon target temperature (default: 50)
  211. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  212. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  213. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  214. Avalon auto will enable dynamic overclocking gradually increasing and
  215. decreasing the frequency till the highest hashrate that keeps hardware errors
  216. under 2% is achieved. This WILL run your avalon beyond its normal specification
  217. so the usual warnings apply. When avalon-auto is enabled, the avalon-options
  218. for frequency and timeout are used as the starting point only.
  219. eg:
  220. --avalon-fan 50
  221. --avalon-fan 40-80
  222. By default the avalon fans will be adjusted to maintain a target temperature
  223. over a range from 20 to 100% fanspeed. avalon-fan allows you to limit the
  224. range of fanspeeds to a single value or a range of values.
  225. eg:
  226. --avalon-freq 300-350
  227. In combination with the avalon-auto command, the avalon-freq command allows you
  228. to limit the range of frequencies which auto will adjust to.
  229. eg:
  230. --avalon-temp 55
  231. This will adjust fanspeed to keep the temperature at or slightly below 55.
  232. If you wish the fans to run at maximum speed, setting the target temperature
  233. very low such as 0 will achieve this. This option can be added to the "More
  234. options" entry in the web interface if you do not have a direct way of setting
  235. it.
  236. eg:
  237. --avalon-cutoff 65
  238. This will cut off the avalon should it get up to 65 degrees and will then
  239. re-enable it when it gets to the target temperature as specified by avalon-temp.
  240. eg:
  241. --avalon-options 115200:24:10:D:1500:55
  242. The values are baud : miners : asic count : timeout : frequency : technology.
  243. Baud:
  244. The device is pretty much hard coded to emulate 115200 baud so you shouldn't
  245. change this.
  246. Miners:
  247. Most Avalons are 3 module devices, which come to 24 miners. 4 module devices
  248. would use 32 here.
  249. For BitBurner X and BitBurner XX devices you should use twice the number of
  250. boards in the stack. e.g. for a two-board stack you would use 4. For
  251. BitBurner Fury devices you should use the total number of BitFury chips in the
  252. stack (i.e. 16 times the number of boards). e.g. for a two-board stack you
  253. would use 32.
  254. Asic count:
  255. Virtually all have 10, so don't change this. BitBurner devices use 10 here
  256. even if the boards have some other number of ASICs.
  257. Timeout:
  258. This is how long the device will work on a work item before accepting new work
  259. to replace it. It should be changed according to the frequency (last setting).
  260. It is possible to set this a little lower if you are trying to tune for short
  261. block mining (eg p2pool) but much lower and the device will start creating
  262. duplicate shares.
  263. A value of 'd' means cgminer will calculate it for you based on the frequency
  264. and is highly recommended.
  265. Sample settings for valid different frequencies (last 3 values) for 110nm AVAs:
  266. 34:375:110 *
  267. 36:350:110 *
  268. 43:300:110
  269. 45:282:110 (default)
  270. 50:256:110
  271. Note that setting a value with an asterisk next to it will be using your
  272. avalon outside its spec and you do so at your own risk.
  273. For 55nm AVAs, the usual values are 8:1500
  274. Frequency:
  275. This is the clock speed of the devices. For Avalon 110nm devices, values from
  276. 256 upwards are valid with the default being 282 and the maximum practical
  277. being approximately 350. For 55nm devices values from 1000-2000 are valid with
  278. 1500 being the default.
  279. Technology:
  280. What sized technology ASICs are in use in the avalon, choices are 55 or 110,
  281. corresponding to the nm technology chips in use.
  282. The default frequency for BitBurner X and BitBurner XX boards is 282. The
  283. default frequency for BitBurner Fury boards is 256. Overclocking is
  284. possible - please consult the product documentation and/or manufacturer for
  285. information on safe values. Values outside this range are used at your own
  286. risk. Underclocking is also possible, at least with the X and XX boards.
  287. eg:
  288. --bitburner-fury-options <arg> Override avalon-options for BitBurner Fury boards baud:miners:asic:timeout:freq
  289. This option takes the same format as --avalon-options. When specified, it
  290. will be used for BitBurner Fury boards in preference to the values specified
  291. in --avalon-options. (If not specified, BitBurner Fury boards will be
  292. controlled by the values used in --avalon options.) See --avalon-options for
  293. a detailed description of the fields.
  294. This option is particularly useful when using a mixture of different BitBurner
  295. devices as BitBurner Fury devices generally require significantly different
  296. clock frequencies from Avalon-based devices. This option is only available
  297. for boards with recent firmware that are recognized by cgminer as BBF.
  298. eg:
  299. --bitburner-fury-voltage <arg> Set BitBurner Fury core voltage, in millivolts
  300. Sets the core voltage for the BitBurner Fury boards. The default value is
  301. 900. Overvolting is possible - please consult the product documentation
  302. and/or manufaturer about the safe range of values. Values outside this range
  303. are used at your own risk.
  304. This option is only available for boards with recent firmware that are
  305. recognized by cgminer as BBF. For boards recognized as BTB, see
  306. --bitburner-voltage
  307. eg:
  308. --bitburner-voltage <arg> Set BitBurner (Avalon) core voltage, in millivolts
  309. Sets the core voltage for the Avalon-based BitBurner X and BitBurner XX
  310. boards. The default value is 1200. Overvolting and undervolting is
  311. possible - please consult the product documentation and/or the manufacturer
  312. for information about the safe range. Values outside this range are used at
  313. your own risk.
  314. Older BitBurner Fury firmware emulates a BitBurner XX board and is identified
  315. by cgminer as BTB. On these devices, --bitburner-voltage is used to control
  316. the voltage of the BitBurner Fury board. The actual core voltage will be
  317. 300mV less than the requested voltage, so to run a BitBurner Fury board at
  318. 950mV use --bitburner-voltage 1250. The default value of 1200 therefore
  319. corresponds to the default core voltage of 900mV.
  320. If you use the full curses based interface with Avalons you will get this
  321. information:
  322. AVA 0: 22/ 46C 2400R
  323. The values are:
  324. ambient temp / highest device temp lowest detected ASIC cooling fan RPM.
  325. Use the API for more detailed information than this.
  326. BFLSC Devices
  327. --bflsc-overheat <arg> Set overheat temperature where BFLSC devices throttle, 0 to disable (default: 90)
  328. This will allow you to change or disable the default temperature where cgminer
  329. throttles BFLSC devices by allowing them to temporarily go idle.
  330. BITFURY Devices
  331. --bxf-bits <arg> Set max BXF/HXF bits for overclocking (default: 54)
  332. In combination with the dynamic clocking on Bi*fury devices, this sets the
  333. highest bit target that cgminer will aim for.
  334. --bxf-temp-target <arg> Set target temperature for BXF/HXF devices (default: 82)
  335. Cgminer uses dynamic clocking on Bi*fury devices to try and maintain the
  336. temperature just below an optimal target. This option allows you to change the
  337. target temperature. When actively cooled below this, the devices will run at
  338. maximum speed.
  339. --bxm-bits <arg> Set BXM bits for overclocking (default: 54)
  340. Choose the overclocking bits for BFx2 devices.
  341. --nfu-bits <arg> Set nanofury bits for overclocking range 32-63 (default: 50)
  342. Cgminer by default sets the clockspeed on nanofury devices to the highest that
  343. is still within USB2 spec. This value allows you to alter the clockspeed, with
  344. ~54 being the optimal but requiring a higher power or USB3 port.
  345. Drillbit Systems Devices
  346. --drillbit-options <arg> Set drillbit options <int|ext>:clock[:clock_divider][:voltage]
  347. * int/ext defines the clock source - default int. Not all boards support ext.
  348. * clock_divider must be 1 or 2 with a default of 1. Bitfury only,
  349. ignored on Avalon.
  350. * clock is in MHz, on Drillbit range 80-250 with a default of 200,
  351. recommended maximum 230. On Avalon range 500-1000 with a
  352. recommended maximum of 800.
  353. * voltage is ASIC core voltage in millivolts, available values vary per board but
  354. default is 850 and the recommended maximum is 950 (Bitfury) and 1000 (Avalon.)
  355. --drillbit-auto <every>:[<gooderr>:<baderr>:<maxerr>]
  356. If supported by firmware and device, this feature allows cgminer to
  357. automatically tweak each ASIC's clock rate up and down in to achieve
  358. optimal performance.
  359. * every - only required param, check each ASIC after each block of
  360. this many work units. Recommended value 100.
  361. * gooderr - the "Good" threshold is when less hardware errors than
  362. this per "every" work units, the clock rate will be increased.
  363. Default value 1.
  364. * baderr - the "Bad" threshold is when more hardware errors than
  365. this per "every" work units, the clock rate will be decreased.
  366. Default value 3.
  367. * maxerr - the "Max" threshold is when more hardware errors than
  368. this per "every" work units (including pre-empting before
  369. "every" work units is up), the clock rate will be decreased and
  370. will not be increased again past this point. Default value 10.
  371. BlackArrow Bitfury devices
  372. --bab-options <arg> Set BaB options Max:Def:Min:Up:Down:Hz:Delay:Trf
  373. Any option left blank or starting with 'd' will use the default setting
  374. If there are not enough options, then the remaining will be left at their
  375. default value
  376. Max:Def:Min are the chip speed limits to allow, ranging from 52 to 57
  377. Up:Down are the HW error % used to tune the chip speed
  378. Up means if the HW error % is less than up, over a 5 minute period,
  379. then increase the chip speed
  380. Down means if the HW error % is greater than down, over 5 minutes,
  381. then decrease the chip speed
  382. Hz is the SPI clock speed to use
  383. Delay is the us delay used between bytes for the SPI I/O - default 0
  384. Trf is the us delay used between sends for the SPI I/O - default 0
  385. Hashfast devices
  386. --hfa-hash-clock <arg> Set hashfast clock speed (default: 550)
  387. This will change the initialisation clock speed on all attached hfa devices.
  388. Note that if instability is detected by cgminer and the device has to undergo
  389. a reset, cgminer will lower the clockspeed on resetting it each time till the
  390. value returns to the default of 550.
  391. --hfa-fail-drop <arg> Set how many MHz to drop clockspeed each failure on an overlocked hashfast device (default: 10)
  392. If you overclock your hashfast device with --hfa-hash-clock and cgminer detects
  393. it failing to return hashes, it will restart it at a lower clock speed if
  394. possible. Changing this value will allow you to choose how much it will lower
  395. the clock speed or to disable this function entirely.
  396. --hfa-fan <arg> Set fanspeed percentage for hashfast, single value or range (default: 10-85)
  397. This changes the range of fanspeeds used on hashfast devices with firmware that
  398. supports it. Note that the fanspeed will dynamically change to try and maintain
  399. a target temperature with --hfa-temp-target but if the target temperature is
  400. disabled, the fanspeed will remain static.
  401. eg:
  402. --hfa-fan 25-100
  403. --hfa-temp-overheat <arg> Set the hashfast overheat throttling temperature (default: 95)
  404. Cgminer will temporarily stop sending hashfast devices work once this
  405. temperature is reached. Note that with the water cooling in these devices,
  406. temperature recovery is likely to be very quick and the device will start
  407. hashing again after only a very brief period.
  408. --hfa-temp-target <arg> Set the hashfast target temperature (0 to disable) (default: 88)
  409. On hashfast devices with firmware that supports dynamic fanspeed and die speeds,
  410. cgminer will try to maintain temperature according to this target by adjusting
  411. fanspeed and then if need be, throttle speeds on a die-by-die basis. Disabling
  412. this feature will leave a constant fanspeed and die speed but will not disable
  413. the temp-overheat feature.
  414. --hfa-name <arg> Set a unique name for a single hashfast device specified with --usb or the first device found
  415. This command allows you to specify the unique name stored in nvram on a single
  416. hashfast device. This name can be queried from the API stats command and comes
  417. up as "op name". Discrete names are used by cgminer to try to maintain settings
  418. across restarts, unplugs/hotplugs and so on. If this command is used by itself,
  419. the name will be given to the first hashfast device it encounters and then
  420. cgminer will proceed to go back to regular mining. If you have multiple devices,
  421. it is best to discretely choose the device you wish to use with the --usb
  422. command. For example
  423. 'lsusb' on linux shows the following devices (297c:0001 is a hfa device):
  424. Bus 001 Device 079: ID 297c:0001
  425. Bus 004 Device 042: ID 297c:0001
  426. If you wished to name the second device Slug you would add the commands:
  427. --hfa-name Slug --usb 4:42
  428. --hfa-noshed Disable hashfast dynamic core disabling feature
  429. Newer firmwares on hashfast devices dynamically disable cores that generate
  430. invalid data. This command will disable this feature where possible.
  431. --hfa-options <arg> Set hashfast options name:clock (comma separated)
  432. This command allows you to set options for each discrete hashfast device by
  433. its name (if the firmware has naming support, i.e. version 0.3+). Currently
  434. this takes only one option, the clock speed, although future options may be
  435. added.
  436. e.g.:
  437. --hfa-options "rabbit:650,turtle:550"
  438. Would set a device named rabbit to clock speed 650 and the one named turtle to
  439. 550. Starting the device at a speed where it is most stable will give more
  440. reliable hashrates long term and prevent it interacting with other devices,
  441. rather than depending on the clockdown feature in cgminer.
  442. Other undocumented hashfast command line options are for development purposes
  443. only at this stage and serve no useful purpose to end users.
  444. Bitmine A1 Devices
  445. --bitmine-a1-options <ref_clk>:<sys_clk>:<spi_clk>:<max_chip>
  446. ref_clk: reference clock in kHz (default: 16000)
  447. sys_clk: target system clock in kHz to be set in PLL (default: 250000)
  448. spi_clk: SPI clock in kHz (default: 800)
  449. max_chip: [debug/testing] limit chip chain
  450. Set 0 for fields you want to keep untouched to default, e.g.
  451. --bitmine-a1-options 0:0:400
  452. to only set SPI clock to 400kHz
  453. ---
  454. This code is provided entirely free of charge by the programmer in his spare
  455. time so donations would be greatly appreciated. Please consider donating to the
  456. address below.
  457. Con Kolivas <kernel@kolivas.org>
  458. 15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ