307 Commits

Author SHA1 Message Date
WantClue
2653c8c046 overheat mode webui button enable 2024-08-13 21:51:12 +02:00
WantClue
52d0d818ac changing logging output to comment 2024-08-13 11:50:56 +02:00
WantClue
20a1d6598b including mutex protection 2024-08-13 11:23:13 +02:00
WantClue
65586d051f Ignoring Pre-Releases from now on. 2024-08-12 17:25:04 +02:00
WantClue
67b03ce73d fix queue startup reading 2024-08-10 16:38:11 +02:00
WantClue
c46218d63e
Merge pull request #281 from skot/overheat_moved
changing overheat check out of loop
2024-08-10 11:46:25 +02:00
WantClue
6350c8b4bb changing overheat check out of loop 2024-08-09 23:41:08 +02:00
Skot
01ff379757 moved nvs_close in nvs_config_get_u16() 2024-08-09 16:56:18 -04:00
Skot
349b5cbd35 reduce ASIC serial RX buf to 16 bytes (from 1024). make sure to free() after every nvs_config_get_string() 2024-08-09 16:27:29 -04:00
WantClue
7c46ad3ed0 fix naming discrepancy 2024-08-09 21:55:13 +02:00
WantClue
c8f0fb1176 typo 2024-08-03 14:01:19 +02:00
WantClue
4f394c4708 adding disable button if overheat mode is false 2024-08-03 13:01:35 +02:00
WantClue
93916fd80d update set setting 2024-08-01 23:13:59 +02:00
WantClue
f3a344f2a4
Merge pull request #266 from skot/master
update overheat branch
2024-08-01 23:00:41 +02:00
WantClue
95fb4775ef overheat mode init 2024-08-01 22:58:19 +02:00
WantClue
3c3cb6c042 adding ckpool to quicklink 2024-07-25 16:48:44 +02:00
WantClue
d56a2d873c
Merge pull request #254 from harrr1/quicklink_solo_d_central_tech 2024-07-14 22:38:36 +02:00
mutatrum
e3ef2e55bd
Implement client.reconnect and reset stratum uid on reconnect (#253)
* Implement client.reconnect and reset stratum uid on reconnect
2024-07-12 14:11:48 -04:00
RYUU SEIU
30b9f29c20
fix some axe-os ui problems (#256) 2024-07-12 14:09:27 -04:00
mutatrum
d1f22b5902
Fix build failure due to missing import in asic_task.h (#255) 2024-07-11 16:26:05 -04:00
harrr1
e497a1ddae
Fix typo 2024-07-10 17:00:45 +02:00
harrr1
630d77db0c
Add quick link to stats when mining on solo.d-central.tech 2024-07-10 16:59:22 +02:00
Skot
04c8b80287
WIP: Fix job interval timing (#249)
* 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>
2024-07-07 09:05:31 -04:00
WantClue
2e57ff2b4d
Merge pull request #242 from tommywatson/issue_219
Switch share count from u16 to u64 #219
2024-07-02 11:39:42 +02:00
tommy
e6c91eea6e Switch share count from u16 to u64 #219 2024-06-23 11:33:57 -05:00
Benjamin Wilson
336ed3aaa9 Fix low hashrate, fix overheat boot loop 2024-06-22 19:15:25 -04:00
Skot
08b7ad5409 round the ASIC temp to 1 fixed. 2024-06-21 00:12:07 -04:00
Benjamin Wilson
af8dc0cd12 add current for context of updates 2024-06-20 20:32:20 -04:00
Benjamin Wilson
9140d09111 https://github.com/skot/ESP-Miner/issues/225 2024-06-20 20:17:33 -04:00
Benjamin Wilson
c0a1f0f15a https://github.com/skot/ESP-Miner/issues/237 2024-06-20 19:59:56 -04:00
mutatrum
a3f381862e
Changes efficiency metric on display (#236)
Similar to #230 but for the display
2024-06-20 17:34:25 -04:00
tommywatson
c011895dff
Fixed fan speed web update #141 (#222)
* 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>
2024-06-20 17:23:53 -04:00
tdb3
50235ace39
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.
2024-06-20 14:26:13 -04:00
tdb3
db49aa12b0
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.
2024-06-20 13:52:55 -04:00
yanir99
ff5b60b54e
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
2024-06-20 12:21:05 +02:00
Georges
9dc8c8cad3
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>
2024-06-19 15:29:45 +02:00
Nathan Day
e760af7831
Changes efficiency metric display in AxeOS (#231)
Fixes https://github.com/skot/ESP-Miner/issues/230
2024-06-19 10:08:03 +02:00
Georges Palauqui
5cf16e1bcf
fix another pointer error 2024-06-18 08:21:17 +02:00
tommywatson
00a3a0ba3d
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>
2024-06-18 08:18:51 +02:00
Skot
344c5d8d22 adjust share accpeted/rejected functions to take higher level GLOBAL_STATE to fix share accounting. 2024-06-17 16:30:03 -04:00
Georges
10c331a400
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>
2024-06-14 16:09:08 -04:00
Georges Palauqui
3d6619f534
refactor self_test to be modular for new hardware 2024-06-13 19:22:41 +02:00
Georges Palauqui
2dff706225
code refactor: prepare room for HEX 2024-06-12 16:21:59 +02:00
Georges Palauqui
c8789269f9
refactor GLOBAL_STATE argument instead of MODULE only 2024-06-12 15:05:14 +02:00
Georges Palauqui
11107a3d32
fix dependancies 2024-06-11 10:14:30 +02:00
Georges Palauqui
d21b26e1e8
add more explaination about the DS4432+TPS40305 regulate voltage 2024-06-11 10:12:35 +02:00
Georges Palauqui
87b4c1c72f
add new i2c_master_register_write_word() in i2c_master 2024-06-11 10:11:27 +02:00
Georges
deb76ac058
Merge pull request #206 from skot/multi-chip
Multi chip support
2024-06-10 10:14:41 +02:00
Georges Palauqui
5e305ba6c7
no need to introuce new NVS parameters, they can be derived from the device_model ! 2024-06-10 10:02:36 +02:00
Benjamin Wilson
92924f72c6 Move power management task above wifi to prevent over heating 2024-06-08 10:03:29 -04:00