Switch to dtbartle/cgminer-gc3355 fork as dmaxl is offline
This commit is contained in:
@@ -47,8 +47,8 @@ Das `install.sh` Skript übernimmt die komplette Einrichtung inkl. Kompilieren v
|
|||||||
Falls Sie den Automatismus nicht nutzen wollen:
|
Falls Sie den Automatismus nicht nutzen wollen:
|
||||||
|
|
||||||
1. **Abhängigkeiten:** Python 3, `libusb-1.0-0-dev`, `libcurl4-openssl-dev`, `libncurses5-dev`.
|
1. **Abhängigkeiten:** Python 3, `libusb-1.0-0-dev`, `libcurl4-openssl-dev`, `libncurses5-dev`.
|
||||||
2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dmaxl/cgminer).
|
2. **Cgminer:** Installieren Sie einen Gridseed-kompatiblen Fork (z.B. https://github.com/dtbartle/cgminer-gc3355).
|
||||||
Configure flags: `./configure --enable-gridseed`
|
Configure flags: `./configure --enable-gridseed --enable-scrypt`
|
||||||
3. **App:**
|
3. **App:**
|
||||||
- Code nach `/opt/necrohash` kopieren.
|
- Code nach `/opt/necrohash` kopieren.
|
||||||
- `pip install -r requirements.txt` (in venv).
|
- `pip install -r requirements.txt` (in venv).
|
||||||
|
|||||||
14
install.sh
14
install.sh
@@ -18,18 +18,22 @@ echo "Installing system dependencies..."
|
|||||||
apt-get update
|
apt-get update
|
||||||
apt-get install -y python3 python3-venv git libncurses5-dev libudev-dev build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev
|
apt-get install -y python3 python3-venv git libncurses5-dev libudev-dev build-essential autoconf automake libtool pkg-config libcurl4-openssl-dev
|
||||||
|
|
||||||
# 2. Cgminer Installation (dmaxl fork for Gridseed)
|
# 2. Cgminer Installation (dtbartle fork for Gridseed GC3355)
|
||||||
if [ ! -f "/usr/local/bin/cgminer" ]; then
|
if [ ! -f "/usr/local/bin/cgminer" ]; then
|
||||||
echo "Compiling and installing cgminer for Gridseed..."
|
echo "Compiling and installing cgminer for Gridseed..."
|
||||||
cd /tmp
|
cd /tmp
|
||||||
git clone https://github.com/dmaxl/cgminer.git
|
# Remove any existing failed clone
|
||||||
cd cgminer
|
rm -rf cgminer-gc3355
|
||||||
|
|
||||||
|
git clone https://github.com/dtbartle/cgminer-gc3355.git
|
||||||
|
cd cgminer-gc3355
|
||||||
./autogen.sh
|
./autogen.sh
|
||||||
./configure --enable-gridseed
|
# Standard flags for this fork usually include gridseed support by default or via flag
|
||||||
|
./configure --enable-gridseed --enable-scrypt
|
||||||
make
|
make
|
||||||
make install
|
make install
|
||||||
cd ..
|
cd ..
|
||||||
rm -rf cgminer
|
rm -rf cgminer-gc3355
|
||||||
else
|
else
|
||||||
echo "cgminer found, skipping compilation."
|
echo "cgminer found, skipping compilation."
|
||||||
fi
|
fi
|
||||||
|
|||||||
Reference in New Issue
Block a user