- Follow the steps to Install Raspberry Pi 3 from Source with your preferred runtime option
- Make sure you can see the raspberry pi wifi access point from your laptop
RaspberryPi-XXXX
- Run image prep script
bash $PROJECT_ROOT/scripts/install/prepare_image.sh & # need to run in background b/c will lose network connectivity if sshing over wifi
- Power off the raspberry pi then remove the sd card and insert it into your laptop
- Copy the contents from the sd card (For Ubuntu 16.04)
sudo fdisk -l # look for /dev/mmcblk0, ignore partitions /dev/mmcblk0p0 or /dev/mmcblk0p1
sudo dd bs=4M if=/dev/mmcblk0 of=openag-device-software-raspberry-pi-3-<runtime-mode>-<vX.X.X>.img
- Shrink the image by following the PiShrink Instructions
- Compress (e.g. zip) and upload the image to the Google Drive Directory