Bitcoin Forum
May 08, 2024, 05:39:40 PM *
News: Latest Bitcoin Core release: 27.0 [Torrent]
 
  Home Help Search Login Register More  
  Show Posts
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 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 »
981  Bitcoin / Mining support / Re: BITMAIN Antminer S3 support and OverClocking thread on: November 12, 2014, 01:20:00 PM
  • The latest BITMAIN FW (25OCT2014) is self-sufficient correct? Nothing to edit?
Thats correct

  • To upgrade FW must it be via SSH, or does System > Upgrade > Browse > Select downloaded FW and click "Flash image" work?
System > Upgrade > Browse > Select downloaded FW and click "Flash image"

  • Finally, OC'ing is done within Miner Config tab, great! Is the present list of freq's in there comprehensive?
see https://bitcointalk.org/index.php?topic=699064.msg8370071#msg8370071
982  Bitcoin / Mining support / Re: BITMAIN Antminer S3 support and OverClocking thread on: November 12, 2014, 01:17:04 PM
my miner is set to :
 #option 'freq_value'    '0882'  #225M
        #option 'chip_freq'     '225'
        #option 'timeout'       '18'

        option 'freq_value'    '1106'  #218.75M
        option 'chip_freq'     '218.75'
        option 'timeout'       '18'

        #option 'freq_value'    '1086'  #212.5M
        #option 'chip_freq'     '212.5'
        #option 'timeout'       '18'


218.75M

and on the page it show 225
Frequency   

225
225



what the hell?
You are looking at the wrong file. Frequencies are set in the GUI and the file that holds these values is no longer the /etc/config/asic-freq file, but rather the file /usr/lib/lua/luci/model/cbi/cgminer/cgminer.lua (see this thread if you want to add to the freqs' list https://bitcointalk.org/index.php?topic=699064.msg8370071#msg8370071)
983  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 12, 2014, 10:51:20 AM
Thanks !

I will try to get one at least to test my boards !

pekatete , it would be great if you could share me your cgminer !
I was able to compile cgminer 4.7.0 for and under windows using MinGW but not able to run it without significant errors (and at times it would not detect the board!). It therefore is not a binary that would be useful for sharing, and seeing the pre-compiled version 3.8.5 for windows reconises both the CP210x (as AMU / LIX / etc) and the PL230x (as ICA and ... ?), you would be better off getting that one, available here: https://github.com/AntMiner/AntGen1/blob/master/cgminer/cgminer-run-windows-20131224.zip?raw=true

PS. You may need to change over the TX / RX connectors on some of the modules as the lines can be twisted!

but, on the other hand we might be able to verify either:

1. problem with source

2. problem with windows

3. problem with specific setup

so it might be a good idea to get them tested on another windows machine..

just my 2 cents :-p
The source is the same source as that is available on github for version 4.7.0 so anyone an get that. The changes to source that I documented earlier in this thread are deprecated since I abandoned the --include-icarus flag, however, should anyone wnt to include the icarus driver, then the error messages from the compiler are quite instructive. Also, compiling is quite easy, you just need to install MinGW (which is also free and opensource!). It can be tedious to setup MinGW but not impossible.

However, if even after that someone still wants to get a hold of the binary I compiled and / or the code i used to compile it, just point me to where you'd like me to upload it and its yours!

PS. I did mention earlier in the thread that I was working on something else, more specifically a windows driver. I can update the thread to the effect that I have actually gone to ground to write a windows miner that uses COM ports. I am working on the initialisation of the S1 board and work division in the code, and when I have some extra time off, I'll be looking to finishing it off and showcasing it! For me, that represented a better alternative than trying to wrestle the generic cgminer code targeting multiple rigs and written in a foreign language (C++!)
984  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 12, 2014, 10:30:01 AM
I guess i will try to get some UART => USB adapter (that is the CP2102 right ?) since we still a few weeks away from the controller.

EDIT: Any chance to get your cgiminer compiled for windows ? I also have a bfgminer running for an old BFL unit. I guess it can't work with both running at the same time ?

pekatete has it compiled, maybe he can post a link?

you can keep BFL running with bfgminer, and start an instance with cgminer, no problem

yes, its the cp210x series we are using, ive looked around, and cound not find any cp2104 or 8s within a decent pricerange, so it is cheaper to just buy the cp2102s until j4bber is done with the 8 port version... i will see if i can squeeze a little extra out of the proto when it arrives

Thanks !

I will try to get one at least to test my boards !

pekatete , it would be great if you could share me your cgminer !
I was able to compile cgminer 4.7.0 for and under windows using MinGW but not able to run it without significant errors (and at times it would not detect the board!). It therefore is not a binary that would be useful for sharing, and seeing the pre-compiled version 3.8.5 for windows reconises both the CP210x (as AMU / LIX / etc) and the PL230x (as ICA and ... ?), you would be better off getting that one, available here: https://github.com/AntMiner/AntGen1/blob/master/cgminer/cgminer-run-windows-20131224.zip?raw=true

PS. You may need to change over the TX / RX connectors on some of the modules as the lines can be twisted!
985  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 11, 2014, 02:53:20 PM
ok, so i have an idea, connect a rpi gpio , via pulldown resistor, to a "switch" that can turn on, turn off the power supply, but what is the component called that can connect 2 wires to each other, if, signal from gpio is high, and disconnect if gpio signal is low/off?

You mean a relay ... ? Something like this possibly ...

986  Economy / Computer hardware / Re: [WTB] Antminer S1 or S3 blade(s) - London, UK on: November 11, 2014, 01:40:56 PM
Bump
987  Bitcoin / Hardware / Re: ANTMINER S3 Discussion and Support Thread. on: November 10, 2014, 02:01:04 PM
In general, what is the condenses on the last batch of miners ? Are they hitting and keeping their target hash range  +/- ?
Ahem, was that meant to read consensus? Well, S3+'s are solid units, (including S3's later than batch 6) and bitmain have perfected their art with respect to these devices, with the sole exception of the firmware update shenanigans. Properly powered, they hit and exceed their rated hash-speed without batting an eyelid. I personally think more can be squeezed out of the S3+'s by re-doing the top heat-sink and using heatpads rather than the paste.
988  Bitcoin / Pools / Re: [9000 TH] Slush's Pool (mining.bitcoin.cz); TX FEES + VarDiff on: November 09, 2014, 06:16:18 PM
Climbed back up to near 60 ...... but those blocks are tumbling like hell, or is that just me getting excited !?
989  Bitcoin / Pools / Re: [9000 TH] Slush's Pool (mining.bitcoin.cz); TX FEES + VarDiff on: November 09, 2014, 06:14:26 PM
...  then blocks rewards got recalculated
Spoilsport, ruining my dreams. Sad
Trouble is, even if you are correct, the hoppers may still come steaming in.  Yes, I know more hashing should mean more smaller payouts, but it doesn't feel any better.
Thats just put to waste my now opened bottle of champaigne .... well, well ...... Mr Sugar you done it!
990  Bitcoin / Pools / Re: [9000 TH] Slush's Pool (mining.bitcoin.cz); TX FEES + VarDiff on: November 09, 2014, 06:00:38 PM
The pools stats show it's down to about 6,000Thash/s (from 8,200 a day ago) and est. payout this round is up 15+%, is this normal or did someone shut down their large farm (this was today, so it wasn't the fire from last month)?
Blooy marcaroni! I know the overall hash-rate of the pool has been yoyoing this weekend, but this takes the biscuit! Now down to ~5500000 GH/s! Last block payout was SWEET!
991  Economy / Computer hardware / Re: [UK] Mining clear out ~ open to offers on: November 09, 2014, 01:28:30 PM
Looking for S1's. BTC wise, PM me your acceptable price including shipping. (also see: https://bitcointalk.org/index.php?topic=850689.0 and yes I know you commented there too!)
992  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 09, 2014, 01:19:56 PM

I have only 4 blades and 2 cp2102 (I have bought them per $8 per piece) just now but already purchased 2 more (about $2,6 per piece).
What is much more important I think is to solve how to get proper information about how chips are running, about their status "x" or "o" and temperature. Have You any idea how to do it? In original S1 unit there is kernel module which very probably does it, send that info into some virtual device where cgi-bin script is reading it. But depends on if those informations are there where we are connected now or if there is need to attach another pin of the blabe.

the original version from bitmain get the temp info when they read the last calculated hash, i will need to see if there is more info hiding in the data that we recieve from the blade, or if it was something the pic handled on the control board.

in regard to timing:

this is how ive learned the chips do their magic, you send the data to the chip, and just before it is done calculating the hash, the chip needs to get a cancel order, then read the hash, so, if your too fast with the timing, you cancel unfinshed calculations, if your too slow, it sits and wait for new orders... theirfor timing needs to be correct.

This is the way I understand it.
1. the temp is read from the board via a pin (the temp sensor is that chip in the middle of the board). It has been mentioned in this thread what pin number this is, and as far as I can recall, the proto-board can read this too. Some chips also return their temperature individually, but I am not sure the BM1380 does this, or whether the board has been equiped to be able to read the chip temp.
2. when hashing, there is a sequence of events.
  • initialise the board with the frequency you choose to run the chips at. This sets the speed at which each chip will hash and therefore you can tell (the manufacturers of the chip) how long it will take to compute the nonce, thus the timeout.
  • in the initialisation, you also have a timeout number (in miliseconds / seconds Huh) which should be kept by the software.
  • send the nonce to be searched by the chip, take note of the time sent and await a result within the timeout period. A result could be found before the alloted timespan and returned, else the chip(s) will sit idle after that.
  • if a result is returned, the software then checks whether the size of the result matches (or exceeds) the difficulty requested (diff) by the pool and then sends it on to the pool, else it is trashed.
EDIT:
3. HW errors occur when the chip fails to return a value which can be caused by either a reall HW error (e.g over-heat) or when the timeout is set low and the chip does not get a chance to finish the search and return a value. Again, the software that sends work to the chips monitors this (aka count them out and count them in!)
993  Economy / Computer hardware / Re: [WTS] 8x Antminer S1's + other components on: November 09, 2014, 11:09:45 AM
Could you please delete the message you posted on this thread https://bitcointalk.org/index.php?topic=850689.0 ?
994  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 06:07:02 PM
well, im currently looking into connecting 2 boards to 1 cp2102, i get to set freq on all 64 chips, but currently timing out on golden nonce test...
What mods have you made to the driver? I tried that with 3.8.5 and both boards were hashing the same nonce ..... thus single board speed.

im working directly off my github version, so far i have had no luck, ive even tried to disable the detection routine, and pretended everything "was fine"
The detection routine? Is that in reference to the CP2012 ?
I am still unsure where the bmsc code determines the number of chips since it at times initializes less than the 32 on a board, and by initializing I mean setting the frequency if you have that in the command-line, otherwise, I can not see where it does that!

Anyway back to your thingy-bob, where in code do you disable the detection routine that you refer to?

its the area where it tests the golden nonce, in driver-bmsc.c just trying to bypas this area to see if i can get it to start hashing

OK.
Since you have managed to get all 64 chips detected, then I suppose you can try to find out why it is not going past the golden_nonce test:

After this: applog(LOG_ERR, "Bmsc recv golden nonce timeout");
Add this: applog(LOG_ERR, "Bmsc recv golden nonce timeout received: %s", ret);
My C++ is useless, but that should tell us what the return is (or does it fail on the next if ... else ... ?)

EDIT: I have actually just seen the REAL initialization routine in driver-bmsc.c aka
Code:
static void bmsc_initialise(struct cgpu_info *bmsc, int baud){ 
...
}

----------------start nonce------------------
 [2014-11-08 18:08:26] Bmsc send golden nonce
 [2014-11-08 18:08:27] Bmsc recv golden nonce timeout code 2 recieved: 0000000000 - should have recieved: 000187a2
 [2014-11-08 18:08:27] -----------------start freq-------------------
 [2014-11-08 18:08:27] Send frequency 82078106
 [2014-11-08 18:08:28] Send freq getstatus 8

Seems like the REAL initialise routine just fiddles about with the usb, nothing to do with the board .... unless there is something hidden in the usb_ident structure.

[2014-11-08 18:08:27] Bmsc recv golden nonce timeout code 2 recieved: 0000000000 - should have recieved: 000187a2

That does not offer any insight, to me at least, but suffice to say, I have seen that zero number printed out in the error messages before, though I have tried to replicate it to no avail.
995  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 04:53:39 PM
well, im currently looking into connecting 2 boards to 1 cp2102, i get to set freq on all 64 chips, but currently timing out on golden nonce test...
What mods have you made to the driver? I tried that with 3.8.5 and both boards were hashing the same nonce ..... thus single board speed.

im working directly off my github version, so far i have had no luck, ive even tried to disable the detection routine, and pretended everything "was fine"
The detection routine? Is that in reference to the CP2012 ?
I am still unsure where the bmsc code determines the number of chips since it at times initializes less than the 32 on a board, and by initializing I mean setting the frequency if you have that in the command-line, otherwise, I can not see where it does that!

Anyway back to your thingy-bob, where in code do you disable the detection routine that you refer to?

its the area where it tests the golden nonce, in driver-bmsc.c just trying to bypas this area to see if i can get it to start hashing

OK.
Since you have managed to get all 64 chips detected, then I suppose you can try to find out why it is not going past the golden_nonce test:

After this: applog(LOG_ERR, "Bmsc recv golden nonce timeout");
Add this: applog(LOG_ERR, "Bmsc recv golden nonce timeout received: %s", ret);
My C++ is useless, but that should tell us what the return is (or does it fail on the next if ... else ... ?)

EDIT: I have actually just seen the REAL initialization routine in driver-bmsc.c aka
Code:
static void bmsc_initialise(struct cgpu_info *bmsc, int baud){ 
...
}
996  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 04:33:30 PM
well, im currently looking into connecting 2 boards to 1 cp2102, i get to set freq on all 64 chips, but currently timing out on golden nonce test...
What mods have you made to the driver? I tried that with 3.8.5 and both boards were hashing the same nonce ..... thus single board speed.

im working directly off my github version, so far i have had no luck, ive even tried to disable the detection routine, and pretended everything "was fine"
The detection routine? Is that in reference to the CP2012 ?
I am still unsure where the bmsc code determines the number of chips since it at times initializes less than the 32 on a board, and by initializing I mean setting the frequency if you have that in the command-line, otherwise, I can not see where it does that!

Anyway back to your thingy-bob, where in code do you disable the detection routine that you refer to?
997  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 04:15:17 PM
well, im currently looking into connecting 2 boards to 1 cp2102, i get to set freq on all 64 chips, but currently timing out on golden nonce test...
What mods have you made to the driver? I tried that with 3.8.5 and both boards were hashing the same nonce ..... thus single board speed.
998  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 01:38:25 PM
ensure Yourself if wires are fixed properly. I use such workaround to fix them: <snip> ... </snip>

The connections are OK, they work well with version 3.8.5.

have you tried with the drivers from silab? ....

Again, since the zadig USB drivers work with 3.8.5, I have not opted to try other drivers.
However, now that you mentioned the libusb, I do not add that at compile time. Also, I removed the dll from the directory and I assume the program uses the system drivers ..... which leads me to think that I may have an older version of libusb installed on the system like you insinuated earlier. I'll keep poking around and update the thread whence I have any useful info to share, otherwise, I'd prefer not to swamp the thread seeing the linux driver is working (and most people will be using that).
999  Bitcoin / Hardware / Re: [DIY] - Reward $100 | Antminer S1/S3 Blade on Raspberry Pi on: November 08, 2014, 01:10:38 PM
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
Totally understand.
The one edit that I did to mine was to add a sleep in the driver-bmsc.c file on line 1179, i.e cgsleep_ms(500);
1000  Bitcoin / Mining support / Re: BITMAIN Antminer S3 support and OverClocking thread on: November 08, 2014, 12:57:08 PM
I've done exactly as the guide says, but it still says 225 as Frequency in the minerstatus... What can be wrong? The file is saved.
Check the Miner Configuration tab and if you have an Advanced Settings tab there, then you need to OC via that tab (by selecting the desired frequency) then clicking on the Save and Apply button (bottom right hand corner)
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 46 47 48 49 [50] 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 »
Powered by MySQL Powered by PHP Powered by SMF 1.1.19 | SMF © 2006-2009, Simple Machines Valid XHTML 1.0! Valid CSS!