Browse Source

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

Kano 13 years ago
parent
commit
88e60c4d35
2 changed files with 16 additions and 2 deletions
  1. 15 2
      FPGA-README
  2. 1 0
      Makefile.am

+ 15 - 2
FPGA-README

@@ -1,6 +1,7 @@
 
 
 This README contains extended details about FPGA mining with cgminer
 This README contains extended details about FPGA mining with cgminer
 
 
+
 Bitforce
 Bitforce
 
 
 --bfl-range         Use nonce range on bitforce devices if supported
 --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
  bitforce-firmware-flash.c
 Using this, you can change the bitstream firmware on bitforce singles.
 Using this, you can change the bitstream firmware on bitforce singles.
 It is untested with other devices. Use at your own risk!
 It is untested with other devices. Use at your own risk!
+
 To compile:
 To compile:
  make bitforce-firmware-flash
  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
 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
 Icarus

+ 1 - 0
Makefile.am

@@ -78,6 +78,7 @@ endif
 
 
 if HAS_BITFORCE
 if HAS_BITFORCE
 cgminer_SOURCES += driver-bitforce.c
 cgminer_SOURCES += driver-bitforce.c
+EXTRA_DIST += bitforce-firmware-flash.c
 endif
 endif
 
 
 if HAS_ICARUS
 if HAS_ICARUS