Pages:
Author

Topic: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi - page 39. (Read 82179 times)

hero member
Activity: 840
Merit: 1000
Currently compiling the Kano fork of cgminer supporting the antS1 on a RPi with archlinux.
It takes hours, but should work since it works when compiled on the S1 control board.
newbie
Activity: 27
Merit: 0
Great work guys...
 
full member
Activity: 177
Merit: 100
Here is the test setup.
Getting 45 Gh from a board, but many HW errors

Brilliant!
1. The errors I think will have to do with the driver in cgminer. Look at setting these values in the initialisation string of cgminer, I got this from the Kernel Log of a running miner:
Code:
 --bitmain-options 115200:32:8:15:262.5:0a02 -o stratum+tcp://my.pool.io:3333 -O username:password -o stratum+tcp://my.backup:3333 -O username:password -o stratum+tcp://my.otherbackup.com:9332 -O username:password --api-listen --api-network --bitmain-checkn2diff --bitmain-hwerror --queue 10 --scan-time 1 --expiry 1

EDIT: I think this bit --bitmain-options 115200:32:8:15:262.5:0a02  could be helpful.
EDIT2: That sets the frequency to 262.5 and HEX value to 0a02 - replace accordingly.

2. Do all the chips feel warm to the touch? I have a feeling you are not interfacing with all the chips.


yes, they are all hot/warm, but the default frequency for the U2 is lower than the one on S1.
I'll test your settings and report back

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

I'd start off with a slow clock: 115200:32:8:90:50:0181, then crank it up after...

8 )
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
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
newbie
Activity: 32
Merit: 0
hero member
Activity: 658
Merit: 500
CCNA: There i fixed the internet.
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)
full member
Activity: 182
Merit: 100
May the source be with you.
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
sr. member
Activity: 434
Merit: 250
What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalksearch.org/user/luke-jr-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.
hero member
Activity: 840
Merit: 1000
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.
hero member
Activity: 840
Merit: 1000
compile fails with errors on "undefined reference to opt_bitmain_auto" and overheat, fan, freq, hwerror and temp.
full member
Activity: 182
Merit: 100
May the source be with you.
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.
hero member
Activity: 840
Merit: 1000
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.
full member
Activity: 182
Merit: 100
May the source be with you.
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.
hero member
Activity: 840
Merit: 1000
Anybody could compile for windows with --enable-ants1   ?
It's already supported with an autotune function.
https://github.com/ckolivas/cgminer
hero member
Activity: 840
Merit: 1000
I guess there is some wip on the software too

http://ck.kolivas.org/apps/cgminer/antminer/s3/
full member
Activity: 182
Merit: 100
May the source be with you.

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.
hero member
Activity: 840
Merit: 1000

I already tried it. Not better. I have to lower timeout to 2 to get a proper hashrate, and high HW error count
full member
Activity: 182
Merit: 100
May the source be with you.
hero member
Activity: 840
Merit: 1000
What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalksearch.org/user/luke-jr-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)
sr. member
Activity: 361
Merit: 267
What about having Luke-Jr help out? I think he wrote or supports BFGMiner.

https://bitcointalksearch.org/user/luke-jr-3318
Pages:
Jump to: