Post
Topic
Board Hardware
Re: [ANN] Technobit HEX16A2 - 16 chip Avalon Gen2 board
by
golfgrasshopper
on 07/03/2014, 12:41:39 UTC
Zich,

Are you running avalon 2 boards on same tplink as the 6/8 board?

Do you have a version of cgminer for rpi that runs both boards?

Thanks in advance!

Yes, i run both on them on TL-MR3020  Grin

For pi, you need to compile cgminer using patch that available at technobit website.
The following guide is based on raspbian wheezy.

Code:
1. sudo aptitude update
2. sudo aptitude upgrade
3. sudo aptitude install libudev-dev libusb-1.0-0-dev libfox-1.6-dev
4. sudo aptitude install autotools-dev autoconf automake
5. sudo aptitude install libtool libncurses-dev yasm
6. sudo aptitude install curl libcurl4-openssl-dev libjansson-dev screen
7. sudo aptitude install pkg-config uthash-dev make git-core

Then download cgminer 3.12.3
Code:
1. git clone https://github.com/ckolivas/cgminer.git
2. mv cgminer cgminer-3.12.3
3. cd cgminer-3.12.3
4. git checkout e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f
5. wget https://www.dropbox.com/s/hfx7l4hz5ywgw3x/e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch
6. patch -p1 < e447b697d90c4d1e4c6a2dc8bd9bfc3eab23115f.patch
7. ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminerb --enable-hexmineru --enable-hexminer8
8. make

Step 5 is patch uploaded to dropbox by myself, so you can use your own that downloaded from technobit download page if you want  Wink
Make sure there is no error message on each step.

No need to install, you can run cgminer from folder.
Code:
1. screen
2. sudo ./cgminer --hexminerc-voltage 1100 --hexminerc-options 16:1500 --hexminer8-set-diff-to-one 0 --hexminer8-chip-mask 255 --hexminer8-voltage 1005 --hexminer8-options 8:260 --set_default_to_8

Or add the setting to cgminer.conf so you don't have to type setting command each time  Cheesy
Code:
sudo nano /root/.cgminer/cgminer.conf

Code:
{
"pools" : [
        {
                "url" : "stratum+tcp://stratum-lb-usa48.btcguild.com:3333",
                "user" : "user",
                "pass" : "123"
        }
]
,
"api-mcast-port" : "4028",
"api-port" : "4028",
"expiry" : "120",
"hotplug" : "5",
"log" : "5",
"no-pool-disable" : true,
"queue" : "1",
"scan-time" : "60",
"shares" : "0",
"hexminera-voltage" : "1460",
"hexminera-options" : "16:480",
"hexminerc-voltage" : "1100",
"hexminerc-options" : "16:1500",
"hexminerb-voltage" : "900",
"hexminerb-options" : "16:540",
"hexminer8-set-diff-to-one" : "0",
"hexminer8-chip-mask" : "255",
"hexminer8-voltage" : "1005",
"hexminer8-options" : "8:260",
"hexmineru-frequency" : "54",
"kernel-path" : "/usr/local/bin"
}


Hi Zich,

This is my first post and I don't know if I'm doing it correctly but here goes.  I've never use Linux before but
I am trying to set up a couple of Technobit hex16a2's that I just purchased on ebay.  I am using a Raspi loaded with Raspbian.  I followed your instructions concerning loading and patching cgminer 3.12.3 and everything was working well until I tried to apply the patch.  I get an error that states that the patch "unexpectedly ends in the middle of a line" and "only garbage was found in the patch input"  Also I can't find the patch on Technobit's website
Is the file corrupted or am I missing something?  Any help would be greatly appreciated