Bitcoin Forum

Bitcoin => Mining support => Topic started by: tim-bc on December 26, 2019, 03:53:38 AM



Title: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: tim-bc on December 26, 2019, 03:53:38 AM
Hello all,

I booted up an S17 / T17 control board that I bought through bitmain from https://shop.bitmain.com/product/parts

On the main page when I log in with root/root I see "MP TEST FIRMWARE!" in big red letters. Take a look:

https://i.stack.imgur.com/hIw3Z.png (p.s. the "Locate" subtab from newer firmwares is missing here)
https://i.stack.imgur.com/V3R9A.png
https://i.stack.imgur.com/9Eix9.png

Then when I click on the "Network" tab, an additional "Quality" tab appears (of course, the board is not attached to any fans or hashboards):

https://i.stack.imgur.com/jcTzl.png

Here is pastebin with kernel log:

https://pastebin.com/18mLGNJA

It doesn't really matter to me since I had to overwrite by upgrading to the latest T17 firmware anyway, but I was curious about what this MP TEST FIRMWARE might be or if anyone has seen it before. Looks like the compile time is in HKT timezone rather than CST; I haven't seen that before. Thoughts?


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: Artemis3 on December 26, 2019, 06:33:27 PM
When something like this happens, you should just hold to it and do nothing, preferably turn off the thing and wait for instructions. This could have been a giant discovery, but you already ruined it.

My thoughts? Don't post to the forum after the fact.

Of course Bitmain made a mistake shipping you that, that's what makes it valuable...


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: BitMaxz on December 26, 2019, 08:56:32 PM
They might be accidentally sent you a control board that is used for testing firmware?

I tried to find it on the Bitmain site but it seems that this is a unique firmware. Never mention even in google.

How about trying to test it with hashboard and connect it to the internet let us see if there is a difference between default and mp test firmware.

Also, check the ssh if you can access it.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on December 26, 2019, 10:38:30 PM
Shit .....

1970-01-01 00:00:44 driver-btm-soc.c:3178:init_freq_mode: This is fix-freq version


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on December 28, 2019, 01:06:45 PM
When something like this happens, you should just hold to it and do nothing, preferably turn off the thing and wait for instructions. This could have been a giant discovery, but you already ruined it.

I think you are being a bit too harsh on tim-bc , I also think you are kind of exaggerating the matter, I do not see any "giant discovery" in a test firmware, unless you believe in conspiracy theory then that's a whole different story.

I am also leaning towards the fact that all control boards that come directly form Bitmain as a spare part ( not a whole miner ) will probably have the same "MP TEST FIRMWARE", anyhow if that was a mistake by bitmain, sooner or later this firmware will be revealed by someone else, it's highly unlikely that out of thousands of boards they send only tim-bc got a "lucky" control board.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: philipma1957 on December 28, 2019, 01:40:15 PM
Well I rather not have seen the thread.  I find it annoying  when someone posts a thread like tim-bc did.
Why bother it only makes us feel a loss.

Now I may never know what MP TEST FIRMWARE can do.

But @ Tim-bc   over the years I have done some dumber things then this.
So if it is any comfort to you maybe one day we will get to know what it was for.
Or as mikeywith said maybe it had very little value any way.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on December 28, 2019, 06:30:56 PM

Agreed, i might have underestimated what the test firmware might have and can do, i think i said what i said mostly to make tim feel a little less bad since Artemis3's post was a bit too harsh IMO.

With that being said, let us try to find that firmware, i will try to order a control board ( the same one tim bought) and see if we get lucky, will also try to contact my chinese suppliers to see if anyone has a clue.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: tim-bc on December 29, 2019, 03:42:45 AM
Hey guys, I appreciate your interest. I should have mentioned that I ordered several with the same "MP test" firmware so that shouldn't be an issue, it's not like I only had one which is now gone. It was just when I was pre-flashing T17 firmware for a customer that I noticed and made the post.

With that being said, let us try to find that firmware, i will try to order a control board ( the same one tim bought) and see if we get lucky, will also try to contact my chinese suppliers to see if anyone has a clue.

So with the above in mind, all is not lost, I don't actually have any S17 / T17 hashboards physically with me so I can't test that, but I can do some tests on it or sell one to you guys if you really want.

But also, SSH is enabled on it, I downloaded most of the filesystem if you guys want to take a look: https://gofile.io/?c=owO8lA

Also here is the HTML source of quality.html : https://pastebin.com/b7FVuHqx and here is cgi-bin/miner_stats.cgi : https://pastebin.com/gJrxVEMF


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on December 29, 2019, 10:38:20 AM
If SSH is actived... is error from bitmain !

Thanks for yours files !!! good job, i d'ont have S17/T17 for test  :'(


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on December 29, 2019, 11:12:49 AM

That is great news, half the problem is already solved. :D

did you manage to back up the whole firmware in a flush-able format where others can flash it on their T17/S17 boards to test it? if not then could you please seek some help from  thierry4wd , taserz or any other firmware savvy?

if you are not willing to do that, I might just buy the control board from you and have it sent to however is willing to extract and test the firmware.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on December 29, 2019, 02:36:22 PM
I have test on my S9K ... is not true test but make idea :)

https://image.noelshack.com/minis/2019/52/7/1577630066-config.png (https://www.noelshack.com/2019-52-7-1577630066-config.jpg) https://image.noelshack.com/minis/2019/52/7/1577630064-quality.png (https://www.noelshack.com/2019-52-7-1577630064-quality.jpg)

And i confirm, on boot (bitmainer_setup.sh) SSH IS ACTIVED !

Code:
###########################
# dropbear
NO_START=0

if [ ! -f /config/dropbear ] ; then
    echo NO_START=0 > /config/dropbear
fi

cp /config/dropbear /etc/default/dropbear

###########################


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: tim-bc on December 29, 2019, 04:44:56 PM
That is great news, half the problem is already solved. :D

did you manage to back up the whole firmware in a flush-able format where others can flash it on their T17/S17 boards to test it? if not then could you please seek some help from  thierry4wd , taserz or any other firmware savvy?

Compiling bmminer is not the hard part making a flashable firmware version that doesn't shit the bed is more a bitch than anything else.

I have done compiling custom bmminer binary, that's about it. So if anyone wants to give me tips on making a flashable version of firmware that would be great. But I don't see how it would help if all stock S17/T17 miners only accept signed firmware files anyway.

if you are not willing to do that, I might just buy the control board from you and have it sent to however is willing to extract and test the firmware.

I already am selling the control boards on ebay (factory new condition) and pre-flashing the firmware for my buyers, if you're serious about buying one, it would be no extra cost and I'll just leave the MP test firmware on there.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on December 29, 2019, 05:16:27 PM
I have test on my S9K ... is not true test but make idea :)

Were you able to make a flashable firmware version out of the files that tim shared??


I have asked taserz to check this thread as well, if taserz or thierry4wd were able to make a flasheble version from the files you shared then there is no need for me to buy the control board as i mentioned early I have no actual use for it, if thierry4wd or taserz need that control board to extract a " flashable firmware version that doesn't shit the bed" I will buy one for one of them,or whoever is willing to do that anyway.

again I am doing this for the community in the first place, so i hope that one of the fine gentlemen here is willing to spend some time to do this for free for the community as well.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: taserz on December 29, 2019, 05:18:47 PM
It's not a test firmware or anything guys lmao. You all getting all willy nilly thinking you can reverse it. It's the same copy of cgminer that is on the official firmware too...

You are on their beta firmware. It's pretty much the same as the May firmware for S17... It's nothing special. If you want I can give you the SD card image of that firmware from bitmain factory to SD card flash to that.

I am more concerned about why they sent you that firmware. You sure it wasn't a used or repaired unit or control board. That is odd. I have never seen one shipped with that as all production models come with finished firmware not the test firmware.


edit: Pretty sure you got a refurb control board as they flash to that firmware then current to wipe it's memory if it has issues. But yeah that firmware can be downloaded from my website on asic.to the exact one you have loaded. Under SSH Unlock tool. We use it to downgrade latest firmware miners so we can unlock them and load our firmware on them


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on December 29, 2019, 06:40:11 PM
So ... ok ...

But in kernel log show this : "1970-01-01 00:00:44 driver-btm-soc.c:3178:init_freq_mode: This is fix-freq version" !!!

what explication ? :)


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on December 29, 2019, 09:18:47 PM
@taserz  ya, laugh all you want boi  ::)  honestly I laughed at myself too, for a moment i felt like i was a stupid newbie who had no clue, this is only because I had no time to play with these new gears, if it was anything S9 related I would have known slightly better  ;D.

But hey, you could have pretended that you had no clue, you would have gotten yourself a free control board  :P

Thanks tim for bringing this topic up, thanks to tim-bc and of course taserz for solving the puzzle.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: taserz on December 29, 2019, 10:31:56 PM
So ... ok ...

But in kernel log show this : "1970-01-01 00:00:44 driver-btm-soc.c:3178:init_freq_mode: This is fix-freq version" !!!

what explication ? :)

Asian to lazy to code in the date.

JK

Nah that is the date epoch date. Google Epoch Date :)

@taserz  ya, laugh all you want boi  ::)  honestly I laughed at myself too, for a moment i felt like i was a stupid newbie who had no clue, this is only because I had no time to play with these new gears, if it was anything S9 related I would have known slightly better  ;D.

But hey, you could have pretended that you had no clue, you would have gotten yourself a free control board  :P

Thanks tim for bringing this topic up, thanks to tim-bc and of course taserz for solving the puzzle.

I want a E or + control board.... I want to break into one.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on December 30, 2019, 12:36:11 AM
Asian to lazy to code in the date.

JK

Nah that is the date epoch date. Google Epoch Date :)

Of corse :p but i tell you :

1970-01-01 00:00:44 driver-btm-soc.c:3178:init_freq_mode: This is fix-freq version


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: taserz on December 30, 2019, 09:42:45 AM
They are all fixed freq. In that all hashboards are the same frequency on that firmware.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on January 02, 2020, 06:29:40 PM
Thanks for this detail, all is clear for me  8)

This version is compatible with S17 only ? or with S17 and T17 ?


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: bgasolder on January 04, 2020, 12:41:30 PM
I have this firmware, it’s convenient to remove SSH "cannot find signature" protection with it, download in the description under the video.

https://youtu.be/_epKPjo_LZk


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: mikeywith on January 05, 2020, 05:20:50 PM
I have this firmware, it’s convenient to remove SSH "cannot find signature" protection with it, download in the description under the video.

https://youtu.be/_epKPjo_LZk

I wouldn't advise anyone to download this firmware until more information are available, this goes to every other firmware that does not come directly come from the manufacturer itself.

The most important question as far as many people are concern is the hidden fees, i am 100% sure this firmware has some sort of % that goes to the dev's pool which varies from 2% to 10% or even 20% in some cases depending on the developer.

Therefore, as a firmware dev, you need to prove that your firmware has no fees or/and if it does have any fees you need to state it right here, and you need to prove that all fees are transparent, you need to also prove this is not just Bitmain's firmware with ssh unlocked, if you fail to do so, you are simply just another scammer as far as I am concern.


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: tim-bc on January 05, 2020, 05:54:34 PM
Here is the link to the page taserz was referring to, if anyone missed it: https://asic.to/ssh-unlock/


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: taserz on January 06, 2020, 03:59:31 PM
Here is the link to the page taserz was referring to, if anyone missed it: https://asic.to/ssh-unlock/

I actually updated the download link on that page. So you can flash right to MP TEST FIRMWARE. So if you are on the latest firmware you can flash to thatn then flash to my firmware or stock as it does not check signatures.

Video guide: https://www.youtube.com/watch?v=q9i_5KYl4Xw


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: thierry4wd on January 29, 2020, 09:55:05 PM
This firmware are not interest ? just i test it on my T17, and ... just i past litle line by kernel log :

Code:
2020-01-29 21:28:10 driver-btm-soc.c:3313:init_freq_mode: This is fix-freq version
2020-01-29 21:28:10 driver-btm-soc.c:4218:bitmain_soc_init: opt_multi_version=1
2020-01-29 21:28:10 driver-btm-soc.c:4219:bitmain_soc_init: opt_bitmain_ab=1
2020-01-29 21:28:10 driver-btm-soc.c:4220:bitmain_soc_init: opt_bitmain_work_mode=2
2020-01-29 21:28:10 driver-btm-soc.c:3414:init_dev_frequency: fixd frequency is 875
2020-01-29 21:48:51 power.c:267:set_working_voltage: working_voltage = 18.200000
2020-01-29 21:48:51 driver-btm-soc.c:3652:init_working_voltage: set fixed voltage to 18.200000
2020-01-29 21:48:19 power.c:177:power_check_protocol_type: power type APW9 3600W
2020-01-29 21:59:30 driver-btm-soc.c:2183:check_system_work: ideal hash is 52000

https://image.noelshack.com/minis/2020/05/3/1580335435-t17-overclock.png (https://www.noelshack.com/2020-05-3-1580335435-t17-overclock.png)

So , is allowed to take ALL CONTROL ! freq + voltage + fan !!!

SO ... litle problem lol , not allow for change "test" pool ... is antpool "antminer_1" , if you change it, not hashing ...


Title: Re: "MP TEST FIRMWARE!" on S17 / T17 series control board?
Post by: taserz on January 30, 2020, 01:23:57 PM
Yes it's a demo firmware not used for mining. Flash to Asic.to firmware after you are on it to control stuff :)