Hi all. Just a few tips from someone who has overclocked many S1-s over the last few months. Specially the enabling of the asic autoprobe mode (tip #3) delivers optimum settings and performance.
Just my two cents.
1) Use the "joe" editor instead of the "vi" editor. It saves you a lot of irritation... Joe is much easier to use.
How:
- login to your miner, go to the System Tab, got to the Software sub-tab
- click the small "Update Lists" button
- enter: joe in the "Download and install package:" input box and press the OK button at the right
This will install the joe editor on your miner.
Commands: joe
Just start moving around and editing your file. Press simultaneously to enter command mode , e.g. press H for help (+k H).
Press -k x to save and exit.
(assuming that you are logged in to your miner using a secure-shell program)
2) Edit the /etc/config/cgminer file using "joe" ( joe /etc/config/cgminer ) as per instructions in this thread, changing option chip_frequency to '400' and option miner_count to '35' although the latter is obsolete after the following tip 3.
3) Edit the /etc/init.d/cgminer file to enable the automatic detection and hardware optimization that cgminer can perform on your Antminer! joe /etc/init.d/cgminer
Change the line: $APP --lowmem --bitmain-options 115200:32:8:$_T0:$_cf:$_regv -q >/dev/null 2>&1
to: $APP --bitmain-auto -q >/dev/null 2>&1
This will auto-probe and install the optimal settings for your asic, depending on the frequency chosen in step 2
You can now choose to save and exit joe: -k x
4) If you want to run on multiple pools simultaneously, balancing your miner's resources, add "--balance" to the line above, so that it becomes:
$APP --bitmain-auto --balance -q >/dev/null 2>&1
Reboot your miner.
I run three miners (different batches w. the 2014-2-7 firmware) @
www.angelminers.org with these settings and they perform great!
By the way, here is a great video with simple instructions on how to upgrade your S1's firware:
http://www.youtube.com/watch?v=HIAvtb2SnJY Cheers!
Martin.
~
https://www.angelminers.org - stop ego-mining, start sharing! Charity 2.0 ~
Hey Martin, thanks for the tips, this make things a lot easier, although I did notice some things along the way, but I'm on an older firmware so it might be different (this script is also a bit of a mess):
1. Editing the /etc/config/cgminer file had no effect on my speeds, the asic-freq file seems to override it
2. $APP didn't change anything either, I found that only editing AOPTIONS made any difference. Making changes and looking in the system log seems to confirm this.
3. when using --bitmain-auto, my ant won't hash, it connects and all, but won't hash (as mentioned I'm on older firmware), does "--bitmain-auto" actually show up in your system log?
4. I added the --balance parameter to the PARAMS string, but that's just me being pedantic
I also noticed a non-related problem with ntp never working properly and found that at the bottom of the init.d/cgminer file, there are leading digits and points before the addresses which breaks the script. I removed them (
0.openwrt.org) and finally ntp seems to work

Thanks again for sharing!