driver-icarus.c


Log

Author Commit Date CI Message
Con Kolivas a630532a 2014-02-08T08:08:28 Adjust antminer U1 timing according to command line frequency set, fixing the need for icarus timing on the command line.
Con Kolivas be961cd1 2014-02-07T14:39:05 Add support for ANU overclocking.
Jim Jagielski 0d3a3a9c 2014-02-03T08:13:14 These may not be longs (eg: OSX)... fo a safe cast to ensure.
Con Kolivas d2e6648c 2014-01-29T22:21:55 Add support for AntminerU1 devices with the icarus driver.
Con Kolivas 0da9c87e 2013-12-01T15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
Con Kolivas 3bc36eb0 2013-12-01T15:18:16 Deprecate the usb usecps function and just split up transfers equal to the maxpacketsize on usb1.1 devices.
Con Kolivas 0e60ca30 2013-11-22T23:21:44 Make usb_detect return the cgpu associated with it to check if it succeeds to decide on whether to increment the device count or not.
Con Kolivas 2b621b6b 2013-11-09T11:19:12 Remove GPU mining code.
Con Kolivas 7011a7a0 2013-11-05T19:20:38 Statline before is too long on icarus that doesn't have monitoring.
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
Con Kolivas fc80e2fe 2013-11-03T20:31:04 Deprecate preferred packet size functions in usbutils since they're unhelpful.
Con Kolivas e22035f0 2013-10-25T05:10:08 Check for presence of thr in icarus get nonce for startup nonce testing to work.
Con Kolivas f8fdff4a 2013-10-25T04:25:32 Use cancellable usb transfers in the icarus driver to avoid having to loop and poll when waiting for a response and to speed up work restart response time.
ckolivas 330e6428 2013-10-15T10:03:03 Convert icarus driver to hash_driver_work model.
ckolivas 58c5ebba 2013-10-15T10:03:03 Convert icarus driver to hash_driver_work model.
Kano 39ac69c1 2013-10-09T14:09:47 CMR allow sending flash and clock commands
Kano 680a1aea 2013-10-04T00:10:10 Icarus - use a data structure for I/O rather than magic numbers
Kano 5c517803 2013-10-04T02:01:49 Icarus CMR2 detect FPGA setup
Kano d3033520 2013-10-04T00:10:10 Icarus - use a data structure for I/O rather than magic numbers
Kano c7fb4aad 2013-09-29T17:21:32 Icarus remove unneeded opt_debug tests due to applog being a macro
Kano ef62b281 2013-09-29T17:14:10 Icarus - CMR shouldn't wait the full timeout due to handle sharing
ckolivas 6d747123 2013-09-28T15:11:06 Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
ckolivas 741b7430 2013-09-28T14:00:18 Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
ckolivas 88751974 2013-09-28T10:25:48 Create a macro list of drivers to enable easier addition of further drivers.
Kano f9476743 2013-09-27T18:48:41 icarus ensure all cmr interfaces are initialised properly
Kano 36d86534 2013-09-26T20:58:29 usbutils - interfaces must all be on one handle - ep implies the interface
Kano d17f0e7a 2013-09-22T00:13:35 icarus support CMR with no extensions
Kano a6e44cb3 2013-08-31T15:40:23 ICA optional limit timing with short=N or long=N
ckolivas dbac7f53 2013-07-21T15:53:36 Revert "Sleep after sending icarus work to emulate working at 115200 baud." This reverts commit 4aaeb510c82f93f33120cd021afcc17d3b12234f. There is a baud emulation function now.
Kano ad1572f7 2013-07-06T20:17:17 size check get_datestamp/get_timestamp and remove unused cgpu->init
Kano 9ecef180 2013-06-26T12:53:05 usbutils/icarus include more locking to usbdev access
Kano 56767585 2013-06-26T11:50:56 Icarus turn on cps delays by default
Kano 527c6ee2 2013-06-25T21:35:21 usbutils optional cps IO control - but not enabled
Con Kolivas 4e155fd6 2013-06-22T22:33:10 Hard code the preferred packet size for AMU, BLT and ICA.
Kano cbf3a79d 2013-06-22T20:11:45 Icarus enable the read buffer for the detect nonce
Kano 45fda135 2013-06-21T18:57:32 undo icarus show errno, put it as debug in ubsutils
Kano 0df870b3 2013-06-21T18:34:22 icarus add errno to rerr and werr
Con Kolivas 4aaeb510 2013-06-21T18:22:08 Sleep after sending icarus work to emulate working at 115200 baud.
Kano 7eba9634 2013-06-15T22:03:56 remove varargs from logging/quit/in general as much as possible
Kano 65e21f18 2013-06-12T22:05:35 Icarus driver elaspsed timeout shouldn't be just USB I/O
Kano b8b137ae 2013-06-10T15:59:02 USB make device_path handled by usbutils
Kano 749fa78d 2013-06-10T15:39:44 tidy up free in device detect functions
Kano 9287ee90 2013-06-10T15:22:37 USB control creation and free of cgpu
Kano 8478ee44 2013-06-07T07:02:55 AMU usbstatus correct name from enable UART
Kano a7425c6c 2013-06-07T01:52:51 Icarus AMU enable the UART
Kano 161165dc 2013-06-05T12:04:57 Icarus use buffered USB reading
Kano 6aed9a51 2013-06-05T01:49:48 bflsc & icarus use usb_ftdi_set_latency
Kano 1c64f3b6 2013-06-04T13:17:57 usb set FTDI latency higher to minimise status bytes
Kano 77d040cb 2013-05-31T01:34:23 Icarus add delays during intialisation
Con Kolivas 25779924 2013-05-30T17:55:24 Fix mingw build warnings in icarus driver.
Kano 05cbbd99 2013-05-28T23:56:30 CMR handle baud options
Kano df8566a7 2013-05-28T22:44:03 usb/ica add more (incomplete) CMR settings
Kano 64b6b7cb 2013-05-27T21:39:10 Icarus report data direction with comms errors
Kano 6e0f9347 2013-05-23T00:39:55 icarus do the full detect test twice if required
Kano 511bbb05 2013-05-22T23:49:08 CMR usb config guess
Kano 87d994b6 2013-05-22T23:22:00 usb add transfer_read and commented out in icarus
Kano 0c3f00c5 2013-05-20T21:58:04 icarus ICA initialisation
Kano 685d0ef1 2013-05-20T13:41:46 icarus report err on read failure
Kano 350e7f89 2013-05-20T02:59:30 icarus correct device_id and use device_data for icarus_info
Kano 56a96b41 2013-05-20T00:48:15 icarus AMU config transfers
Kano ddf008f0 2013-05-19T22:09:49 icarus set default options/timing based on device
Kano a4697bed 2013-05-19T21:11:45 icarus report usb write error information
Con Kolivas d06c8f65 2013-05-19T19:36:08 Add name to icarus copyright notice.
Kano e43f265a 2013-05-19T19:09:13 usbutils name latency correctly
Con Kolivas 1c5c8df6 2013-05-19T18:36:02 Check for restart before buffering more reads in Icarus.
Con Kolivas 4ba6cba8 2013-05-19T18:34:35 Icarus should timeout if it's greater than the timeout duration even if it's receiving data.
Con Kolivas f4843877 2013-05-19T18:28:04 We should check for amount buffered in icarus get_nonce against amount already received.
Con Kolivas 41e6f48f 2013-05-19T14:02:25 Fix first read timeout on icarus get nonce.
Con Kolivas 9ecacb2c 2013-05-19T14:01:55 Retry icarus_initialise if the first read attempt fails.
Kano 5e588d87 2013-05-18T01:56:00 icarus test nodev everywhere
Kano 250e4353 2013-05-18T01:39:56 usbutils/icarus separate FTDI transfer values and more debug
Kano 9f46aa90 2013-05-17T15:14:48 icarus->USB v0.1 incomplete - missing initialise()
Kano 95fe655f 2013-05-02T23:26:02 ica correct applog typing
Con Kolivas 79df6b9f 2013-04-21T19:18:15 Use cgtime in driver-icarus.c
James Z.M. Gao c9ae7150 2013-04-04T22:59:10 Compile CPU mining for win32 and win64
Kano 7abf30b2 2013-02-03T22:51:05 distinguish between drv and it's id enum now called drv_id
Kano d0577919 2013-01-22T21:58:33 Capitalise driver long names used in applog messages
Kano 94476100 2013-01-17T19:55:08 ICA use drv->name
Kano a344deb6 2013-01-05T23:47:26 rename device_api -> device_drv and all related api -> drv and add a device_drv->drv enum for identifying which driver each is
Paul Sheppard 9f74e650 2012-11-04T20:13:49 Tidy up device error counts
Con Kolivas 99adf397 2012-10-16T19:47:31 Failure to calloc in bin2hex is a fatal failure always so just check for that failure within the function and abort, simplifying the rest of the code.
Con Kolivas 0a902071 2012-10-07T13:22:17 Merge branch 'master' into stratum
Con Kolivas c113534f 2012-10-04T15:35:28 Begin support for mingw stratum build. Conflicts: configure.ac
Kano c2b1504e 2012-09-30T17:44:36 Icarus USB write failure is also a comms error
Kano aaaa8a52 2012-09-30T17:37:01 Icarus catch more USB errors and close/reopen the port
Kano ad7aa2b3 2012-09-16T11:42:51 FPGA - allow long or short device names in detect code + style police
Kano fe7a967d 2012-09-15T00:39:54 Icarus - ignore hardware errors in timing mode
Kano b8b9c468 2012-08-02T07:58:05 ICA default fpga_count to work_division if specified
Kano e067be42 2012-08-01T22:50:30 ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards
ckolivas 5c7e0308 2012-07-11T22:59:58 Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value.
Luke Dashjr d4af2d05 2012-07-06T02:39:32 Turn work_restart array into a bool in thr_info
Kano 82b14c4d 2012-06-30T23:48:35 api.c data structure - remove unnecessary driver-icarus.c comments
Kano d8abfb71 2012-06-30T15:58:31 api.c data structure - tested + updated get_api_stats/driver-icarus.c
Kano 3763cb0b 2012-06-25T23:16:07 icarus - must allows allocate memory for icarus_info
Con Kolivas e53c033a 2012-06-25T20:12:55 Icarus needs not +2 for realloc, just +1.
Con Kolivas 5cf4b7c4 2012-06-25T16:59:29 Make the devices array a dynamically allocated array of pointers to allow unlimited devices.
Kano 4dee0d04 2012-06-05T13:30:40 FPGA - allow device detect override without an open failure
Luke Dashjr d3fa59d7 2012-06-05T02:17:09 Abstract generally useful FPGA code into fpgautils.c
Paul Sheppard 820d662c 2012-06-10T23:11:59 Removed idle mode. Added watchdog thread BFL temperature monitoring.
Paul Sheppard ebeaf15f 2012-06-09T19:30:32 Added idle mode Idle is only set by pgadisable, so GPU/CPU is unaffected. For Icarus/Ztex, in scanhash the thread is immediately set disabled then returns.