1
0
mirror of https://github.com/GOSTSec/sgminer synced 2025-01-01 18:55:36 +00:00
Commit Graph

43 Commits

Author SHA1 Message Date
Con Kolivas
99adf397bd 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. 2012-10-16 19:47:31 +11:00
Con Kolivas
0a90207111 Merge branch 'master' into stratum 2012-10-07 13:22:17 +11:00
Con Kolivas
c113534feb Begin support for mingw stratum build.
Conflicts:
	configure.ac
2012-10-04 17:52:35 +10:00
Kano
c2b1504e50 Icarus USB write failure is also a comms error 2012-09-30 17:44:36 +10:00
Kano
aaaa8a52fd Icarus catch more USB errors and close/reopen the port 2012-09-30 17:37:01 +10:00
Kano
ad7aa2b382 FPGA - allow long or short device names in detect code + style police 2012-09-16 11:42:51 +10:00
Kano
fe7a967d56 Icarus - ignore hardware errors in timing mode 2012-09-15 00:39:54 +10:00
Kano
b8b9c468e0 ICA default fpga_count to work_division if specified 2012-08-02 07:58:05 +10:00
Kano
e067be421a ICA support 57600 baud rate, up to 8 FPGA and partial working FPGA boards 2012-08-01 22:50:30 +10:00
ckolivas
5c7e03084a Modify te scanhash API to use an int64_t and return -1 on error, allowing zero to be a valid return value. 2012-07-11 22:59:58 +10:00
Luke Dashjr
d4af2d0535 Turn work_restart array into a bool in thr_info 2012-07-06 05:13:05 +00:00
Kano
82b14c4d08 api.c data structure - remove unnecessary driver-icarus.c comments 2012-06-30 23:48:35 +10:00
Kano
d8abfb713e api.c data structure - tested + updated get_api_stats/driver-icarus.c 2012-06-30 15:58:31 +10:00
Kano
3763cb0bad icarus - must allows allocate memory for icarus_info 2012-06-25 23:16:07 +10:00
Con Kolivas
e53c033aa8 Icarus needs not +2 for realloc, just +1. 2012-06-25 20:12:55 +10:00
Con Kolivas
5cf4b7c432 Make the devices array a dynamically allocated array of pointers to allow unlimited devices. 2012-06-25 16:59:29 +10:00
Kano
4dee0d049c FPGA - allow device detect override without an open failure 2012-06-14 15:10:02 +00:00
Luke Dashjr
d3fa59d76f Abstract generally useful FPGA code into fpgautils.c 2012-06-12 02:35:45 +00:00
Kano
e68457fcd4 Icarus - fix unit64_t printf warnings 2012-06-02 17:19:19 +10:00
Kano
f15d2233fa Icarus: fix abort calculation/allow user specified abort 2012-05-22 09:42:43 +10:00
Kano
b5ed958e84 Icarus: high accuracy timing and other bitstream speed support 2012-05-16 22:25:21 +10:00
Xiangfu
b1785d1f07 add-MIPSEB-to-icarus-for-BIG_ENDIAN 2012-05-11 12:16:23 +08:00
Con Kolivas
e195a31c02 Fix win32 build. 2012-05-06 20:49:06 +10:00
Kano
b3a50dd465 Icarus - correct MH/s and U: with work restart set at 8 seconds 2012-05-04 10:35:45 +10:00
Luke Dashjr
124ee9b28a Bugfix: thread_shutdown shouldn't try to free the device, since it's needed afterward 2012-05-03 10:49:42 +10:00
Kano
09fe8bcb12 Icarus - minimise code delays and name timer variables 2012-05-03 10:49:42 +10:00
Kano
16b9ebee28 Icarus restore auto/noauto handling 2012-04-24 02:30:31 +10:00
Kano
403f63ae20 Icarus update to new add_cgpu() 2012-04-24 02:23:29 +10:00
Kano
80f4fbbdeb Icarus driver working with Linux and Windows 2012-04-24 02:14:03 +10:00
Kano
e369d787e0 Ensure everyone sees the same screen/api name as the previous version for Icarus 2012-04-23 18:06:30 +10:00
Luke Dashjr
0f74ba059e Implement and document "-S noauto" to inhibit autoscanning without specifying a serial device 2012-04-22 01:03:38 -04:00
Luke Dashjr
d7cb49efcd Icarus: Ignore "auto" flag 2012-04-22 00:57:30 -04:00
Luke Dashjr
0d30a6520f Merge branch 'master' into workaround_icarus_uart_issue
Conflicts:
	driver-icarus.c
2012-04-22 00:36:54 -04:00
Con Kolivas
26b4b011d8 Merge pull request #170 from luke-jr/bugfix_icarus_speed
Bugfix: Calculate Icarus timeout-exhausted nonce count correctly
2012-04-21 17:32:10 -07:00
Luke Dashjr
d8ef28069a work_restart should only be changed by cgminer.c now 2012-04-21 20:00:05 -04:00
Luke Dashjr
b4ba9c3f00 Bugfix: Icarus: Invalidate old job, even if no nonce found in it 2012-04-21 19:55:11 -04:00
Luke Dashjr
11234c3353 Icarus: Use gettimeofday to more accurately measure scanhash time, and calibrate scan time estimate based on actual data 2012-04-21 14:19:22 -04:00
Luke Dashjr
34f86417cc Icarus: Abandon a scanhash early when work restart requested 2012-04-21 10:53:34 -04:00
Luke Dashjr
355a87e10b Bugfix: Calculate Icarus timeout-exhausted nonce count correctly
We're only waiting 8 seconds for results from Icarus, but actually exhausing the nonce space requires 11.3
2012-04-21 10:49:17 -04:00
Luke Dashjr
1291f5a407 Icarus: Use epoll (where available) to get nonces ASAP 2012-04-21 10:21:23 -04:00
Luke Dashjr
b8778839e9 Merge branch 'master' into unify_drivers
Conflicts:
	cgminer.c
2012-04-21 02:36:19 -04:00
Luke Dashjr
303dbf4664 Abstract add_cgpu function, to handle device id numbering and devices array 2012-03-18 20:09:03 -04:00
Luke Dashjr
e131dfab31 Unify drivers as driver-*.c and add driver name to API 2012-03-13 12:18:23 -04:00