BFL flash - include source in builds and more FPGA-README
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50
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