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

110 Commits

Author SHA1 Message Date
Kano
6219f977f6 switch icarus configuration to usb 2013-05-17 14:10:58 +10:00
Con Kolivas
fd518f1697 Add GPU-README to EXTRA_DIST. 2013-04-28 19:59:43 +10:00
Con Kolivas
4c9f2b74bf Add an ASIC README file and udev rules file for insertion of BFL devices on linux. 2013-04-28 19:24:57 +10:00
Kano
c769db692d bflsc v0.1 2013-04-26 10:32:28 +10:00
Con Kolivas
baa5a6e7a7 Further fix distdir for hexdump.c 2013-04-22 19:39:59 +10:00
Con Kolivas
3d835fc3e9 Fix build and distdir. 2013-04-22 19:28:50 +10:00
Con Kolivas
f4b2790761 Remove all CPU mining code. 2013-04-22 14:35:43 +10:00
Con Kolivas
3b5ef34371 Add high resolution to nmsleep wrapper on windows. 2013-04-21 18:01:49 +10:00
James Z.M. Gao
57fcd07bdd Merge remote-tracking branch 'upstream/master' 2013-04-16 10:28:12 +08:00
James Z.M. Gao
ac053edcb4 build out of source dir 2013-04-16 10:27:10 +08:00
Con Kolivas
dea35d3349 Add Makefile entry for driver-avalon. 2013-04-05 13:32:09 +11:00
Con Kolivas
86821eb45d Fix mingw cross compilation being broken by win32/win64 patches. 2013-04-05 11:58:21 +11:00
James Z.M. Gao
c9ae715019 Compile CPU mining for win32 and win64 2013-04-04 22:59:10 +08:00
Con Kolivas
88853a2d29 Comment out driver-bflsc.c file from Makefile.am till one exists. 2013-03-07 22:55:50 +11:00
Kano
540f3e89bc Setup BFLSC support 2013-03-07 00:00:31 +11:00
Kano
040ec589fa BFL USB build changes 2012-12-31 09:09:43 +11:00
Kano
152e7e36a2 mmq usb v0.4 + api usb stats 2012-12-02 21:48:37 +11:00
Peter Stuge
318ef85a9f Require pkg-config to find libusb-1.0, and fix libusb.h #includes 2012-11-25 05:42:42 +01:00
Con Kolivas
efaa1b035b Work around libcurl cflags not working on hacked up mingw installations on windows. 2012-11-18 17:19:53 +11:00
CyberLeo
dc7c57d9c3 Changes to build prototypes to support building on FreeBSD 9.1-RC2 amd64
* Bashism in configure:
./configure: ${ac_cv_search_addstr:2}: Bad substitution

* Configure finds libcurl in /usr/local, but /usr/local/include isn't in CFLAGS:
cgminer.c:39:10: fatal error: 'curl/curl.h' file not found

* Configure misdetects amd64 as 32-bit; fails when trying to link in sse2_64:
cgminer-sha256_sse2_amd64.o: In function `scanhash_sse2_64':
./cgminer/sha256_sse2_amd64.c:98: undefined reference to `sha256_sse2_64_new'
cgminer-sha256_sse4_amd64.o: In function `scanhash_sse4_64':
./cgminer/sha256_sse4_amd64.c:96: undefined reference to `CalcSha256_x64_sse4'
./cgminer/sha256_sse4_amd64.c:97: undefined reference to `CalcSha256_x64_sse4'
2012-10-30 12:30:17 -05:00
Con Kolivas
e561bfe45e Revert "Rename INCLUDES in Makefile.am."
This reverts commit e341e346d3.

Breaks build.
2012-10-18 00:57:23 +11:00
Con Kolivas
e341e346d3 Rename INCLUDES in Makefile.am. 2012-10-17 23:33:20 +11:00
Con Kolivas
b3cdd8029a Put all socket definitions in util.h to allow reusing by added socket functions to be used in util.c. 2012-09-24 16:27:47 +10:00
Kano
30f5d77761 BFL Flash - always distribute source 2012-08-23 11:41:10 +10:00
Kano
0c3e9e9b0e BFL flash - include source in builds and more FPGA-README 2012-08-23 11:16:29 +10:00
Con Kolivas
d64c32ac32 Include scrypt.h in Makefile. 2012-08-07 22:21:46 +10:00
Con Kolivas
e49bd98196 Use the scrypt CPU code to confirm results from OCL code, and mark failures as HW errors, making it easier to tune scrypt parameters. 2012-08-07 19:56:43 +10:00
Con Kolivas
ac6315b735 Bump version 2.6.0, adding SCRYPT README to makefile. 2012-07-29 22:15:42 +10:00
Con Kolivas
b9e5f8e550 Revert "Use cpu scrypt code to check if an scrypt share is below target before submitting it."
This reverts commit 808f403a14.

Conflicts:
	findnonce.c
2012-07-21 10:28:41 +10:00
Con Kolivas
808f403a14 Use cpu scrypt code to check if an scrypt share is below target before submitting it. 2012-07-20 23:44:43 +10:00
Con Kolivas
a5ebb71216 Add cpumining capability for scrypt. 2012-07-14 22:01:20 +10:00
Con Kolivas
a668f74e64 Fix fpgautils.h distfail. 2012-06-14 21:25:59 +10:00
Luke Dashjr
76f96f4717 New driver: BTCFPGA ModMiner 2012-06-12 02:38:36 +00:00
Luke Dashjr
d3fa59d76f Abstract generally useful FPGA code into fpgautils.c 2012-06-12 02:35:45 +00:00
Con Kolivas
d9ffcda770 Add API and FPGA READMEs into Makefile to be included in source distribution. 2012-06-04 09:05:54 +10:00
Con Kolivas
e6f9afe6bc Add missing ztex header to Makefile for distribution. 2012-04-22 15:05:04 +10:00
Con Kolivas
e95384e59a Include ztex bitstreams firmware in distribution and install if configured in. 2012-04-22 14:32:40 +10:00
Luke Dashjr
657716e563 Merge branch 'master' into ztex 2012-04-21 02:56:20 -04:00
Luke Dashjr
b8778839e9 Merge branch 'master' into unify_drivers
Conflicts:
	cgminer.c
2012-04-21 02:36:19 -04:00
nelisky
99a188f94f initial commit with some support for ztex 1.15x board.
This version is just a rough draft, but it does alredy mine.

Conflicts:

	cgminer.c
	configure.ac
2012-04-16 04:01:51 -07:00
Con Kolivas
ef76ec8a77 Add windows build docs to extra dist files. 2012-03-31 15:33:02 +11:00
Luke Dashjr
e131dfab31 Unify drivers as driver-*.c and add driver name to API 2012-03-13 12:18:23 -04:00
Luke Dashjr
ae99714241 Use libudev to autodetect BitFORCE GPUs, if available 2012-02-26 14:46:51 -05:00
Xiangfu
2bb92ebcdc add Icarus support to autoreconf system 2012-02-19 22:22:02 +08:00
Con Kolivas
beb1c3f907 Fix packaging issue with logging.h missing. 2012-02-12 11:39:10 +11:00
zefir
e0fec35751 modularized logging, support for priority based logging
Functions related to logging are extracted into dedicated source files
for better maintainability.

The existing low-level logging API is extended with a generalized scheme
providing log functions log_{error, warning, notice, info, debug} that
log messages based on a global opt_log_level.

opt_log_level for now is set to LOG_NOTICE and might be modified via
command line options or config files in future releases.
2012-02-11 20:26:25 +01:00
ckolivas
cb7145b179 Add basic build ability with diakgcn and put all kernel names in configure.ac to avoid changing them in mutliple places. 2012-02-11 11:48:11 +11:00
zefir
e0b0a6c030 Modularize code: main.c -> device-cpu + device-gpu
This patch is an initial attempt to re-structure cgminer source
code from its monolithic design (with nearly all code being
concentrated in main.c) to a more modular one.

In this first stage, the conditionally compiled functions for
GPU and CPU mining were extracted into dedicated files:
 * device-cpu.h and device-cpu.c covering WANT_CPUMINE functions
 * device-gpu.h and device-gpu.c covering HAVE_OPENCL functions

The main.c file is left untouched as reference, while the
remainder without the extracted parts is located in cgminer.c.

The Makefile.am has been updated to use the re-structured
source files for the build.

Above pure re-structuring *NO* functional modifications were
made. The sources were tested to compile and run on on a
current Linux system with working CPU and GPU mining
(Bitforce not tested due to loack of hardware).
2012-02-04 10:23:06 +11:00
ckolivas
55f693a80c Revert Makefile.am component for easier merge of upcoming changes. 2012-02-04 09:59:20 +11:00
Con Kolivas
ebaa2be1df Update poclbm kernel for better performance on GCN and new SDKs with bitalign support when not BFI INT patching.
Update phatk kernel to work properly for non BFI INT patched kernels, providing support for phatk to run on GCN and non-ATI cards.
2012-02-03 18:19:39 +11:00