Raspberry Pi 2 Gadget Snap
This repository contains the source for an Ubuntu Core gadget snap for the Raspberry Pi 2.
Building it with snapcraft will automatically pull, configure, patch and build the git.denx.de/u-boot.git upstream source for rpi_2_defconfig at release v2017.05, produce a u-boot.bin binary and put it inside the gadget.
It will then download the latest stable binary boot firmware from https://github.com/raspberrypi/firmware/tree/stable/boot and add it to the gadget.
Last it will pull the latest linux-image-raspi2 from the xenial-updates archive, extract the devicetree and overlay files from it and add them to the gadget as well.
Gadget snaps are a special type of snaps that contain device specific support code and data. You can read more about them in the snapd wiki https://github.com/snapcore/snapd/wiki/Gadget-snap
Please report all issues on the Launchpad project page https://bugs.launchpad.net/snap-pi2/+filebug
We use Launchpad to track issues as this allows us to coordinate multiple projects better than what is available with Github issues.
To build the gadget snap locally on an armhf system please use
To cross build this gadget snap on a PC please run
Launchpad Mirror and Automatic Builds.
The master branch is automatically built from the launchpad mirror and published into the snap store to the edge channel.
You can find build history and other controls here: https://code.launchpad.net/~canonical-foundations/+snap/pi2