driver-bitfury.c


Log

Author Commit Date CI Message
Con Kolivas 083e3615 2014-04-14T20:33:15 Adjust the bxf sleep time according to the number of chips detected
Con Kolivas 29998c2c 2014-04-14T20:15:41 Fix off by one error in bxf chip count when adjusting device size
Con Kolivas c72d7a78 2014-04-10T18:22:19 Call any BXF device with 3-6 chips reported HXF
Con Kolivas cf4e2841 2014-04-05T10:18:53 Recognise variations on BXF based on chip value returned in responses
Con Kolivas c0627c6a 2014-04-03T20:40:03 Allow an arbitrary number of chips in the BXF driver, showing results from each chip in the API and identify the hexfury, naming it HXF
Con Kolivas 96a5c526 2014-04-03T11:09:33 Make the bxf bits configurable on the command line
Con Kolivas 68ddec22 2014-03-28T17:16:33 Display BF1 serial number as its unique identifier
Con Kolivas 139dac06 2014-03-06T11:26:24 Make bxm bits configurable.
Con Kolivas 2c2e1348 2014-03-05T22:33:54 Do a shutdown routine on bxm close.
Con Kolivas 0b014f78 2014-03-05T22:27:13 Provide support for 2 chips in libbitfury sendhashdata and enable the 2nd chip on BXM devices.
Con Kolivas 1a838240 2014-03-02T23:09:11 Generalise more of libbitfury for more reuse in both nf1 and bxm drivers.
Con Kolivas b619b207 2014-03-02T22:58:54 Remove redundant init components of bxm driver.
Con Kolivas 9033a183 2014-03-02T22:52:03 Set default osc6 bits on bxm to 50
Con Kolivas d894a6d4 2014-03-02T22:46:54 Enable the transaction translator emulator for bxm devices and use a dummy spi tx the size of a normal payload.
Con Kolivas 45e79e8c 2014-03-02T22:35:21 Add bxm scan function and check spi txrx returns only as much as sent.
Con Kolivas 61a04056 2014-03-02T16:21:59 Add init sequence to bxm detect one.
Con Kolivas 5107a133 2014-03-02T16:04:15 Add a bxm specific txrx function for spi transfers.
Con Kolivas b33b6171 2014-03-02T15:32:15 Add bxm close to bitfury shutdown switch.
Con Kolivas a7549891 2014-03-02T15:30:46 Add reset/purge/cshigh/low sequence to bxm init
Con Kolivas 4a6c637c 2014-03-02T14:21:10 Add bitmode init to bxm open sequence.
Con Kolivas 917507ec 2014-03-02T13:59:59 Add initial bxm opening sequence for detect one.
Con Kolivas c76647f2 2014-02-23T16:45:04 Use the share_work_tdiff function in the driver watchdogs.
Con Kolivas 257fe00a 2014-02-18T22:19:45 Move driver statline padding to cgminer.c, expanding width of maximum displayable statistics and window width to add more info.
Con Kolivas fc3f1100 2014-02-15T08:49:41 Detect non-responsive bitfury devices and try a usb reset on them before killing their instances off after 2 minutes of no activity.
Con Kolivas 5cda70e7 2014-02-14T08:09:17 Update various copyright dates
Con Kolivas bac9d6f3 2014-02-13T21:13:20 Reuse the cgpu temp entry for avalon and bitfury devices, changing avalon to a damped value.
Con Kolivas d73ac707 2014-02-08T21:04:18 Remove bitfury devices from the usb list on shutdown in case they have stopped responding but have not had a fatal usb error.
Con Kolivas b535bc08 2014-01-26T22:23:31 Set info work to null after it is freed in nf1 after a restart to prevent double free later.
Con Kolivas 8d7d764f 2014-01-23T23:19:19 Change the default clockspeed bits on nanofury devices to 50 and add a command line option to allow it to be changed.
Con Kolivas 22a855c1 2014-01-09T16:06:46 Set the mcp2210 transfer setting only when it changes.
Con Kolivas a7f89391 2014-01-09T15:49:12 Only perform spi reset on init, not with each transaction.
Con Kolivas 8c603e47 2014-01-09T15:33:24 Remove spi_detect_bitfury at nanofury startup and fix incorrect refresh time.
Con Kolivas e8aca49b 2014-01-09T15:26:34 Use a simple serialised work model for nanofury
Con Kolivas e97aa32c 2014-01-09T15:20:40 Use bitfury_checkresults to avoid hashing results twice in nanofury.
Con Kolivas 3cb878d3 2014-01-09T14:36:55 Export bitfury_checkresults in libbitfury
Con Kolivas 27f64f31 2014-01-09T14:34:56 Pass extra parameters for later use in libbitfury_sendHashData
Con Kolivas b98f699b 2014-01-09T14:19:46 Avoid double handling bswap of the nonce value in nanofury
Con Kolivas 6ccf2fe7 2014-01-09T12:49:33 Age work in nf1_scan to avoid risk of losing a work item and leaking memory.
Con Kolivas 880bd681 2014-01-09T12:27:14 Default bitrate on nanofury should be 200kHz
Con Kolivas 8de7af30 2014-01-09T08:20:26 Only update info work in nanofury driver when it's empty.
Con Kolivas 8f97b209 2014-01-06T17:31:21 Cancel any spi transfers on nf1 close
Con Kolivas 8304338c 2014-01-06T17:19:23 Add bitfury detection loop to nanofury startup
Con Kolivas cf08b96a 2014-01-06T17:03:23 Move spi init code to libbitfury
Con Kolivas 639e7694 2014-01-06T13:02:25 Remove inappropriate extra config reg in nanofury setup.
Con Kolivas 803a18da 2014-01-06T09:22:07 Set value of gpio pins to low on closing nanofury.
Con Kolivas fc673c9f 2014-01-06T09:18:38 Fix more init sequence for nanofury.
Con Kolivas 3d260657 2014-01-05T23:26:13 Add basic initialisation for nf1 devices
Con Kolivas 3105b3ae 2014-01-05T23:16:39 Add basic nf1_scan function.
Con Kolivas bed6a9c4 2014-01-05T23:00:45 Basic import of libbitfury functions from nanofury branch
Con Kolivas c31e75b7 2014-01-05T22:41:10 Import functions from nanofury fork for libbitfury
Con Kolivas aa1c5daa 2014-01-05T18:13:05 Get pin value after an nf1 spi reset.
Con Kolivas 05b3e2d0 2014-01-05T17:57:52 Make sure what we send in the buffer doesn't change during spi reset for nanofury
Con Kolivas 7e4f6866 2014-01-05T17:05:11 Remove all standalone gpio setting change functions in mcp2210 and just use the one global setting function.
Con Kolivas c049387f 2014-01-05T16:55:05 Set gpio values in the one function with all values for nanofury.
Con Kolivas 763612af 2014-01-05T09:12:19 Set all pin designations and directions in one call for nanofury and don't bother storing their values in the info struct.
Con Kolivas 1601f660 2014-01-05T08:53:09 Set all nanofury pin designations in one call
Con Kolivas 32998a15 2014-01-05T08:45:46 Store the spi settings in a struct for nanofury devices.
Con Kolivas 2a68889c 2014-01-04T21:51:00 Check that mcp2210 spi settings have taken and check the value of the pin during nanofury setup.
Con Kolivas 8e4de073 2014-01-04T21:26:57 Don't set GPIO pin designations after initial setting in nanofury since the direction and values will be changed.
Con Kolivas a01fbc30 2014-01-04T20:35:59 Move the set gpio output function to a generic mcp2210 version from nanofury which also sets the pin to gpio.
Con Kolivas 2d4adfa5 2014-01-04T20:10:00 Implement a nanofury txrx with a larger buffer and cycling over data too large to send.
Con Kolivas 8417d3f8 2014-01-04T18:36:39 Implement magic spi reset sequence for nanofury.
Con Kolivas 2116d9c0 2014-01-04T18:17:42 Add more spi magic to the nanofury init sequence.
Con Kolivas b158a123 2014-01-04T16:55:53 Add lots of magic spi initialisation to nanofury.
Con Kolivas 2486b9ce 2014-01-04T14:29:11 Export reused components of bitfury management into a libbitfury and use for bab and bitfury drivers.
Con Kolivas 3865849c 2014-01-04T13:53:21 More init sequence for nanofury and implement a close function that sets all pins to input.
Con Kolivas f5526b14 2014-01-04T11:12:54 Change spimode and send more data in nanofury setup.
Con Kolivas d2043c1f 2014-01-04T11:05:08 Add basic setup comms to nanofury.
Con Kolivas d84155c9 2014-01-04T10:19:34 Set the initial spi settings for nanofury driver.
Con Kolivas 6b532de0 2014-01-04T09:38:05 Cancel any SPI transfers in progress in nanofury after initial setup.
Con Kolivas 781871bd 2014-01-04T09:28:18 Set GPIO LED and power to high in nanofury driver.
Con Kolivas 8f4ec3af 2014-01-04T09:25:30 Implement initial part of nanofury init sequence for GPIO pin settings and add output debugging of set values.
Con Kolivas bd6b1149 2014-01-03T11:14:08 Include mcp header for bitfury and fix extra params in macro.
Con Kolivas ea21e642 2014-01-02T01:15:44 Don't keep resetting BXF clockspeed to default.
Con Kolivas 375b7da4 2013-12-25T09:54:29 Always send the bxf device a clockspeed after parsing the temperature in case the device has changed the clockspeed itself without notification.
Con Kolivas 57a035d0 2013-12-22T22:47:17 Store per-chip submit information for bxf device and show them in the API.
Con Kolivas afad54b4 2013-12-22T22:40:33 Check for removed bxf devices before trying to update work or send messages.
Con Kolivas 7fc87129 2013-12-17T23:51:11 Implement command line control of the bxf target temperature.
Con Kolivas b2091900 2013-12-17T23:25:43 Add a simple PID-like controller to bi*fury devices to dynamically alter the clock setting to maintain a nominal target temperature set to 82 degrees.
Con Kolivas 99417ad3 2013-12-17T22:13:03 Add data to BXF API output.
Con Kolivas 7c7a324f 2013-12-17T21:53:10 Add support for newer protocol bi*fury commands job, clock and hwerror, setting clock to default 54 value, turning parsing into a compact macro.
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