diff --git a/docs/the_nimbus_book/src/img/RPi_imager1.png b/docs/the_nimbus_book/src/img/RPi_imager1.png new file mode 100644 index 000000000..c4e1c6487 Binary files /dev/null and b/docs/the_nimbus_book/src/img/RPi_imager1.png differ diff --git a/docs/the_nimbus_book/src/img/RPi_imager2.png b/docs/the_nimbus_book/src/img/RPi_imager2.png new file mode 100644 index 000000000..996621b70 Binary files /dev/null and b/docs/the_nimbus_book/src/img/RPi_imager2.png differ diff --git a/docs/the_nimbus_book/src/img/RPi_imager3.png b/docs/the_nimbus_book/src/img/RPi_imager3.png new file mode 100644 index 000000000..e4c2c1b55 Binary files /dev/null and b/docs/the_nimbus_book/src/img/RPi_imager3.png differ diff --git a/docs/the_nimbus_book/src/img/RPi_imager4.png b/docs/the_nimbus_book/src/img/RPi_imager4.png new file mode 100644 index 000000000..a96214a61 Binary files /dev/null and b/docs/the_nimbus_book/src/img/RPi_imager4.png differ diff --git a/docs/the_nimbus_book/src/img/RPi_imager5.png b/docs/the_nimbus_book/src/img/RPi_imager5.png new file mode 100644 index 000000000..4ebfaa789 Binary files /dev/null and b/docs/the_nimbus_book/src/img/RPi_imager5.png differ diff --git a/docs/the_nimbus_book/src/pi-guide.md b/docs/the_nimbus_book/src/pi-guide.md index 2a6073fd6..5649cff82 100644 --- a/docs/the_nimbus_book/src/pi-guide.md +++ b/docs/the_nimbus_book/src/pi-guide.md @@ -58,30 +58,30 @@ Use your microSD to USB adapter to plug the SD card into your computer. Open Raspberry Pi Imager and click on **CHOOSE OS**: -![](https://storage.googleapis.com/ethereum-hackmd/upload_7b8cfa54f877218b6d971f09fa8d62ff.png) +![](./img/RPi_imager1.png) Scroll down and click on **Use custom**: -![](https://i.imgur.com/ar88MTt.png) +![](./img/RPi_imager2.png) Find the OS you downloaded in step 2: -![](https://i.imgur.com/NeOT8pf.png) +![](./img/RPi_imager3.png) ### 4b. Write to SD card Click on **CHOOSE SD CARD**. You should see a menu pop-up with your SD card listed -- Select it -![](https://storage.googleapis.com/ethereum-hackmd/upload_f90713c1ef782a94b5fce9eb8249c206.png) +![](./img/RPi_imager4.png) Click on **WRITE** -![](https://i.imgur.com/NeOT8pf.png) +![](./img/RPi_imager3.png) Click **YES** -![](https://storage.googleapis.com/ethereum-hackmd/upload_160208a5bc983165c2a1eb9bffed01c2.png) +![](./img/RPi_imager5.png) Make a cup of coffee :) @@ -260,7 +260,50 @@ For more on `raspi-config`, see [here](https://www.raspberrypi.org/documentation Once you're done, `ssh` back into your Pi. -### 11. Install the beacon node + +### 11. Overclocking + +Nimbus requires the Raspberry Pi to be overclocked. + +To overclock your Raspberry Pi, you need to add two lines to the `/boot/firmware/usercfg.txt` file: + +```sh +sudo nano /boot/firmware/usercfg.txt +``` + +Add the following two lines to the end of the file: + +``` +arm_freq=1800 +over_voltage=3 +``` + +Save the file and reboot. +This increases the CPU clock from 1500 MHz to 1800 MHz and raises the CPU voltage from 0.88 V to 0.93 V. + +To read more about testing the stability of an overclock and benchmarking, follow the [RPi overclocking guide](https://docs.rocketpool.net/guides/node/local/prepare-pi.html#overclocking-the-pi) by Joe Clapis. + + +### 12. Install the beacon node + +=== "Using package manager" + + 1. Add Status APT repository to your system. + + ```sh + echo 'deb https://apt.status.im/nimbus all main' | sudo tee /etc/apt/sources.list.d/nimbus.list + + # Import the GPG key used to sign the releases: + sudo curl https://apt.status.im/pubkey.asc -o /etc/apt/trusted.gpg.d/apt-status-im.asc + ``` + + + 2. Install Nimbus using APT: + + ```sh + sudo apt-get update + sudo apt-get install nimbus-beacon-node nimbus-validator-client + ``` === "Manual installation" @@ -277,20 +320,8 @@ Once you're done, `ssh` back into your Pi. Now you can find the software in the nimbus-eth2 directory. -=== "Using package manager" - 1. Add Status APT repository to your system. - Follow our [APT guide](https://apt.status.im). - - 2. Install Nimbus using APT: - - ```sh - sudo apt-get install nimbus-beacon-node - ``` - - - -### 12. Copy signing key over to Pi +### 13. Copy signing key over to Pi !!! note If you haven't generated your validator key(s) and/or made your deposit yet, follow the [deposit instructions](./run-a-validator.md#1-make-a-deposit-for-your-validator) of our validator guide before carrying on. @@ -314,20 +345,31 @@ As usual, replace `195.177.101.93` with your Pi's IP address, and `

We've been running lots of PIs and NanoPCs 24/7 for 3 years and never got a hardware fail. It is easy (and cheap) to get redundancy of components (even spare PIs in different locations, more of this to come).

— Ethereum on ARM (@EthereumOnARM) November 28, 2020 @@ -395,13 +448,3 @@ Systemd will also ensure your validator keeps running when you exit your ssh ses For the details on how to do this, see our [systemd guide](./beacon-node-systemd.md). - - -### Overclocking - -While you shouldn't need to, if you're feeling adventurous and want to try and squeeze out some extra performance out of your Pi's CPU, see the [overclocking guide](https://docs.rocketpool.net/guides/node/local/prepare-pi.html#overclocking-the-pi) by Joe Clapis. - -!!! note - We have since improved performance in several ways which should make a vanilla Pi perform well. - However, overclocking may still give some benefits, in particular you have more performance to deal with anomalies (like spamming etc). -