Bitcoin Forum
May 02, 2024, 06:10:07 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: [1]
  Print  
Author Topic: How would you get started on create a custom firmware for a Antminer S19  (Read 214 times)
jc230285 (OP)
Newbie
*
Offline Offline

Activity: 4
Merit: 0


View Profile
June 08, 2023, 11:46:18 AM
 #1

Hi

I've been hunting for people to help me create custom firmware for the Antminer S19 and what costs would be involved, i just don't feel the Antminer S19 Firmware is very optimised in the Fan control and Power Control

Thanks
1714630207
Hero Member
*
Offline Offline

Posts: 1714630207

View Profile Personal Message (Offline)

Ignore
1714630207
Reply with quote  #2

1714630207
Report to moderator
1714630207
Hero Member
*
Offline Offline

Posts: 1714630207

View Profile Personal Message (Offline)

Ignore
1714630207
Reply with quote  #2

1714630207
Report to moderator
1714630207
Hero Member
*
Offline Offline

Posts: 1714630207

View Profile Personal Message (Offline)

Ignore
1714630207
Reply with quote  #2

1714630207
Report to moderator
"Your bitcoin is secured in a way that is physically impossible for others to access, no matter for what reason, no matter how good the excuse, no matter a majority of miners, no matter what." -- Greg Maxwell
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714630207
Hero Member
*
Offline Offline

Posts: 1714630207

View Profile Personal Message (Offline)

Ignore
1714630207
Reply with quote  #2

1714630207
Report to moderator
BitMaxz
Legendary
*
Offline Offline

Activity: 3248
Merit: 2955


Block halving is coming.


View Profile WWW
June 08, 2023, 03:43:50 PM
 #2

No one would do that and there is no guide here on how to create custom firmware for this unit and I'm sure no one will share a guide.

If your problem is the fan and power control there are some modded firmware that you can find on the forum with that features.
Sample Braiins OS you can find their official thread from this link below

- https://bitcointalk.org/index.php?topic=5036844.0

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Artemis3
Legendary
*
Offline Offline

Activity: 2016
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
June 10, 2023, 07:40:33 PM
 #3

Easy: you start by requesting Bitmain the modifications done to cgminer that made it possible to work with those chips, which they are obligated to provide. Good luck...

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
MinerMEDIC
Member
**
Offline Offline

Activity: 166
Merit: 82

EET/NASA intern 2013 Bitmain/MicroBT/IPC cert


View Profile
June 12, 2023, 01:18:31 AM
 #4

First you would use an S17+ control board because it's unlocked and available for modification of firmware.

Next you would become a Linux God who can compile code and create shell scripts.

Then, you would tear apart a test jig to understand how to send commands to the  hashboard and receive the nonce.

Once you have the nonce you have to know how to send that to your pool for credit. Somewhere around the second or third step you're going to figure out how to fiddle with little things like frequency and voltage too get your desired effects.


That's just a high level, back of the envelope, look at the top of the iceberg.


---Hi, I'm Juergen "Jay" & I TEACH and REPAIR ASIC HASHBOARDS-- Purdue AS EET -- MinerMEDIC is NOW FREELANCE in Chicago!
kano
Legendary
*
Offline Offline

Activity: 4480
Merit: 1800


Linux since 1997 RedHat 4


View Profile
June 12, 2023, 11:33:18 PM
 #5

Easy: you start by requesting Bitmain the modifications done to cgminer that made it possible to work with those chips, which they are obligated to provide. Good luck...
Well ... it's not that hard Smiley

The S19 does block version rolling to generate work internally, so I/O to the chips is much lower than e.g. the BM1397

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
Artemis3
Legendary
*
Offline Offline

Activity: 2016
Merit: 1563


CLEAN non GPL infringing code made in Rust lang


View Profile WWW
August 19, 2023, 03:58:17 PM
 #6

Easy: you start by requesting Bitmain the modifications done to cgminer that made it possible to work with those chips, which they are obligated to provide. Good luck...
Well ... it's not that hard Smiley

The S19 does block version rolling to generate work internally, so I/O to the chips is much lower than e.g. the BM1397

So you figured that independently by yourself. But that doesn't remove the fact that Bitmain is infringing cgminer and they must release the source with the modifications that made possible to use those chips, so that you "upstream" can decide to add support to those.

Exactly how many months/years you have wasted figuring those chips, when it was your right to know this information from the beginning? Bitmain or any other asic manufacturer is not allowed to publicly redistribute modified cgminer without releasing the code. They have been pirating cgminer for years, and yet your attitude with them is passive.

Selling asic miners with modded cgminer constitutes redistribution, and refusing to provide the source code activates the termination clause 8 of the GPL. Just because you decided to be passive, doesn't remove these facts, and anyone can sue them for this, especially in the US.

Of course there is also the fact that there are companies running gear with that pirated software... But you allow that pirated software in your pool, go figure.

██████
███████
███████
████████
BRAIINS OS+|AUTOTUNING
MINING FIRMWARE
|
Increase hashrate on your Bitcoin ASICs,
improve efficiency as much as 25%, and
get 0% pool fees on Braiins Pool
kano
Legendary
*
Offline Offline

Activity: 4480
Merit: 1800


Linux since 1997 RedHat 4


View Profile
August 21, 2023, 08:02:12 AM
 #7

Easy: you start by requesting Bitmain the modifications done to cgminer that made it possible to work with those chips, which they are obligated to provide. Good luck...
Well ... it's not that hard Smiley

The S19 does block version rolling to generate work internally, so I/O to the chips is much lower than e.g. the BM1397

So you figured that independently by yourself. But that doesn't remove the fact that Bitmain is infringing cgminer and they must release the source with the modifications that made possible to use those chips, so that you "upstream" can decide to add support to those.

Exactly how many months/years you have wasted figuring those chips, when it was your right to know this information from the beginning? Bitmain or any other asic manufacturer is not allowed to publicly redistribute modified cgminer without releasing the code. They have been pirating cgminer for years, and yet your attitude with them is passive.

Selling asic miners with modded cgminer constitutes redistribution, and refusing to provide the source code activates the termination clause 8 of the GPL. Just because you decided to be passive, doesn't remove these facts, and anyone can sue them for this, especially in the US.

Of course there is also the fact that there are companies running gear with that pirated software... But you allow that pirated software in your pool, go figure.
Five things:
1) You are replying to something I wrote more than 2 months ago Smiley

2) When have I been passive about the license violation?
I'm the only one who is active about it.
As I have stated before a number of times in the past, the catch is the GPL doesn't apply in China ...

3) Yes Bitmain violate the license, as I keep saying about all the miners.
'Technically' even you do since you used the opensource code to help write your miner in a different language then close sourced it Tongue

4) It took me about an hour to work out the version rolling plus everything else in the work protocol of the s19
(but someone else also took time to dump the data for me)

5) You allow all cgminer license violations on your pool.
I block all the ones I know about who also make false claims about not violating the license and have never released any code.

Pool: https://kano.is - low 0.5% fee PPLNS 3 Days - Most reliable Solo with ONLY 0.5% fee   Bitcointalk thread: Forum
Discord support invite at https://kano.is/ Majority developer of the ckpool code - k for kano
The ONLY active original developer of cgminer. Original master git: https://github.com/kanoi/cgminer
stablepayouts4u
Newbie
*
Offline Offline

Activity: 3
Merit: 0


View Profile
August 21, 2023, 03:49:38 PM
 #8

Hi

I've been hunting for people to help me create custom firmware for the Antminer S19 and what costs would be involved, i just don't feel the Antminer S19 Firmware is very optimised in the Fan control and Power Control

Thanks

Bitmain definitely knows what they're doing & if someone can optimize anything on that board - it's them. They're not obliged to tell you anything & can use whatever software/hardware they want, & then you can do what you want with it.

That aside, there's a lot of info/documentation on their asic chips lately. Tons of folks are soldering them to their own PCB's. We're already seeing many projects with one or two asics on small pcb's controlled by some small mcu or via serial by a pc, next they're going to put 5 on a board, next 10, then you're going to have full fledged open source s19 type machines. It won't change anything though - The vast majority of the cost of a sha256d miner is in the asic development/wafer printing - even if you hand crafted a shad256d miner asic by asic, resistor by resistor, etc, custom controller board, etc with your own soldering iron - the cost would be similar to MSRP for a s19, for example. Bitmain is selling those machines for very, very close to their production cost. Just in case you're thinking it's cheaper to build your own miners.

To answer your question though, how much to hack a fan control? That's more of a reverse engineering job than development, reversing costs are generally much cheaper than programming. I'd say not as much as you'd think, plenty of forums with lots of talented reversers who'd probably work with you for a few thousand US. If you want a custom pcb controller board with tested, quality software, you'd need to start adding 0's to the price.
mikeywith
Legendary
*
Offline Offline

Activity: 2212
Merit: 6366


be constructive or S.T.F.U


View Profile
August 22, 2023, 10:27:37 PM
 #9

5) You allow all cgminer license violations on your pool.
I block all the ones I know about who also make false claims about not violating the license and have never released any code.

That is an interesting observation, Braiins Pool previously known as Slush allows all SHA256 miners with all different firmware versions to mine to their pool, which is pretty standard just like all the other pools, I would personally do the same if I had a mining pool. Now Artemis3 being Braiins's representative shouldn't be going around telling other pools what should and what should not, I can do it since I am not affiliated with any pools or firwamre. Cheesy

On a side but related note, what firmware do you actually block? I have tested one which you are most likely blocking and it mined just fine on your pool, not saying your claim is invalid, maybe your code is broken? Cheesy, and please, don't start with all the personal attacks I am asking a simple question with no hidden agenda.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
NotFuzzyWarm
Legendary
*
Offline Offline

Activity: 3626
Merit: 2520


Evil beware: We have waffles!


View Profile
August 23, 2023, 12:39:42 AM
Last edit: August 24, 2023, 01:38:01 AM by NotFuzzyWarm
Merited by mikeywith (4)
 #10

Quote
On a side but related note, what firmware do you actually block? I have tested one which you are most likely blocking and it mined just fine on your pool,
Braiins is allowed because as Kano has said it is a clean(ish) re-write that used cgminer as a reference but is nonetheless not just hacked cgminer code.

Everything else is more than anything just patched Bitmain's (illict) cgminer code to add features (and charge for it) and then adding insult to injury refused to make their recompiled code public eg firmware such as Vanish and its ilk is verbotten.

- For bitcoin to succeed the community must police itself -    My info useful? Donations welcome! 1FuzzyWc2J8TMqeUQZ8yjE43Rwr7K3cxs9
 -Sole remaining active developer of cgminer, Kano's repo is here
-Support Sidehacks miner development. Donations to:   1BURGERAXHH6Yi6LRybRJK7ybEm5m5HwTr
mikeywith
Legendary
*
Offline Offline

Activity: 2212
Merit: 6366


be constructive or S.T.F.U


View Profile
August 23, 2023, 02:45:02 AM
 #11

Quote
On a side but related note, what firmware do you actually block? I have tested one which you are most likely blocking and it mined just fine on your pool,
Braiins is allowed because as Kano has said it is a clean(ish) re-write that used cgminer as a reference but is nonetheless not just hacked cgminer code.

Everything else that more than anything else just patched Bitmain's (illict) cgminer code to add features (and charge for it) and then adding insult to injury refused to make their recompiled code public eg firmware such as Vanish and its ilk is verbotten.

I am aware of that, I was not talking about Braiins but rather another firmware that I am sure Kano would want to block, but I managed to mine to Kano.is using that firmware, which is why I am asking if he is sure that his "blocking" is actually working and whether it has been tested or not.

█▀▀▀











█▄▄▄
▀▀▀▀▀▀▀▀▀▀▀
e
▄▄▄▄▄▄▄▄▄▄▄
█████████████
████████████▄███
██▐███████▄█████▀
█████████▄████▀
███▐████▄███▀
████▐██████▀
█████▀█████
███████████▄
████████████▄
██▄█████▀█████▄
▄█████████▀█████▀
███████████▀██▀
████▀█████████
▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀
c.h.
▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄
▀▀▀█











▄▄▄█
▄██████▄▄▄
█████████████▄▄
███████████████
███████████████
███████████████
███████████████
███░░█████████
███▌▐█████████
█████████████
███████████▀
██████████▀
████████▀
▀██▀▀
Pages: [1]
  Print  
 
Jump to:  

Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!