Foreword
These instructions are complete and correct, but we have easier and better instructions here for folks who would rather use a graphical interface. Check them out!
Introduction
When the AmpliPi units are shipped, they are all loaded with the same system image. You can factory-reset your AmpliPi by reloading this image. You will need a computer connected via a USB cable to the AmpliPi’s service port to perform the imaging.
The latest image which contains AmpliPi 0.3.1 is available at this Google Drive link: amplipi_0.3.1.img.xz - Google Drive. The image is about 2 GB and will need to be uncompressed (to about 6.5 GB) before writing.
The Raspberry Pi documentation covers flashing the eMMC here but we’ve also written up the steps we follow for imaging in-house that include powering/unpowering the AmpliPi.
For Linux (tested with Debian/Ubuntu):
Install rpiboot with:
sudo apt install libusb-1.0-0-dev make gcc
git clone --depth=1 https://github.com/raspberrypi/usbboot
cd usbboot
make
sudo make install
Then either run scripts/image_pi amplipi_0.3.1.img
from the AmpliPi repo and follow its steps, OR perform the below manual steps:
- Unplug AmpliPi’s power for 10 seconds (all lights off)
- Plug in a USB cable from your computer to the service port of AmpliPi
- Plug in the AmpliPi’s power
- Run
sudo rpiboot
to boot and load the Pi’s eMMC - To perform the image copy run
sudo dd if=/PATH/TO/amplipi_0.3.1.img of=/dev/PIDEV bs=4M oflag=dsync status=progress
Where PIDEV is the device path of the connected Pi. It can be found withlsblk
. - Disconnect the USB cable from AmpliPi
- Unplug AmpliPi’s power for 10 seconds (all lights off)
- Plug AmpliPi’s power back in
For Windows:
Download and install rpiboot for Win32. Note we use a compute module 3+.
You can use Win32DiskImager to write the image to the eMMC once you connect to the Pi over the service port with the rpiboot tool.
Post Imaging
At this point the Raspberry Pi will have the default pi
user with password raspberry
. It is advised to change the password for improved security. Either connect to amplipi.local
via SSH or on the desktop open a terminal window and use the ~/amplipi-dev/scripts/set_pass
utility to generate the pi
user’s password and update AmpliPi’s display to show it.