Build scripts to create Raspberry Pi image with Coral Edu customizations

Clone this repo:

Branches

  1. 3db305f add another hyphen in package name by Scott Main · 4 days ago main
  2. 9a9c86f rename package to aiy-makerkit by Scott Main · 4 days ago
  3. c94ee63 add script to find the latest RPI OS image by Scott Main · 9 weeks ago
  4. 336814c remove unused make targets by Scott Main · 9 weeks ago
  5. ad3c943 update copyright owner name by Scott Main · 3 months 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-maker-kit-tools/main/setup.sh)

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