Bitcoin Forum
November 10, 2024, 03:25:38 AM *
News: Latest Bitcoin Core release: 28.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 82110 times)
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 07, 2014, 06:12:36 AM
 #401

I thought I'd missed something you put out earlier! Thanks for the pointer.

I managed to compile having made the changes to driver-bmsc.c, aka
replace memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin)); with memcpy((char *)&nonce, nonce_bin, sizeof(nonce));

Then issued:
./autogen.sh --enable-bmsc CFLAGS="-02 -Wall -W -march=i686" --host=i686-pc-mingw32
make

I did NOT include driver-icarus as has been suggested somewhere else, and the device was detected albeit with some issues. Below are the two screen shots i grabbed:

EDIT: I run the executable with the options: --bmsc-options 115200:0.6  --bmsc-freq 0F81





Exactly the same result without zadig) if  zadig is installed -no USB device detected

try --bmsc-options 115200:0.27  --bmsc-freq 0781
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 07, 2014, 11:00:12 AM
 #402

I thought I'd missed something you put out earlier! Thanks for the pointer.

I managed to compile having made the changes to driver-bmsc.c, aka
replace memcpy((char *)&nonce, nonce_bin, sizeof(nonce_bin)); with memcpy((char *)&nonce, nonce_bin, sizeof(nonce));

Then issued:
./autogen.sh --enable-bmsc CFLAGS="-02 -Wall -W -march=i686" --host=i686-pc-mingw32
make

I did NOT include driver-icarus as has been suggested somewhere else, and the device was detected albeit with some issues. Below are the two screen shots i grabbed:

EDIT: I run the executable with the options: --bmsc-options 115200:0.6  --bmsc-freq 0F81

<SNIP>

<SNIP>

Exactly the same result without zadig) if  zadig is installed -no USB device detected

try --bmsc-options 115200:0.27  --bmsc-freq 0781

its a driver issue, not a read chip timer issue

node-vps.com - Tron / Masternode hosting services
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 07, 2014, 12:59:01 PM
 #403

impossible just happened... 104GHS/109W  Cool 0.44 0781

edit: pool rej. 1%

Epic !

timing is critical

my undervolt isnt the best, im getting 1.34 (53 GHs 74 Watt) 1 blade at 200 MHz and timing 60

do not be afraid to go below 2.8kOhm... if You would see my multimeter which I used You would laugh... as that guy says, it is not rocket engineering

ive been thinking of trying 2.56 (4.47 + 12 + 12 kohm :-p )

prommising results with 0.27 0781 - 103/108 ... more tommorow

redid my pensil mod, all just slight below 2 kohm - measured 0.75, 0.75, 0.76, 0.79 volts 200 MHz timing 60 53 GHs 62 Watts

i dont think i can push it any further with the pencil mod now. right now im running  51 GHs vs 59 Watt

node-vps.com - Tron / Masternode hosting services
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 07, 2014, 02:32:21 PM
 #404

impossible just happened... 104GHS/109W  Cool 0.44 0781

edit: pool rej. 1%

Epic !

timing is critical

my undervolt isnt the best, im getting 1.34 (53 GHs 74 Watt) 1 blade at 200 MHz and timing 60

do not be afraid to go below 2.8kOhm... if You would see my multimeter which I used You would laugh... as that guy says, it is not rocket engineering

ive been thinking of trying 2.56 (4.47 + 12 + 12 kohm :-p )

prommising results with 0.27 0781 - 103/108 ... more tommorow

redid my pensil mod, all just slight below 2 kohm - measured 0.75, 0.75, 0.76, 0.79 volts 200 MHz timing 60 53 GHs 62 Watts

i dont think i can push it any further with the pencil mod now. right now im running  51 GHs vs 59 Watt

Agree, we need more stable solution then just a pensil. But 51/59 is quite good, I have 102/109 at the moment. Let me know if You decide to solder and share pic to encourage me do the same. Smiley
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 07, 2014, 05:22:51 PM
 #405

impossible just happened... 104GHS/109W  Cool 0.44 0781

edit: pool rej. 1%

Epic !

timing is critical

my undervolt isnt the best, im getting 1.34 (53 GHs 74 Watt) 1 blade at 200 MHz and timing 60

do not be afraid to go below 2.8kOhm... if You would see my multimeter which I used You would laugh... as that guy says, it is not rocket engineering

ive been thinking of trying 2.56 (4.47 + 12 + 12 kohm :-p )

prommising results with 0.27 0781 - 103/108 ... more tommorow

redid my pensil mod, all just slight below 2 kohm - measured 0.75, 0.75, 0.76, 0.79 volts 200 MHz timing 60 53 GHs 62 Watts

i dont think i can push it any further with the pencil mod now. right now im running  51 GHs vs 59 Watt

Agree, we need more stable solution then just a pensil. But 51/59 is quite good, I have 102/109 at the moment. Let me know if You decide to solder and share pic to encourage me do the same. Smiley

well i suddenly remembered that psus also have a loss, so i decided to pencil mod another blade, and now im running 2 blades, at 175 timing 63 at 92 GH / 102 Watt = 1.1 W/GH

node-vps.com - Tron / Masternode hosting services
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 07, 2014, 07:30:58 PM
 #406

Did anybody try FTDI chip and has any succes?
forpblat
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
November 07, 2014, 10:53:48 PM
 #407

Quote
Did anybody try FTDI chip and has any succes?

I'm interested too as I got a pile of PL2303's before we were set in stone about the CP2102s. I imagine I have to compile a cgminer/bfgminer with modified source on my linux machine for the different UART boards. I changed the "rules" files of each so that only the PID/VID of the PL2303s is used but haven't had any luck so far after compiling. I'll be reattempting later tonight/tomorrow just using --enable-bmsc.

Either way, I just purchased some CP2102s too and hopefully they can come in quick so I can get mining away on this.

Any thoughts?
forpblat
Newbie
*
Offline Offline

Activity: 22
Merit: 0


View Profile
November 08, 2014, 05:13:01 AM
 #408

So far so good, I managed to get further than before. Stupidly, I was using the ckolivas repo instead of the bitmaintech one.

 Undecided

For someone in my footsteps:
So, install the bitmaintech one and compile. With my PL2303s, I didn't have to make any changes except to the rules file which I will be reverting back as it wasn't necessary. It may be the cause of my problems anyways.

The UART is seen by cgminer where it attempts to mine. However, I'm hitting the:

 [2014-11-08 00:07:48] Bmsc send golden nonce
 [2014-11-08 00:07:48] Bmsc recv golden nonce timeout

issue which can't be fixed by the timing of which I plug in the device. Still diagnosing this. I suspect it may have to do with the shitty connections I have as the jumper leads to the blade header aren't so good or the rules file. If not, I will also try another blade, small chance this one isn't working.

idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 08, 2014, 06:10:51 AM
Last edit: November 08, 2014, 06:45:45 AM by idonothave
 #409

So far so good, I managed to get further than before. Stupidly, I was using the ckolivas repo instead of the bitmaintech one.

 Undecided

For someone in my footsteps:
So, install the bitmaintech one and compile. With my PL2303s, I didn't have to make any changes except to the rules file which I will be reverting back as it wasn't necessary. It may be the cause of my problems anyways.

The UART is seen by cgminer where it attempts to mine. However, I'm hitting the:

 [2014-11-08 00:07:48] Bmsc send golden nonce
 [2014-11-08 00:07:48] Bmsc recv golden nonce timeout

issue which can't be fixed by the timing of which I plug in the device. Still diagnosing this. I suspect it may have to do with the shitty connections I have as the jumper leads to the blade header aren't so good or the rules file. If not, I will also try another blade, small chance this one isn't working.



Compile bitmaintech sources, read this: https://bitcointalk.org/index.php?topic=671128.msg9399337#msg9399337
Another chance could be maybe to try change vid/pid when load module into kernel but not sure if modprobe can do that.

edit: what about this: http://www.ha19.no/usb/
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 08, 2014, 09:26:25 AM
 #410

Effectivity of the cp2102 solution

If You have blade, psu and pc (so I suppose $0 investition for blade, $0 for psu and $0 for pc), the only investition You have to do is usb to uart controller. If You are lucky, You get one for $2.65. You can pensil mod Your blade, lose few days with compiling of bitmain sources and reach finaly 50GHs per 55W. In that case You get with nowadays difficulty $6.65 per month and pay electridity (if lucky and have $0.1 per W) $3.96 so net is $2.69 per month. If You invested only $2.65 for controller You can get it back in one month. Conclusion is the solution is effective only if You know everything written above and get it cheaper hardware.
CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 08, 2014, 10:58:58 AM
 #411

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

node-vps.com - Tron / Masternode hosting services
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 08, 2014, 11:25:01 AM
 #412

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

great, good work
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
November 08, 2014, 11:31:53 AM
 #413

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

Just compiled for windows in MinGW and run with the above options but still have the error UUGGHHHHHHhhhhh.....!
On a positive note, it detects all chips first time around unlike 3.8.5 which initially detects, normally, 12!



Well, well, keep up the effort .... I am working on something too and will update the thread as soon as I have something of substance to report on.

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 08, 2014, 11:39:15 AM
 #414

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

Just compiled for windows in MinGW and run with the above options but still have the error UUGGHHHHHHhhhhh.....!
On a positive note, it detects all chips first time around unlike 3.8.5 which initially detects, normally, 12!



Well, well, keep up the effort .... I am working on something too and will update the thread as soon as I have something of substance to report on.


if you get something that works, ill try it out on linux, and if it works there as well, i will update the repo

node-vps.com - Tron / Masternode hosting services
idonothave
Full Member
***
Offline Offline

Activity: 238
Merit: 100


View Profile
November 08, 2014, 12:00:26 PM
 #415

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

Just compiled for windows in MinGW and run with the above options but still have the error UUGGHHHHHHhhhhh.....!
On a positive note, it detects all chips first time around unlike 3.8.5 which initially detects, normally, 12!



Well, well, keep up the effort .... I am working on something too and will update the thread as soon as I have something of substance to report on.


does cgminer have access to usb device? with ubuntu I have to run cgminer as superuser if did not install
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
November 08, 2014, 12:05:09 PM
 #416

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

Just compiled for windows in MinGW and run with the above options but still have the error UUGGHHHHHHhhhhh.....!
On a positive note, it detects all chips first time around unlike 3.8.5 which initially detects, normally, 12!

<snip> ... </snip>

Well, well, keep up the effort .... I am working on something too and will update the thread as soon as I have something of substance to report on.


does cgminer have access to usb device? with ubuntu I have to run cgminer as superuser if did not install

I just run the executable with Run as Administrator and get the same error, so that does not seem to solve the issue.

pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
November 08, 2014, 12:34:08 PM
 #417

A bit of progress, but there are soooooo many timeout et al errors.
1. It takes a while to acknowledge the board connected amidst the timeout errors
2. With version 3.8.5 I do not get anywhere near the rejects I get here, infact, I at times run for a day without any reject!
3. HW errors are still high .... may be atiming issue (used --bmsc-options 115200:55)


CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 08, 2014, 12:39:13 PM
 #418

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

Just compiled for windows in MinGW and run with the above options but still have the error UUGGHHHHHHhhhhh.....!
On a positive note, it detects all chips first time around unlike 3.8.5 which initially detects, normally, 12!

<snip> ... </snip>

Well, well, keep up the effort .... I am working on something too and will update the thread as soon as I have something of substance to report on.


does cgminer have access to usb device? with ubuntu I have to run cgminer as superuser if did not install

I just run the executable with Run as Administrator and get the same error, so that does not seem to solve the issue.

ive changed the USB timeout on github, please try that

node-vps.com - Tron / Masternode hosting services
pekatete
Hero Member
*****
Offline Offline

Activity: 518
Merit: 500



View Profile WWW
November 08, 2014, 12:53:41 PM
 #419

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

ive changed the USB timeout on github, please try that

Just recompiled that and same result, only this time the board does not get recognised at all.
PS. I assumed you only changed the usbutils.c file, so I just replaced that rather than re-download the entire repo.

CHAOSiTEC
Legendary
*
Offline Offline

Activity: 1358
Merit: 1002


View Profile
November 08, 2014, 12:58:56 PM
 #420

repo with changes from idonthave and changed timing settings

to set the timings you now can just type the timing in ms instead of the 0.55, so

--bmsc-options 115200:55

working on more changes

https://github.com/FireWalkerX/cgminer-bmsc

ive changed the USB timeout on github, please try that

Just recompiled that and same result, only this time the board does not get recognised at all.
PS. I assumed you only changed the usbutils.c file, so I just replaced that rather than re-download the entire repo.


hmm interresting, since the timeout only says "ill wait x amount of time, for the device, which i changed from 999 ms to 2000 ms, that change works on linux, maybe its your libusb dll that is of older date? or does it get compiled with cgminer?

edit : i have reverted the repo to previous timeout

node-vps.com - Tron / Masternode hosting services
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!