|
a24483e7
|
2012-12-07T03:06:58
|
|
Merge pull request #344 from denis2342/ztex
libztex: silenced some warnings
|
|
69a688f5
|
2012-12-07T05:02:26
|
|
libztex: silenced some warnings
|
|
dd658182
|
2012-12-07T13:45:03
|
|
Remove all references to the now unused workio_cmd structure.
|
|
ed1b5cae
|
2012-12-07T13:40:26
|
|
Remove the old workio command queue thread, replacing it with a kill conditional to exit the program.
|
|
59ddfd07
|
2012-12-07T13:32:23
|
|
Remove getwork command from workio_cmd queues and do them directly from queue_request.
|
|
c99636f2
|
2012-12-07T13:21:46
|
|
Begin tearing down the old workio command queues by removing submit commands from there and submit them asynchronously via their own threads.
|
|
5dc25882
|
2012-12-06T15:42:55
|
|
Merge pull request #343 from denis2342/ztex
support to upload the mining firmware to all ztex mining boards
|
|
be5316b4
|
2012-12-07T10:40:13
|
|
Update windows build instructions.
|
|
be013e96
|
2012-12-07T09:36:22
|
|
Set pool probed to true on successful authorisation with stratum to avoid it being pinged later with pool_getswork.
|
|
f7083c00
|
2012-12-06T16:52:06
|
|
driver-ztex: libztex_setFreq() must be called before ztex_releaseFpga()
|
|
e59f6681
|
2012-12-06T15:07:04
|
|
driver-ztex: changed two pairs of malloc()/memset() to calloc()
|
|
b48b2cc8
|
2012-12-06T14:06:30
|
|
libztex: Read bitstream file in 2kb blocks with simpler and faster code
optimized libztex_configureFpgaLS() like it was done some commits
ago to libztex_configureFpgaHS()
|
|
a4fead54
|
2012-12-04T14:20:33
|
|
Added the binary versions of ztex_ufm1_15d4.ihx and ztex_ufm1_15y1.ihx
The files were converted with ihx2bin to make them directly usable
to download as mining firmware to the ztex board.
|
|
d4f4c932
|
2012-12-04T21:57:29
|
|
Trivial space removal.
|
|
1203f1f6
|
2012-12-04T05:34:52
|
|
libztex: Add firmware download support for ZTEX 1.15d and 1.15x
The correct firmware file is automatically determined based on the ZTEX
descriptor in the dummy firmware.
|
|
f9673928
|
2012-12-04T11:30:04
|
|
libztex: Factor out local version of libusb_get_string_descriptor_ascii()
|
|
52de7170
|
2012-12-04T21:55:29
|
|
Shut up some boring old cpu warnings.
|
|
8ebf4f6e
|
2012-12-04T21:52:41
|
|
Style changes.
|
|
c0cd006f
|
2012-12-04T21:49:11
|
|
Allow pool active to be called on stratum or disabled pools in the watchpool thread if the pool has not been probed.
|
|
90b3e6ad
|
2012-12-04T05:09:23
|
|
libztex: Make log messages say bitstream when refering to bitstreams
|
|
d9479b2c
|
2012-12-03T08:55:00
|
|
libztex: Don't return error when a bitstream was already configured
The high speed and low speed configureFpga functions should not return
an error when no bitstream needs to be downloaded. These codepaths are
not executed for now, because all calls to configureFpga set the force
parameter to true. Future commits may change that, allowing cgminer to
start mining immediately if each hardware has already been correctly
configured with firmware and bitstream(s).
|
|
b70edef9
|
2012-12-03T08:53:22
|
|
libztex: Read bitstream file in 64kb blocks with simpler and faster code
|
|
a5b28450
|
2012-12-02T00:05:20
|
|
libztex: Verify that the mining firmware is not a dummy firmware
|
|
843e9120
|
2012-12-01T08:41:25
|
|
libztex: Match mining firmware ZTEX descriptor against the dummy firmware
The first 8 bytes are matched, which ensures that the mining firmware
actually fits the hardware, assuming that the correct dummy firmware
is present in the device.
|
|
52b4bae9
|
2012-12-04T21:29:49
|
|
Combine shared padding into one char.
|
|
8d7ad828
|
2012-12-01T03:29:58
|
|
libztex: Start download sequence only after reading in the new firmware
The download sequence starts with a reset command, which tells the board
that a new firmware is about to be downloaded. The board gets unhappy if
no new firmware is actually sent, so only send the reset command AFTER
the new firmware has actually been successfully read.
|
|
584dc5ac
|
2012-11-30T03:21:12
|
|
libztex: Download mining firmware to all devices with dummy firmware
When one or more ZTEX devices with dummy firmware are found on startup,
the correct firmware is downloaded to each device, and then USB devices
are rescanned until all devices have reattached with the mining firmware.
This allows to discover and configure all ZTEX devices and start mining
directly, without first running the ZTEX Java software to download a
firmware to the device.
|
|
e14d1d6e
|
2012-12-04T00:18:10
|
|
Merge pull request #340 from kanoi/main
lock the threaded statistics updates
|
|
120fc7af
|
2012-12-04T19:14:27
|
|
lock (most of) the threaded statistics updates
|
|
0266ac2d
|
2012-12-03T22:34:12
|
|
Merge pull request #342 from kanoi/api
README stats don't add up
|
|
ea39a3c4
|
2012-12-04T16:03:55
|
|
README stats don't add up
|
|
b96dd780
|
2012-12-03T16:27:16
|
|
Merge pull request #341 from kanoi/usb2
usbutils.c remove compiler warning
|
|
3a91d8eb
|
2012-12-04T11:21:49
|
|
usbutils.c remove compiler warning
|
|
b86aa20b
|
2012-12-04T11:06:35
|
|
Make need connection return true if a pool is idle.
|
|
777f0573
|
2012-12-03T04:19:17
|
|
Merge pull request #339 from kanoi/api
API lock access to some summary statistics + API add Best Share to summary
|
|
e55fe73f
|
2012-12-03T23:08:11
|
|
API add Best Share to summary
|
|
c4b17ae9
|
2012-12-03T17:54:57
|
|
Check on creating new GBT work if the structures are up to date and update them as required rather than regularly.
|
|
4fbe435f
|
2012-12-03T17:24:17
|
|
Update windows build instructions.
|
|
401357e6
|
2012-12-03T16:45:43
|
|
Enable backup stratum connections for getwork when the primary pool doesn't have longpoll aka solo mining.
|
|
289d6807
|
2012-12-03T16:16:00
|
|
Check for correct absence of opt_fail_only in cnx_needed.
|
|
4b28c859
|
2012-12-03T15:28:52
|
|
Remove unused variable.
|
|
f4d305a9
|
2012-12-03T15:26:58
|
|
The specification for stratum has been elaborated to say that a changed diff applies only to new work so do not retarget when submitting shares.
|
|
1ad671b0
|
2012-12-03T15:17:44
|
|
Use a variable length string array in submit_upstream_work to cope with massive GBT submissions.
|
|
a67e96c3
|
2012-12-03T11:36:15
|
|
API lock access to some summary statistics (and copy them)
|
|
fc5d3a0e
|
2012-12-03T09:52:46
|
|
Suspend stratum connections to backup pools when there is no requirement to potentially grab work from them.
|
|
16637ac9
|
2012-12-03T08:14:24
|
|
Fix missing export for RenameThread.
|
|
9a716547
|
2012-12-02T12:46:01
|
|
Merge pull request #338 from denis2342/threadname
small patch to add names to threads, should work for linux, freebsd and osx
|
|
28f251e4
|
2012-12-02T12:45:23
|
|
Merge pull request #336 from kanoi/usb2
mmq usb v0.4 + api usb stats
|
|
4fbdc1ea
|
2012-12-02T18:36:15
|
|
enumerate the mining threadnames
|
|
7993d258
|
2012-12-02T23:03:21
|
|
MMQ avoid possible number overrun crashes
|
|
152e7e36
|
2012-12-02T21:48:37
|
|
mmq usb v0.4 + api usb stats
|
|
271b05ab
|
2012-12-02T11:39:20
|
|
setting the name of the threads for linux,freebsd,openbsd and osx
code is borrowed from bitcoins util.c, so it is already tested
|
|
4584068c
|
2012-12-02T20:51:21
|
|
Don't show broken WU value with scrypt mining.
|
|
fc66a41e
|
2012-12-02T20:49:40
|
|
Style police.
|
|
b8843546
|
2012-12-02T20:45:57
|
|
Remove unused getwork times in getswork.
|
|
6cc490ad
|
2012-12-02T20:43:33
|
|
Fix readme wordwrap.
|
|
e885c28f
|
2012-12-02T01:41:42
|
|
Merge pull request #337 from EskimoBob/patch-1
Update ADL_SDK/readme.txt
|
|
a6dce875
|
2012-12-02T01:41:21
|
|
Merge pull request #335 from denis2342/ztex
ztex locking fix and cosmetic changes
|
|
3ab03e8f
|
2012-12-02T01:41:03
|
|
Merge pull request #334 from denis2342/pkgconfig
third of version of pkg-config changes
|
|
28b52dc7
|
2012-12-02T20:17:15
|
|
Bump version to 2.9.6
|
|
029ce3bb
|
2012-12-02T20:16:25
|
|
Update NEWS.
|
|
cc14f166
|
2012-12-02T19:29:54
|
|
Make gen_stratum_work more robust by using a dynamically allocated array for the header in case bogus data is sent by the pool to avoid overflowing a static array.
|
|
f94cff77
|
2012-12-02T18:06:55
|
|
Microoptimise and remove redundant copy of strdup function in calloc_strcat.
|
|
53c9cdaf
|
2012-12-02T16:56:36
|
|
scrypt_diff now returns a uint64_t
|
|
d8e18994
|
2012-12-01T23:36:17
|
|
Support monitoring and reporting much higher diffs for scrypt mining, truncating irrelevant zeroes from displayed hash.
|
|
33c9faae
|
2012-12-01T21:47:27
|
|
Pass ostate values around in scrypt to be able to extract full hashes if needed later on.
|
|
0ae02c6e
|
2012-12-01T08:26:31
|
|
Since we will be using calloc_str to put a string into it, convert the function to calloc_strcat which does it automatically.
|
|
01eb807c
|
2012-11-29T13:00:02
|
|
Revert "Handle crash exceptions by trying to restart cgminer unless the --no-restart option is used."
This reverts commit 68c881fde72f7aa92224cf4e4ba67a5af868dafc.
Does not reliably restart on crashes often enough and makes debugging more difficult.
|
|
bc4f6d92
|
2012-11-29T12:58:42
|
|
Count longpoll and GBT decodes as queued work since the count otherwise remains static.
|
|
1746e471
|
2012-11-29T12:49:28
|
|
Use the string helper functions to create gbt blocks of any length.
|
|
ee8609d9
|
2012-11-29T12:48:17
|
|
Provide helper functions calloc_str and realloc_strcat to create and extend arbitrary length arrays based on string length.
|
|
beab2ba0
|
2012-11-26T15:27:57
|
|
Update ADL_SDK/readme.txt
fixed the link
|
|
d58d09e5
|
2012-11-26T07:59:30
|
|
Merge branch 'pkgconfig' into ztex
|
|
0e5c716c
|
2012-11-26T02:41:07
|
|
ztex: Correctly release mutex and reset FPGA if configuration fails
|
|
b28dbc2e
|
2012-11-26T02:38:20
|
|
ztex: Harmonize low-speed FPGA configuration code with high-speed code
|
|
4629553a
|
2012-11-26T02:34:27
|
|
ztex: Display FPGA clock frequency with only one decimal
|
|
1c204dc9
|
2012-11-25T03:51:46
|
|
libztex: Silence warning: comparison between signed and unsigned
|
|
30c5a166
|
2012-11-16T00:59:21
|
|
configure.ac: Support FreeBSD libusb which doesn't have libusb-1.0.pc
|
|
318ef85a
|
2012-11-16T00:13:56
|
|
Require pkg-config to find libusb-1.0, and fix libusb.h #includes
|
|
cffc21db
|
2012-11-25T09:47:45
|
|
Bump version to 2.9.5
|
|
8bc60506
|
2012-11-25T09:47:26
|
|
Revert "Find libusb-1.0 with pkg-config except on mingw, and fix #include path"
This reverts commit ce72dbea7d7405ed37456c89c8b0516188f57fc7.
|
|
30ade169
|
2012-11-25T09:47:13
|
|
Revert "configure.ac: FreeBSD can't use pkg-config to find libusb-1.0"
This reverts commit 4e706162c76a824f92d354918adf8fa64d436510.
|
|
590bce85
|
2012-11-25T09:46:48
|
|
Update NEWS.
|
|
a8ccd24e
|
2012-11-24T13:23:53
|
|
Merge pull request #332 from nelisky/openwrt
Openwrt tweaks
|
|
6db7e2e5
|
2012-11-24T13:11:07
|
|
fixes target calc for mips openwrt
|
|
c93e5e95
|
2012-11-04T13:26:39
|
|
openwrt needs roundl
|
|
30ed3fb6
|
2012-11-25T00:50:34
|
|
Get rid of unused last_work in opencl thread data.
|
|
217be6ed
|
2012-11-25T00:37:46
|
|
Do away with the flaky free_work api in the driver code which would often lose the work data in opencl and simply flush it before exiting the opencl scanhash.
|
|
c34ff367
|
2012-11-24T23:08:14
|
|
Use base_work for comparison just for cleanness in __copy_work
|
|
73671ab3
|
2012-11-24T18:45:02
|
|
Remove all static work structs, using the make and free functions.
|
|
3ab92ef6
|
2012-11-24T13:35:00
|
|
Add pool no. to stale share detected message.
|
|
850d07df
|
2012-11-24T12:58:58
|
|
Add info about which pool share became stale while resubmitting.
|
|
ce7801be
|
2012-11-24T12:49:20
|
|
Copy the work on opencl_free_work
|
|
14e169b2
|
2012-11-24T12:41:35
|
|
Add an extra slot in the max backlog for ztex to minimise dupes.
|
|
31e43944
|
2012-11-24T10:58:46
|
|
Do not use or count or use the getworks submitted which are simply testing that pools are still up. This was increasing share leakage and making stats not reflect real work.
|
|
2d35ac25
|
2012-11-24T10:47:20
|
|
Track all dynamically allocated memory within the work struct by copying work structs in a common place, creating freshly allocated heap ram for all arrays within the copied struct.
Clear all work structs from the same place to ensure memory does not leak from arrays within the struct.
Convert the gbt coinbase and stratum strings within the work struct to heap ram.
This will allow arbitrary lengths without an upper limit for the strings, preventing the overflows that happen with GBT.
|
|
641dbce8
|
2012-11-23T13:47:40
|
|
Merge pull request #330 from luke-jr/err_func_nostart
opencl: Use new dev_error function for REASON_DEV_NOSTART
|
|
833ecf9b
|
2012-11-23T13:46:53
|
|
Merge pull request #331 from denis2342/master
updated the pkg-config patches, now with mingw support and tested
|
|
972ddf74
|
2012-11-23T03:42:47
|
|
libztex: Work around ZTEX USB firmware bug exposed by the FreeBSD libusb
The ZTEX USB firmware doesn't correctly support GET_DESCRIPTOR requests
for string descriptors, specifically the device always returns the full
string descriptor, even if the request wLength is shorter. The FreeBSD
implementation of libusb_get_string_descriptor_ascii() first requests 4
(four) bytes to validate the start of the string descriptor, and since
the device sends back too many bytes the USB host controller signals an
error to FreeBSD which returns the error to us.
In order to avoid this mess the libusb_get_string_descriptor_ascii()
call is replaced with the way libusb-1.0 works; which makes only a
single request to read the entire string descriptor.
|
|
4e706162
|
2012-11-16T00:59:21
|
|
configure.ac: FreeBSD can't use pkg-config to find libusb-1.0
|