724 Commits

Author SHA1 Message Date
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
tommywatson
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
Skot
08b7ad5409 round the ASIC temp to 1 fixed. 2024-06-21 00:12:07 -04:00
tommywatson
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
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
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
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
2070108814
fix readme 2024-06-13 10:04:32 +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 v2.1.8 2024-06-08 10:03:29 -04:00
Georges Palauqui
17852f03c5
oups 2024-06-07 21:59:04 +02:00
Georges Palauqui
95a2a8c605
loop over regA8 for all chips 2024-06-07 21:52:12 +02: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
4d8d7abaf5
Merge pull request #205 from skot/refactor-vcore
refactor: split vcore out from ds4432 driver, to make it an abstracti…
2024-06-06 13:58:45 +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
38fb4ae999
Merge pull request #198 from skot/optim-strcmp
Small optimization : avoid strcmp
2024-06-04 18:59:17 +02:00
wizkid057
62693c12fd
Add software version string to the stratum mining.subscribe (#197)
lgtm
2024-06-04 11:30:38 -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) v2.1.7 2024-06-02 09:06:00 -04:00