This is a Yocto/OpenEmbedded meta-layer for cryptocurrency related packages. Such as cgminer, cpuminer and more! This creates an all in one crypto Yocto distro for any device.
Support for Raspberry PIs, including WiFi support on RPI0 and RPI3.
Dubbed as hodlOS, with plans to release a mini-distro and expose the packages using apt-get through a CDN. With original reference to the legendary cryto term HODL. Happy mining & HODL'ing!
Table of contents
- ✓ cgminer (AntMiner, Avalon, ...) cgminer
- ✓ cgminer-gekko: For the GekkoScience Compac and 2Pac sticks Gekko fork
- ✓ cgminer-gridseed: For the GridSeed mining ports GridSeed fork
- ✓ cpuminer-multi: CPU related mining for various algo's github
- ✓ xmr-stak: CPU/GPU CryptoNote miner for Monero and Eon github
Note All built-in cgminer options are prebuild in this image. E.g. Avalon7 is available as cgminer-avalon7, Bitfury as cgminer-bitfury, etc.
Planned support for
Planned support for
- Stellar Lumen
Planning to make pre-build releases for RPIs soon. First need to get the distro right.
Basic Yocto build instructions for RPI
Clone this repo and the following dependencies:
Initiate OE by invoking the oe init script:
$ source poky/oe-init-build-env rpi-ml-build
Add bb layers:
$ bitbake-layers add-layer ../meta-openembedded/meta-oe $ bitbake-layers add-layer ../meta-openembedded/meta-python $ bitbake-layers add-layer ../meta-openembedded/meta-multimedia $ bitbake-layers add-layer ../meta-openembedded/meta-networking $ bitbake-layers add-layer ../meta-raspberrypi $ bitbake-layers add-layer ../meta-cryptocurrency
conf/local.conf and set the target machine:
MACHINE = "raspberrypi3"
OR To the target machine you're looking to build.
Build the image with
Or if you're looking to build a wifi image (e.g. RPI3/RPI0 w/ WIFI):
Note you can set SSID = and PSK = in your
To flash the sdimg on the sd card:
$ sudo dd if=tmp/deploy/images/raspberrypi3/miner-image-raspberrypi3.rpi-sdimg of=/dev/sdX
Boot your RPI.
See individual miner/wallet website for instructions on how to use the individual packages.
Donations for the work done are accepted :
GPLv2. See COPYING for details.