Thanks, that's all anyone can ask!
Fudged my way through a cross compile, wedged shit in here and there, patched stuff, moved stuff around, can't remember what I did, but here's a binary:
http://ck.kolivas.org/apps/cgminer/antminer/s4/4.6.1-141009/cgminerI have no idea if it really is for the right architecture, where you stick it on their filesystem or what to make it work or if it will just explode in a ball of flames, but there it is.
Awesome, Thanks!
I can report that the binary drops in and replaces the old one, matches the architecture, and runs without exploding in a ball of flames!
So I've pointed my S4, running this new binay, back at Slush's pool to see how it goes. Probably too soon to tell, but initially it reported hashing over 2TH via the web ui (as it always does) while Slush was showing it doing only about ~450GH, poolside.
After a few minutes that climbed up to and settled around 1TH and has been sitting there.
The Web UI also reports the Diff column (of the Slush row in the Pools table) as 1.05K, but I'm not sure if that indicates a problem...
I also dug into the init script to see what comman line params it gets run with, and they are:
/usr/bin/cgminer --bitmain-dev /dev/bitmain-asic \
--bitmain-options 115200:32:8:7:200:0782:0725 \
--bitmain-checkn2diff \
--bitmain-hwerror \
--queue 8192 \
--api-listen \
--default-config /config/cgminer.conf
and:
root@ant:~# cat /config/cgminer.conf contains:
{
"pools" : [
{
"url" : "stratum.bitcoin.cz:3333",
"user" : "gigawatt.ant-bambam",
"pass" : "x"
},
{
"url" : "",
"user" : "",
"pass" : ""
},
{
"url" : "",
"user" : "",
"pass" : ""
}
],
"api-listen" : true,
"api-network" : true,
"api-allow" : "W:0/0",
"bitmain-nobeeper" : true,
"bitmain-freq" : "7:218.75:1106",
"bitmain-voltage" : "0725"
}
What the heck does the --bitmain-checkn2diff option do (play chicken with the diff? lol) google not so helpful here, not was the cgminer readme.
I tried adding --suggest-diff 2048 (as one google search result suggested) but that command line option was rejected by cgminer as "unrecognized" {sniff}
As always, let us not forget that:
This code is provided entirely free of charge by the programmer in his spare
time so donations would be greatly appreciated. Please consider donating to the
address below.
Con Kolivas <
[email protected]>
15qSxP1SQcUX3o4nhkfdbgyoWEFMomJ4rZ
thanks,
-dave (hoping a few hours will clear this up now)