phm
9585d2a8e6
Added support for DarkCoin kernel. Modified stats display to handle low difficulty values.
2014-02-19 23:06:29 +01:00
Noel Maersk
f2f2bcedc7
build: use git version if available.
...
Borrowed from Arch Linux pacman:
https://projects.archlinux.org/pacman.git/tree/
2014-02-04 15:18:27 +02:00
Noel Maersk
9d1db95a28
misc: move scrypt130511.cl kernel file to kernel/ckolivas.cl
...
Prepare for more kernels. :)
Get rid of the kernel date, since this fudges up commit history.
Named after Con Kolivas, the most recent committer.
2014-01-20 16:04:43 +02:00
Noel Maersk
683abd0b17
build: fix warning + other small fixes.
2014-01-15 15:52:05 +02:00
Noel Maersk
5b977125fa
misc: Replace many (but not all) instances of 'cgminer' with 'sgminer'.
...
Just ran a `sed -i 's/cgminer/sgminer/'` on several files.
2014-01-15 15:36:19 +02:00
Con Kolivas
155945094f
Add to cgminer_CPPFLAGS instead of redefining them.
...
Conflicts:
Makefile.am
2014-01-15 13:54:14 +02:00
Noel Maersk
747d870d32
build: remove reference to a linux-usb-miner
2014-01-15 13:49:01 +02:00
Con Kolivas
d26fb09e7c
Replace deprecated use of INCLUDES with _CPPFLAGS.
...
Conflicts:
Makefile.am
2014-01-15 13:48:33 +02:00
Noel Maersk
dcb0111a22
Add all sources unconditionally in Makefile.am.
...
As in wolf's branch: cfac323a4f
2013-12-04 00:37:49 +02:00
Noel Maersk
95586f72f0
Squash-merge branch dead-end with unnecessary check removals.
2013-11-24 16:18:10 +02:00
Noel Maersk
d0070c0424
HARD RESET to: Remove Bitcoin detection code.
...
I'm pretty sure no one was working on this but me.
The code was unusable (gave 100% hardware errors) due to me not
testing it sufficiently. I hope this will not happen again.
ADL doesn't work for some reason, too.
2013-11-19 02:32:58 +02:00
Con Kolivas
c4542f2b96
Merge branch 'master' into hfa
...
Conflicts:
Makefile.am
api.c
configure.ac
miner.h
2013-10-31 12:29:59 +11:00
Vitalii Demianets
53570ae8a0
KnC driver: knc-spi-fpga ASIC driver
...
This driver talks to KnCMiner controller via SPI
Protocol specification is available at
https://github.com/KnCMiner/jupiter-hw-docs/blob/master/fpga_spi.md
2013-10-26 23:58:52 +02:00
Henrik Nordstrom
4bc955c004
Fixup jansson & libusb include paths when using separate build directory
2013-10-26 23:58:52 +02:00
Con Kolivas
5ea6a8eaa2
Merge branch 'master' into hashfast
...
Conflicts:
Makefile.am
2013-10-23 22:45:56 +11:00
Con Kolivas
e76421320e
Minor opencl build corrections.
2013-10-23 22:31:00 +11:00
Con Kolivas
9fa8e920c7
Modify Makefile to only include opencl related code when configured in.
2013-10-23 21:29:42 +11:00
Con Kolivas
f5baf9f57a
Merge branch 'master' into hashfast
...
Conflicts:
usbutils.h
2013-10-18 19:12:13 +11:00
Con Kolivas
d529a3fdbd
Initial import of jansson-2.5
2013-10-17 08:29:24 +11:00
Con Kolivas
e7a9aef65b
Add hf_protocol.h to cgminer sources.
2013-10-13 18:48:56 +11:00
Con Kolivas
9b5c534911
Merge branch 'master' into hashfast
...
Conflicts:
api.c
configure.ac
miner.h
usbutils.c
usbutils.h
2013-10-13 16:41:53 +11:00
ckolivas
6cd7f0f1be
Remove unmaintained broken ztex driver.
2013-10-07 23:33:13 +11:00
Kano
51418f79e5
Klondike update code to current git
2013-10-07 23:33:11 +11:00
Con Kolivas
f49a3c7657
Merge branch 'master' into hashfast
...
Conflicts:
Makefile.am
api.c
cgminer.c
configure.ac
miner.h
usbutils.c
usbutils.h
2013-09-30 08:43:29 +10:00
Con Kolivas
68a7e21022
Create basic placeholders for bitfury driver code.
2013-09-24 20:59:10 +10:00
Con Kolivas
cdaaff191e
Provide stubs for compiling hashfast code into makefiles.
2013-09-19 09:35:35 +10:00
Con Kolivas
7f653ba97c
Unconditionally build jansson statically from the cgminer source tree.
2013-08-30 15:38:36 +10:00
ckolivas
6df0648a41
First import of libusb-1.0
2013-08-30 15:29:02 +10:00
Con Kolivas
f3b75b0b12
Add rt lib linkage to enable use of clock_nanosleep functions with older glibc.
2013-08-18 01:39:35 +10:00
Con Kolivas
812852cc36
Move bflsc defines to a header file.
2013-08-09 06:31:57 +10:00
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
Con Kolivas
c0e8819d86
Fix bitforce failing to build into cgminer.
2012-01-31 00:20:58 +11:00
Luke Dashjr
5dfc8b694f
BitForce FPGA support
...
cgminer will scan for and mine BitForce FPGAs on USB ports by providing the
new --scan-serial <device> option, or autodetect them by searching
/dev/serial/by-id for *BitFORCE_SHA256*
2012-01-19 01:24:37 -05:00
ckolivas
332b3ca1e6
Configure out building and support of all CPU mining code unless --enable-cpumining is enabled.
2012-01-19 16:56:42 +11:00
Con Kolivas
743d81b36b
Adjust column width of A/R/HW to be the maximum of any device and align them.
2012-01-01 20:25:04 +11:00
Con Kolivas
f67111da2d
Include API examples in distribution tarball.
2011-12-29 10:22:16 +11:00
Kano
2358056606
API v0.1
2011-11-23 14:35:49 +11:00
Con Kolivas
d5231ea57f
Fix build error with -ldl being passed to LDFLAGS instead of LDADD and update configure output.
2011-11-11 22:21:30 +11:00
Con Kolivas
2a19153d90
Add example.conf to makefile dist.
2011-10-17 14:07:38 +11:00
Con Kolivas
5133cf5b06
Add altivec 4 way support courtesy of Gilles Risch.
2011-10-09 12:22:00 +11:00
Con Kolivas
c04abf5cbe
Include polarssl implementation of sha256 (sha2) and remove dependency on openssl.
2011-09-23 09:44:09 +10:00
UukGoblin
88fd7c1d38
use ATISTREAMSDKROOT env variable if available...
...
... to determine the location of OpenCL libs
clean up the use of OPENCL_* vars in autostuff
2011-09-15 11:34:39 +10:00
Con Kolivas
c8d40fb434
Win32 does not use dlopen so link in -ldl only when not on win32 and display what ldflags are being passed on ./configure.
2011-09-07 09:33:43 +10:00
Con Kolivas
ffa68cdaab
Ideally we should like with -ldl for dlopen() dlclose().
2011-09-06 22:48:57 +10:00
Con Kolivas
a62b4e3e22
Remove unused LIBCURL_CPPFLAGS variable which should help cgminer compile on other platforms.
2011-09-06 13:45:02 +10:00
Con Kolivas
a1ba15fb52
Fix pacakaging missing adl headers and build failure without adl sdk headers installed.
2011-09-06 09:01:24 +10:00
Con Kolivas
a2f6bb77ad
Add new needed text files to distribution.
2011-09-05 19:36:12 +10:00
Con Kolivas
d57cd91955
Implement ATI ADL support for GPU parameter monitoring now and setting later (temp, fan, clocks etc.).
...
Check for the presence of the ADL header files in ADL_SDK.
Import adl_functions.h from amd overdrive ctrl.
Implement a setup function that tries to detect GPUs that support the ADL and link in the parameters into the gpus struct.
Put a summary of monitoring information from the GPU menu.
2011-09-03 10:53:35 +10:00
Con Kolivas
67dff290f7
Doc updates.
2011-08-26 13:45:45 +10:00
Con Kolivas
7dc3db2340
Implement SSE2 32 bit assembly algorithm as well.
2011-08-25 13:04:15 +10:00
Con Kolivas
ebf7999305
Include uthash.h in distro.
2011-08-25 12:32:42 +10:00