1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-09 22:38:01 +00:00
Commit Graph

49 Commits

Author SHA1 Message Date
Chris Chua
5af1cfe33d increasing max miners for avalon driver (properly this time) 2013-10-11 21:14:59 +11:00
Chris Chua
b509e84376 using separate identifier for bitburner fury boards 2013-10-11 21:14:59 +11:00
Chris Chua
521e746b80 changes to bitburner driver for bitburner fury boards 2013-10-11 21:14:19 +11:00
Xiangfu
088a340342 avalon: display the FPGA controller version on API 2013-09-22 23:29:02 +08:00
Con Kolivas
cfd8ed7039 Substantially raise the maximum avalon frequency for water-cooled, over-volted designs. 2013-08-24 12:43:49 +10:00
Kano
96c0c31775 BTB get version from Firmware 2013-08-19 20:34:37 +10:00
Chris Chua
be0d899b74 making sure original Avalon is unaffected by BitBurner changes 2013-08-16 17:00:56 +00:00
Chris Chua
2b932ccb81 changes to queueing strategy for BitBurner boards 2013-08-16 16:37:43 +00:00
Kano
356fcb107a BTB allow up to 1400mV as per firmware limits 2013-08-15 12:00:04 +10:00
Con Kolivas
dd9233f78b The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll. 2013-08-13 17:24:01 +10:00
Kano
802737e8dd BTB voltage management via the API - and set default on startup 2013-08-07 23:47:19 +10:00
Chris Chua
b0f4d55be7 changes to Avalon driver for BitBurner boards 2013-07-29 21:39:29 +10:00
Con Kolivas
4b4a13549e Count the number of miners idled in avalon to account more accurately for when its result return rate is too low. 2013-07-03 21:22:27 +10:00
Con Kolivas
065b6a5e36 Provide an --avalon-freq command line to give a valid range of frequencies for avalon in auto mode. 2013-07-01 15:38:15 +10:00
Con Kolivas
ce214e1270 Decrease avalon frequency in auto mode if we are unable to maintain the temperature in the optimal range. 2013-07-01 15:10:56 +10:00
Con Kolivas
f142a4de23 Allow the avalon fanspeed range to be passed as parameter on the command line, default to 20-100% 2013-07-01 10:41:22 +10:00
Con Kolivas
862c88ecbb Move to slightly more relaxed timeouts for avalon. 2013-06-27 07:52:51 +10:00
Con Kolivas
e811c4dc77 Add an avalon-auto option which enables dynamic overclocking based on hardware error rate for maximum effective hashrate. 2013-06-26 00:15:04 +10:00
Con Kolivas
9b45daba6b 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. 2013-06-25 19:39:42 +10:00
ckolivas
ec4948d93d Change default avalon target temperature to 50 degrees. 2013-06-25 12:22:57 +10:00
Con Kolivas
1fca632f7c Add an --avalon-temp option to allow a user specified target temperature. 2013-06-24 11:04:02 +10:00
Con Kolivas
6cc09aa1e9 Make the fan control on the avalon a simple PID controller with a target temperature of 45. 2013-06-24 10:38:47 +10:00
Con Kolivas
a36e55b754 Set the avalon preferred packet size to 512. 2013-06-21 17:39:26 +10:00
Con Kolivas
581afcf9ab 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. 2013-06-21 11:18:00 +10:00
Con Kolivas
7c683cf2b1 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. 2013-06-21 10:59:55 +10:00
ckolivas
b59c33800b Implement cgminer specific cgsem semaphores to imitate unnamed semaphore behaviour on osx which does not support them. 2013-06-06 13:08:00 +10:00
Con Kolivas
eec1a86af0 Update copyrights of modified files. 2013-05-30 22:53:07 +10:00
Con Kolivas
c0c5c060bd 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. 2013-05-30 16:32:12 +10:00
ckolivas
60bb463cf1 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. 2013-05-29 11:45:47 +10:00
Con Kolivas
772b354ea9 Remove unneeded function and checks in avalon write code. 2013-05-28 23:59:07 +10:00
Con Kolivas
7748c46943 Make the avalon_read function parse the ftdi responses appopriately. 2013-05-27 20:29:35 +10:00
Con Kolivas
2a222ecffa Use the avalon read timeout to completion if no data has been read. 2013-05-27 20:04:12 +10:00
Con Kolivas
a32e521d0a Implement avalon_ready and avalon_wait_ready functions for when usb is ready to receive commands. 2013-05-27 17:17:42 +10:00
Con Kolivas
269a8de977 First pass rewriting serialdev into direct usb dev for avalon driver. 2013-05-27 15:43:22 +10:00
Con Kolivas
8fea60f384 Define a cts equivalent for direct usb and use it for avalon driver full. 2013-05-27 15:01:13 +10:00
Con Kolivas
abfaf36112 Discard any reads obtained from the avalon get results thread during a reset. 2013-05-27 12:30:13 +10:00
Con Kolivas
c9ca6ca7e3 Tighter control over work submissions in avalon allows us to use a smaller array. 2013-05-26 16:15:10 +10:00
Con Kolivas
66e27a10c5 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. 2013-05-26 14:37:45 +10:00
Con Kolivas
7cf154bfa5 Use AVA_GETS_OK macro in avalon_read. 2013-05-26 14:23:14 +10:00
Con Kolivas
ebf885520d Do all writes on avalon with a select() timeout to prevent indefinite blocking and loop if less than desired is written. 2013-05-26 14:18:21 +10:00
Con Kolivas
629feb5f3f 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. 2013-05-26 13:16:19 +10:00
Con Kolivas
7404446781 Created a threaded message parser for avalon reads. 2013-05-26 00:43:23 +10:00
Con Kolivas
569a6f65a0 Do a non-blocking read of anything in the avalon buffer after opening the device. 2013-05-25 12:11:26 +10:00
Con Kolivas
6c5c6e99a3 Reinstate the matching_work_count per subdevice on avalon based on the work subid. 2013-04-08 22:42:31 +10:00
Con Kolivas
0c35f67aa9 Make the avalon array size a macro. 2013-04-08 15:36:18 +10:00
Con Kolivas
3671b2c310 The read_count is unused by the avalon get result code and no longer required for avalon reset so simplify code removing it. 2013-04-07 15:48:35 +10:00
Con Kolivas
6752c24750 Remove unused per unit matching work count for avalon. 2013-04-06 01:42:45 +11:00
Con Kolivas
2f75a5d89e Simplify avalon scanhash code using the new find_queued_work_bymidstate function. Partially works only. 2013-04-06 01:03:21 +11:00
Con Kolivas
71bae003bc First draft of port of avalon driver to new cgminer queued infrastructure. 2013-04-05 14:52:07 +11:00