Con Kolivas
fc80e2feb6
Deprecate preferred packet size functions in usbutils since they're unhelpful.
11 years ago
Roy Badami
8795fbc2c6
Remove modified Bitburner avalon defaults - I was mistaken about maximum
...
stack size
11 years ago
Roy Badami
5d6167700a
Code cleanup and improved documentation
11 years ago
Roy Badami
c69a130dc1
Improvements to support for BitBurner boards
...
--bitburner-fury-options allows avalon-options to be overridden for
BitBurner Fury Boards, facilitating simultanous use of BitBurner XX
and BitBurner Fury boards
More sensible defaults for BitBurner boards, so cgminer should do something
sensible without any command line args
11 years ago
Chris Chua
5af1cfe33d
increasing max miners for avalon driver (properly this time)
11 years ago
Chris Chua
b509e84376
using separate identifier for bitburner fury boards
11 years ago
Chris Chua
521e746b80
changes to bitburner driver for bitburner fury boards
11 years ago
Con Kolivas
a5ed1771a4
Revert "Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles."
...
This reverts commit 7be59992c1
.
Of dubious utility since a full nonce range is not scanned before loading more work.
11 years ago
Con Kolivas
7be59992c1
Further smooth out avalon hashrate by limiting the maximum number of nonces counted each cycle to 1 per miner, saving them for later cycles.
11 years ago
Con Kolivas
39ec9518d5
Enable the usb buffer in avalon driver.
11 years ago
ckolivas
6d7471237d
Use macro expansion to iterate over all device drivers without needing to explicitly code in support in all places. Pass a hotplug bool to the detect() function to prevent opencl trying to hogplug GPUs.
11 years ago
ckolivas
741b74309e
Forward declare all device drivers in miner.h avoiding the need to export them everywhere else.
11 years ago
ckolivas
8875197466
Create a macro list of drivers to enable easier addition of further drivers.
11 years ago
Kano
d3a3b3a73d
usbutils allow PrefPacketSize per endpoint
11 years ago
Kano
c4b685cbe7
avalon stats use exact type
11 years ago
Xiangfu
088a340342
avalon: display the FPGA controller version on API
11 years ago
Kano
a9faec4a4b
change drivers to use usb_interface() - required for multi interface change
11 years ago
Kano
87e5c76f4d
BTB show C/MHz/mV for device
11 years ago
Con Kolivas
c56d44cebd
Use stack data for HW error% in avalon stats.
11 years ago
Con Kolivas
8a01f5326c
Add avalon HW error% to stats and only show BTB variables if avalon is a BTB.
11 years ago
Con Kolivas
eeac9d81fc
Replace all references to the old n*sleep functions with the equivalent cgsleep_*s replacements.
11 years ago
Kano
96c0c31775
BTB get version from Firmware
11 years ago
Con Kolivas
09e9091dd7
Simplify cgsleep code for windows by using a typedef for cgtimer_t that resolves to clock resolution, using that internally.
11 years ago
Con Kolivas
17447ec7e2
Use the cgsleep reentrant function in avalon_send_task.
11 years ago
Con Kolivas
c988587b45
Use the reentrant cgsleep functions within the avalon_send_tasks function.
11 years ago
Con Kolivas
e784b23004
Use the reentrant cgsleep function to time sleeps on reading from avalon.
11 years ago
Con Kolivas
37ff9f8428
Add necessary time header include to avalon driver.
11 years ago
Con Kolivas
1864ed2634
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.
11 years ago
Con Kolivas
33bb8c7958
Use the us_to_timeval helper function in the avalon driver.
11 years ago
Con Kolivas
53beae814d
Use timeval_to_spec helper in avalon driver.
11 years ago
Chris Chua
26de6e64be
simplifying buffer full check
11 years ago
Chris Chua
0b9474f3a2
forking bitburner write thread function
11 years ago
Chris Chua
be0d899b74
making sure original Avalon is unaffected by BitBurner changes
11 years ago
Chris Chua
2b932ccb81
changes to queueing strategy for BitBurner boards
11 years ago
Con Kolivas
f3f939dd83
Do not poll in avalon_get_results without sleeping if we have finished parsing a full result.
11 years ago
Con Kolivas
61cb05a963
Add c to ambient temperature display for avalon driver.
11 years ago
Kano
51aaf816ef
avalon for timeout allow d='calculate it' and fix uninitialised
11 years ago
Con Kolivas
3fe8948629
Use cloned work when finding avalon results since another thread can discard the work item while it's in use.
11 years ago
Con Kolivas
dd9233f78b
The write thread in avalon is only ever actually woken up by timeout so remove the write semaphore and use a simple sleep poll.
11 years ago
Con Kolivas
b2a3941ef1
Fix warning.
11 years ago
Con Kolivas
992a97a396
Interrupting reads on the avalon to start writes loses data so remove the cgsem_post in the read code.
11 years ago
Kano
b1f57595bd
avalon init write_sem before use
11 years ago
Con Kolivas
f7e6701058
Fix uninit variable warnings.
11 years ago
Kano
b1a80cef15
avalon allow frequency to be set via the API
11 years ago
Kano
802737e8dd
BTB voltage management via the API - and set default on startup
11 years ago
Kano
ecc9457b6b
Avalon BTB allow partial work to be transferred
11 years ago
Kano
6dabdff15c
avalon_cts use correct buffer
11 years ago
Chris Chua
782206ceca
using usb_ident
12 years ago
Chris Chua
b8cdaea8bb
forgot a return
12 years ago
Chris Chua
b0f4d55be7
changes to Avalon driver for BitBurner boards
12 years ago