Coder Social home page Coder Social logo

boyyao / cgminer-gekko Goto Github PK

View Code? Open in Web Editor NEW

This project forked from wareck/cgminer-gekko

0.0 0.0 0.0 4.6 MB

cgminer 4.12.1 with GekkoScience (Compac , 2pac , Newpac , R606 /R909 , CompacF) Also with Extranonce/nicehash support. Compatible with OpenWrt

License: Other

Shell 6.07% Ruby 0.01% C++ 1.30% Python 0.20% C 85.30% PHP 1.43% Java 0.14% Makefile 2.33% CMake 1.05% M4 2.16%

cgminer-gekko's Introduction

CGminer 4.12.1 GekkoScience Compac, 2pac & Newpack & CompacF & terminus

This is cgminer 4.12.1 with support for GekkoScience Compac, CompacF, 2pac.

This software is forked from cgminer 4.10.0 original from ckolivas.

Then i added v.thoang gekko drivers and kanoi upgrade, avalon updates , xtranonce

(you can refer to original documentation to docs/README)

GekkoScience compac & 2pac Usb miner

GekkoScience Newpac & CompacF Usb miner

GekkoScience Terminus r606 / R909

This software use a slighty moddified driver from novak's gekko driver.

I allows working with icarus miner and gekko on same rig.

to build this specific code on linux:

sudo apt-get update -y
sudo apt-get install build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev libudev-dev \
libjansson-dev libncurses5-dev libusb-1.0-0-dev zlib1g-dev git -y

git clone https://github.com/wareck/cgminer-gekko.git

cd cgminer-gekko
sudo usermod -a -G dialout,plugdev $USER
sudo cp 01-cgminer.rules /etc/udev/rules.d/
CFLAGS="-O2 -march=native" ./autogen.sh
./configure --enable-gekko
make
sudo make install
sudo reboot

Option Summary

  --gekko-compac-freq <clock>   Chip clock speed (MHz) default is 200 Mhz
  --gekko-2pac-freq <clock> Chip clock speed (Mhz) default is 150 Mhz 
  --gekko-newpac-freq <clock> Chip clock speed (Mhz) default is 150 Mhz
  --gekko-r606-freq <clock> Set GekkoScience Terminus R606 frequency in MHz, range 50-900 (default: 550)
  --gekko-r909-freq <clock> Set GekkoScience Terminus R606 frequency in MHz, range 50-900 (default: 550
  --gekko-terminus-detect Detect GekkoScience Terminus BM1384
  --suggest-diff <value> Limit diff for starting mine default is 32

Command line

 ./cgminer -o pool_url -u username -p password --gekko-compac-freq 200 --gekko-2pac-freq 150 --gekko-newpac-freq 150

For windows users, you can donwload the release zip file

Inside you can find a cgminer_run.bat file and you can adjust you settings.

Nicehash extranonce support

You can use your miner with last extranonce support for nicehash by adding #xnsub at the address end, like this:

./cgminer -o stratum+tcp://sha256.eu.nicehash.com:3334#xnsub -u my_btc_address -p x --gekko-compac-freq 200 --gekko-2pac-freq 150 --gekko-newpac-freq 150

For Raspberry Users :

You may need to use "legacy" version of raspberry OS (32 or 64 bit no matter).

Credits

Kanoi    : https://github.com/kanoi/cgminer.git (code update to 4.12.0 and gekko driver improvement)
ckolivas : https://github.com/ckolivas/cgminer.git (original cgminer code)
vthoang  : https://github.com/vthoang/cgminer.git (gekko driver)
nicehash : https://github.com/nicehash/cgminer-ckolivas.git (nicheash extranonce)
prmam : coinbase flags fix and default configuration, udev permissions fix
chipjarred : macos compilation fix, memory leak fix, and Fixing change of sign warnings when referring to buffers

cgminer-gekko's People

Contributors

chipjarred avatar csa402 avatar saxtron3000 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.