* initial changes for the gammaturbo bringup
* added preliminary TPS546 changes
* added preliminary EMC2103 support
* ASIC temp seems to be maybe working.
* magically now fan seems to have the right polarity
* added in ideality and beta constants (currently unused). Fixed EMC2103_get_fan_speed()
* abstract fan and ASIC temp into thermal functions
* abstracted voltage regulator specifics out of tasks and into power.c and vcore.c functions
* add TPS546 support for multiple models
* move TPS40305/DS4432U vout setter to DS4432U.c
* move all ASIC specific functions to asic.c
* bad device_model nvs handling
* remove old code
* add workaround for TPS546 VIN_UV_WARN_LIMIT silicon bug.
* move ADC_init() before start_http_server() because the UI reads the ADC
* split SYSTEM_init() into separate functions. cleaned up nvs init.
* fix my dumb INA260_init() memory leak
* SYSTEM_init_peripherals() cleanup
Fix all compiler warnings and migrate off depreciated ADC and I2C libraries.
---------
Co-authored-by: Erik Olof Gunnar Andersson <eandersson@users.noreply.github.com>
* make set version mask a function call
* update name
* update init fuc to support version mask setting
* update parameter spec for bm1397
* parametrize set version rolling and update init func for BM136X +
* add default stratum mask
* update all bmchips with a new set_version_mask ASIC function which can be called in main
* update init func prototype params
* update self test to remove extra vmask call in init
* fix compiler errors
* fix compiler errors in main
* add version_mask_given bool to tell the next job to set a new version mask to the chip when a smg comes in
* make sure to VCORE_init() and VCORE_set_voltage() no matter what hw version.
* added "PRESS RESET" to selftest endscreen. pulled out magic numbers to #defines
* oops, cleanup
* update 402 power target
* 403+support
---------
Co-authored-by: Benjamin Wilson <admin@opensourceminer.com>
* add extended nonce debugging
* switch to semaphore for job timing
* clean up nonce debugging. hardcode 1366 job interval to 2s and show when new jobs are sent
* set nonce range to 0x0F0000 set job interval to 20s. better stratum debugging,
* testing out longer intervals on 1368
* looking at exact serial commands sent
* fix log value digit count
* add core from nonce debug
* set BM1366 initial chip difficulty to 32
* add version rolling debug
* improve debug printing again
* fix diff
* fix core_id extraction
* printf fix
* debug cleanup
* setup BM1368 for testing. reg10 to S21 default, job interval @ 0.5s
* set init diff on 1366 and 1368 back to 256
---------
Co-authored-by: Georges Palauqui <g.palauqui@gptechinno.com>
* Fixed fan speed web update #141
These changes fix fan rpm/percent requested and update both on the web
* fix readme
* refactor self_test to be modular for new hardware
* Supra 402 (#221)
* port TCH Supra 402 branch
* refactor TMP1075 (unused?) driver using i2c_master module
* pulled in @Bitmaker-hub stratum_task.c DNS changes from PR #185
* removing serial debug
---------
Co-authored-by: Skot <skot@bitnet.cx>
* adjust share accpeted/rejected functions to take higher level GLOBAL_STATE to fix share accounting.
* Code clean resulting from looking into #218 (#220)
* Code clean resulting from looking into #218
* Fixed asic count
Set canary value for invalid device's asic_count
---------
Co-authored-by: tommy <tommy@tommywatson.com>
* fix another pointer error
* Changes efficiency metric display in AxeOS (#231)
Fixes https://github.com/skot/ESP-Miner/issues/230
* try to explain nonce space duration from paramters (#228)
* try to explain nonce space duration from paramters
* Fix Nonce Space duration for BM1397 (no version-rolling)
* fixed issue with version mask on 1397. added easy serial debugging on 1397
* cleanup jobID debugs
---------
Co-authored-by: Skot <skot@bitnet.cx>
* Update bm1397.c to increase the max frequency to 650Mhz (#209)
* Update bm1397.c to increase the max frequency to 650Mhz
The original version was setting everything above 500Mhz to 500Mhz, the update increases the limit to 650Mhz.
No changes to the web interface - drop-down still shows up to 575Mhz
* Update edit.component.ts to include higher freqeuncy for BM1397
* Updated BM1397 frequencies to above 500Mhz
* Update bm1397.c
* Update bm1397.c
* UN-Update readme.md
* Update bm1397.c
* Update bm1397.c
* Update bm1397.c
* fix: add recovery page (#232)
Adds a recovery web interface to enable users
to recover from a failed www.bin update.
Partial fix for Issue #213.
* refactor: unify merge_bin scripts (#189)
Combines the functionality of merge_bin_update.sh
and merge_bin_with_config.sh into merge_bin.sh.
Also adds more verbose usage printing.
* fix: check www.bin size before updating (#216)
Adds a basic sanity check for www.bin uploading.
Returns 400 if upload is attempted on a file larger
than the available partition space.
---------
Co-authored-by: tommy <tommy@tommywatson.com>
Co-authored-by: Georges Palauqui <g.palauqui@gptechinno.com>
Co-authored-by: Skot <skot@bitnet.cx>
Co-authored-by: Nathan Day <87125117+dadofsambonzuki@users.noreply.github.com>
Co-authored-by: yanir99 <32940160+yanir99@users.noreply.github.com>
Co-authored-by: tdb3 <106488469+tdb3@users.noreply.github.com>
* try to explain nonce space duration from paramters
* Fix Nonce Space duration for BM1397 (no version-rolling)
* fixed issue with version mask on 1397. added easy serial debugging on 1397
* cleanup jobID debugs
---------
Co-authored-by: Skot <skot@bitnet.cx>
* port TCH Supra 402 branch
* refactor TMP1075 (unused?) driver using i2c_master module
* pulled in @Bitmaker-hub stratum_task.c DNS changes from PR #185
* removing serial debug
---------
Co-authored-by: Skot <skot@bitnet.cx>