Bitcoin Forum
May 02, 2024, 01:21:08 AM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
   Home   Help Search Login Register More  
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 »
  Print  
Author Topic: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi  (Read 81906 times)
tarmi
Legendary
*
Offline Offline

Activity: 1218
Merit: 1010


View Profile
September 12, 2014, 03:07:43 PM
 #101

Where do you get the UART to USB Converters from? Never mind, I forgot the Google is my friend sometimes.   Roll Eyes  Great work J4bberwock!!!!!

What is the male to male jumper called between the cable coming from the USB and into the Ant's cable? Sorry UberN00b here.


you can get the converter and cable for 5 $ - >

http://www.dx.com/p/usb-to-uart-5-pin-cp2102-module-serial-converter-81872
Advertised sites are not endorsed by the Bitcoin Forum. They may be unsafe, untrustworthy, or illegal in your jurisdiction.
1714612868
Hero Member
*
Offline Offline

Posts: 1714612868

View Profile Personal Message (Offline)

Ignore
1714612868
Reply with quote  #2

1714612868
Report to moderator
1714612868
Hero Member
*
Offline Offline

Posts: 1714612868

View Profile Personal Message (Offline)

Ignore
1714612868
Reply with quote  #2

1714612868
Report to moderator
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 03:35:57 PM
 #102



I added a third edit - those values were for an S3 here's the one from an S1 --bitmain-options 115200:32:8:35:400:4f81 and they are from the System Log NOT the Kernel Log
[/quote]
For some reasons, touching the baudrate messes the hashrate.

cgminer.exe -o mypool:port -u myworker -p x --bmsc-freq 0F81

gives almost 60Gh on one panel, but still HW errors.
And the chips are all hot.

The cgminer for U2 is quite different, and the parameters aren't the same.

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
September 12, 2014, 04:02:53 PM
 #103


I added a third edit - those values were for an S3 here's the one from an S1 --bitmain-options 115200:32:8:35:400:4f81 and they are from the System Log NOT the Kernel Log
For some reasons, touching the baudrate messes the hashrate.

cgminer.exe -o mypool:port -u myworker -p x --bmsc-freq 0F81

gives almost 60Gh on one panel, but still HW errors.
And the chips are all hot.

The cgminer for U2 is quite different, and the parameters aren't the same.

I think you are moving in the right direction and I probably should not ask this, but do you have the fans blowing full pelt seing you have bypassed the temp control?
Yes, the parameters are clearly different, but at least there's one for setting the hex value (as per your line), now what about the freq value? Any ideas what the parameter is?
Come to think of it, I think the time is ripe for us to either:
1. request the maintainer of cgminer incorporate the S1 (and S3) drivers into a windows binary or:
2. for us to do our own compilation to include those drivers.

as clearly the U2 compilation is going to give us headaches galore!

bmoscato
Sr. Member
****
Offline Offline

Activity: 361
Merit: 267


View Profile
September 12, 2014, 04:15:20 PM
 #104

What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalk.org/index.php?action=profile;u=3318
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 04:27:02 PM
 #105

What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalk.org/index.php?action=profile;u=3318

looks like it's in the "coming soon" list

Quote
Coming soon:

    Bitmain AntMiner S1
    KnCMiner Neptune
    TechnoB⃦it HEX mining boards
    Spondoolies SP30
    any other device provided for development (PM me)

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
smit1237
Full Member
***
Offline Offline

Activity: 182
Merit: 100

May the source be with you.


View Profile
September 12, 2014, 04:27:37 PM
 #106

Try this cgminer. https://github.com/AntMiner/AntGen1/blob/master/cgminer/cgminer-run-windows-20140324.zip
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 04:45:04 PM
 #107


I already tried it. Not better. I have to lower timeout to 2 to get a proper hashrate, and high HW error count

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
smit1237
Full Member
***
Offline Offline

Activity: 182
Merit: 100

May the source be with you.


View Profile
September 12, 2014, 04:48:14 PM
 #108


I already tried it. Not better. I have to lower timeout to 2 to get a proper hashrate, and high HW error count
This is sad Sad I still can't run it Cheesy Tried 2 cp2102 and one ftdi bridges. No luck.
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 05:10:09 PM
 #109

I guess there is some wip on the software too

http://ck.kolivas.org/apps/cgminer/antminer/s3/

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 05:30:53 PM
 #110

Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
smit1237
Full Member
***
Offline Offline

Activity: 182
Merit: 100

May the source be with you.


View Profile
September 12, 2014, 06:22:18 PM
 #111

Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer
Looks like it won't compile at all. But i'll try.
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 06:53:31 PM
 #112

Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer
Looks like it won't compile at all. But i'll try.

I've connected an old laptop that I used to compile some time ago, I'll try it too.

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
smit1237
Full Member
***
Offline Offline

Activity: 182
Merit: 100

May the source be with you.


View Profile
September 12, 2014, 07:17:04 PM
 #113

Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer
Looks like it won't compile at all. But i'll try.

I've connected an old laptop that I used to compile some time ago, I'll try it too.

I've looked at the driver code. It doesn't designed to run on windows. As i can understand. Hope i'm wrong. Still installing debian on vm. so slow Sad Btw you must change vid and pid in usbutils.c near #ifdef USE_ANT_S1 to match your usb bridge.
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 07:30:35 PM
 #114

compile fails with errors on "undefined reference to opt_bitmain_auto" and overheat, fan, freq, hwerror and temp.

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
J4bberwock
Hero Member
*****
Offline Offline

Activity: 840
Merit: 1000


View Profile
September 12, 2014, 08:48:42 PM
 #115

I can't do more on the software side for now, but I ordered a few parts to make a prototype board able to handle up to 6 antminer hashing boards.

Custom Server PSU breakout boards, 1200w, 1300w, 2000w, 2880w https://bitcointalk.org/index.php?topic=738527.0
Btc: 1J4bberWs6f6XVQ53gn3BNc8qHAicmm7wu
Ltc: LNDmMBtzD3cduwjfxANm2wDrxt9jXRk5ZP
jimrome
Sr. Member
****
Offline Offline

Activity: 434
Merit: 250


View Profile
September 13, 2014, 12:57:57 AM
 #116

What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalk.org/index.php?action=profile;u=3318

looks like it's in the "coming soon" list

Quote
Coming soon:

    Bitmain AntMiner S1
    KnCMiner Neptune
    TechnoB⃦it HEX mining boards
    Spondoolies SP30
    any other device provided for development (PM me)


Talk to Kano, AFAIK he's done more custom work with the ants1/ants2 code than anyone outside of bitmain e.g. https://github.com/kanoi/cgminer-binaries/tree/master/AntS1.

He told me one time that without the serial->spi code (the source for which has never been made public) he was quite limited in what he could do.
smit1237
Full Member
***
Offline Offline

Activity: 182
Merit: 100

May the source be with you.


View Profile
September 13, 2014, 01:57:08 AM
 #117

As i said earlier - driver not designed to run on windows. I can confirm that latest cgminer won't build for windows. We need another driver. I can't do more , sorry about that Sad
I get same error:
cgminer-cgminer.o:cgminer.c:(.data+0x278): undefined reference to `opt_bitmain_auto'
cgminer-cgminer.o:cgminer.c:(.data+0x294): undefined reference to `opt_bitmain_overheat'
/home/smit/tmp/mxe/usr/bin/i686-pc-mingw32.shared-ld: cgminer-cgminer.o: bad reloc address 0x294 in section `.data'
/home/smit/tmp/mxe/usr/bin/i686-pc-mingw32.shared-ld: final link failed: Invalid operation
collect2: error: ld returned 1 exit status
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 13, 2014, 02:32:49 AM
 #118

Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer
Looks like it won't compile at all. But i'll try.

I've connected an old laptop that I used to compile some time ago, I'll try it too.

I've looked at the driver code. It doesn't designed to run on windows. As i can understand. Hope i'm wrong. Still installing debian on vm. so slow Sad Btw you must change vid and pid in usbutils.c near #ifdef USE_ANT_S1 to match your usb bridge.

This is more or less correct. If you take a look at driver-bitmain.c and .h files you will see
Code:
#ifdef LINUX
Meaning the code requires linux...for the moment.

I may as well throw in, I'm working on 2 protos similar to what jabberwock has done, but both my USB dongle design and a small USB hub design use the PIC uC that the original controller uses. going this route has allowed me the ability of setting up shop for helping Luke-JR with S1/S3 support in a less brickable environment. See this to see what I mean. All I did was try and determine a couple of OS variables and dependency structures and I bricked a controller( temporarily)

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
as4406
Newbie
*
Offline Offline

Activity: 32
Merit: 0


View Profile
September 13, 2014, 02:50:34 AM
 #119

[DIY] AllCoinMiner's Power Supply Sizing Guide
[DIY] AllCoinMiner's Solar Energy Setup for Mining DIY Research going on
[DIY] AllCoinMiner's Antminer S1/S3 Blade on Raspberry Pi or on a Single ControlBoardBounty Offered



Antminer S1/S3 Blade on Raspberry Pi or on a Single ControlBoard
[DIY][/color]
http://www.raspberrypi.org/

Project Aim:
1. To run Antminer S3 or the previous release Antminer S1, run with the support of a Raspberry-Pi instead of the default controller.
2. To add more than two blades with one Raspberry-Pi or in the same default controller.
3. To consolidate more than two miners in to a single frame or a mod-ed frame

If the project progresses well and anyone can demonstrate and proved a working method/hack to DIY practically, I will have a bounty for them.
1. The Reward is $100 equivalent of BTC
2. Another contribution to the bounty from googlemaster1

Conditions to claim the Reward
1. Give a DIY guide to run more than 2 Antminer "S3" blades in one controller.
2. Any controller like the default one or Raspi or any other can be used.
3. Reward is only if it works in S3, but you can experiment with S1.
4. There is a time limit for this reward. Currently its 3 months. But will extend depending on the situation.
5. If its a group of people achieving this, reward will be given to the top contributor

I'm inviting all expert an novice members active participation to achieve this.

actually, what's the difference between S1 and S3?
Taugeran
Hero Member
*****
Offline Offline

Activity: 658
Merit: 500


CCNA: There i fixed the internet.


View Profile
September 13, 2014, 03:10:36 AM
 #120

On a basic level the S1 uses 64 55nm ASICs split across 2 hashing boards, each capable of ~3Gh/s and using 400-430 watts at that level

The S3 uses 32 28nm ASICs split across 2 boards totaling 450-500Gh/s and using 345-420 watts.

They both use the same controller board. But the S3 uses an adapter board as well

Bitfury HW & Habañero : 1.625Th/s
tips/Donations: 1NoS89H3Mr6U5CmP4VwWzU2318JEMxHL1
Come join Coinbase
Pages: « 1 2 3 4 5 [6] 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 »
  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!