Browse Source

README.FPGA: Further clarify ZTEX setup

Luke Dashjr 12 years ago
parent
commit
3a7ed63fb5
1 changed files with 24 additions and 26 deletions
  1. 24 26
      README.FPGA

+ 24 - 26
README.FPGA

@@ -251,43 +251,41 @@ and the 1.15y with 4 FPGAs. ZTEX distributes their own mining software and
 drivers. BFGMiner has full support for these boards, as long as they have at
 drivers. BFGMiner has full support for these boards, as long as they have at
 least the "dummy" mining bitstreams installed on them.
 least the "dummy" mining bitstreams installed on them.
 
 
-If your boards do not have a mining bitstream yet:
-
-First, install Java JDK version 6 or later.
-
---- Windows ---
+If your boards do not have a mining bitstream yet, you must first, install
+ZTEX's BTCMiner (requires Java JDK version 6 or later) and install one.
+=== WINDOWS NOTE ===
 Upon first powering up and connecting the board via USB, windows will attempt
 Upon first powering up and connecting the board via USB, windows will attempt
 and fail to find the appropriate drivers.  To load the initial firmware on the
 and fail to find the appropriate drivers.  To load the initial firmware on the
 board, you'll need the EZ-USB FX2 SDK from here:
 board, you'll need the EZ-USB FX2 SDK from here:
     http://www.ztex.de/downloads/#firmware_kit
     http://www.ztex.de/downloads/#firmware_kit
 Extract the firmware kit and use the driver within libusb-win32/ztex.inf.
 Extract the firmware kit and use the driver within libusb-win32/ztex.inf.
-Windows should now recognize the board and you're ready to program it.  Grab
-the latest miner jar from http://www.ztex.de/btcminer/#download and program the
-appropriate dummy firmware for your board.  The command should look something
-like (for a single FPGA board):
-
-java -cp ZtexBTCMiner-120417.jar BTCMiner -m p -f **FILENAME** -s 01-02-01
+Windows should now recognize the board and you're ready to program it.
+=== END OF WINDOWS ===
+Grab the latest miner jar from http://www.ztex.de/btcminer/#download and program
+the appropriate dummy firmware for your board.  The command should look
+something like (for a single FPGA board):
+    java -cp ZtexBTCMiner-120417.jar BTCMiner -m p -f **FILENAME** -s 01-02-01
 For ZTEX 1.15x boards, the dummy bitstream filename is ztex_ufm1_15d.ihx
 For ZTEX 1.15x boards, the dummy bitstream filename is ztex_ufm1_15d.ihx
 For ZTEX 1.15y boards, the dummy bitstream filename is ztex_ufm1_15y.ihx
 For ZTEX 1.15y boards, the dummy bitstream filename is ztex_ufm1_15y.ihx
 
 
-At this point, you're ready to mine with ZTEX's miner.  However, if you'd like
-to use BFGMiner, you'll have to swap the USB drivers.  The BFGMiner compatible
-WinUSB drivers for the board can be generated with this tool:
+=== WINDOWS NOTE ===
+To mine using BFGMiner, you'll have to swap the USB drivers. The BFGMiner-
+compatible WinUSB drivers for the board can be generated with this tool:
     http://sourceforge.net/projects/libwdi/files/zadig/
     http://sourceforge.net/projects/libwdi/files/zadig/
 Basic usage instructions for Zadig can be found here:
 Basic usage instructions for Zadig can be found here:
     https://github.com/pbatard/libwdi/wiki/Zadig
     https://github.com/pbatard/libwdi/wiki/Zadig
 Once Zadig generates and installs a WinUSB driver, ensure everything is working
 Once Zadig generates and installs a WinUSB driver, ensure everything is working
 by running:
 by running:
-
-bfgminer -D -d? -T
-
+    bfgminer -D -d? -T
 You should see something like this in the output:
 You should see something like this in the output:
-[2013-01-22 20:19:11] Found 1 ztex board
-[2013-01-22 20:19:11] ZTX 0: Found Ztex (ZTEX 0001-02-01-1)
-
-If you have installed a dummy bitstream, you will now need to copy the correct
-main mining bitstream to BFGMiner's "bitstreams" directory. This are usually the
-same as the dummy bitstream filename, but with a number added to the end.
-
-Now you're ready to mine.  It's usually useful to mine with the -D -T options
-and watch for ZTEX related messages.
+    [2013-01-22 20:19:11] Found 1 ztex board
+    [2013-01-22 20:19:11] ZTX 0: Found Ztex (ZTEX 0001-02-01-1)
+=== END OF WINDOWS ===
+
+If you have installed a dummy bitstream, you will now need to copy the main
+mining bitstream where BFGMiner can find it. This are usually the same as the
+dummy bitstream filename, but with a number added to the end. Extract the
+ZtexBTCMiner-120417.jar file using any unzip utility, and look for the proper
+*.ihx and *.bit files (the latter will be inside the 'fpga' directory of the
+jar). Copy them to BFGMiner's "bitstreams" directory, and you're ready to start
+mining.