Thanks, this is what i looking for
|
|
|
I see, now i need to ask google about mxe or you maybe can add some guide to windows-build.txt That file is horribly outdated from the GPU days and since I started cross compiling with mxe there is no way I'm going to try and build it directly on windows or any other way any more, sorry. In fact that windows build file wasn't even made by me if you read it, but a very dedicated user... No problem I will learn mxe step by step
|
|
|
Thanks for your investigating. I build all the official binaries with mxe, so it works either way, but I have shuffled things slightly based on that info and removed the windows.h include entirely. I have no idea what effect that will have on other build environments I see, now i need to ask google about mxe or you maybe can add some guide to windows-build.txt
|
|
|
just upgraded the router to 0.3.2 as you showed it is newest version. But after upgrade i see this [Firmware Version] => 20140329 cgminer: 4_1_0_5ed45a0 Socket connect failed: Connection refused What happend? Should i upgrade again? not with upgrade file but with factory file? mm, they are not absolete for me, managing to buy used ones for 30 euros or less, so i am starting to stack them now You need to fill in Hex3A3 Chip Count (Default: 16), Hex3A3 Chip Frequency (Default: 7000), Hex3A3 Chip Core Voltage mV (Default: 750), Hex3A3 Enable or Disable Chips (Default: 255) with their default value which is blank right now
|
|
|
Cgminer for windows with Technobit hardware support
|
|
|
Sadly never found an answer to this. I tried to get this to go through with mingw with no luck. Its got to be something wierd with the current mingw version but all I got from the mingw newsgroup was that is was my fault mingw didn't work. Search back a few months here for mentions of mingw and theres about 2 pages of attempts to get a solution that never came to flortition.
You may want to try mxe though then you'll need to find you way on their issues board where they did say it compiles for them with instruction they gave me in their issues area on github I haven't tried any further since u1's came to be supported
Thanks for the head up. Edit: After searching on google, look like i found the problem. http://msdn.microsoft.com/en-us/library/windows/desktop/ms737629%28v=vs.85%29.aspxThere is some wrong include on util.h line 32. Base on the article, winsock.h must be include before ws2tcpip.h. #elif defined WIN32 #include <ws2tcpip.h> #include <winsock2.h>
Other problem is Windows.h header defaults to including the Winsock.h which will conflict with the declarations in the Winsock2.h. So this is the adjustment. #elif defined WIN32 #ifndef WIN32_LEAN_AND_MEAN #define WIN32_LEAN_AND_MEAN #endif #include <windows.h> #include <winsock2.h> #include <ws2tcpip.h> #include <iphlpapi.h> #include <stdio.h>
But then i got other error CCLD cgminer.exe cgminer-cgminer.o: In function `clean_up': C:\MinGW\msys\1.0\home\Zinc\cgminer/cgminer.c:8794: undefined reference to `time EndPeriod' cgminer-cgminer.o: In function `hashmeter': C:\MinGW\msys\1.0\home\Zinc\cgminer/cgminer.c:6096: undefined reference to `llro und' cgminer-cgminer.o: In function `clean_up': C:\MinGW\msys\1.0\home\Zinc\cgminer/cgminer.c:8794: undefined reference to `time EndPeriod' cgminer-cgminer.o: In function `main': C:\MinGW\msys\1.0\home\Zinc\cgminer/cgminer.c:9657: undefined reference to `time BeginPeriod' collect2.exe: error: ld returned 1 exit status make[2]: *** [cgminer.exe] Error 1 make[2]: Leaving directory `/home/Zinc/cgminer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Zinc/cgminer' make: *** [all] Error 2
|
|
|
Hi ck, I got this error message while trying to compile cgminer for windows using mingw. Any clue? "autoreconf -fvi" done without error "CFLAGS="-O2 -msse2" ./configure" also done without error Thanks Making all in ccan make[2]: Entering directory `/home/Zinc/cgminer/ccan' CC opt/libccan_a-helpers.o CC opt/libccan_a-opt.o CC opt/libccan_a-parse.o CC opt/libccan_a-usage.o AR libccan.a make[2]: Leaving directory `/home/Zinc/cgminer/ccan' make[2]: Entering directory `/home/Zinc/cgminer' CC cgminer-cgminer.o In file included from ./util.h:32:0, from ./miner.h:27, from ./sha2.h:36, from cgminer.c:52: c:\mingw\include\ws2tcpip.h:38:2: error: #error "ws2tcpip.h is not compatible th winsock.h. Include winsock2.h instead." #error "ws2tcpip.h is not compatible with winsock.h. Include winsock2.h inste ." ^ In file included from ./util.h:32:0, from ./miner.h:27, from ./sha2.h:36, from cgminer.c:52: c:\mingw\include\ws2tcpip.h:147:8: error: redefinition of 'struct ip_mreq' struct ip_mreq { ^ In file included from c:\mingw\include\windows.h:93:0, from cgminer.c:42: c:\mingw\include\winsock.h:315:8: note: originally defined here struct ip_mreq { ^ In file included from ./util.h:32:0, from ./miner.h:27, from ./sha2.h:36, from cgminer.c:52: c:\mingw\include\ws2tcpip.h:390:13: error: expected '=', ',', ';', 'asm' or '_ ttribute__' before 'freeaddrinfo' void WSAAPI freeaddrinfo (struct addrinfo*); ^ c:\mingw\include\ws2tcpip.h:391:12: error: expected '=', ',', ';', 'asm' or '_ ttribute__' before 'getaddrinfo' int WSAAPI getaddrinfo (const char*,const char*,const struct addrinfo*, ^ c:\mingw\include\ws2tcpip.h:393:12: error: expected '=', ',', ';', 'asm' or '_ ttribute__' before 'getnameinfo' int WSAAPI getnameinfo(const struct sockaddr*,socklen_t,char*,DWORD, ^ make[2]: *** [cgminer-cgminer.o] Error 1 make[2]: Leaving directory `/home/Zinc/cgminer' make[1]: *** [all-recursive] Error 1 make[1]: Leaving directory `/home/Zinc/cgminer' make: *** [all] Error 2
|
|
|
rebooted and it still doesn't work. It works fine with hexminer. If I try the driver I use for hexminer on cgminer it says it can't initiate hex8 and says to install winusb. When I install winusb and run cgminer it says no device detected and waiting for usb hotplug devices.
Yeah, you are right. I hadn't try it my self before, so i didn't know if it work with HEX16C. I just try it my self & it's not working, sorry. I am not sure what is the cause. Maybe this version only support HEX8. Try to pm 2GOOD
|
|
|
Thanks so much for the link gonna set it up in the am! Peru here I come. BTC Address? Happy holiday then Edit: Some update from 2GOOD
|
|
|
I only added my pool information to the config, do other changes need to be made?
Even without proper setting, cgminer should be able to detect the hex, try to reboot the windows
|
|
|
I just replace the driver to winusb with zadig right? If so I did that and it shows up correctly in device manager. If that's not the right driver could you link the correct one?
Yup.
|
|
|
That's what I was wondering, because I downloaded his compiled cgminer and zadig. The hex shows up fine in device manager, but cgminer doesn't seem to find it though. I thought maybe I still needed to add a patch or something.
You need to replace the driver using zadig.
|
|
|
For Rpi 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
For Ubuntu 1. sudo apt-get update 2. sudo apt-get upgrade 3. sudo apt-get install libudev-dev libusb-1.0-0-dev libfox-1.6-dev 4. sudo apt-get install autotools-dev autoconf automake 5. sudo apt-get install libtool libncurses-dev yasm 6. sudo apt-get install curl libcurl4-openssl-dev libjansson-dev screen 7. sudo apt-get install pkg-config uthash-dev make git-core
Download cgminer 4.2.3 1. git clone https://github.com/ckolivas/cgminer.git 2. mv cgminer cgminer-4.2.3 3. cd cgminer-4.2.3 4. git checkout e574114682fe1edc344b7e291eb9d9497d26ef92 5. wget https://www.dropbox.com/s/ugg6nczel6hqmr6/e574114682fe1edc344b7e291eb9d9497d26ef92.patch 6. patch -p1 < e574114682fe1edc344b7e291eb9d9497d26ef92.patch 7. ./autogen.sh --enable-hexminera --enable-hexminerc --enable-hexminer3 --enable-hexminerb --enable-hexmineru --enable-hexminer8 8. make
{ "pools" : [ { "url" : "stratum+tcp://stratum-lb-usa48.btcguild.com:3333", "user" : "user", "pass" : "123" } ] , "api-listen" : true, "api-allow" : "R:127.0.0.1", "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", "hexminer3-voltage" : "750", "hexminer3-options" : "16:7000", "hexminer3-chip-mask" : "255", "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", "set_default_to_8" : true, "kernel-path" : "/usr/local/bin" }
|
|
|
mm, i'll see what wil happen. hope it wil not die
Yeah, maybe you will be more lucky Anyway my HEX16C going to retired in next difficulty change. I will strip the heatsink & FAN then attach to HEX8A
|
|
|
lol, ok. I did an upgrade to 4.2.2. yesterday, i'll do another one Thx for info * cgminer bug fixes:HEXa frequent HEXa usb disconnects, fast work queue restart and so on Having frequent hexa disconnects indeed, was already wondering why Another question: having also a HEXc, it does run at 20 GHs when using 1500/1100 mv, but when using 1600/1160 it does run aprox 23.3 GHs, is this normal behaviour? with 1500/1100 3 chips are not really doing fine (staying behind, can see this in tplink router log), but when using 1600/1160 they hardly stay behind. I guess chip number 3 is dead. If you run 1600/1160 for more long period, i bet that chip 3 will stop working. I am also had 1 dead chip. I already try many higher setting but that's only work for short period.
|
|
|
@Zich
Do u know how to see all the info when switching off the "toggle status switching"? (cgminer 4.2.2 tplink router 3020)
I would like to see all info all the time when using putty, not this switching
That not available with cgminer-4.2.2. However, marto just release new image with cgminer-4.2.3 which possible to display all on one line. 0.3.2 Avalon 3 release technobit.eu/0_3_2.rar0.3.2 HEX3A3 - Avalon3 board release * HEX3A3 defaults: --hexminer3-chip-mask 255 --hexminer3-voltage 800 --hexminer3-options 16:7000 * HEX3A3 --hexminer3-options 16:7000 16 is chip count per board and 7000 is desired speed per chip in Mh/s. 7000 equals to 7G per chip. * cgminer patch to cgminer 4.2.3 rev e574114682fe1edc344b7e291eb9d9497d26ef92.patch * cgminer bug fixes:HEXa frequent HEXa usb disconnects, fast work queue restart and so on * openwrt – some compile optimizations for speed which increased image size a bit * openwrt – dhcp client added finally:) * openwrt updated to r40449
|
|
|
No submissions
Type " top " & post the screen shot.
|
|
|
|