Parcourir la source

update finale version

Votre Nom il y a 1 an
Parent
commit
3edd065e1f
3 fichiers modifiés avec 16 ajouts et 12 suppressions
  1. 3 2
      build_cube.sh
  2. 6 3
      options/avrtools.sh
  3. 7 7
      options/chia.sh

+ 3 - 2
build_cube.sh

@@ -1,6 +1,6 @@
 #!/bin/bash
 #!/bin/bash
 set -e
 set -e
-Version=9.7
+Version=10.0
 Cuda=NO
 Cuda=NO
 ZFS=NO
 ZFS=NO
 Drivers=AMD
 Drivers=AMD
@@ -110,7 +110,8 @@ print_centered "╚██████╗╚██████╔╝████
 print_centered " ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝"
 print_centered " ╚═════╝ ╚═════╝ ╚═════╝ ╚══════╝"
 echo -n "$(tput setaf 7)"
 echo -n "$(tput setaf 7)"
 print_centered "Cube Server installation script v$Version"
 print_centered "Cube Server installation script v$Version"
-print_centered "Ubuntu version $(lsb_release -rs)"
+print_centered "Ubuntu version 20.04"
+print_centered "FMA86-extreme4"
 sleep 1
 sleep 1
 }
 }
 
 

+ 6 - 3
options/avrtools.sh

@@ -35,16 +35,19 @@ print_centered "ChipTools v1.0"
 echo -n "$(tput setaf 7)"
 echo -n "$(tput setaf 7)"
 
 
 sudo apt install libudev-dev curl libelf-dev libusb-1.0-0-dev libusb-dev libftdi-dev libftdi1-dev libhidapi-dev build-essential -y
 sudo apt install libudev-dev curl libelf-dev libusb-1.0-0-dev libusb-dev libftdi-dev libftdi1-dev libhidapi-dev build-essential -y
+sudo apt install python3-pip python3-sphinx -y
 curl http://wareck.free.fr/cross_compilation/avr_toolchain/avr_toolchain.tar.xz | tar -xJ
 curl http://wareck.free.fr/cross_compilation/avr_toolchain/avr_toolchain.tar.xz | tar -xJ
 sudo cp -r avr /usr/local
 sudo cp -r avr /usr/local
 rm -r -f avr
 rm -r -f avr
 cd ~
 cd ~
-git clone https://github.com/flashrom/flashrom.git
-cd flashrom
+wget -c https://github.com/flashrom/flashrom/archive/refs/tags/v1.3.0.tar.gz
+tar xvfz v1.3.0.tar.gz
+rm v1.3.0.tar.gz
+cd flashrom-1.3.0
 make
 make
 sudo make install
 sudo make install
 cd ~
 cd ~
-rm -r -f flashrom
+rm -r -f flashrom-1.3.0
 
 
 if ! grep "/usr/local/avr/bin" ~/.bashrc >/dev/null
 if ! grep "/usr/local/avr/bin" ~/.bashrc >/dev/null
         then
         then

+ 7 - 7
options/chia.sh

@@ -192,8 +192,8 @@ fi
 sudo cp ~/chia-gigahorse/plot-sink/linux/x86_64/* /usr/local/bin/
 sudo cp ~/chia-gigahorse/plot-sink/linux/x86_64/* /usr/local/bin/
 sudo cp ~/chia-gigahorse/cpu-plotter/linux/x86_64/* /usr/local/bin/
 sudo cp ~/chia-gigahorse/cpu-plotter/linux/x86_64/* /usr/local/bin/
 cd ~
 cd ~
-if [ -f distrib_chia.sh ];then rm distrib_chia.sh;fi
-if [ -f /usr/local/bin/distrib_chia.sh ];then rm /usr/local/bin/distrib_chia.sh;fi
+if [ -f distrib_chia.sh ];then sudo rm distrib_chia.sh;fi
+if [ -f /usr/local/bin/distrib_chia.sh ];then sudo rm /usr/local/bin/distrib_chia.sh;fi
 cat <<'EOF'>> distrib_chia.sh
 cat <<'EOF'>> distrib_chia.sh
 #!/bin/bash
 #!/bin/bash
 chia_plot_sink -p 1447 /Chia/Chia1/Plots-nft/ /Chia/Chia2/Plots-nft/ /Partage/Plots-nft/ /Cloud/Plots-nft/ /Store/Plots-nft/
 chia_plot_sink -p 1447 /Chia/Chia1/Plots-nft/ /Chia/Chia2/Plots-nft/ /Partage/Plots-nft/ /Cloud/Plots-nft/ /Store/Plots-nft/
@@ -201,14 +201,14 @@ EOF
 chmod +x distrib_chia.sh
 chmod +x distrib_chia.sh
 sudo mv distrib_chia.sh /usr/local/bin/
 sudo mv distrib_chia.sh /usr/local/bin/
 
 
-cat <<'EOF'>> cpu_chiagh_plot.sh
+cat <<'EOF'>> ~/go.sh
 #!/bin/bash
 #!/bin/bash
-chia_plot_k34 -M 8 -C 7 -n -1 -t /Nvme/plotting/ -d /Chia/Chia2/Plots-nft/ \
+./chia_plot -z 1557 -M 8 -C 6 -n -1 -t /Nvme0/plotting/ -2 /Nvme1/plotting -d @192.168.1.100 \
 -c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
 -c xch10yjksfwm8s66z32qy35x950608hk8l67vmsur4rwpaanpkd6ks3qhfw5nk \
 -f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
 -f 8ba5acd276b45fd0f749ce195dcddcf0e63c3bf2e751e9e273faa0125075c36a11f2ee231e7cf74abed2920be97fc373
 EOF
 EOF
-chmod +x cpu_chiagh_plot.sh
-cp cpu_chiagh_plot.sh ~/chia-plotter/build/
-rm ~/cpu_chiagh_plot.sh
+chmod +x ~/go.sh
+cp ~/go.sh ~/chia-gigahorse/cpu-plotter/linux/x86_64/
+rm ~/go.sh
 echo -e "\n\e[97mEnd of process...\e[0m"
 echo -e "\n\e[97mEnd of process...\e[0m"