OpenEmbedded/Yocto layer for cryptocurrency related projects
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
conf
recipes-connectivity/wpa-supplicant
recipes-core
recipes-miners
recipes-support/libusb
COPYING
LICENSE
README.md

README.md

meta-cryptocurrency

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

Miners

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

Wallets

Planned support for

  • BitCoin
  • Ethereum
  • RaiBlocks
  • Stellar Lumen
  • Ripple

Download

Planning to make pre-build releases for RPIs soon. First need to get the distro right.

Build

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

Donations for the work done are accepted :

  • BTC: 19deCCSk5LG5jv6E3tYkoF8EZYp2eJo5vk

License

GPLv2. See COPYING for details.