Votre Nom 2 years ago
parent
commit
1ec2e101f1

+ 12 - 0
build_bfgminer.sh

@@ -1,8 +1,20 @@
 #!/bin/bash
 cd ~
+sudo rm -r -f temp
+mkdir temp
+cd temp
+wget http://wareck.free.fr/cross_compilation/uthash-2.3.0.tar.gz
+tar xvfz uthash-2.3.0.tar.gz
+cd uthash-2.3.0
+sudo cp src/* /opt/mxe/usr/i686-w64-mingw32.static/include/
+cd ~
 git clone https://github.com/wareck/bfgminer.git
 cd bfgminer
+git submodule init
+git submodule update
 autoreconf -fi
+
 CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-scrypt
+
 make
 strip bfgminer.exe

+ 21 - 33
build_gekko.sh

@@ -10,17 +10,10 @@ git pull
 cd ..
 fi
 cd cgminer-gekko
-
 autoreconf -fi
-CFLAGS="-O2 -msse2 -static -fcommon" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-static --enable-gekko
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko
 #--enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
-make -j4
-if ! [[ -f cgminer.exe ]]
-then
-echo -e "\nerreur de compilation !!!!\n"
-exit 0
-fi
-
+make
 strip cgminer.exe
 upx cgminer.exe
 mkdir /tmp/cgminer-gekko
@@ -31,36 +24,31 @@ cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
 cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko/
 cd /tmp/
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
-7z a cgminer-gekko-$version.7z cgminer-gekko
+7z a -tzip cgminer-gekko-$version.zip cgminer-gekko
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put cgminer-gekko-$version.7z -o /crypto/cgminer/cgminer-gekko-$version.7z
+put cgminer-gekko-$version.zip -o /crypto/cgminer-gekko-$version.zip
 EOF
-cp cgminer-gekko-$version.7z /home/$USER/Bureau
-
-cd ~
-cd cgminer-gekko
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko  --enable-bflsc --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
-make -j4
-if ! [[ -f cgminer.exe ]]
-then
-echo -e "\nerreur de compilation !!!! (all usb)\n"
-exit 0
-fi
+cp cgminer-gekko-$version.zip /home/$USER/Bureau
 
+cd /home/wareck/cgminer-gekko
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-gekko --enable-bflsc  --enable-bitforce --enable-bitfury --enable-cointerra --enable-drillbit --enable-hashfast --enable-hashratio --enable-icarus  --enable-klondike  --enable-modminer
+make
 strip cgminer.exe
 upx cgminer.exe
-rm -r /tmp/cgminer-gekko
-mkdir /tmp/cgminer-gekko
-cp cgminer.exe /tmp/cgminer-gekko
-cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko/
-cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko/
-cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko/
-cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko/
+rm -r -f /tmp/cgminer-gekko
+mkdir /tmp/cgminer-gekko-all-usb
+cp cgminer.exe /tmp/cgminer-gekko-all-usb
+cp $folder/packages/gekko/manual.pdf /tmp/cgminer-gekko-all-usb/
+cp $folder/packages/gekko/start.bat /tmp/cgminer-gekko-all-usb/
+cp $folder/packages/gekko/zadig-2.7.exe /tmp/cgminer-gekko-all-usb/
+cp $folder/packages/gekko/cgminer.conf /tmp/cgminer-gekko-all-usb/
 cd /tmp/
+
 version=`git ls-remote -h https://github.com/wareck/cgminer-gekko.git | awk '{print $1}' |cut -c1-7`
-7z a cgminer-all-usb-drivers-$version.7z cgminer-gekko
+7z a -tzip cgminer-gekko-all-usb-$version.zip cgminer-gekko-all-usb
 lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
-put cgminer-all-usb-drivers-$version.7z -o /crypto/cgminer/cgminer-all-usb-drivers-$version.7z
+put cgminer-gekko-all-usb-$version.zip -o /crypto/cgminer-gekko-all-usb-$version.zip
 EOF
-
-cp cgminer-all-usb-drivers-$version.7z /home/$USER/Bureau
+cp cgminer-gekko-all-usb-$version.zip /home/$USER/Bureau
+cd /tmp
+rm -r -f /tmp/cgminer-gekko-all-usb

+ 17 - 2
build_lketc.sh

@@ -1,8 +1,23 @@
 #!/bin/bash
+export folder=$(pwd)
 cd ~
 git clone https://github.com/wareck/cgminer-lketc.git
 cd cgminer-lketc
 autoreconf -fi
-CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-lketc --enable-zeus --enable-scrypt
-make
+CFLAGS="-O2 -msse2" ./configure --host=i686-w64-mingw32.static --disable-shared --enable-zeus --enable-scrypt
+make -j4
 strip cgminer.exe
+upx cgminer.exe
+mkdir /tmp/cgminer-lketc
+cp cgminer.exe /tmp/cgminer-lketc
+cp $folder/packages/lketc/manual.pdf /tmp/cgminer-lketc/
+cp $folder/packages/lketc/start.bat /tmp/cgminer-lketc/
+cp $folder/packages/lketc/zadig-2.7.exe /tmp/cgminer-lketc/
+cp $folder/packages/lketc/cgminer.conf /tmp/cgminer-lketc/
+cd /tmp/
+version=`git ls-remote -h https://github.com/wareck/cgminer-lketc.git | awk '{print $1}' |cut -c1-7`
+7z a -tzip cgminer-lketc-$version.zip cgminer-lketc
+lftp -u wareck,zorn692611 ftpperso.free.fr <<EOF
+put cgminer-lketc-$version.zip -o /crypto/cgminer-lketc-$version.zip
+EOF
+cp cgminer-lketc-$version.zip /home/$USER/Bureau

+ 0 - 1
make_environement.sh

@@ -18,4 +18,3 @@ export PKG_CONFIG_PATH=/opt/mxe/usr/i686-w64-mingw32.static/lib/pkgconfig/
 cd ~
 echo ""
 echo "environement ok"
-

+ 15 - 15
packages/gekko/cgminer.conf

@@ -1,15 +1,15 @@
 {
 "pools" : [
-    {
-        "url" : "stratum+tcp://pool.solopools.net:3341",
-        "user" : "etit1qhh3332g9vqpvpkmnh47lu3wf46rs4n4c2sukhv",
-        "pass" : "c=ETIT"
-    },
-    {
-	"url" : "stratum+tcp://eu.stratum.slushpool.com:3333",
-        "user" :"wareck.gekko",
-        "pass" : "x"
-    }
+        {
+                "url" : "stratum+tcp://eu.stratum.slushpool.com:3333",
+                "user" : "wareck.gekko",
+                "pass" : "x"
+        },
+        {
+                "url" : "stratum+tcp://sha256.eu.mine.zergpool.com:3333",
+                "user" : "14KnPuvX1xNBQ4qWmcqUZwYbsbtDx9tTXB",
+                "pass" : "c=BTC,mc=BCA/BCH/CHTA/DANE/DGB/DVT/FCH/LCC/PPC/PYRK/SHND/TIT/XEC/XRG"
+        }
 ]
 ,
 "api-description" : "cgminer 4.12.0-wrk",
@@ -21,16 +21,16 @@
 "api-host" : "0.0.0.0",
 "gekko-terminus-freq" : "150.0",
 "gekko-2pac-freq" : "150.0",
-"gekko-compac-freq" : "150.0",
+"gekko-compac-freq" : "100.0",
+"gekko-compacf-freq" : "200",
+"gekko-newpac-freq" : "150",
+"gekko-r606-freq" : "550",
 "gekko-tune-down" : "95.0",
 "gekko-tune-up" : "97.0",
 "gekko-wait-factor" : "0.5",
 "gekko-bauddiv" : "0",
-"gekko-newpac-freq" : "100",
-"gekko-r606-freq" : "550",
-"gekko-compacf-freq" : "200",
 "gekko-start-freq" : "100",
-"gekko-step-freq" : "6.2",
+"gekko-step-freq" : "2.5",
 "gekko-step-delay" : "15",
 "gekko-tune2" : "0",
 "fallback-time" : "120",

+ 0 - 6
packages/gekko/start.bat

@@ -1,7 +1 @@
-@echo off
-Rem One line start :
-
 cgminer.exe -o stratum+tcp://eu.stratum.slushpool.com:3333 -u wareck.gekko -p x --gekko-compac-freq 200 --gekko-2pac-freq 150 --gekko-newpac-freq 150
-
-Rem start with config file : (remove "Rem" befor cgminer.exe and add Rem before cgminer.exe on the line above)
-Rem cgminer.exe -c cgminer.conf

BIN
packages/gekko/zadig-2.7.exe


+ 35 - 0
packages/lketc/cgminer.conf

@@ -0,0 +1,35 @@
+{
+"pools" : [
+	{
+		"url" : "stratum+tcp://eu-de02.miningrigrentals.com:3333#xnsub",
+		"extranonce-subscribe" : true,
+		"user" : "wareck.262669",
+		"pass" : "x"
+	},
+	{
+        "url" : "stratum+tcp://litecoinpool.org:3333",
+        "user" : "MJZqqHgsWeQGnh17e34qpPhJdJHM2afH6Q",
+        "pass" : "x"
+    }
+]
+,
+"api-description" : "cgminer 4.7.1-scrypt-wrk",
+"api-mcast-addr" : "224.0.0.75",
+"api-mcast-code" : "FTW",
+"api-mcast-des" : "",
+"api-mcast-port" : "4028",
+"api-port" : "4028",
+"api-host" : "0.0.0.0",
+"expiry" : "120",
+"hotplug" : "5",
+"log" : "5",
+"queue" : "1",
+"scan-time" : "30",
+"scrypt" : true,
+"shares" : "0",
+"suggest-diff" : "0",
+"zeus-chips" : "6",
+"zeus-clock" : "328",
+"lketc-chips" : "1",
+"lketc-clock" : "280"
+}

BIN
packages/lketc/manual.docx


BIN
packages/lketc/manual.pdf


+ 1 - 0
packages/lketc/start.bat

@@ -0,0 +1 @@
+cgminer.exe --scrypt -o stratum+tcp://eu-de02.miningrigrentals.com:3333#xnsub -u wareck.262669 -p x --lketc-clock 280 --zeus-chips 6 --zeus-clock 328

BIN
packages/lketc/zadig-2.7.exe