wouterlucas / meta-cryptocurrency

OpenEmbedded/Yocto layer for cryptocurrency related projects
Other
5 stars 2 forks source link

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

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

Wallets

Planned support for

Nodes

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 :

License

GPLv2. See COPYING for details.