Build scripts to create Raspberry Pi image with Coral Edu customizations

Clone this repo:

Branches

  1. ad3c943 update copyright owner name by Scott Main · 8 days ago main
  2. 0b69b14 revise contributing file by Scott Main · 10 days ago
  3. 4d3f727 remove git clone so this step is consistent with new kit setup by Scott Main · 11 days ago
  4. 3cef4a2 simplify the git check by Scott Main · 11 days ago
  5. c671a58 test change by Scott Main · 11 days ago

Raspberry Pi system image tools

This repository contains scripts to set up a Raspberry Pi OS image that's configured with library requirements for the Coral USB Accelerator.

There are actually two paths you can take:

  • Use the make targets in Makefile to build a new Raspberry Pi OS image and flash your SD card.
  • Run the setup.sh script on an existing Raspberry Pi image to add the Coral libraries.

Build the SD card image

Note: If you're on macOS, be sure you install coreutils (either brew install coreutils or sudo port install coreutils).

To build an SD card image inside the docker container on Linux or Mac:

make docker-release

To build an SD card image directly on Linux:

make release

The image is saved in the out directory.

Update an existing Raspberry Pi image

Run this in the terminal on your Raspberry Pi:

bash <(curl https://raw.githubusercontent.com/google-coral/aiy-coralkit-tools/main/setup.sh)

The unusual command format is necessary so the script can accept user input.