391 Commits

Author SHA1 Message Date
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
Georges Palauqui
525beb7379
dynamic Hashrate calculation in AxeOS (with multi chip support) 2024-06-07 15:26:36 +02:00
Georges Palauqui
271d091b03
cosmetic 2024-06-07 15:26:34 +02:00
Georges Palauqui
771210e8f1
scale job rate to nonce space sharing between multi chips 2024-06-07 15:24:58 +02:00
Georges Palauqui
5b38d332ce
distribute chip address to all chip available 2024-06-07 15:24:56 +02:00
Georges Palauqui
8756581da6
add support for multi asic in multi voltage domain 2024-06-07 15:24:54 +02:00
Georges Palauqui
bc365e6301
make a better usage of vcore module 2024-06-07 14:36:15 +02:00
Georges Palauqui
27376e5b75
remove useless enum values 2024-06-07 14:05:11 +02:00
Georges Palauqui
2d15d447e0
refactor: split vcore out from ds4432 driver, to make it an abstraction of whatever hardware is regulating vcore (making room for TPS546) 2024-06-06 12:14:15 +02:00
Georges
c9865a5e0a
Optimization: i2c factorization (#202)
* optim: factorize i2c_master_init() and i2c_master_delete()

* optim: factorize register_read() and register_write_byte()
2024-06-05 18:53:30 -04:00
Skot
56209223f2
moved the DNS lookup inside the stratum connection retry loop (#204) 2024-06-05 17:31:35 -04:00
WantClue
8b94e5a084 adding short and long button press 2024-06-05 23:19:09 +02:00
Georges
abe6d2815c
Merge pull request #188 from tdb3/dedup_i2c_params
refactor: deduplicate i2c parameters
2024-06-05 09:38:44 +02:00
wizkid057
f2fda4e5f1
Add quick link to stats when mining on OCEAN (#200)
Lgtm
2024-06-04 21:10:20 -04:00
Georges Palauqui
22393a4f68
avoid strcmp 2024-06-04 17:06:45 +02:00
Skot
4bda726f38
update system hashrate on every chip share, not just pool shares. (#196) 2024-06-02 09:06:00 -04:00
Skot
11c1d087a8
Stratum message ordering fix (#192)
* rough strategy for this fix. needs testing
* seems to be working with OCEAN. need to make sure nothing else is broken
* add version mask debug
* removed stratum setup response results from A/R shares tally
2024-05-31 17:43:10 -04:00