From 65809b6e473865ee7daa41cb181ae8bfbe38800a Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Thu, 27 Jun 2019 15:29:23 +0200 Subject: [PATCH 1/3] Add RPi instructions --- README.md | 41 +++++++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) diff --git a/README.md b/README.md index 6d92d59b4..d12b7b287 100644 --- a/README.md +++ b/README.md @@ -120,6 +120,47 @@ This will place the right DLLs for your architecture in the "build/" directory. You can now follow those instructions in the previous section by replacing `make` with `mingw32-make` (regardless of your 32-bit or 64-bit architecture). +### Raspberry PI + +*Experimental* The code can be compiled on a Raspberry PI: + +* Raspberry PI 3b+ +* 64gb SD Card (less might work too, but the default recommended 4-8GB will probably be too small) +* [Rasbian Buster Lite](https://www.raspberrypi.org/downloads/raspbian/) - Lite version is enough to get going and will save some disk space! + +Assuming you're working with a freshly written image: + +```bash + +# Start by increasing swap size to 2gb: +sudo vi /etc/dphys-swapfile +# Set CONF_SWAPSIZE=2048 +# :wq +sudo reboot + +# Install prerequisites +sudo apt-get install git libgflags-dev libsnappy-dev + +mkdir status +cd status + +# Install rocksdb +git clone https://github.com/facebook/rocksdb.git +cd rocksdb +make shared_lib +sudo make install +cd.. + +# Raspberry pi doesn't include /usr/local/lib in library search path - need to add +export LD_LIBRARY_PATH=/usr/local/lib:$LD_LIBRARY_PATH + +git clone https://github.com/status-im/nimbus.git + +cd nimbus + +# Follow instructions above! +``` + ### Development tips - you can switch the DB backend with a Nim compiler define: From 756738df9740958872b3fe268fa1d187ee35c0eb Mon Sep 17 00:00:00 2001 From: Jacek Sieka Date: Thu, 27 Jun 2019 15:29:57 +0200 Subject: [PATCH 2/3] Fixup raspberry instructions --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index d12b7b287..4759e80d2 100644 --- a/README.md +++ b/README.md @@ -120,7 +120,7 @@ This will place the right DLLs for your architecture in the "build/" directory. You can now follow those instructions in the previous section by replacing `make` with `mingw32-make` (regardless of your 32-bit or 64-bit architecture). -### Raspberry PI +#### Raspberry PI *Experimental* The code can be compiled on a Raspberry PI: From 78714295dab4ead5e56c0048c46ae07d8bbed91a Mon Sep 17 00:00:00 2001 From: Dustin Brody Date: Sun, 30 Jun 2019 10:00:07 +0000 Subject: [PATCH 3/3] Update README.md Removing speculative statement which hasn't come true. --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 4759e80d2..9cac9f7b2 100644 --- a/README.md +++ b/README.md @@ -14,7 +14,7 @@ Join the Status community chats: ## Rationale -[Nimbus: an Ethereum 2.0 Sharding Client](https://our.status.im/nimbus-for-newbies/). The code in this repository is currently focusing on Ethereum 1.0 feature parity, while all 2.0 research and development is happening in parallel in [nim-beacon-chain](https://github.com/status-im/nim-beacon-chain). The two repositories are expected to merge in Q1 2019. +[Nimbus: an Ethereum 2.0 Sharding Client](https://our.status.im/nimbus-for-newbies/). The code in this repository is currently focusing on Ethereum 1.0 feature parity, while all 2.0 research and development is happening in parallel in [nim-beacon-chain](https://github.com/status-im/nim-beacon-chain). ## Development Updates