ASIC-README 29 KB

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