- 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
|
|
|
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)
|
|
|
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=truePS. 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++!)
|
|
|
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=truePS. You may need to change over the TX / RX connectors on some of the modules as the lines can be twisted!
|
|
|
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 ...
|
|
|
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.
|
|
|
Climbed back up to near 60 ...... but those blocks are tumbling like hell, or is that just me getting excited !?
|
|
|
... then blocks rewards got recalculated Spoilsport, ruining my dreams. 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!
|
|
|
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!
|
|
|
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 ) 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!)
|
|
|
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 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: 000187a2That 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.
|
|
|
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 static void bmsc_initialise(struct cgpu_info *bmsc, int baud){ ... }
|
|
|
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?
|
|
|
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.
|
|
|
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).
|
|
|
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-bmscive 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);
|
|
|
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)
|
|
|
|