driver-avalon.h

Branch


Log

Author Commit Date CI Message
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 a0ac8406 2013-12-29T16:01:26 Modify the auto tuning sequence to work with the 50MHz changes required to work with 55nm Avalon.
Con Kolivas 636c7fd4 2013-12-29T14:53:17 55nm avalon requires the delays between writes reinstated for stability.
Xiangfu 84ac4e73 2013-11-21T12:18:44 Use defines instead of 110 or 55
Xiangfu ac8b573c 2013-11-21T12:08:41 add Avalon A3255 prototype machine support
Con Kolivas 390ac706 2013-11-18T10:40:41 With reliable writes to the avalon there is no need for the sleep delays between writes.
Con Kolivas ecedd772 2013-11-12T17:28:45 Set avalon ftdi latency to just less than the time it would take to fill the ftdi buffer at 115200 baud
Con Kolivas 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.
Con Kolivas 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.
Con Kolivas 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.
Con Kolivas 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.
Con Kolivas fc80e2fe 2013-11-03T20:31:04 Deprecate preferred packet size functions in usbutils since they're unhelpful.
Roy Badami 8795fbc2 2013-10-24T22:45:51 Remove modified Bitburner avalon defaults - I was mistaken about maximum stack size
Roy Badami 5d616770 2013-10-20T00:54:15 Code cleanup and improved documentation
Roy Badami c69a130d 2013-10-19T18:42:20 Improvements to support for BitBurner boards --bitburner-fury-options allows avalon-options to be overridden for BitBurner Fury Boards, facilitating simultanous use of BitBurner XX and BitBurner Fury boards More sensible defaults for BitBurner boards, so cgminer should do something sensible without any command line args
Chris Chua 5af1cfe3 2013-10-08T02:57:11 increasing max miners for avalon driver (properly this time)
Chris Chua b509e843 2013-10-03T20:11:37 using separate identifier for bitburner fury boards
Chris Chua 521e746b 2013-10-01T00:26:55 changes to bitburner driver for bitburner fury boards
Xiangfu 088a3403 2013-09-22T23:04:36 avalon: display the FPGA controller version on API
Con Kolivas cfd8ed70 2013-08-24T12:43:49 Substantially raise the maximum avalon frequency for water-cooled, over-volted designs.
Kano 96c0c317 2013-08-19T20:34:37 BTB get version from Firmware
Chris Chua be0d899b 2013-08-16T17:00:56 making sure original Avalon is unaffected by BitBurner changes
Chris Chua 2b932ccb 2013-08-16T16:37:43 changes to queueing strategy for BitBurner boards
Kano 356fcb10 2013-08-15T12:00:04 BTB allow up to 1400mV as per firmware limits
Con Kolivas dd9233f7 2013-08-13T17:24:01 The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll.
Kano 802737e8 2013-08-07T23:47:19 BTB voltage management via the API - and set default on startup
Chris Chua b0f4d55b 2013-07-29T21:39:29 changes to Avalon driver for BitBurner boards
Con Kolivas 4b4a1354 2013-07-03T21:22:27 Count the number of miners idled in avalon to account more accurately for when its result return rate is too low.
Con Kolivas 065b6a5e 2013-07-01T15:38:15 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode.
Con Kolivas ce214e12 2013-07-01T15:10:56 Decrease avalon frequency in auto mode if we are unable to maintain the temperature in the optimal range.
Con Kolivas f142a4de 2013-07-01T10:41:22 Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100%
Con Kolivas 862c88ec 2013-06-27T07:52:51 Move to slightly more relaxed timeouts for avalon.
Con Kolivas e811c4dc 2013-06-26T00:15:04 Add an avalon-auto option which enables dynamic overclocking based on hardware error rate for maximum effective hashrate.
Con Kolivas 9b45daba 2013-06-25T19:39:42 Add an --avalon-cutoff feature which puts the avalon idle should it reach this temperature, defaulting to 60, re-enabling it when it gets to target temperature.
ckolivas ec4948d9 2013-06-25T12:22:57 Change default avalon target temperature to 50 degrees.
Con Kolivas 1fca632f 2013-06-24T11:04:02 Add an --avalon-temp option to allow a user specified target temperature.
Con Kolivas 6cc09aa1 2013-06-24T10:38:47 Make the fan control on the avalon a simple PID controller with a target temperature of 45.
Con Kolivas a36e55b7 2013-06-21T17:39:26 Set the avalon preferred packet size to 512.
Con Kolivas 581afcf9 2013-06-21T11:18:00 Use only one cgsem in avalon signalling when the write thread should commit work by reading the status bytes off during an avalon_read, minimising the number of usb calls and resetting from only one place.
Con Kolivas 7c683cf2 2013-06-21T10:59:55 Use low latency usb transfers on the avalon, sleeping up to half a buffer's worth only if no data is returning to increase hashrate, abolish lost work and decrease CPU.
ckolivas b59c3380 2013-06-06T13:08:00 Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them.
Con Kolivas eec1a86a 2013-05-30T22:53:07 Update copyrights of modified files.
Con Kolivas c0c5c060 2013-05-30T16:32:12 Provide some defaults for avalon if none are specified and do not try to claim the device if it fails to reset with them and no options are specified.
ckolivas 60bb463c 2013-05-29T11:45:47 Use semaphores to signal a reset to pause the read thread while the write thread does the actual reset, making all writes come from the same place.
Con Kolivas 772b354e 2013-05-28T23:59:07 Remove unneeded function and checks in avalon write code.
Con Kolivas 7748c469 2013-05-27T20:29:35 Make the avalon_read function parse the ftdi responses appopriately.
Con Kolivas 2a222ecf 2013-05-27T20:04:12 Use the avalon read timeout to completion if no data has been read.
Con Kolivas a32e521d 2013-05-27T17:17:42 Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands.
Con Kolivas 269a8de9 2013-05-27T15:43:22 First pass rewriting serialdev into direct usb dev for avalon driver.
Con Kolivas 8fea60f3 2013-05-27T15:01:13 Define a cts equivalent for direct usb and use it for avalon driver full.
Con Kolivas abfaf361 2013-05-27T12:30:13 Discard any reads obtained from the avalon get results thread during a reset.
Con Kolivas c9ca6ca7 2013-05-26T16:15:10 Tighter control over work submissions in avalon allows us to use a smaller array.
Con Kolivas 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.
Con Kolivas 7cf154bf 2013-05-26T14:23:14 Use AVA_GETS_OK macro in avalon_read.
Con Kolivas 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.
Con Kolivas 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.
Con Kolivas 74044467 2013-05-26T00:43:23 Created a threaded message parser for avalon reads.
Con Kolivas 569a6f65 2013-05-25T12:11:26 Do a non-blocking read of anything in the avalon buffer after opening the device.
Con Kolivas 6c5c6e99 2013-04-08T22:42:31 Reinstate the matching_work_count per subdevice on avalon based on the work subid.
Con Kolivas 0c35f67a 2013-04-08T15:36:18 Make the avalon array size a macro.
Con Kolivas 3671b2c3 2013-04-07T15:48:35 The read_count is unused by the avalon get result code and no longer required for avalon reset so simplify code removing it.
Con Kolivas 6752c247 2013-04-06T01:42:45 Remove unused per unit matching work count for avalon.
Con Kolivas 2f75a5d8 2013-04-06T01:03:21 Simplify avalon scanhash code using the new find_queued_work_bymidstate function. Partially works only.
Con Kolivas 71bae003 2013-04-05T14:52:07 First draft of port of avalon driver to new cgminer queued infrastructure.