|
a32e521d
|
2013-05-27T17:17:42
|
|
Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands.
|
|
7ad8af19
|
2013-05-27T17:08:06
|
|
avalon_read should not loop but just return whatever it has succeeded in reading.
|
|
2c633fdb
|
2013-05-27T15:54:07
|
|
Set avalon_info to device data void struct.
|
|
c478b302
|
2013-05-27T15:48:54
|
|
Specify avalon in avalon_reset.
|
|
269a8de9
|
2013-05-27T15:43:22
|
|
First pass rewriting serialdev into direct usb dev for avalon driver.
|
|
8fea60f3
|
2013-05-27T15:01:13
|
|
Define a cts equivalent for direct usb and use it for avalon driver full.
|
|
9650bfd6
|
2013-05-27T14:58:08
|
|
Compile usbutils into avalon driver.
|
|
2d4a1db5
|
2013-05-27T14:37:41
|
|
Merge branch 'icarus-dev' into avalon-usbdev
|
|
8595f3bd
|
2013-05-27T13:41:57
|
|
Check results come in at least at 2/3 the rate they should be on avalon and if not, reset it.
|
|
91edf84c
|
2013-05-27T12:39:32
|
|
Give a warning but don't reset if the avalon buffer is full early.
|
|
abfaf361
|
2013-05-27T12:30:13
|
|
Discard any reads obtained from the avalon get results thread during a reset.
|
|
c1dd0525
|
2013-05-27T12:20:34
|
|
Differentiate initial reset in avalon from subsequent ones.
|
|
589e0877
|
2013-05-27T11:11:44
|
|
Perform a mandatory reset if the avalon buffer signals it's full before it has queued its normal quota of work.
|
|
b7901539
|
2013-05-27T01:33:54
|
|
Wait till buffer is cleared after sending idle tasks to avalon before returning from avalon_idle.
|
|
f1644462
|
2013-05-27T01:32:31
|
|
Lock qlock mutex during reset from read thread in avalon to prevent more work being sent till the reset is over.
|
|
499b2506
|
2013-05-27T01:29:57
|
|
Reset avalon if we continue to be unable to send all the work items.
|
|
b2b594b8
|
2013-05-27T00:53:24
|
|
Revert "Don't reset result counter to zero if it's negative in avalon on just one successful share."
This reverts commit ce0a9cd3a4620e18e391be5ce88c92a606b1fddf.
This wasn't the problem.
|
|
ce0a9cd3
|
2013-05-27T00:28:56
|
|
Don't reset result counter to zero if it's negative in avalon on just one successful share.
|
|
4c3fe39e
|
2013-05-26T21:50:31
|
|
Add avalon reset response to debugging output.
|
|
d0132a77
|
2013-05-26T21:34:53
|
|
Do a wait_avalon_ready before sending a reset code.
|
|
1f493d64
|
2013-05-26T21:30:55
|
|
Iterate over spare bytes in the avalon result returned from a reset request trying to find the beginning of the reset.
|
|
467d1497
|
2013-05-26T21:21:11
|
|
Idle avalon after reset.
|
|
1ef027c4
|
2013-05-26T21:14:17
|
|
Check for nothing but consecutive bad results on avalon and reset the FPGA if it happens.
|
|
44736b30
|
2013-05-26T20:59:40
|
|
Make submit_nonce return a bool for whether it's a valid share or not.
|
|
e90cf62a
|
2013-05-26T17:07:27
|
|
Unset the work restart flag sooner in avalon_flush_work to avoid re-entering the flush work function and just reset the queued counter instead of rotating the array to avoid runs of no valid work.
|
|
0a9d7ca6
|
2013-05-26T16:46:43
|
|
Implement an avalon_flush_work function for work restarts.
|
|
3c39d75f
|
2013-05-26T16:26:42
|
|
Shut down avalon read and write threads and idle the miners on closing it.
|
|
c9ca6ca7
|
2013-05-26T16:15:10
|
|
Tighter control over work submissions in avalon allows us to use a smaller array.
|
|
db7c72b8
|
2013-05-26T14:59:05
|
|
Rotate avalon array to reset the queued count before releasing the lock so work will always be available on next pass.
|
|
66e27a10
|
2013-05-26T14:37:45
|
|
Move avalon read thread start till after conditional wait, store idle status in avalon_info and use it to determine whether an error is appropriate or not.
|
|
0763070c
|
2013-05-26T14:29:28
|
|
Wait till the avalon_send_tasks thread has filled the avalon with idle work before starting the avalon_get_results thread.
|
|
7cf154bf
|
2013-05-26T14:23:14
|
|
Use AVA_GETS_OK macro in avalon_read.
|
|
ebf88552
|
2013-05-26T14:18:21
|
|
Do all writes on avalon with a select() timeout to prevent indefinite blocking and loop if less than desired is written.
|
|
596784aa
|
2013-05-26T14:08:21
|
|
Check explicitly that ava_buffer_full equals the macro.
|
|
e9e6ad82
|
2013-05-26T13:58:12
|
|
Send initial reset as an avalon task to remove avalon_write function.
|
|
e27ca544
|
2013-05-26T13:53:02
|
|
avalon_clear_readbuf is no longer required.
|
|
7dc3485f
|
2013-05-26T13:39:42
|
|
Check for 2 stray bytes on avalon reset.
|
|
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.
|
|
6c952105
|
2013-05-26T10:49:42
|
|
usbutils ensure it compiles without stats
|
|
aa9bf2cb
|
2013-05-26T10:33:47
|
|
usbutils include transfer mode in usbstats
|
|
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.
|
|
b1b93054
|
2013-05-26T08:34:06
|
|
usbutils handle bulk_transfer partial writes
|
|
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.
|
|
1bb2cadf
|
2013-05-23T21:11:16
|
|
thread shutdown is different on windows
|
|
ab080fa6
|
2013-05-23T15:50:07
|
|
usbutils make all windows timeouts 999ms
|
|
2baa5b9c
|
2013-05-23T11:45:12
|
|
usb add another Cairnsmore1 USB chip
|
|
6e0f9347
|
2013-05-23T00:39:55
|
|
icarus do the full detect test twice if required
|
|
511bbb05
|
2013-05-22T23:49:08
|
|
CMR usb config guess
|
|
87d994b6
|
2013-05-22T23:22:00
|
|
usb add transfer_read and commented out in icarus
|
|
6a0b48a6
|
2013-05-20T22:37:52
|
|
usbutils allow unrounded control transfers
|
|
0c3f00c5
|
2013-05-20T21:58:04
|
|
icarus ICA initialisation
|
|
685d0ef1
|
2013-05-20T13:41:46
|
|
icarus report err on read failure
|
|
350e7f89
|
2013-05-20T02:59:30
|
|
icarus correct device_id and use device_data for icarus_info
|
|
c9cc7445
|
2013-05-20T02:52:07
|
|
miner.h remove unused device_file and add device_data
|
|
8fe40e98
|
2013-05-20T02:46:58
|
|
miner.h icarus no long uses fd
|
|
56a96b41
|
2013-05-20T00:48:15
|
|
icarus AMU config transfers
|
|
db080ba9
|
2013-05-19T22:13:23
|
|
usbutils force an unknown IDENT for zero
|
|
ddf008f0
|
2013-05-19T22:09:49
|
|
icarus set default options/timing based on device
|
|
a009f042
|
2013-05-19T21:30:16
|
|
Must unlock curses as well in logwin_update.
|
|
01fca3e7
|
2013-05-19T21:28:53
|
|
Create a logwin_update function which mandatorily updates the logwin and use it when input is expected to prevent display refresh delays.
|
|
a4697bed
|
2013-05-19T21:11:45
|
|
icarus report usb write error information
|
|
d06c8f65
|
2013-05-19T19:36:08
|
|
Add name to icarus copyright notice.
|
|
430416da
|
2013-05-19T19:35:26
|
|
Merge branch 'icarus-dev' of github.com:ckolivas/cgminer into icarus-dev
|
|
bbb79706
|
2013-05-19T19:34:12
|
|
Check for *pth dereference on pthread_join
|
|
e43f265a
|
2013-05-19T19:09:13
|
|
usbutils name latency correctly
|
|
1c5c8df6
|
2013-05-19T18:36:02
|
|
Check for restart before buffering more reads in Icarus.
|