Pre-built Raspberry Pi images to simplify using the Pi as a USB gadget.
The basic Raspberry Pi OS images are a faithful reproduction of the work done by Ben Hardill, with some additional automation wrapped around to get to a publish release on GitHub.
Other operating systems are derived from the basic template used in Raspberry Pi OS.
- Raspberry Pi OS (
arm64
andarmhf
)- Lite
- Desktop
- Ubuntu (
arm64
andarmhf
)- Server
Since v0.2, images no longer have a default user/password. The recommened approach is to set the user/password during image burn with Raspberry Pi Imager.
I have a video showing how to burn and customize an image here:
The easiest way to build images locally is to use the pre-built packer-builder-arm
pba Docker images
docker run --rm --privileged -v /dev:/dev -v ${PWD}:/build mkaczanowski/packer-builder-arm build <build_json_path>
Replace <build_json_path>
with any of the image definition files in the root directory.
To build you need Packer and the packer-builder-arm
plugin.
To build packer-build-arm
you need Go.
With Packer and packer-builder-arm
installed:
sudo packer build raspios-lite-usb-gadget-arm.json
You can substitute any other build specification in the call to packer build
.