Last active
August 10, 2018 17:48
-
-
Save k06a/b2bce6a88f5ed8e539e67ce67e49487a to your computer and use it in GitHub Desktop.
Setup ODROID-xu4 from macOS for mining BURST
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# https://wiki.odroid.com/odroid-xu4/os_images/linux/ubuntu_4.14/20180531 | |
# https://forum.odroid.com/viewtopic.php?f=112&t=8707&p=230753#p230753 | |
# https://www.minesomeburst.com/creating-a-dedicated-low-energy-burstcoin-mining-rig-with-odroid-xu4/ | |
# Creating ODROID boot media: | |
diskutil list | |
# find your SD-card, in this case disk2 | |
sudo diskutil unmountDisk /dev/disk2 | |
# this will DESTROY all content, make sure you got the CORRECT DISK, rdisk2 is faster than disk2 | |
unxz -c ~/Downloads/ubuntu-18.04-4.14-minimal-odroid-xu4-20180531.img.xz | sudo dd bs=1m of=/dev/rdisk2 | |
# Setup Ubuntu | |
sudo apt update | |
sudo apt upgrade | |
sudo apt dist-upgrade | |
sudo reboot | |
# Compiling BURST miner: | |
apt install -y git | |
apt install -y python-pip | |
apt install -y cmake | |
pip install conan | |
git clone https://github.com/Creepsky/creepMiner.git | |
cd creepMiner | |
# find . -iwholename '*cmake*' -not -name CMakeLists.txt -delete | |
conan install . --build=missing -s compiler.libcxx=libstdc++11 | |
cmake CMakeLists.txt -DCMAKE_BUILD_TYPE=RELEASE -DUSE_OPENCL=ON -DUSE_SSE4=OFF -DUSE_AVX=OFF -DUSE_AVX2=OFF -DUSE_CUDA=OFF | |
make -j($nproc) | |
fdisk -l | |
mkdir /media/hdd8 | |
mount -o ro -t hfsplus /dev/sda1 /media/hdd8 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment