Difference between revisions of "Avalon4 mini"

From Bitcoin Wiki
Jump to: navigation, search
(Created page with "== CGMiner Under Ubuntu 14.04 == === Download === Inside your home directory, download CGMiner git clone https://github.com/Canaan-Creative/cgminer === Compile === cd cgm...")
 
(CGMiner Under Ubuntu 14.04)
Line 25: Line 25:
 
   Format: '''ascset|ASCN,frequency,chip id-value'''
 
   Format: '''ascset|ASCN,frequency,chip id-value'''
 
   eg: cgminer-api "ascset|0,frequency,0-450:390:370"  /* set all chips work at 450:390:370, about 414 Mhz = (450 * 4 + 390 * 4 + 370) / 9 */
 
   eg: cgminer-api "ascset|0,frequency,0-450:390:370"  /* set all chips work at 450:390:370, about 414 Mhz = (450 * 4 + 390 * 4 + 370) / 9 */
       cgminer-api "ascset|0,frequency,1-200"  /* set chip 1 works at 200 Mhz
+
       cgminer-api "ascset|0,frequency,1-200"  /* set chip 1 works at 200 Mhz */

Revision as of 08:06, 15 May 2015

CGMiner Under Ubuntu 14.04

Download

Inside your home directory, download CGMiner
git clone https://github.com/Canaan-Creative/cgminer

Compile

cd cgminer
git checkout origin/avalon-miner -b avalon-miner
./autogen.sh --enable-avalon-miner
make -j 4

Run

sudo ./cgminer --avalonm-freq 100 --avalonm-voltage 6250 -o http://stratum.pool:3333 -u  work -p pass 
or
sudo ./cgminer --avalonm-freq 275:250:200 --avalonm-voltage 6250 -o http://stratum.pool:3333 -u  work -p pass
or
sudo ./cgminer --avalonm-freq 100 --avalonm-voltage 6250 -o http://stratum.pool:3333 -u  work -p pass --api-allow W:127.0.0.1 --api-listen $@ 2>./log

Tweak

  • Voltage
 Format: ascset|ASCN,voltage,value
 eg: cgminer-api "ascset|0,voltage,7000"
  • Frequency
 Format: ascset|ASCN,frequency,chip id-value
 eg: cgminer-api "ascset|0,frequency,0-450:390:370"   /* set all chips work at 450:390:370, about 414 Mhz = (450 * 4 + 390 * 4 + 370) / 9 */
     cgminer-api "ascset|0,frequency,1-200"  /* set chip 1 works at 200 Mhz */