Post
Topic
Board Mining support
Re: Bitmain AntMiner U1 Tips & Tricks
by
fractalbc
on 09/01/2014, 06:06:57 UTC
I gave up on the bitmaintech branch because of some of the other changes they made to cgminer and pulled the latest ckolivas 3.9.0 repository, merged the bmsc driver and posted it to https://github.com/fractalbc/cgminer.git
This is very interesting.

Can you just clarify what you did when you "merged the bmsc driver"

The bitmain version of cgminer is terribly unstable and doesn't work with the adafruit piminer lcd scripts because of the API changes Bitmain have made so id be keen to replicate what you have done.
I cloned the official cgminer repository and added the bmsc driver to it without the other cruft from the bitmaintech branch.  It might be worth testing your piminer with that branch to see if it works.

As a side note I tested a blue fury and it crashed after a couple of hours.  This happened twice.  I will test the blue fury by itself on a stock 3.9.0 build to figure out if it is something I did or not.
Brilliant, thanks.

Have done this through the evening and am having at about 1ghs faster with your build. Plus, as a bonus, the LCD works again due to the api.c file being standard. Im still testing for stability obviously but im just running with the 3 ants in here, left my BE's out for now.
I had to find some time to solder up a new power plug to give that silly power brick a rest.  I now have 7 U1's and 9 erupters all powered by a 80+gold rated supply seen in the background.



Works pretty well



Everything is in the config file.  Command line is a simple

screen -fa -d -m -S miner ./cgminer -c ~/btcguild.conf

where the config file contains

Code:
{
"pools" : [
 ... my pool info
]
,
"api-listen" : true,
"api-mcast-port" : "4028",
"api-network" : true,
"api-port" : "4028",
"expiry" : "30",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"no-submit-stale" : true,
"queue" : "1",
"scan-time" : "15",
"shares" : "0",
"kernel-path" : "/usr/local/bin",
"bmsc-options" : "115200:20",
"bmsc-freq" : "0981",
"icarus-options" : "115200:1:1",
"icarus-timing" : "3.0=100"
}

I still haven't had time to find out what's wrong with the blue fury.