Commit Graph

462 Commits

Author SHA1 Message Date
dd0df1ae31 asic_response_buffer size fix 2024-08-15 19:23:57 -04:00
4cd7a38b9f rebasing gamma-support on 2.1.10 2024-08-15 18:51:05 -04:00
064b89207f fix memset buf 2024-08-13 22:32:11 +02:00
2653c8c046 overheat mode webui button enable v2.1.10 2024-08-13 21:51:12 +02:00
90ebf26fc2 Merge pull request #285 from skot/219-leak_hunting
219 leak hunting
2024-08-13 19:14:00 +02:00
52d0d818ac changing logging output to comment 2024-08-13 11:50:56 +02:00
20a1d6598b including mutex protection 2024-08-13 11:23:13 +02:00
65586d051f Ignoring Pre-Releases from now on. 2024-08-12 17:25:04 +02:00
7e95558e95 Merge pull request #284 from skot/work_queue_fix
fix queue startup reading
2024-08-12 17:05:00 +02:00
67b03ce73d fix queue startup reading 2024-08-10 16:38:11 +02:00
c46218d63e Merge pull request #281 from skot/overheat_moved
changing overheat check out of loop
2024-08-10 11:46:25 +02:00
6350c8b4bb changing overheat check out of loop 2024-08-09 23:41:08 +02:00
01ff379757 moved nvs_close in nvs_config_get_u16() 2024-08-09 16:56:18 -04:00
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
99e4f12da3 change to overheat_mode in config example 2024-08-09 16:12:44 -04:00
2e03a8f0e9 clear ASIC RX serial buffer on framing errors (#279)
* added rx serial buffer flush and serial debugging for BM1368

* added serial buffer flush to BM1366 also

* turned off ASIC serial debugging. let's see how this does on free heap
2024-08-09 16:06:12 -04:00
7c46ad3ed0 fix naming discrepancy 2024-08-09 21:55:13 +02:00
6101b3e6c2 change stratum subscribe method to not send extra characters 2024-08-08 08:48:53 +02:00
d9669d1b21 Merge pull request #267 from skot/overheat_mode
Overheat mode
v2.1.9
2024-08-03 21:31:26 +02:00
c8f0fb1176 typo 2024-08-03 14:01:19 +02:00
4f394c4708 adding disable button if overheat mode is false 2024-08-03 13:01:35 +02:00
93916fd80d update set setting 2024-08-01 23:13:59 +02:00
f3a344f2a4 Merge pull request #266 from skot/master
update overheat branch
2024-08-01 23:00:41 +02:00
95fb4775ef overheat mode init 2024-08-01 22:58:19 +02:00
4c118f873f Merge pull request #260 from WantClue/master
adding ckpool to quicklink
2024-07-25 19:49:40 +02:00
3c3cb6c042 adding ckpool to quicklink 2024-07-25 16:48:44 +02:00
d56a2d873c Merge pull request #254 from harrr1/quicklink_solo_d_central_tech 2024-07-14 22:38:36 +02:00
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
30b9f29c20 fix some axe-os ui problems (#256) 2024-07-12 14:09:27 -04:00
d1f22b5902 Fix build failure due to missing import in asic_task.h (#255) 2024-07-11 16:26:05 -04:00
2dcff97bea fix minor bug (log display) 2024-07-10 21:25:31 +02:00
e497a1ddae Fix typo 2024-07-10 17:00:45 +02:00
630d77db0c Add quick link to stats when mining on solo.d-central.tech 2024-07-10 16:59:22 +02:00
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
248df91543 Fixed incompatible function signature (#247) 2024-07-02 14:12:03 +02:00
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
220c220017 Merge pull request #243 from mutatrum/master
Change stratum message_id to int64_t
2024-06-26 08:02:38 +02:00
e3edb87b6c Change stratum message_id to 64bit 2024-06-25 15:34:15 +02:00
e6c91eea6e Switch share count from u16 to u64 #219 2024-06-23 11:33:57 -05:00
336ed3aaa9 Fix low hashrate, fix overheat boot loop 2024-06-22 19:15:25 -04:00
19aa080202 Left a dangling pointer (#240)
* Clean up and return 0 on recv, let task reconnect

* Set json buffer to null

---------

Co-authored-by: tommy <tommy@tommywatson.com>
Co-authored-by: Skot <skot@bitnet.cx>
2024-06-21 08:26:19 -04:00
08b7ad5409 round the ASIC temp to 1 fixed. 2024-06-21 00:12:07 -04:00
34cf8d9483 Clean up and return 0 on recv, let task reconnect (#227)
Co-authored-by: tommy <tommy@tommywatson.com>
2024-06-20 23:49:06 -04:00
af8dc0cd12 add current for context of updates 2024-06-20 20:32:20 -04:00
9140d09111 https://github.com/skot/ESP-Miner/issues/225 2024-06-20 20:17:33 -04:00
c0a1f0f15a https://github.com/skot/ESP-Miner/issues/237 2024-06-20 19:59:56 -04:00
a3f381862e Changes efficiency metric on display (#236)
Similar to #230 but for the display
2024-06-20 17:34:25 -04:00
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
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
ce0be46890 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.
2024-06-20 14:19:04 -04:00