Bitcoin Forum
May 26, 2024, 06:58:59 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 [4] 5 »  All
  Print  
Author Topic: bitmain s3 serial connect?  (Read 9702 times)
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 20, 2014, 11:40:00 PM
 #61

Thanks for the output, I'll browse through and see if I can spot a light at the end of the tunnell.

By the way, I meant the command altogether, i.e:

run mtd -r erase rootfs_data


pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 20, 2014, 11:50:15 PM
 #62

From your output, you see this line:

mtdparts=ar7240-nor0:128k(u-boot),1024k(kernel),6912(rootfs),64k(config),64k(ART)

When you call erase, you want to provide one of these parts of the mtd, and that is supposed to be the root_fs, so I am thinking

erase rootfs

will do the trick, else we need to find the tags for the parts. NOTE that this method would be in lieu of the tftp flashing method, i.e that will erase the memory data that the system is booting THUS force the system to effectively do a reset and call on the NVRAM data to load.

nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 20, 2014, 11:51:18 PM
 #63

Thanks for the output, I'll browse through and see if I can spot a light at the end of the tunnell.

By the way, I meant the command altogether, i.e:

run mtd -r erase rootfs_data



yes did a long time ago:

Easy-Link> run mtd -r erase rootfs_data
## Error: "mtd" not defined
Easy-Link>

Edit: Really appreciate your help. or Elf-lp ;-)
bitsolutions
Sr. Member
****
Offline Offline

Activity: 261
Merit: 257



View Profile
December 20, 2014, 11:52:56 PM
 #64

Sure fire fix assuming hardware is ok and uboot intact is uboot based recovery, interrupt the boot process and set your computers IP to a static IP of 192.168.1.100. Start a TFTP server on your computer serving antMiner_S320141013.bin and run the following commands on your miner.

Code:
tftpboot 0x80000000 antMiner_S320141013.bin
erase 0x9f020000 +0x7c0000
cp.b 0x80000000 0x9f020000 0x7c0000
bootm 0x9f020000

Just put the firmware bin file into the root directory on a tftp server running on 192.168.1.100 subnet mask 255.255.255.0 and execute the above commands from uboot to flash it.

Thanks for the output, I'll browse through and see if I can spot a light at the end of the tunnell.

By the way, I meant the command altogether, i.e:

run mtd -r erase rootfs_data



This won't work from uboot so don't bother trying it if thats as far as you can get.

Mining Software Developer.
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 20, 2014, 11:55:25 PM
 #65

^^^^^ Top man!
You must b laughing at us for wasting all this time!

nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 20, 2014, 11:57:34 PM
 #66

Sure fire fix assuming hardware is ok and uboot intact is uboot based recovery, interrupt the boot process and set your computers IP to a static IP of 192.168.1.100. Start a TFTP server on your computer serving antMiner_S320141013.bin and run the following commands on your miner.

Code:
tftpboot 0x80000000 antMiner_S320141013.bin
erase 0x9f020000 +0x7c0000
cp.b 0x80000000 0x9f020000 0x7c0000
bootm 0x9f020000

Just put the firmware bin file into the root directory on a tftp server running on 192.168.1.100 subnet mask 255.255.255.0 and execute the above commands from uboot to flash it.

OK, that is new.? Pardon, ex-squeeze me, what? don't understand, sorry.
I have a windows computer, and I have TFTP2.exe, can't get TFTP2 to find S3
Windows says IP is .1.250, which the S3 says is alive.
TFTP2.exe, only does something on .1.100 or .1.1 which while typing TFTPboot, is what the S3 says it's addresses are.
Sorry for my ignorance.
nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 21, 2014, 12:19:01 AM
 #67

can't seem to setup any other server than over .1.250, even though everything is .1.100
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 21, 2014, 12:27:45 AM
 #68

Easy-Link>

That is the uboot prompt, so simply type (after saving the antMiner_S320141013.bin file in the tftp server root dir as directed by bitsolutions):

Easy-Link>tftpboot 0x80000000 antMiner_S320141013.bin

Easy-Link>erase 0x9f020000 +0x7c0000

Easy-Link>cp.b 0x80000000 0x9f020000 0x7c0000

Easy-Link>bootm 0x9f020000


bitsolutions
Sr. Member
****
Offline Offline

Activity: 261
Merit: 257



View Profile
December 21, 2014, 12:58:45 AM
 #69

can't seem to setup any other server than over .1.250, even though everything is .1.100

Set your computer to a static IP of 192.168.1.100.....the file isn't pushed from the tftp server the download is initialized from the miner itself using the tftpboot command from uboot.

Mining Software Developer.
nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 21, 2014, 12:59:24 AM
 #70

Easy-Link>

That is the uboot prompt, so simply type (after saving the antMiner_S320141013.bin file in the tftp server root dir as directed by bitsolutions):

Easy-Link>tftpboot 0x80000000 antMiner_S320141013.bin

Easy-Link>erase 0x9f020000 +0x7c0000

Easy-Link>cp.b 0x80000000 0x9f020000 0x7c0000

Easy-Link>bootm 0x9f020000



OK having problems with TFTP server part.

I've got ping ok:

Easy-Link> ping 192.168.1.100
eth1 link down
Using eth0 device
host 192.168.1.100 is alive
Easy-Link>

I'm trying to use TFTP2.exe and TFTPd64 but not having much luck
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 21, 2014, 01:13:32 AM
 #71


OK having problems with TFTP server part.


That is all you need to sort out now and you are home and dry!
I gave you a link to setting up a tftp server; go through it again and ensure you have (to the last letter) done all the steps, including but not limited to completely disconnectiong from the network and ONLY connecting the board to you PC / laptop ethernet. Do not try to cut corners as networking can be finicky at the very best.

nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 21, 2014, 01:27:54 AM
 #72


OK having problems with TFTP server part.


That is all you need to sort out now and you are home and dry!
I gave you a link to setting up a tftp server; go through it again and ensure you have (to the last letter) done all the steps, including but not limited to completely disconnectiong from the network and ONLY connecting the board to you PC / laptop ethernet. Do not try to cut corners as networking can be finicky at the very best.


I don't believe it!!!! number 5 is really alive.

It was windows firewall!!!!!! It was you mentioning, to re read your post!

pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 21, 2014, 01:31:08 AM
 #73


OK having problems with TFTP server part.


That is all you need to sort out now and you are home and dry!
I gave you a link to setting up a tftp server; go through it again and ensure you have (to the last letter) done all the steps, including but not limited to completely disconnectiong from the network and ONLY connecting the board to you PC / laptop ethernet. Do not try to cut corners as networking can be finicky at the very best.


I don't believe it!!!! number 5 is really alive.

It was windows firewall!!!!!! It was you mentioning, to re read your post!

Well well .... who'd have thought? Well done and now you know why networking can be finicky at the best of times!

nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 21, 2014, 02:26:49 AM
Last edit: December 21, 2014, 02:42:14 AM by nitrox1
 #74

Well for the next person like me I think it's only fair I explain how I got here.
I flashed a firmware over WiFi and I ended up with a corrupt bootloader/kernel.
After contacting Bitmain (bitmain wanted a lot of bitcoin for a new board) and reading on Here  (bitcoin.org) it was suggested to start by getting a £3 usb to serial/TTL converter, I have the one I have pictured in previous posts.
I connected my serial connection to the 3 debug pins, and opened putty using a serial connection on the right COM port, and at a baud rate of 115200
After presuming the square debug pin was earth/ GND, I had rubbish output.
I connected my serial converter as shown in previous photos, but from right to left, square to round, round, went TX (Square), Rx (Middle Round) GND (Outer round). I found using GND made a lot of things better.
After starting a putty terminal, and then turning on the flashing red led of death S3, I got a very large output of information. But if I turned it on and pressed "p" it would holt the boot process, and allow me a connection into the S3 "Easy-Link> "
As you can see from previous posts typing help allowed me to make sure that my computer was talking to the S3

I had a stable firmware already in possession, but they can be found here https://www.bitmaintech.com/support.htm?pid=007201407180243004432lBQW28O0633 (mind you this is how I got here to begin with, check for a good firmware, cross reference bitcoin.org S3 support forum)
Unzip the firmware to get a .bin file

I'm using Windows 8.1 64-Bit
So I next had to get a TFTP sever program which I acquired from http://tftpd32.jounin.net/

In windows network center I found out the IP address of the S3 with both a LAN cable connected directly from my S3 to my computer and the serial to USB connected, which in my case happened to be 192.168.1.250.
I had to change this by going in to "network and sharing center" and the click on "ethernet", then under "internet protocol version 4 (TCP/IPv4)" select properties, and use the static IP address of 192.168.1.100 subnet 255.255.255.0

While putty is open, and the S3 is on, and the Easy-Link> prompt is still there
Type ping 192.168.1.100 and check the output says that the IP address is alive

After that start TFTPD64 or 32
Set current diectory to where your firmware is
Set the server interface to 192.168.1.100 (If you can't do this, you need to go back to network and sharing center part)
In the settings menu you need to set TFTP menu setting to "Bind TFTP to this address 192.168.1.100"
THEN TURN OFF YOUR FIREWALL EVEN WINDOWS FIREWALL, ESPECIALLY WINDOWS FIREWALL, but you don't need internet if your worried

Then fingers crossed type in to putty after the "Easy-Link>" prompt

Easy-Link>tftpboot 0x80000000 antMiner_S320xxxxxx.bin (your firmware name)

Easy-Link>erase 0x9f020000 +0x7c0000

Easy-Link>cp.b 0x80000000 0x9f020000 0x7c0000

Easy-Link>bootm 0x9f020000

You will get a lot of output from putty, and after the last command, the S3 should actually boot up, and then allow you to have web GUI access through the default IP address 192.168.1.99

I hope this helps someone as much as others have helped me. Thanks
Ty Excuse bad spelling, grammar, and typos
Polivka GmbH
Full Member
***
Offline Offline

Activity: 135
Merit: 101

Hydromining!


View Profile WWW
December 21, 2014, 07:45:57 AM
 #75

0.1BTC for Mr. nitrox1
0.05BTC for Mr. pekatete

assuming both are male  Wink

Thank you both very much!
nitrox1
Newbie
*
Offline Offline

Activity: 28
Merit: 0


View Profile
December 21, 2014, 09:07:15 AM
 #76

0.1BTC for Mr. nitrox1
0.05BTC for Mr. pekatete

assuming both are male  Wink

Thank you both very much!

Thank you very much, and yes I am last time I checked.
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
December 21, 2014, 11:32:15 AM
 #77

0.1BTC for Mr. nitrox1
0.05BTC for Mr. pekatete

assuming both are male  Wink

Thank you both very much!
Thank you, much appreciated!

luthermarcus
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
May 04, 2015, 02:42:40 AM
 #78

success!!! word up thank you so much

Donate Bitcoin
1Mz7ZHxPhoH1ZK2yQvo62NdHvvsS2quhzc
Donate TRX
TB3WiLEj6iuSBU5tGUKyZkjB4vqrBDvoYM
CapnBDL
Hero Member
*****
Offline Offline

Activity: 1064
Merit: 500


MOBU


View Profile WWW
May 14, 2015, 07:09:08 PM
 #79

Hey, can anyone tell me if the s3+ control board is 5v TTL, 3v3 TTL, or RS232 at the debug pins? I've been told that an rPi can be used as a control board but I don't know if that info is correct. I know the rPi is a 3v3 TTL but it can be converted. I just need to know what type of serial communication the s3 uses.

Thanks for any input

           ▄██▄
████▄    ▄██████▄    ▄████
██████▄ ▀████████▀ ▄██████
▐███████▄ ▀████▀ ▄███████▌
▐█████████▄ ▀▀ ▄█████████▌
 ████ ▀█████▄▄█████▀ ████
 ████ ▄ ▀████████▀ ▄ ████
 ▐███ ██▄ ▀████▀ ▄██ ███▌
 ▐███ ████▄ ▀▀ ▄████ ███▌
  ███ ██████▄▄██████ ███
  ███ ██████████████ ███
  ▐██ ██████████████ ██▌
  ▐██ ██████████████ ██▌
   ██ ██████████████ ██
       ▀██████████▀
         ▀██████▀
           ▀██▀
.M O B U.███████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████████
   The Investment Bank of the Future  
The Security Token Protocol and Licensed Security Token Exchange
█▀




█▄
Facebook Medium
Whitepaper ANN
LinkedIn    Reddit
▀█




▄█

         ▄▄▄█████▄▄▄
      ▄███████████████▄
    ▄███████████████████▄
   ███████████████████████
  ████ ▀███████▀    ▀██████
 █████▌  ▀▀███        ▄█████
▐██████▄             ▐██████▌
▐█████▄               ██████▌
▐███████▄            ███████▌
 ███████▄          ▄████████
  ████████       ▄█████████
   █████▀   ▄▄▄███████████
    ▀███████████████████▀
      ▀███████████████▀
         ▀▀▀█████▀▀▀

         ▄▄▄█████▄▄▄
      ▄███████████████▄
    ▄███████████████████▄
   ███████████████████████
  █████▀▀▀▀▀▀▀▀▀▀▀▀▀▀▀█████
 █████     ▄▄          █████
▐█████     ████▄▄      █████▌
▐█████     ████████    █████▌
▐█████     ████▀▀      █████▌
 █████     ▀▀          █████
  █████▄▄▄▄▄▄▄▄▄▄▄▄▄▄▄█████
   ███████████████████████
    ▀███████████████████▀
      ▀███████████████▀
         ▀▀▀█████▀▀▀

         ▄▄▄█████▄▄▄
      ▄███████████████▄
    ▄███████████████████▄
   ███████████████████████
  ████████████████▀▀▀ ▐████
 ███████████▀▀▀  ▄█▀  ██████
▐█████▀▀▀      ▄█▀    ██████▌
▐███▄▄▄    ▄▄██▀     ███████▌
▐████████ ███▀       ███████▌
 ████████▌█          ███████
  ████████ ▄▄██▄    ███████
   ███████████████▄ ██████
    ▀███████████████████▀
      ▀███████████████▀
         ▀▀▀█████▀▀▀
luthermarcus
Full Member
***
Offline Offline

Activity: 213
Merit: 100



View Profile
May 15, 2015, 03:16:47 AM
 #80

Hey, can anyone tell me if the s3+ control board is 5v TTL, 3v3 TTL, or RS232 at the debug pins? I've been told that an rPi can be used as a control board but I don't know if that info is correct. I know the rPi is a 3v3 TTL but it can be converted. I just need to know what type of serial communication the s3 uses.

Thanks for any input
https://bitcointalk.org/index.php?topic=671128.780

Donate Bitcoin
1Mz7ZHxPhoH1ZK2yQvo62NdHvvsS2quhzc
Donate TRX
TB3WiLEj6iuSBU5tGUKyZkjB4vqrBDvoYM
Pages: « 1 2 3 [4] 5 »  All
  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!