Post
Topic
Board Mining support
Re: Bitmain AntMiner U1 Tips & Tricks
by
chadgroover
on 09/01/2014, 07:57:21 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.

Awesome news that the LCD is working for you! I'm having a few issues getting the latest version to make on my Pi, though;

Code:
  CC     cgminer-driver-bmsc.o
In file included from driver-bmsc.c:46:0:
usbutils.h:14:20: fatal error: libusb.h: No such file or directory
compilation terminated.
make[2]: *** [cgminer-driver-bmsc.o] Error 1
I'm just git cloning from https://github.com/fractalbc/cgminer.git, then;

./autogen.sh
./configure --enable-bmsc
make

Is there anything else in particular I should be doing? I definitely have libusb-1.0-0.dev installed. Just tried building a fresh clone of the bitmaintech branch and that went through fine.
Linux noob here, so please be gentle!