Log

Author Commit Date CI Message
Con Kolivas a76bc0e0 2013-08-19T19:57:50 Carve out the unused portions of sha2 implementation.
Con Kolivas 78d78b10 2013-08-19T19:10:41 Import Aaron D. Gifford's fast sha256 implementation.
Con Kolivas 2a78cd36 2013-08-19T18:08:17 Increase the que_low watermarks on BFLSC for they are too low to keep the device busy on scanwork loops.
Con Kolivas dddc2d1e 2013-08-19T17:59:59 Revert "Reuse times extracted from the clock in bflsc_get_results." This reverts commit 1d8235334d0bac696e91dc246af2aab9f1d35d36. Monotonic clock does not return the same times as gettimeofday.
Con Kolivas 1d823533 2013-08-19T17:55:32 Reuse times extracted from the clock in bflsc_get_results.
Con Kolivas b238139c 2013-08-19T17:44:45 Provide cgtimer_to_timeval helper functions.
Con Kolivas 09679e9f 2013-08-19T17:38:20 Provide a timeval_to_cgtime helper function to reuse values.
Con Kolivas 97431945 2013-08-19T16:36:01 Sleep for half a work period only in bflsc_get_results if no dev is suitable.
Con Kolivas a61e41a0 2013-08-19T15:58:22 Check for thr->work_restart in restart_wait.
Con Kolivas 89f571f5 2013-08-19T15:51:14 We should be using que_low to decrease scan sleep time in bflsc.
Con Kolivas 09dbd616 2013-08-19T13:57:36 Prepare sleep time on bflsc if no dev needs work yet to avoid busy waiting.
Con Kolivas 09e9091d 2013-08-19T13:54:56 Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
Con Kolivas 404cbdea 2013-08-19T13:29:23 On windows use the higher accuracy timegettime function to really get 1ms clock and timer accuracy.
Con Kolivas e56c9a5d 2013-08-18T16:49:15 Use the cgsleep reentrant function to sleep for bflsc between read results to account for time taken to perform reads.
Con Kolivas 3c707202 2013-08-18T16:46:27 Use 100ms delay between checking for results on all bflsc devices as the buffering of results mean checking more frequently just wastes CPU and causes more lock contention for only marginally better latencies.
Con Kolivas ffa12a13 2013-08-18T14:35:01 Fix missed endtimeperiod in overrun timer on windows.
Con Kolivas ad87db07 2013-08-18T14:30:54 Make cgsleep_us_r take an int64_t for us.
Con Kolivas 703c7309 2013-08-18T14:26:41 Make the cgsleep functions build on windows.
Con Kolivas 17447ec7 2013-08-18T11:59:02 Use the cgsleep reentrant function in avalon_send_task.
Con Kolivas c988587b 2013-08-18T11:48:42 Use the reentrant cgsleep functions within the avalon_send_tasks function.
Con Kolivas 81144732 2013-08-18T11:39:09 Set high resolution timing on windows within the cgsleep functions.
Con Kolivas e784b230 2013-08-18T11:02:05 Use the reentrant cgsleep function to time sleeps on reading from avalon.
Con Kolivas 621eb003 2013-08-18T10:49:52 Provide reentrant versions of cgsleep functions to allow start time to be set separately from the beginning of the actual sleep, allowing scheduling delays to be counted in the sleep.
Con Kolivas 0b5edb24 2013-08-18T10:36:25 Make the nmsleep and nusleep functions use the new cgsleep functions internally till functions are migrated to the new cgsleep API.
Con Kolivas 188210a3 2013-08-18T10:28:28 Add a ms_to_timespec helper function, and create a cgsleep_ms function that uses absolute timers with clock_nanosleep to avoid overruns.
Con Kolivas f3b75b0b 2013-08-18T01:39:35 Add rt lib linkage to enable use of clock_nanosleep functions with older glibc.
Con Kolivas 37ff9f84 2013-08-18T01:33:50 Add necessary time header include to avalon driver.
Con Kolivas 1864ed26 2013-08-18T00:47:05 Do a sleep of the full duration it would take to do all the work using clock_nanosleep in avalon_send_tasks to avoid sleep overruns before polling to see if it's ready.
Con Kolivas fe7c8e82 2013-08-18T00:39:13 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas 3da121ba 2013-08-17T07:39:00 Merge pull request #477 from someone42/master Changes to queueing strategy for BitBurner boards
Con Kolivas 99cbf09d 2013-08-18T00:38:29 Add a timeraddspec helper function.
Con Kolivas 1bcd9a43 2013-08-18T00:34:01 Provide a us_to_timespec helper function.
Con Kolivas 33bb8c79 2013-08-18T00:28:30 Use the us_to_timeval helper function in the avalon driver.
Con Kolivas 2278204d 2013-08-18T00:27:33 Provide a us_to_timeval helper function.
Con Kolivas 53beae81 2013-08-18T00:21:01 Use timeval_to_spec helper in avalon driver.
Con Kolivas a6b1c317 2013-08-18T00:19:47 Add helper functions to convert timespec to timeval and vice versa.
Chris Chua 26de6e64 2013-08-17T16:18:12 simplifying buffer full check
Chris Chua 0b9474f3 2013-08-17T15:36:47 forking bitburner write thread function
Chris Chua be0d899b 2013-08-16T17:00:56 making sure original Avalon is unaffected by BitBurner changes
Chris Chua 2b932ccb 2013-08-16T16:37:43 changes to queueing strategy for BitBurner boards
Con Kolivas 1bb6dd40 2013-08-16T13:57:54 Merge branch 'master' of github.com:ckolivas/cgminer
Con Kolivas f3f939dd 2013-08-16T13:57:07 Do not poll in avalon_get_results without sleeping if we have finished parsing a full result.
kanoi f3837916 2013-08-15T17:14:16 Merge pull request #476 from kanoi/master avalon for timeout allow d='calculate it' and fix uninitialised
Con Kolivas 61cb05a9 2013-08-16T09:55:45 Add c to ambient temperature display for avalon driver.
Kano 356fcb10 2013-08-15T12:00:04 BTB allow up to 1400mV as per firmware limits
Kano 51aaf816 2013-08-15T10:57:02 avalon for timeout allow d='calculate it' and fix uninitialised
Con Kolivas 3fe89486 2013-08-14T23:04:10 Use cloned work when finding avalon results since another thread can discard the work item while it's in use.
Con Kolivas 98e338cc 2013-08-14T22:59:57 Provide a variant of find_work_bymidstate that returns a clone of the found work.
Con Kolivas 853f145e 2013-08-14T10:49:40 Bump version number to 3.3.4
Con Kolivas 730d0626 2013-08-14T10:49:16 Update NEWS.
kanoi c9f58230 2013-08-13T17:45:39 Merge pull request #475 from kanoi/master API/miner.php add some % fields
Kano 6b62c402 2013-08-14T10:42:52 API/miner.php add some % fields
Con Kolivas e95ad047 2013-08-13T22:44:22 Nonce2 stratum submission is not working with nonce2 lengths >4, revert the buggy __bin2hex function and use bin2hex.
Con Kolivas dd9233f7 2013-08-13T17:24:01 The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll.
Con Kolivas b2a3941e 2013-08-13T15:36:52 Fix warning.
Con Kolivas 992a97a3 2013-08-13T14:52:17 Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code.
Con Kolivas 1d614599 2013-08-13T14:35:35 Add room for the null byte at the end of the nonce2 string on stratum share submission and zero the allocated ram.
Con Kolivas 07adb98b 2013-08-13T06:21:14 Bump version to 3.3.3
Con Kolivas 8876fc33 2013-08-13T06:18:12 Update NEWS for upcoming version 3.3.3
Con Kolivas c8aac741 2013-08-13T06:09:42 Only perform the bin2hex on nonce2 data if it's required for stratum submission, thereby removing the last conversion of that type from stratum work generation.
Con Kolivas 87ae66c7 2013-08-13T05:49:32 Create a work data template when receiving stratum notification, allowing a simple memcpy of the merkle root avoiding more hex2bin conversions on each work generation.
Con Kolivas 34bc106d 2013-08-13T04:57:04 Export the workpadding char in miner.h
Con Kolivas 46b6b07a 2013-08-12T16:02:20 Avoid a potential overflow should a pool specify a large nonce2 length with stratum.
Con Kolivas 0379123b 2013-08-12T15:23:35 Avoid one more hex2bin in gen stratum work.
Con Kolivas 11bcf2b3 2013-08-12T11:40:17 Rename work gbt_coinbase to coinbase to be in line with pool variable name.
Con Kolivas 5237bf35 2013-08-12T11:36:28 Perform merkle bin hex2bin on stratum notify to avoid doing it on each work generation.
Con Kolivas 8bc469e9 2013-08-12T11:16:46 Reuse just the one pool coinbase variable in stratum, avoiding more string functions and storage in gen_stratum_work on each work generation.
Con Kolivas 8c8ef6ff 2013-08-12T10:58:43 Rename pool gbt_coinbase variable to coinbase to combine it with the stratum coinbase data.
Con Kolivas c542e47a 2013-08-12T10:49:38 Use a nonce2 offset variable for both gbt and stratum to consolidate requirements on work generation.
Con Kolivas c48e28a8 2013-08-11T17:26:42 Merge pull request #474 from kanoi/master cgsem - increase information on failure
Kano eca6ace2 2013-08-12T09:00:52 util.c update quit call for new functions
Kano bab9ba96 2013-08-12T08:58:20 use correct define for OSX in util.c
Kano 309cb224 2013-08-12T08:54:11 miner.h inline semaphores increase information on failure
Kano bd3612c1 2013-08-12T08:38:02 util.c expand quit to show file/func/line
Kano cf300537 2013-08-12T08:35:29 Merge remote-tracking branch 'conman/master'
Con Kolivas fb94dfa0 2013-08-12T01:15:22 Cache as much of the gbt coinbase as possible to avoid doing unnecessary hex2bin conversion on every work generation with gbt.
Con Kolivas a1052188 2013-08-12T00:27:22 We should be using a cg_wlock initially in generating stratum and gbt work before downgrading the lock.
Con Kolivas 9552f54f 2013-08-12T00:11:49 Add the ability to downgrade a write variant of the cglocks.
Con Kolivas 3e84a19c 2013-08-11T15:10:27 Fix --scrypt being required before scrypt intensities on command line or not working at all via config files.
Con Kolivas b423fe9d 2013-08-11T14:06:17 Cache the hex2bin of pool nonce1 in stratum, avoiding hex2bin on each work generation.
Con Kolivas fef649df 2013-08-11T13:47:46 Cache the binary generation of coinbase1 and 2 on stratum, avoiding a hex2bin of coinbase1 and 2 on each work generation.
Kano 48d91c7f 2013-08-10T10:36:38 cgsem - increase information on failure
Kano b1f57595 2013-08-10T10:12:15 avalon init write_sem before use
Con Kolivas f7e67010 2013-08-10T01:11:23 Fix uninit variable warnings.
Kano ac08ed1d 2013-08-10T01:05:50 usbutils - force check every combination
Con Kolivas 4e969369 2013-08-09T21:54:05 Bump version to 3.3.2
Con Kolivas 580b77b7 2013-08-09T21:52:54 Fix warning.
Con Kolivas a4fa9051 2013-08-09T21:51:46 README updates.
Kano d470828f 2013-08-09T20:45:32 Add libusb compile information to README
Con Kolivas d06b0d96 2013-08-09T20:33:06 Update NEWS.
Con Kolivas 106e461f 2013-08-09T16:57:16 Recreate curses windows on windows when a device is hotplugged to allow window resizing without crashing.
Con Kolivas 9a21a473 2013-08-09T15:17:12 Update copyright notice.
Con Kolivas 2b171f7f 2013-08-09T15:12:57 Limit intensity range according to whether scrypt is in use or not.
Con Kolivas cb6d62de 2013-08-09T06:48:59 Do not allow benchmark mode to be used with scrypt.
Con Kolivas d71e9f91 2013-08-09T06:43:25 Add a --bflsc-overheat command which allows you to set the throttling temperature for BFLSC devices or disable it.
Con Kolivas 812852cc 2013-08-09T06:31:57 Move bflsc defines to a header file.
Kano bfe0448e 2013-08-08T00:26:42 API-README add missing freq in version log
kanoi 18b60c4e 2013-08-07T07:21:27 Merge pull request #472 from kanoi/master avalon allow frequency to be set via the API
Kano b1a80cef 2013-08-08T00:20:19 avalon allow frequency to be set via the API
kanoi e4e20620 2013-08-07T06:51:23 Merge pull request #471 from kanoi/master BTB voltage management via the API - and set default on startup