driver-bitfury.c


Log

Author Commit Date CI Message
Con Kolivas be51dcfd 2013-11-25T09:55:41 Use correct padding for bxf temperature display.
Con Kolivas ed9a89ef 2013-11-23T09:59:59 Set the bitfury device start times from when we first get valid work.
Con Kolivas 5aac6b74 2013-11-22T23:40:22 Fix stack corruption of zeroing too much in bf1 driver.
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 107b2f73 2013-11-22T21:13:47 Set tv work start time for bxf driver.
Con Kolivas e14b3ea3 2013-11-22T20:50:25 Age the bxf work items over 90 seconds, not the bf1 work items.
Con Kolivas 5df2ae56 2013-11-22T10:40:23 Leave room for temperatures above 100 degrees and pad consistently for bxf statline.
Con Kolivas eae0e76d 2013-11-22T00:03:11 Increase work ageing time to 90 seconds for bxf driver to account for firmware changes.
Con Kolivas 698d677f 2013-11-20T23:09:51 Use the age_queued_work function in the bitfury driver.
Con Kolivas 68d54030 2013-11-16T11:29:18 Add bxf data to api output.
Con Kolivas b9bc5ad2 2013-11-16T10:12:15 Send extra work regularly to the bxf device and parse the needwork command by sending the amount of work it requests.
Con Kolivas 3b3410e3 2013-11-16T09:52:23 Allow messages to have arbitrary offsets in the bxf parser in case we have lingering buffered data.
Con Kolivas 0677ddfe 2013-11-16T09:44:28 Send the maxroll command to the bxf driver and store the value to see if we need to update it.
Con Kolivas faecdca4 2013-11-16T09:15:16 Add sending of flush command to bxf on flush_work
Con Kolivas 667bb493 2013-11-16T09:08:04 Add flush and version commands to bxf start up, flush buffer and try to parse version response string.
Con Kolivas ee4d5a64 2013-11-16T08:36:27 Abstract out bxf recv message.
Con Kolivas e051e1bd 2013-11-16T08:14:38 Abstract out bxf send message to allow us to easily add extra commands.
Con Kolivas dcd6c688 2013-11-15T23:20:14 One more space in bitfury statline.
Con Kolivas 8dfcf1bf 2013-11-15T23:18:15 Expand size of bitfury statline
Con Kolivas 12a2ded6 2013-11-15T22:57:41 Various driver fixes for bitfury devices, including a flag from when first valid work appears.
Con Kolivas a51bde3e 2013-11-15T22:35:10 Look up work results in bxf driver from correct variable.
Con Kolivas 0508610f 2013-11-15T17:43:51 Correct incorrect error code in bxf driver for usb writes and add debugging.
Con Kolivas 3aac6ebd 2013-11-14T15:50:56 Implement a statline showing temperature for bxf
Con Kolivas 5253eb7e 2013-11-14T15:44:21 Add api data for bxf device, sharing the hashrate function with bf1.
Con Kolivas 25dd5fb0 2013-11-14T15:32:49 Count no matching work as a hw error on bxf
Con Kolivas 770cd8e6 2013-11-14T14:13:07 Work id should be hexadecimal in bxf messages.
Con Kolivas e29e84ae 2013-11-14T14:04:54 Add unrecognised string debugging to bxf driver.
Con Kolivas b679337c 2013-11-14T13:57:09 Implement the main scanloop for bxf, trying to prevent it from ntime rolling work if the work protocol does not allow it.
Con Kolivas 8a710a68 2013-11-14T13:21:58 Parse bxf work submits fully, submitting the results.
Con Kolivas 6f8fbd39 2013-11-14T13:01:54 Implement a skeleton parse bxf submit function.
Con Kolivas 5e147c69 2013-11-14T12:49:59 Use the bxf read thread to set the device target and send its first work item.
Con Kolivas 418664ad 2013-11-14T12:39:15 Implement a bxf send work function and set update and restart functions to sending new work since that's the equivalent for that device.
Con Kolivas 977943b3 2013-11-14T12:08:48 Add temperature parsing to bxf driver
Con Kolivas c1c834a6 2013-11-14T11:58:21 Create and destroy a basic bxf read thread.
Con Kolivas 18d1a9d7 2013-11-14T11:35:47 Remove the buffer from bitfury info since it is only used on one pass in the bf1 device.
Con Kolivas 28d93514 2013-11-14T11:33:15 Add a rudimentary bxf detect one function.
Con Kolivas 174b9fd6 2013-11-14T11:27:43 Rename all bf1 specific functions in the bitfury driver, using a switch to choose correct function.
Con Kolivas c2275a81 2013-11-14T11:15:18 Rename bitfury_getinfo to bf1_getinfo since it's unique to bf1 devices.
Con Kolivas 1d0d9fba 2013-11-14T11:11:01 Separate out the bf1 reset from bitfury reset.
Con Kolivas e7758fcd 2013-11-14T11:05:24 Store the bitfury identity in the info struct.
Con Kolivas 67c3826b 2013-11-14T10:37:23 Uniquely identify the BF1 and BXF bitfury devices.
Con Kolivas 0b64d438 2013-11-10T18:13:26 Fine tune the reading of results in bitfury driver to not lose any across work restarts or corrupt due to store results not parsed during restart.
Con Kolivas 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.
Con Kolivas 8fb7a0d1 2013-11-04T08:45:09 Always use a usb read buffer instead of having to explicitly enable it.
Con Kolivas f29f6121 2013-10-25T14:35:56 Merge branch 'master' into hashfast
Con Kolivas eb5b6114 2013-10-24T22:26:48 Use cancellable transfers on bitfury device.
Con Kolivas 5ee279ca 2013-10-21T13:30:17 Add atmel init sequence likely to be required on hashfast for windows to work.
Con Kolivas 835ad824 2013-10-12T09:32:07 Convert the bitfury driver to use the hash_driver_work version of hash_work.
Con Kolivas b30ae4a2 2013-10-09T23:06:46 Use fractional hashrate return values in bitfury_scanhash to minimise the number of times we return 0 based on hashrate so far to further damp out displayed hashrate.
Con Kolivas bdbe9dd5 2013-10-08T23:26:23 Make the bf1 getinfo size a macro
Con Kolivas e05bfddc 2013-10-08T23:18:57 Failing to add_cgpu in bitfury should be a terminal failure.
Con Kolivas 078f7f47 2013-10-08T23:15:15 Check return values when attempting to open a BF1 device and set the msg size as a macro.
Con Kolivas 8037eb15 2013-10-07T12:00:49 Change second initialise message on bitfury verbose mode.
Con Kolivas 03e80514 2013-10-07T12:00:49 Change second initialise message on bitfury verbose mode.
Con Kolivas 87ddfcc8 2013-09-30T09:27:44 Disable bitfury device thread on it disappearing.
Con Kolivas 0a559984 2013-09-29T23:44:45 Add magic init sequence required on BF1 devices to get them mining on windows.
ckolivas e279bc1f 2013-09-29T02:20:38 Iterate over the bitfury offsets in order of decreasing likelihood.
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.
Con Kolivas 8d133706 2013-09-27T15:04:07 Remove unnecessary steps in communicating with BF1 and just use USB interface 1.
Con Kolivas ce16bd2b 2013-09-27T12:38:02 Remove magic control sequences on open/close on BF1 and just flush the read buffers.
Con Kolivas b994a4c6 2013-09-27T11:25:13 Check return codes in getinfo and reset and fail as needed in BF1.
Con Kolivas 703724a3 2013-09-27T11:20:03 Check return code for bitfury_open and release resources properly on failed initialisation.
Con Kolivas 59b33c1a 2013-09-27T11:13:38 Abstract out flushing of interrupt reads in BF1 devices.
Con Kolivas 93d4c09c 2013-09-27T10:54:24 Perform interrupt read after close message on BF1 as per serial close.
Con Kolivas 1f74b2cd 2013-09-27T10:50:33 Perform interrupt read flush as per serial open on BF1 devices.
Con Kolivas 7deaa91b 2013-09-27T10:36:23 Add information for 2nd USB interface on BF1 devices and choose interface 1 for bulk transfers.
Con Kolivas 4f6c7ee0 2013-09-27T09:39:26 Name remainder of BFU usb commands used.
Con Kolivas 7ae8ee8d 2013-09-26T21:29:30 Merge commit 'b606a60349fe2f1c1c56a1fec833ec849b798676' into redfury Conflicts: driver-bitfury.c
Con Kolivas b606a603 2013-09-26T21:20:59 Use submit_tested_work in bitfury driver to avoid unnecessarily re-testing the work for validity.
Con Kolivas fafd8631 2013-09-26T16:24:49 Use an array of offsets when checking nonces in bitfury_checkresults
Con Kolivas 44b9cf50 2013-09-26T12:11:25 Limit the duration we wait for reads in BF1 based on time already elapsed to account for other delays such as work restart messages or out of work.
Con Kolivas 9dcd4e70 2013-09-26T11:48:38 Minimise size of serial string we copy in BF1 stats to avoid overflow.
Con Kolivas ce285ba6 2013-09-26T11:46:09 Implement basic API stats for BF1 and increase array of results to check for the rare straggling result.
Con Kolivas 75333c53 2013-09-26T09:41:43 Space debug output for bf1 to separate from numerals.
Con Kolivas 1b40d902 2013-09-26T07:37:19 Abstract out the bitfury open close and reset functions and use them on reinit.
Con Kolivas 435065c8 2013-09-26T07:24:09 Rename BF1 devices BF1
Con Kolivas f97e1ad2 2013-09-25T23:54:37 Check for work restart, breaking out early after usb reads in BF1.
Con Kolivas ff4c4779 2013-09-25T23:33:10 Do not lose the first sets of results from BF1.
Con Kolivas 72c77980 2013-09-25T23:30:29 There is no point checking for results from the next round of work on BF1.
Con Kolivas 8c0ab5f3 2013-09-25T23:18:17 Last result returned by BF1 is an end of results marker so ignore it.
Con Kolivas 7a9669ec 2013-09-25T22:43:39 Remove unused code by bitfury driver since current driver uses serialised scanhash.
Con Kolivas 5a8ac9fd 2013-09-25T22:22:05 Meter out return of estimated hashes in BF1 to smooth out visible hashrate.
Con Kolivas 4507a380 2013-09-25T22:12:34 Optimise inner scanhash loop for bf1.
Con Kolivas c65fd778 2013-09-25T20:46:42 Add yet another backup work for triple buffering of work in bf1 to account for extra late results returned and don't check nonce offsets which appear to never return.
Con Kolivas 55c6e55c 2013-09-25T16:31:37 Name the work request and result usb commands for BF1
Con Kolivas edcea78a 2013-09-25T16:28:34 Define a mandatory upper limit to waiting for reset and data on BF1 based on full nonce duration.
Con Kolivas 759e82bb 2013-09-25T15:30:54 Add in first draft for a serialised work model sending/receiving data for BF1 devices.
Con Kolivas f6e475d4 2013-09-25T00:23:50 Add complete close sequence to bf1 as it happens on serial.
Con Kolivas 4fb802fc 2013-09-24T23:30:01 Provide a bitfury identify function for bf1.
Con Kolivas 977a7b75 2013-09-24T22:58:10 Reliably extract BF1 information at startup and reset the device.
Con Kolivas 54ac3555 2013-09-24T22:28:56 Add commands for getting BF1 bitfury info
Con Kolivas 9a3684b8 2013-09-24T22:16:31 Add magic BF1 bitfury open and close control sequences.
Con Kolivas 2ab023f3 2013-09-24T21:55:47 Add BF1 detection code to bitfury driver.
Con Kolivas 68a7e210 2013-09-24T20:59:10 Create basic placeholders for bitfury driver code.