ckolivas
|
9dc2f3f175
|
Redo +1 fix in bflsc.
|
2013-06-25 11:21:28 +10:00 |
|
Con Kolivas
|
a7f9bf3c52
|
Merge pull request #454 from kanoi/master
bflsc - handle xlink timeouts by having generic IO functions
|
2013-06-23 15:37:00 -07:00 |
|
Con Kolivas
|
f5911528bf
|
Demote bflsc hw error messages to verbose logging only.
|
2013-06-24 08:17:27 +10:00 |
|
Kano
|
f2bbfee704
|
bflsc - handle xlink timeouts by having generic IO functions
|
2013-06-23 18:14:12 +10:00 |
|
Con Kolivas
|
d741410f6d
|
sc_count shouldn't be +1 in bflsc.
|
2013-06-23 10:13:18 +10:00 |
|
Con Kolivas
|
0cd2c5c3c8
|
Use the info timeout for read_nl in getidentify bflsc.
|
2013-06-23 10:12:44 +10:00 |
|
Kano
|
e993cf3644
|
bflsc try getinfo twice
|
2013-06-23 10:01:18 +10:00 |
|
Con Kolivas
|
af0ae8aa5b
|
Decrease BAL and BAS latency to be just larger than one result read.
|
2013-06-19 12:09:30 +10:00 |
|
Con Kolivas
|
045e105dcc
|
BFLSC latest firmware has its own thermal cutoff set to 90, so use the same value in case we have an old firmware that isn't throttling by itself.
|
2013-06-19 11:42:43 +10:00 |
|
Con Kolivas
|
7b42b83d3f
|
Drop watermark low limits for bflsc.
|
2013-06-19 11:38:45 +10:00 |
|
Con Kolivas
|
e172c987f3
|
Set the fanspeed on bflsc to max if we don't know the temperature.
|
2013-06-19 11:29:53 +10:00 |
|
Con Kolivas
|
7be081d81b
|
Use a low watermark for queueing mandatory work on bflsc instead of zero.
|
2013-06-19 11:24:04 +10:00 |
|
Con Kolivas
|
0b5eb43696
|
Revert "Only wait in the bflsc scanwork loop if the queues are satisfactorily filled."
This reverts commit a49969908c .
Makes the driver busy wait.
|
2013-06-19 10:46:28 +10:00 |
|
Con Kolivas
|
a49969908c
|
Only wait in the bflsc scanwork loop if the queues are satisfactorily filled.
|
2013-06-19 10:40:03 +10:00 |
|
Con Kolivas
|
fa881badf4
|
Only mandatorily grab the bflsc mutex on submitting work when the queue is empty.
|
2013-06-19 10:22:54 +10:00 |
|
Con Kolivas
|
0fbd375ea3
|
Adjust bflsc v2 watermarks.
|
2013-06-19 09:43:36 +10:00 |
|
Con Kolivas
|
05adbbf1e9
|
Only increase sleep time on bflsc if the queue isn't emptying at all over the sleep duration.
|
2013-06-19 09:42:32 +10:00 |
|
Con Kolivas
|
fe1a3752b7
|
Fix warning.
|
2013-06-19 08:57:08 +10:00 |
|
Kano
|
a9fef661b9
|
bflsc yet more API stats
|
2013-06-19 02:50:03 +10:00 |
|
Kano
|
711328762f
|
bflsc add some more API stats
|
2013-06-19 02:30:06 +10:00 |
|
Kano
|
3ac09fa2d9
|
bflsc correct firmware matching
|
2013-06-19 01:02:20 +10:00 |
|
Kano
|
84a5da0377
|
bflsc correct comment
|
2013-06-19 00:58:35 +10:00 |
|
Kano
|
8f18d4c8b0
|
bflsc driver support for v2 firmware
|
2013-06-19 00:52:13 +10:00 |
|
Con Kolivas
|
6d8d44c233
|
Fanauto on bflsc is Z9X according to the source code, not 5 as per the draft protocol document.
|
2013-06-17 09:57:13 +10:00 |
|
Kano
|
b8b137aeef
|
USB make device_path handled by usbutils
|
2013-06-10 15:59:02 +10:00 |
|
Kano
|
749fa78d8a
|
tidy up free in device detect functions
|
2013-06-10 15:39:44 +10:00 |
|
Kano
|
9287ee90f6
|
USB control creation and free of cgpu
|
2013-06-10 15:22:37 +10:00 |
|
Con Kolivas
|
24d26d9949
|
Throttling the BFLSC at 80 seems to prevent generating garbled responses of higher temps.
|
2013-06-10 02:54:18 +10:00 |
|
Con Kolivas
|
6fdc068f1b
|
Revert "Give a generous timeout whenever we expect an OK message for working bflsc communications."
This reverts commit 3d8cf60b96 .
|
2013-06-09 23:00:36 +10:00 |
|
Con Kolivas
|
3d8cf60b96
|
Give a generous timeout whenever we expect an OK message for working bflsc communications.
|
2013-06-09 22:58:07 +10:00 |
|
Con Kolivas
|
9b00529cf9
|
Return after failed bin2hex conversion in bflsc.
|
2013-06-09 22:39:21 +10:00 |
|
Con Kolivas
|
12a2cb0d3c
|
Demote failed hex2bin result to LOG_INFO and check return result in driver-bflsc to avoid doing find_work_by_midstate.
|
2013-06-09 22:37:49 +10:00 |
|
Con Kolivas
|
4f36d38c0f
|
Revert "Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count."
This reverts commit 4530a74e0b .
|
2013-06-09 22:00:49 +10:00 |
|
Con Kolivas
|
6d7f079f07
|
Set bflsc cutofftemp to 90 degrees.
|
2013-06-09 21:53:48 +10:00 |
|
Con Kolivas
|
4530a74e0b
|
Only return one nonce range per device per cycle through scanwork in bflsc to avoid batching of result count.
|
2013-06-09 21:52:42 +10:00 |
|
Con Kolivas
|
9451c49e3c
|
Nominally set bflsc cutofftemp to 85 degrees.
|
2013-06-09 21:43:16 +10:00 |
|
Con Kolivas
|
630e7d7658
|
Set BFLSC fan speed coarsely to keep it under 60 or auto as per specs saying it tries to stay below 60.
|
2013-06-09 21:33:20 +10:00 |
|
Con Kolivas
|
7f1ce19059
|
Move macro definition to bflsc driver
|
2013-06-09 17:22:23 +10:00 |
|
Con Kolivas
|
641545aac7
|
Use a longer timeout for retrieving bflsc details.
|
2013-06-09 17:19:20 +10:00 |
|
Kano
|
1bec49041f
|
BFLSC enable buffered USB reading
|
2013-06-05 12:11:40 +10:00 |
|
Kano
|
6aed9a5122
|
bflsc & icarus use usb_ftdi_set_latency
|
2013-06-05 01:49:48 +10:00 |
|
Kano
|
a16f51fb2e
|
correct bflsc BFLSC_BUFSIZ max calculation
|
2013-06-04 22:37:00 +10:00 |
|
Kano
|
1c64f3b621
|
usb set FTDI latency higher to minimise status bytes
|
2013-06-04 13:17:57 +10:00 |
|
Kano
|
c9cc7445e5
|
miner.h remove unused device_file and add device_data
|
2013-05-20 02:52:07 +10:00 |
|
Kano
|
250e435313
|
usbutils/icarus separate FTDI transfer values and more debug
|
2013-05-18 01:39:56 +10:00 |
|
Kano
|
e89c921ab0
|
usb add a numeric sub-indentity for each name
|
2013-05-16 22:16:15 +10:00 |
|
Kano
|
2631b55ee2
|
usbutils - make FTDI handling automatic
|
2013-05-16 21:38:55 +10:00 |
|
Con Kolivas
|
fb249975ec
|
Make FULLNONCE an ULL to fix a warning on 32 bit.
|
2013-05-03 22:24:11 +10:00 |
|
Kano
|
2c97b8b8bc
|
usb_init() allow it to ignore a device and show no message
|
2013-04-28 19:00:25 +10:00 |
|
Con Kolivas
|
4ef01a00a5
|
Count various failures as hw errors on bflsc.
|
2013-04-28 17:35:51 +10:00 |
|
Con Kolivas
|
08c13a138f
|
Init rwlock for bflsc stat_lock.
|
2013-04-28 15:47:12 +10:00 |
|
Kano
|
2517a8a49e
|
bflsc ensure buffer is bigger than max reply
|
2013-04-28 10:00:32 +10:00 |
|
Kano
|
ac135bf3af
|
bflsc ignore very first work item nonce error - could be from before
|
2013-04-28 09:40:29 +10:00 |
|
Kano
|
a7c307952b
|
bflsc more detailed results failure messages
|
2013-04-28 09:24:46 +10:00 |
|
Con Kolivas
|
a2d188921a
|
Do not sleep longer than 2s max in bflsc scan code to stabilise displayed 5s hashrate, put locking around values, and set a minimum of 1ms.
|
2013-04-28 09:13:17 +10:00 |
|
Kano
|
b30f9bb72a
|
bflsc unres the res
|
2013-04-27 17:00:33 +10:00 |
|
Kano
|
dd8fe19bab
|
bflsc tidy up getinfo() and add to api
|
2013-04-27 16:49:01 +10:00 |
|
Kano
|
55b3d407c5
|
bflsc guess device ~based on current V1 Jalapeno engine count
|
2013-04-27 16:15:52 +10:00 |
|
Kano
|
de009dab01
|
bflsc only need one xlinkstr
|
2013-04-27 15:55:39 +10:00 |
|
Kano
|
66154e9f2b
|
bflsc flush/clear output que when we initialise
|
2013-04-27 15:32:37 +10:00 |
|
Kano
|
ea8aa1aa41
|
bflsc seperate BFLSC_QRES
|
2013-04-27 15:21:30 +10:00 |
|
Kano
|
4bfa4c3091
|
bflsc queue_full shouldn't ask for more work if device is zombie
|
2013-04-27 14:39:31 +10:00 |
|
Con Kolivas
|
4f0f5fb791
|
Make the scan sleep time after scanwork in bflsc dynamic to keep queues between watermark levels.
|
2013-04-27 14:22:50 +10:00 |
|
Con Kolivas
|
b0e6f68b65
|
Remove unused temp counts in bflsc.
|
2013-04-27 01:04:30 +10:00 |
|
Con Kolivas
|
e70e7b5b7e
|
Calculate a rolling 5 min average set of temperatures for bflsc.
|
2013-04-27 01:02:35 +10:00 |
|
Con Kolivas
|
31fc0bc766
|
Damp the display of voltage for BFLSC devices.
|
2013-04-27 00:49:03 +10:00 |
|
Con Kolivas
|
d6720ee0aa
|
Damp the temperature display measurement for bflsc since it fluctuates so wildly.
|
2013-04-27 00:41:01 +10:00 |
|
Kano
|
bd4d04b260
|
bflsc add volt stats
|
2013-04-27 00:07:42 +10:00 |
|
Con Kolivas
|
21fd80dfa4
|
Handle failed tolines command in bflsc driver.
|
2013-04-26 23:22:19 +10:00 |
|
Con Kolivas
|
6db9745287
|
Can use a read lock instead of a write lock in bflsc scanwork.
|
2013-04-26 20:47:25 +10:00 |
|
Con Kolivas
|
045d0362e7
|
Since we are filling a queue on the bflsc devices, there is no need to run through scanwork frequently provided we use the restart_wait function to abort early during a block change.
|
2013-04-26 20:35:05 +10:00 |
|
Con Kolivas
|
f1624e13a9
|
Remove flushed work in bfl scanwork from the hash table.
|
2013-04-26 20:07:43 +10:00 |
|
Con Kolivas
|
11baa32792
|
Set correct device in process_nonces in bflsc driver.
|
2013-04-26 19:33:14 +10:00 |
|
Kano
|
93e3e8c90e
|
bflsc add work reply INPROCESS: missing from the spec
|
2013-04-26 18:57:40 +10:00 |
|
Kano
|
5121163ef2
|
bflsc put in some error messages not yet written
|
2013-04-26 18:26:20 +10:00 |
|
Kano
|
8fe17e9de3
|
bflsc get completed hashes as late as possible
|
2013-04-26 17:28:46 +10:00 |
|
Con Kolivas
|
5d8273a399
|
Fix potential memory leak with unused work items in bflsc_queue_full
|
2013-04-26 17:00:22 +10:00 |
|
Con Kolivas
|
f5e3448fb8
|
Reverse bools in bflsc_queue_full
|
2013-04-26 16:55:52 +10:00 |
|
Con Kolivas
|
9b53e59997
|
Avoid recursive loop calling correct function instead.
|
2013-04-26 16:38:17 +10:00 |
|
Kano
|
a44f6d285a
|
bflsc fix details identification
|
2013-04-26 15:40:56 +10:00 |
|
Kano
|
179cc524f5
|
BFLSC fix FPGA identity overlap
|
2013-04-26 14:15:32 +10:00 |
|
Con Kolivas
|
a84e424b73
|
Locking error in bflsc_send_work
|
2013-04-26 13:04:20 +10:00 |
|
Con Kolivas
|
cbe13be85c
|
Use htobe32 function for converting nonce in bflsc.
|
2013-04-26 12:57:21 +10:00 |
|
Con Kolivas
|
102b9477aa
|
Replace deprecated bzero with memset in bflsc driver.
|
2013-04-26 12:54:48 +10:00 |
|
Con Kolivas
|
5c1ecaffa3
|
Fix compilation of bflsc driver without opencl.
|
2013-04-26 12:48:33 +10:00 |
|
Con Kolivas
|
4c8acdf9dc
|
Check for realloc failures in bflsc driver.
|
2013-04-26 12:44:01 +10:00 |
|
Con Kolivas
|
b0f8b278ca
|
Check for failure to calloc in bflsc driver.
|
2013-04-26 12:41:19 +10:00 |
|
Con Kolivas
|
5c30059142
|
Trivial style change
|
2013-04-26 12:39:21 +10:00 |
|
Con Kolivas
|
c30391225f
|
Use copy_time function in bflsc driver.
|
2013-04-26 12:35:14 +10:00 |
|
Con Kolivas
|
41fa60ce59
|
Use cgtime in bflsc driver and update copyright notice.
|
2013-04-26 12:32:28 +10:00 |
|
Con Kolivas
|
e92b13a2a2
|
Use a separate function for bfl initialise that doesn't require locking.
|
2013-04-26 12:21:25 +10:00 |
|
Kano
|
c769db692d
|
bflsc v0.1
|
2013-04-26 10:32:28 +10:00 |
|