|
278f157e
|
2013-11-10T09:12:39
|
|
Merge remote-tracking branch 'upstream/master' into new_protocol
|
|
b0f78ca9
|
2013-11-10T09:11:44
|
|
Add a per-chip info line printed from drillbit devices every 30 seconds (success, error & timeout count)
|
|
be8b4f97
|
2013-11-09T17:25:18
|
|
Use the main hashlist to store work done in the bitfury driver and remove work from the list by time, thereby fixing the duplicates at startup. Count hardware errors for when no match occurs.
|
|
a02dc6f4
|
2013-11-07T11:01:22
|
|
Add a get and queue helper work function.
|
|
9f74e057
|
2013-11-09T08:23:23
|
|
Use libusb's own zero length packet support unless we have to emulate it on windows since only libusb knows for sure if it's needed.
|
|
56997327
|
2013-11-09T08:10:55
|
|
Unlock the avalon qlock while sending tasks to not hold the lock for an extended period.
|
|
74f3f9d6
|
2013-11-09T08:00:36
|
|
Sleep in avalon send task on return to the function to allow other code to work during the sleep period.
|
|
8e5dc21e
|
2013-11-09T01:46:50
|
|
Send zero length packets when terminating a usb write aligned to maxpacketsize.
|
|
c3f13369
|
2013-11-08T18:15:08
|
|
Do the driver flush in avalon code lockless since it can lead to deadlocks.
|
|
c57b1519
|
2013-11-08T17:28:10
|
|
Reset the work_restart bool after the scanwork loop in case the driver flushes work synchronously.
|
|
3a71ade6
|
2013-11-08T14:23:18
|
|
Only check for the stratum clean message if we have had a valid message.
|
|
72424388
|
2013-11-08T13:32:55
|
|
Get rid of the stage thread since all work can be asynchronously added now via hash_push anyway.
|
|
6daa5303
|
2013-11-08T09:31:01
|
|
Remove the now incorrect faq entry regarding scrypt difficulty.
|
|
38fc4986
|
2013-11-07T17:29:39
|
|
Added dependency one liner example that'll save time to red hat users trying to build after a fresh checkout from git
|
|
0bfac827
|
2013-11-07T13:09:19
|
|
Merge pull request #514 from gubatron/readme-redhat-building-dependencies
Added dependency one liner example that'll save time to red hat users tr...
|
|
176747fb
|
2013-11-07T23:22:11
|
|
Check for fatal read errors and break out of the read loop in avalon.
|
|
79196e6a
|
2013-11-07T22:34:05
|
|
Send errors are basically fatal in avalon driver so break out of the send tasks loop.
|
|
79022974
|
2013-11-07T22:29:33
|
|
Make the avalon driver return -1 for hash count when usb fails, allowing the main loop code to send it the shutdown flag.
|
|
34f23f69
|
2013-11-07T22:27:21
|
|
Break out of the hash work loops when a failure is detected instead of dropping into mt disable.
|
|
2dd7d2f6
|
2013-11-07T22:11:08
|
|
Use usbutils' own ftdi parser for avalon and the ftdir's own latency for managing timeouts since we can wait on reads with completely asynchronous reads+writes.
|
|
8cade649
|
2013-11-07T07:10:15
|
|
Give avalon a rest between submissions.
|
|
093a6302
|
2013-11-07T00:31:44
|
|
Decrease the avalon read timeout to less than the time it takes to fill the tiny 64 byte buffer.
|
|
f3d406ec
|
2013-11-06T22:22:43
|
|
Use usbutils' own cps function for slowing rate of usb writes on avalon.
|
|
8416a4db
|
2013-11-06T10:22:38
|
|
Fix build for no libcurl
|
|
652044d9
|
2013-11-06T10:01:15
|
|
Check length before submitting sync transfers
|
|
829f0687
|
2013-11-06T00:26:12
|
|
Bump version to 3.7.2
|
|
5d7c99f3
|
2013-11-06T00:24:16
|
|
Revert "Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless."
This reverts commit 3dcae53e38021a61c10de1414195926c339d1c89.
|
|
04852083
|
2013-11-05T22:07:26
|
|
Bump version to 3.7.1
|
|
528eadb7
|
2013-11-05T21:59:49
|
|
Update NEWS
|
|
3dcae53e
|
2013-11-05T21:56:01
|
|
Return ETIMEDOUT regardless if we fail in cgsem_mswait since we may be waiting on it on shutdown and the return response is harmless.
|
|
82a97a04
|
2013-11-05T21:27:11
|
|
Avalon doesn't like losing its device data even after it's been unplugged.
|
|
31bbaa14
|
2013-11-05T21:21:57
|
|
Don't free the cgpu data on shutting down avalon driver.
|
|
ce196049
|
2013-11-05T21:19:48
|
|
Clean up completely on avalon shutdown.
|
|
a4c96d75
|
2013-11-05T21:09:08
|
|
Use cgsem timed waits in avalon driver to not miss any queued wake ups to account for async messages coming during a flush work.
|
|
1e49c432
|
2013-11-05T19:55:45
|
|
Add serialization routines (finally hit portability issues copying packed structs onto the wire!!)
|
|
7011a7a0
|
2013-11-05T19:20:38
|
|
Statline before is too long on icarus that doesn't have monitoring.
|
|
b1be5c6d
|
2013-11-05T19:18:20
|
|
Different windows+usb combinations respond with varying levels of reliability wrt timeouts so use a nominal extra 40ms before cancelling transfers that fail to time out on their own.
|
|
21f18956
|
2013-11-05T19:11:20
|
|
Revert "Use no cancel transfer functions on windows in callback_wait"
This reverts commit 8f6acad8ec11fa68e31447e4de9e2ce49c2bf16a.
|
|
757fcb3d
|
2013-11-05T17:15:56
|
|
Do all hotplug_process under the write mining_thr_lock
|
|
2489b2ae
|
2013-11-05T16:54:29
|
|
Fix for opt_worktime on big endian machines.
|
|
463e366c
|
2013-11-05T16:53:06
|
|
Correct set_blockdiff for big endian machines.
|
|
043e9d9b
|
2013-11-05T16:20:19
|
|
Make sure cgpu exists in the restart threads loop in cases of hotplug etc.
|
|
6bc691ad
|
2013-11-05T15:55:19
|
|
Treat usb write timeout errors as unrecoverable.
|
|
42b3cf19
|
2013-11-05T15:46:07
|
|
Transfer errors are filtered out in usbutils now so no need to look for them in NODEV checks.
|
|
2e11a504
|
2013-11-05T13:55:56
|
|
Remove now unused entries from struct cg_usb_device
|
|
e692cd08
|
2013-11-05T13:55:06
|
|
Do not double up with checking for end of timeout measurements in usb read/write.
|
|
8f6acad8
|
2013-11-04T12:01:58
|
|
Use no cancel transfer functions on windows in callback_wait
|
|
c030439d
|
2013-11-05T12:46:34
|
|
Do get_work in fill_queue without holding other locks.
|
|
4a620cce
|
2013-11-05T11:46:45
|
|
Initialise usb after all the locks and conditionals are initialised.
|
|
f066ca68
|
2013-11-05T10:19:11
|
|
Merge branch 'master' of github.com:ckolivas/cgminer into new_protocol
Conflicts:
configure.ac
miner.h
usbutils.c
usbutils.h
|
|
aa993897
|
2013-11-05T09:08:52
|
|
Use only a trylock in flush queue to prevent deadlocks.
|
|
f4cf0939
|
2013-11-05T08:36:54
|
|
Add a wr_trylock wrapper for pthread rw lock write trylock.
|
|
251e1a98
|
2013-11-05T08:20:04
|
|
Give AMU a much longer timeout on windows than other icarus devices.
|
|
609ca929
|
2013-11-05T08:03:24
|
|
Scale diff for scrypt when testing for block solves.
|
|
c5b10a6c
|
2013-11-04T20:57:47
|
|
Fix for non curses build.
|
|
e503fadb
|
2013-11-04T19:29:29
|
|
Bump version to 3.7.0
|
|
87f1a3fd
|
2013-11-04T19:28:56
|
|
README updates.
|
|
e6e39ab8
|
2013-11-04T18:16:30
|
|
Update NEWS
|
|
8b38d7fe
|
2013-11-04T16:53:03
|
|
Use WRITEIOERR macro check for all usb writes.
|
|
dbfb4a29
|
2013-11-04T14:42:54
|
|
Add capacity for command line --drillbit-options (modelled on klondike driver)
|
|
453458d2
|
2013-11-04T11:23:30
|
|
Fix bug in usb_read_fixed_size buffering
|
|
a46e2ebd
|
2013-11-04T10:02:58
|
|
Time out properly when waiting for fixed-size responses
|
|
38164d63
|
2013-11-04T08:54:31
|
|
Merge branch 'icarushit'
|
|
8fb7a0d1
|
2013-11-04T08:45:09
|
|
Always use a usb read buffer instead of having to explicitly enable it.
|
|
e3ed101c
|
2013-11-03T23:03:43
|
|
Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
|
|
6c2a8d8b
|
2013-11-03T23:03:43
|
|
Force unlocking of the console lock on restart to avoid corrupting the console state when we finally quit.
|
|
c9b54f15
|
2013-11-03T22:36:16
|
|
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
|
|
a077c9f9
|
2013-11-03T22:29:29
|
|
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
|
|
3f9ccc1b
|
2013-11-03T22:36:16
|
|
Never wait indefinitely for a pthread conditional in the hash_pop loop in case the work scheduler misses the last wakeup.
|
|
31df767c
|
2013-11-03T22:29:29
|
|
Make hash_pop signal the work scheduler each time it waits on the conditional that it should look for more work.
|
|
310aa754
|
2013-11-03T21:59:34
|
|
Discriminate between libusb transfer errors and regular libusb errors and make sure to capture them all.
|
|
d1683fe6
|
2013-11-03T21:01:50
|
|
Always read a full sized transfer for bulk reads.
|
|
fc80e2fe
|
2013-11-03T20:31:04
|
|
Deprecate preferred packet size functions in usbutils since they're unhelpful.
|
|
ea122100
|
2013-11-03T20:24:34
|
|
Why are we reading extra again in usb read when buffering is enabled? Don't do that.
|
|
38d9c24e
|
2013-11-03T20:16:45
|
|
Copy known transferred amount back to buffer for usb reads instead of requested length.
|
|
b5dfb8f0
|
2013-11-03T20:15:41
|
|
Ignore preferred packet size.
|
|
0cceaccf
|
2013-11-03T19:49:00
|
|
Treat timeout errors on usb writes as IO errors.
|
|
dfba30b9
|
2013-11-03T19:41:56
|
|
Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
|
|
95797821
|
2013-11-03T19:15:32
|
|
Add more debugging info for when usb details don't match.
|
|
73f6a570
|
2013-11-03T09:25:28
|
|
Look for timeout overruns in usb read/write.
|
|
ccb74239
|
2013-11-03T09:23:45
|
|
Use an int for usb_read/write to identify overruns.
|
|
1f227462
|
2013-11-03T09:04:15
|
|
Use the callback timeout as a safety mechanism only on windows.
|
|
4c0b6438
|
2013-11-02T12:29:08
|
|
Instead of using complicated sleeps to emulate characters per second on usb writes, submit only as many characters as can be transferred per usb poll of 1ms, and use timeouts in bulk transfers, cancelling transfers only as a failsafe.
|
|
efc605ff
|
2013-11-03T19:41:56
|
|
Ignore iManufacturer from bitfury devices to support bluefury as well as redfury.
|
|
ef0b7d3b
|
2013-11-03T19:15:32
|
|
Add more debugging info for when usb details don't match.
|
|
81940671
|
2013-11-03T01:22:13
|
|
Remove discarded work from quota used.
|
|
c3854378
|
2013-11-03T01:01:24
|
|
Display works completed in summary and API data.
|
|
8e1ec8bd
|
2013-11-03T00:52:15
|
|
Store how many work items are worked on per pool.
|
|
ab1e9404
|
2013-11-03T00:47:43
|
|
Make each pool store its on reference for what the most current block is and fine tune management of block change in shared pool failover strategies using the information.
|
|
448b1fae
|
2013-11-02T22:25:45
|
|
Rationalise use of current_hash to a single hex string the length of the previous block and display only the first non zero hex chars of the block in the status window.
|
|
b7648621
|
2013-11-02T21:54:51
|
|
Update uthash to latest.
|
|
e6a50684
|
2013-11-02T21:09:37
|
|
show_hash doesn't know the size of the string so hard code the max size.
|
|
57d6a6f6
|
2013-11-02T20:56:29
|
|
Remove as many initial zeroes as exist on share display, abstracting out a hash show function to use across different submission mechanisms.
|
|
6e63eebf
|
2013-11-02T12:32:11
|
|
Add missing endian swap functions for 64bits.
|
|
876a8302
|
2013-11-02T11:20:26
|
|
Sanity check for absurd target setting and divide by zero.
|
|
21bdcdd6
|
2013-11-02T11:17:36
|
|
Abstract out conversion of a 256 bit endian number to a double, correcting errors and use it for determining any magnitude share diff.
|
|
759bd39f
|
2013-11-02T11:04:06
|
|
Avoid the extra generation of a byte flipped hash2 in struct work and directly use the LE work hash.
|
|
e95b42ea
|
2013-11-02T08:46:13
|
|
Add a sanity check to avoid divide by zero crashes in set_target
|
|
8abe9d4e
|
2013-11-01T23:30:29
|
|
Calculate diff from target accurately for all 256 bits.
|
|
8d61ee24
|
2013-11-01T23:08:49
|
|
Set a true 256bit binary target based on any diff value in set_target()
|