add setup.sh to install Coral libs on existing RPI image

Change-Id: I2444a263807f319cfd9f8069d100fb9a9c9b6ca6
2 files changed
tree: 0c4707221ca3330595af5696de276bfe8b316aa7
  1. overlay/
  2. scripts/
  3. CONTRIBUTING.md
  4. LICENSE
  5. Makefile
  6. README.md
  7. setup.sh
README.md

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.