Ethereum Mining on Raspberry Pi 4

Written 2019-10-18

Setup

Download Ubuntu Eoan

https://wiki.ubuntu.com/ARM/RaspberryPi#arm64

Decompress Image and Flash to SD Card

xz -d ubuntu-19.10-preinstalled-server-arm64+raspi3.img.xz
sudo dd if=ubuntu-19.10-preinstalled-server-arm64+raspi3.img bs=1M of=/dev/mmcblk0

Log in, set your password, and fire up a shell

Download And Install Go

Download Geth

git clone https://github.com/ethereum/go-ethereum

Download And Install Some Dependencies

sudo apt-get install -y build-essential

Build Geth

cd go-ethereum
make geth

Launch Geth

./build/bin/geth --etherbase 0xYOURWALLETADDRESSHERE --syncmode fast --cache 256 console

Start Mining

miner.start(4)

Wait for the DAG to generate

Doop doop.

Monitor Hashrate

miner.getHashrate()

Results

Dag generation currently takes about 25 minutes. But after that...
> miner.getHashrate()
55210