Commit 0c3e9e9b0e7df5737aa7e862cfaeb968b79e0569

Kano 2012-08-23T11:16:29

BFL flash - include source in builds and more FPGA-README

diff --git a/FPGA-README b/FPGA-README
index 137bcad..5688c78 100644
--- a/FPGA-README
+++ b/FPGA-README
@@ -1,6 +1,7 @@
 
 This README contains extended details about FPGA mining with cgminer
 
+
 Bitforce
 
 --bfl-range         Use nonce range on bitforce devices if supported
@@ -17,11 +18,23 @@ C source is included for a bitforce firmware flash utility on Linux only:
  bitforce-firmware-flash.c
 Using this, you can change the bitstream firmware on bitforce singles.
 It is untested with other devices. Use at your own risk!
+
 To compile:
  make bitforce-firmware-flash
-To run, specify the BFL port and the flash file e.g.:
- ./bitforce-firmware-flash /dev/ttyUSB0 alphaminer_832.bfl
+To flash your BFL, specify the BFL port and the flash file e.g.:
+ sudo ./bitforce-firmware-flash /dev/ttyUSB0 alphaminer_832.bfl
 It takes a bit under 3 minutes to flash a BFL and shows a progress % counter
+Once it completes, you may also need to wait about 15 seconds,
+then power the BFL off and on again
+
+If you get an error at the end of the BFL flash process stating:
+ "Error reading response from ZBX"
+it may have worked successfully anyway.
+Test mining on it to be sure if it worked or not.
+
+You need to give cgminer about 10 minutes mining with the BFL to be sure of
+the MH/s value reported with the changed firmware - and the MH/s reported
+will be less than the firmware speed since you lose work on every block change.
 
 
 Icarus
diff --git a/Makefile.am b/Makefile.am
index d938910..559953d 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -78,6 +78,7 @@ endif
 
 if HAS_BITFORCE
 cgminer_SOURCES += driver-bitforce.c
+EXTRA_DIST += bitforce-firmware-flash.c
 endif
 
 if HAS_ICARUS