Skip to content
OpenEmbedded/Yocto layer for cryptocurrency related projects
Branch: master
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Type Name Latest commit message Commit time
Failed to load latest commit information.


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


Currently supported

  • 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

  • ethminer
  • hodlminer
  • ccminer


Planned support for

  • BitCoin
  • Ethereum
  • RaiBlocks
  • Stellar Lumen
  • Ripple


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

Edit conf/local.conf and set the target machine: MACHINE = "raspberrypi3"

OR To the target machine you're looking to build.

Build the image with

bitbake hodl-image

Or if you're looking to build a wifi image (e.g. RPI3/RPI0 w/ WIFI):

bitbake hodl-wifi-image

Note you can set SSID = and PSK = in your conf\local.conf

Usage instructions

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 :

  • BTC: 19deCCSk5LG5jv6E3tYkoF8EZYp2eJo5vk


GPLv2. See COPYING for details.

You can’t perform that action at this time.