Untitled


SUBMITTED BY: Guest

DATE: Dec. 11, 2013, 8:23 p.m.

FORMAT: Text only

SIZE: 8.2 kB

HITS: 21564

  1. SUPPORTED DEVICES
  2. Currently supported ASIC devices include Avalon, Bitfountain's Block Erupter
  3. series (both USB and blades), a large variety of Bitfury-based miners,
  4. Butterfly Labs' SC range of devices, HashBuster boards, Klondike modules, and
  5. KnCminer's Mercury, Jupiter and Saturn.
  6. AVALON
  7. ------
  8. Currently, Avalon boards are supported only by connecting them directly (or via
  9. a hub) to a regular PC running BFGMiner. It is also possible to install the
  10. OpenWrt packages of BFGMiner to the Avalon's embedded controller, but this is
  11. not a simple task due to its lack of available flash space.
  12. To use the Avalon from a regular PC, you will need to specify two options:
  13. First, add the -S option specifying the avalon driver specifically. For example,
  14. -S avalon:\\.\COM9
  15. Next, use the --avalon-options copying the command as used by the internal
  16. router used by the Avalon. eg:
  17. --avalon-options 115200:24:10:45:282
  18. The values are baud : miners : asic count : timeout : frequency.
  19. Baud:
  20. The device is essentially hard coded to emulate 115200 baud so you shouldn't
  21. change this.
  22. Miners:
  23. Most Avalons are 3 module devices, which come to 24 miners. 4 module devices
  24. would use 32 here.
  25. Asic count:
  26. Virtually all have 10, so don't change this.
  27. Timeout:
  28. This defines how long the device will work on a work item before accepting new
  29. work to replace it. It should be changed according to the frequency (last
  30. setting).
  31. It is possible to set this a little lower if you are trying to tune for short
  32. block mining (eg p2pool) but much lower and the device will start creating
  33. duplicate shares.
  34. Sample settings for valid different frequencies (last 2 values):
  35. 34:375
  36. 36:350
  37. 39:325
  38. 43:300
  39. 45:282
  40. 47:270
  41. 50:256
  42. Frequency:
  43. This is the clock speed of the devices. Only specific values work, 256, 270,
  44. 282 (default), 300, 325, 350 and 375.
  45. If you use the full curses based interface with Avalons you will get this
  46. information:
  47. AVA 0: 22/ 46C 60%/2400R
  48. The values are:
  49. ambient temp / highest device temp set fan % / lowest detected fan RPM.
  50. Check the API for more detailed information.
  51. BFSB, MEGABIGPOWER, AND METABANK BITFURY BOARDS
  52. -----------------------------------------------
  53. Both BFSB and MegaBigPower (V2 only at this time) boards are supported with the
  54. "bfsb" driver. Metabank boards are supported with the "metabank" driver. These
  55. drivers are not enabled by default, since they must be run on a Raspberry Pi in
  56. a specific hardware configuration with the boards. To enable them, you must
  57. build with --enable-bfsb or --enable-metabank. Do not try to use these drivers
  58. without the manufacturer-supported hardware configuration! Also note that these
  59. drivers do not properly support thermal shutdown at this time, and without
  60. sufficient cooling you may destroy your board or chips!
  61. To start BFGMiner, ensure your Raspberry Pi's SPI is enabled (you can run the
  62. raspi-config utility for this). For Metabank boards, you must also load the I2C
  63. drivers (do not try to modprobe both with a single command; it won't work):
  64. modprobe i2c-bcm2708
  65. modprobe i2c-dev
  66. Then you must run BFGMiner as root, with the proper driver selected.
  67. For example:
  68. sudo bfgminer -S bfsb:auto
  69. BI*FURY
  70. -------
  71. Bi*Fury should just work; you may need to use -S bifury:<path>
  72. On Windows, you will need to install the standard USB CDC driver for it.
  73. http://store.bitcoin.org.pl/support
  74. If you want to upgrade the firmware, unplug your device. You will need to
  75. temporarily short a circuit. With the USB connector pointing forward, and the
  76. heatsink down, look to the forward-right; you will see two tiny lights, a set of
  77. 2 terminals, and a set of 3 terminals. The ones you need to short are the set of
  78. 2. With them shorted, plug the device back into your computer. It will then
  79. pretend to be a mass storage disk drive. If you use Windows, you can play along
  80. and just overwrite the firmware.bin file. If you use Linux, you must use mcopy:
  81. mcopy -i /dev/disk/by-id/usb-NXP_LPC1XXX_IFLASH_ISP-0:0 firmware.bin \
  82. ::/firmware.bin
  83. After this is complete, unplug the device again and un-short the 2 terminals.
  84. This completes the upgrade and you can now plug it back in and start mining.
  85. BIG PICTURE MINING BITFURY USB
  86. ------------------------------
  87. These miners are sensitive to unexpected data. Usually you can re-plug them to
  88. reset to a known-good initialisation state. To ensure they are properly detected
  89. and used with BFGMiner, you must specify -S bigpic:all (or equivalent) options
  90. prior to any other -S options (which might probe the device and confuse it).
  91. BLOCK ERUPTER BLADE
  92. -------------------
  93. Blades communicate over Ethernet using the old but simple getwork mining
  94. protocol. If you build BFGMiner with libmicrohttpd, you can have it work with
  95. one or more blades. First, start BFGMiner with the --http-port option. For
  96. example:
  97. bfgminer --http-port 8330
  98. Then configure your blade to connect to your BFGMiner instance on the same port,
  99. with a unique username per blade. It will then show up as a SGW device and
  100. should work more or less like any other miner.
  101. BLOCK ERUPTER USB
  102. -----------------
  103. These will autodetect if supported by the device; otherwise, you need to use
  104. the '--scan-serial erupter:<device>' option to tell BFGMiner what device to
  105. probe; if you know you have no other serial devices, or only ones that can
  106. tolerate garbage, you can use '--scan-serial erupter:all' to probe all serial
  107. ports. They communicate with the Icarus protocol, which has some additional
  108. options in README.FPGA
  109. KLONDIKE
  110. --------
  111. --klondike-options <arg> Set klondike options clock:temptarget
  112. KNCMINER
  113. --------
  114. The KnC miner uses a BeagleBoneBlack(BBB) as the host, this is pluged into a
  115. cape that holds the FPGA and connections for 4-6 ASICS depending on the cape
  116. version. The BBB runs the Angstrom linux distribution, the following is a step
  117. by step install for BFGMiner on this distro;
  118. -----------------Start------------
  119. cat >/etc/opkg/feeds.conf <<\EOF
  120. src/gz noarch http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/all/
  121. src/gz base http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/cortexa8hf-vfp-neon/base/
  122. src/gz beaglebone http://feeds.angstrom-distribution.org/feeds/v2013.06/ipk/eglibc/cortexa8hf-vfp-neon/machine/beaglebone/
  123. EOF
  124. opkg update
  125. opkg install angstrom-feed-configs
  126. rm /etc/opkg/feeds.conf
  127. opkg update
  128. opkg install update-alternatives
  129. opkg install automake autoconf make gcc cpp binutils git less pkgconfig-dev ncurses-dev libtool nano bash i2c-tools-dev
  130. while ! opkg install libcurl-dev; do true; done
  131. ln -s aclocal-1.12 /usr/share/aclocal
  132. curl http://www.digip.org/jansson/releases/jansson-2.0.1.tar.bz2 | tar -xjvp
  133. cd jansson-2.0.1
  134. ./configure --prefix=/usr CC=arm-angstrom-linux-gnueabi-gcc --disable-static NM=arm-angstrom-linux-gnueabi-nm
  135. make install && ldconfig
  136. cd ..
  137. git clone git://github.com/luke-jr/bfgminer
  138. cd bfgminer
  139. ./autogen.sh
  140. git clone git://github.com/troydhanson/uthash
  141. ./configure --host=arm-angstrom-linux-gnueabi --enable-knc CFLAGS="-I$PWD/uthash/src -O0 -ggdb"
  142. make AR=arm-angstrom-linux-gnueabi-ar
  143. /etc/init.d/cgminer.sh stop
  144. ./bfgminer -S knc:auto -c /config/cgminer.conf
  145. ---------------END-------------
  146. BFGMiner has also been incorporated into an unofficial firmware by uski01 called Bertmod this can be found on the kncminer forum.
  147. ---
  148. This code is provided entirely free of charge by the programmer in his spare
  149. time so donations would be greatly appreciated. Please consider donating to the
  150. address below.
  151. Luke-Jr <luke-jr+bfgminer@utopios.org>
  152. 1QATWksNFGeUJCWBrN4g6hGM178Lovm7Wh

comments powered by Disqus