Have a look - https://github.com/kanoi/cgminer-binari ... ster/AntS1
Currently as of this posting, this is an update to cgminer version 4.2.0 (4.2.1 exists but isn't available via this method yet). Lots of bug fixes, improved CPU load handling, which equates to faster response times, less CPU overhead --> slightly less heat generated/less electricity use.
Bitcointalk forum thread concerning this update for the S1 - https://bitcointalk.org/index.php?topic ... msg5856097
Check either thread for future updates.
Updating cgminer version on Antminer S1
Moderator: ArcticWolfie
Re: Updating cgminer version on Antminer S1
The above update breaks the display of LSTime for whichever pool your S1 is pointed at. Beerpimp found a fix for that, and it also improves on it, as the date/time group becomes much more user friendly.
To fix: ssh into your S1 and edit this file - /usr/lib/lua/luci/controller/cgminer.lua
Find:
and change to:
Reboot the S1, good to go.
To fix: ssh into your S1 and edit this file - /usr/lib/lua/luci/controller/cgminer.lua
Find:
Code: Select all
if lst == "0" then
lst_date = "Never"
else
--lst_date = os.date("%c", lst)
lst_date = lst
end
and change to:
Code: Select all
if lst == "0" then
lst_date = "Never"
else
lst_date = os.date("%c", lst)
--lst_date = lst
end
Reboot the S1, good to go.
Re: Updating cgminer version on Antminer S1
Newer build of cgminer is available for the S1's - 4.2.2a. Follow the same link on github from the original post.
- TheBackRoads
- Fresh Meat
- Posts: 7
- Joined: Feb 20th, 2014 at 11:45 am
Re: Updating cgminer version on Antminer S1
Thanks for the quick links/info! Updating 4.2.0 cgminer helped lower the cpu load... is there any further benefit for 4.2.2 other than just keeping it current?
Re: Updating cgminer version on Antminer S1
There were a couple more cpu tweaks and also temp handling for the S1. Most of the updates in 4.2.2a were for solo miners.
- TheBackRoads
- Fresh Meat
- Posts: 7
- Joined: Feb 20th, 2014 at 11:45 am
Re: Updating cgminer version on Antminer S1
The above link is now steps for updating to CGMiner 4.2.2a. It works fine however if you want to upgrade to 4.2.0, I've added the below for you to follow(with lstime fix).
Enjoy!
CGMiner Update to 4.2.0
Part 1
cd /usr/bin/
wget http://kano-kun.net/AntS1/cgminer-ants1-4.2.0-00567a4
chmod +x cgminer-ants1-4.2.0-00567a4
If you haven't done an update like this before (or undid the change):
mv cgminer cgminer.original
ln -s cgminer-ants1-4.2.0-00567a4 cgminer
Next you need to restart cgminer on your AntS1
Clicking the "Save & Apply" button on the "Status/Miner Configuration" tab
in the web interface will do that
-------------------------------------------------------------------------------------
Fix LSTime
Part 2
vi /usr/lib/lua/luci/controller/cgminer.lua
Around line 287, look for:
--lst_date = os.date("%c", lst)
lst_date = lst
and change it back to:
lst_date = os.date("%c", lst)
--lst_date = lst
reboot from cmd and enter
Enjoy!

- Attachments
-
- CGMiner_Update.txt
- (785 Bytes) Downloaded 288 times
- TheBackRoads
- Fresh Meat
- Posts: 7
- Joined: Feb 20th, 2014 at 11:45 am
Who is online
Users browsing this forum: No registered users and 1 guest