|
629feb5f
|
2013-05-26T13:16:19
|
|
Create a separate thread for handling all work and idle submission to the avalon which messages the scanhash function it has completed to update statistics.
|
|
c87f4c30
|
2013-05-26T09:04:24
|
|
Give the avalon get results thread name the device number as well.
|
|
4076e6b3
|
2013-05-26T08:57:02
|
|
Make sure we're not adjusting temps on every successful work retrieval on avalon.
|
|
4784ecce
|
2013-05-26T08:55:03
|
|
Count missing work items from behind a successful work read in avalon as well.
|
|
70a3e885
|
2013-05-26T08:42:41
|
|
Change message for work not found in avalon parser.
|
|
fba70ff5
|
2013-05-26T01:51:20
|
|
Simplify debugging and only discard from avalon read buffer if at least one full result has been discarded.
|
|
7324a33b
|
2013-05-26T01:38:51
|
|
Only display discarded bytes in avalon if they're not used as nonces.
|
|
be3224f9
|
2013-05-26T01:33:32
|
|
Only loop once through avalon_parse_results, but do so after timeouts as well.
|
|
1f08809a
|
2013-05-26T01:31:20
|
|
Only debug and move ram if spare bytes exist in avalon buffer.
|
|
9f59e9a6
|
2013-05-26T01:30:03
|
|
Remove off by one error.
|
|
0a82b255
|
2013-05-26T01:25:43
|
|
Inverted logic.
|
|
b6b1abb5
|
2013-05-26T01:24:14
|
|
Add more debugging to avalon reads.
|
|
ab739358
|
2013-05-26T01:17:05
|
|
Convert unsigned size_ts to ints for parsing avalon messages.
|
|
bb06c2f0
|
2013-05-26T01:05:26
|
|
Cope with not finding nonces in avalon parsing gracefully by not overflowing buffers.
|
|
e9429f38
|
2013-05-26T00:52:20
|
|
Adjust avalon temp values on one lot of valid nonces from the parser.
|
|
74044467
|
2013-05-26T00:43:23
|
|
Created a threaded message parser for avalon reads.
|
|
ff44696a
|
2013-05-25T23:21:11
|
|
Avalon_wait_write is not effective during resets so do it after going idle.
|
|
4794ce70
|
2013-05-25T23:11:45
|
|
Send only a single byte reset.
|
|
e2c43792
|
2013-05-25T22:21:02
|
|
Repeat going idle after avalon reset, and wait for write ready before sending each reset request instead of some arbitrary sleep time.
|
|
a1cec2cd
|
2013-05-25T22:16:10
|
|
Revert "Send full avalon init task for reset."
This reverts commit fa1bca31181f50b8912d2851ab141244e420b8cb.
No difference.
|
|
fa1bca31
|
2013-05-25T16:09:46
|
|
Send full avalon init task for reset.
|
|
c7b1b030
|
2013-05-25T16:04:42
|
|
Timeouts on avalon_read and avalon_write should be 100ms.
|
|
4ddbe241
|
2013-05-25T15:52:08
|
|
Don't close avalon after detecting it until we're cleaning up, instead using reset for comms failures.
|
|
18710b14
|
2013-05-25T15:18:31
|
|
Check for avalon_wait_write before sending reset command.
|
|
0e071c98
|
2013-05-25T15:07:10
|
|
Sleep in avalon_write_ready.
|
|
674539bd
|
2013-05-25T15:03:02
|
|
Make avalon_wait_write a bool function and check its return value.
|
|
290666a1
|
2013-05-25T14:54:00
|
|
Show how many idle tasks are sent to avalon if it aborts on buffer full.
|
|
8b1a2471
|
2013-05-25T14:48:23
|
|
Reset avalon->device_fd after it is closed.
|
|
a6401643
|
2013-05-25T14:42:38
|
|
Create an avalon_wait_write function that is used before sending avalon idle command.
|
|
764f7cc4
|
2013-05-25T14:38:33
|
|
Avoid repeating avalon_idle in do_avalon_close and extra sleep.
|
|
ee4d72e3
|
2013-05-25T14:05:52
|
|
Pass fd to avalon_idle.
|
|
664fd5b4
|
2013-05-25T14:03:45
|
|
Revert "Change to setting avalon_task to being the pointer for avalon_idle."
This reverts commit 91a82cd81f8ef63621cc473601adb325d662e409.
|
|
91a82cd8
|
2013-05-25T13:38:00
|
|
Change to setting avalon_task to being the pointer for avalon_idle.
|
|
e2578033
|
2013-05-25T13:27:54
|
|
Do avalon_reset after info structure is set up.
|
|
930317e1
|
2013-05-25T13:25:38
|
|
Rework avalon reset sequence to include idling of chips and waiting for them to go idle followed by 2nd reset and then checking result.
|
|
569a6f65
|
2013-05-25T12:11:26
|
|
Do a non-blocking read of anything in the avalon buffer after opening the device.
|
|
6baa23cf
|
2013-05-25T12:01:12
|
|
Assign the avalon info data to the device_data in cgpu_info.
|
|
69bdc6f9
|
2013-05-03T22:28:37
|
|
Fix warnings in avalon driver.
|
|
ed65653c
|
2013-05-02T17:32:04
|
|
Simplify the many lines passed as API data in the avalon driver now that the API does not need persistent storage for the name.
|
|
d08bdfd6
|
2013-05-02T17:03:31
|
|
Add extra matching work count data in API for Avalon with 4 modules.
|
|
5b702bc0
|
2013-04-21T19:36:37
|
|
Fix warning on building avalon on win32
|
|
849567cb
|
2013-04-21T19:19:22
|
|
Use cgtime in driver-avalon.c
|
|
5ba07b9a
|
2013-04-19T09:03:41
|
|
Merge remote-tracking branch 'upstream/master'
|
|
8e8313c9
|
2013-04-19T08:57:07
|
|
fliter out the wrong result from adjust fan code
|
|
50cf2594
|
2013-04-19T08:54:36
|
|
compile avalon driver on win32 and win64
|
|
fdfb77e7
|
2013-04-16T22:41:45
|
|
Unconditionally test for many wrong results on avalon and reset to avoid passing a corrupt avalon result to temperature code.
|
|
dbab07a1
|
2013-04-15T20:30:02
|
|
Only reset an avalon device with no results when there are no results consecutively.
|
|
c62b985c
|
2013-04-10T18:42:50
|
|
Wrap result wrong tests in avalon scanhash in unlikely() and only consider a hash count of zero wrong if a restart wasn't issued.
|
|
874b25f9
|
2013-04-10T14:10:40
|
|
avalon: if result_wrong >= get_work_count jump out the read loop
|
|
dd1c8bd1
|
2013-04-08T23:55:09
|
|
fix the fan control on max temp2/3
|
|
f6893013
|
2013-04-08T23:39:08
|
|
for some reason network down. one simple cgminer command:
"cgminer -o 127.0.0.1:8888 -O fa:ke --avalon-options 115200:32:10:50:256"
can idle the avalon for safe power and protect chip
|
|
d57a4e0c
|
2013-04-08T23:37:04
|
|
if hash_count == 0; reinit avalon, fix the 0MHS bug
use the max value of temp1 and temp2 for fan control
|
|
6c5c6e99
|
2013-04-08T22:42:31
|
|
Reinstate the matching_work_count per subdevice on avalon based on the work subid.
|
|
c2a6392a
|
2013-04-08T22:29:32
|
|
Avalon driver is missing the drv_id.
|
|
0c35f67a
|
2013-04-08T15:36:18
|
|
Make the avalon array size a macro.
|
|
8a90b5dd
|
2013-04-08T15:05:30
|
|
Use replacement of work items in the avalon buffer as needed instead of flushing them.
|
|
1c4d1ac8
|
2013-04-08T14:08:54
|
|
Reinstate wrong work count to reset avalon regardless and display number of wrong results.
|
|
47309e1a
|
2013-04-08T14:04:38
|
|
Revert "The result_wrong measurement for avalon is continually leading to false positives so remove it."
This reverts commit 08c0ac290c1196b77388e747ced15d92fce57f18.
|
|
af658702
|
2013-04-08T12:01:16
|
|
select() on serial usb in avalon does not work properly with zero timeout.
|
|
08c0ac29
|
2013-04-08T11:59:32
|
|
The result_wrong measurement for avalon is continually leading to false positives so remove it.
|
|
64ecfa53
|
2013-04-08T11:32:24
|
|
Revert "Use only 2 queued work arrays in avalon."
This reverts commit 0ea9d68d6786473b641bc377651b908aeeab06a2.
This was leading to failure to find work items on block changes.
|
|
af6111fb
|
2013-04-08T11:22:25
|
|
Use no timeout on further reads in avalon_gets
|
|
ad55fbf9
|
2013-04-08T11:20:10
|
|
Do sequential reads in avalon_get_reset to cope with partial reads.
|
|
385f1cd8
|
2013-04-08T10:39:16
|
|
Show read discrepancy in avalon_get_reset.
|
|
4e2b1076
|
2013-04-08T10:37:48
|
|
Reuse avalon_get_work_count variable.
|
|
fb34cb17
|
2013-04-08T10:34:47
|
|
Check for AVA_GETS_RESTART when deciding if avalon has messed up.
|
|
8b0531fb
|
2013-04-08T10:13:15
|
|
Make the detection of all wrong results on avalon much more conservative to avoid false positives on work restarts.
|
|
c6b9a3ee
|
2013-04-08T09:48:23
|
|
Show error codes on select and read fail in avalon.
|
|
5e3474b0
|
2013-04-08T09:04:10
|
|
If we get a restart message in avalon_gets still check if there's a receive message to parse first without a timeout before returning AVA_GETS_RESTART.
|
|
0ea9d68d
|
2013-04-08T08:28:53
|
|
Use only 2 queued work arrays in avalon.
|
|
afd6f427
|
2013-04-07T16:09:26
|
|
avalon_gets is always called from the one call site so inline it.
|
|
3671b2c3
|
2013-04-07T15:48:35
|
|
The read_count is unused by the avalon get result code and no longer required for avalon reset so simplify code removing it.
|
|
dec90b96
|
2013-04-07T15:35:36
|
|
Use a separate avalon_get_reset function for resetting avalon instead of using avalon_get_result.
|
|
ea70300a
|
2013-04-07T15:03:08
|
|
The current hash count returned by avalon scanhash is just an obfuscated utility counter so make it explicit.
|
|
53a047d0
|
2013-04-07T14:53:36
|
|
Check for a restart before a timeout in message parsing code in avalon.
|
|
0da88687
|
2013-04-07T14:45:54
|
|
We should check for a restart message before checking for a timeout in avalon scanhash.
|
|
8e69d75f
|
2013-04-07T11:59:14
|
|
Store the subid for the work item in avalon.
|
|
d9ba82c6
|
2013-04-07T02:21:29
|
|
Fix record_temp_fan function in avalon driver. Patch by Xiangfu <xiangfu@openmobilefree.net>
|
|
8b2b9b3d
|
2013-04-07T02:06:21
|
|
Remove inappropriate memset of struct avalon result which was corrupting fan values.
|
|
809fec91
|
2013-04-06T18:27:38
|
|
Only do_avalon_close once on multiple errors.
|
|
689f744b
|
2013-04-06T18:12:45
|
|
Reset the result_wrong count on block change in avalon scanhash to prevent false positives for all nonces failed.
|
|
dd1a0d63
|
2013-04-06T15:09:07
|
|
Rotate the avalon work array and free work on AVA_SEND_BUFFER_EMPTY as well.
|
|
5f041e1a
|
2013-04-06T12:51:59
|
|
Don't get any work if our queue is already full in avalon_fill.
|
|
b2106b3a
|
2013-04-06T11:18:21
|
|
Free avalon->works in the event we call avalon_prepare on failure to initialise.
|
|
be5a20c8
|
2013-04-06T02:29:21
|
|
Fix warnings.
|
|
67be00e4
|
2013-04-06T02:25:48
|
|
Create an array of 4 lots of work for avalon and cycle through them.
|
|
6752c247
|
2013-04-06T01:42:45
|
|
Remove unused per unit matching work count for avalon.
|
|
7dda3e44
|
2013-04-06T01:34:40
|
|
Rename the confusing avalon_info pointer.
|
|
2f75a5d8
|
2013-04-06T01:03:21
|
|
Simplify avalon scanhash code using the new find_queued_work_bymidstate function. Partially works only.
|
|
2f371f13
|
2013-04-05T20:26:29
|
|
Use correct struct device_drv for avalon_drv.
|
|
23fa953b
|
2013-04-05T18:51:20
|
|
Check enough work is queued before queueing more in avalon_fill.
|
|
f0806c68
|
2013-04-05T18:34:05
|
|
Actually put the work in the avalon queue.
|
|
18023022
|
2013-04-05T18:31:20
|
|
Rneame avalon_api to avalon_drv.
|
|
71bae003
|
2013-04-05T14:52:07
|
|
First draft of port of avalon driver to new cgminer queued infrastructure.
|
|
dea35d33
|
2013-04-05T13:32:09
|
|
Add Makefile entry for driver-avalon.
|