Today i continue testing mining performance on different devices.At this time it is Xiaomi MI TV stick. I preinstalled Userland application and installed Ubuntu on it.
First we need to update repositories, run command:
sudo apt update
Next install requested software, run command:
sudo apt install python3 python3-dev python3-pip git curl
I also installed neofetch to view what system and hardware is in Xiaomi MI TV Stick
In Xiaomi MI TV Stick is installed Ubuntu 20.04 and it have Amlogic 4 core 1.41 Ghz CPU and 1 Gb of ram.
Cloning miner from GitHub, run command:
git clone https://github.com/revoxhere/duino-coin.git
Entering into cloned directory, run command:
cd duino-coin
Next install requests, run command:
pip3 install requests
Run miner by command:
python3 PC_Miner.py
Psutil module don't want to install, i tried to upgrade pip module by command:
python3 -m pip install --upgrade pip
Run miner one more time, and get error
Tried to install psutil module, also without changes, get error
Tried to install with sudo and get success result
Run miner again, and miner started
Enter username, mining key, intensity, threads, difficulty, identifier, and donation
Miner started and without libducohash module average mining speed is 457 kH/s
Stopped mining process by pressing CTRL+c several times
Downloading compiler by command:
curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs/ | sh
Choose 1 Proceed with installation (default)
Enter into source folder, run command:
suorce $HOME/.cargo/env
Download libducohash sources, run command:
wget https://server.duinocoin.com/fasthash/libducohash.tar.gz
Extract sources by command:
tar -xvf libducohash.tar.gz
Enter into source directory, run command:
cd libducohash
Compile libducohash module by command:
cargo build --release
After compiling and building finished, enter into release folder, run command:
cd target/release/
Copy compiled file into miner folder, run command:
cp libducohasher.so ~/duino-coin/
Enter into miner folder by command:
cd ~/duino-coin/
Run miner by command:
python3 PC_Miner.py
Miner starts and shows that it use fasthash acceleration
Average mining speed with fasthash support is 2.68 MH/s
Resetting Cisco switch to default settings
Writing python web service to power off or reboot Raspberry PI.

Leave a Comment

Your email address will not be published. Required fields are marked *