Skip to content

Latest commit

 

History

History
15 lines (15 loc) · 1 KB

create_raspberry_pi_3_image.md

File metadata and controls

15 lines (15 loc) · 1 KB

Create Raspberry Pi 3 Image

  1. Follow the steps to Install Raspberry Pi 3 from Source with your preferred runtime option
  2. Make sure you can see the raspberry pi wifi access point from your laptop RaspberryPi-XXXX
  3. 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
  1. Power off the raspberry pi then remove the sd card and insert it into your laptop
  2. 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
  1. Shrink the image by following the PiShrink Instructions
  2. Compress (e.g. zip) and upload the image to the Google Drive Directory