The gadget snap for the Raspberry Pi 3 development board
Latest commit 8c9c07e Jan 18, 2017 @ogra1 ogra1 add gpio slots

Raspberry Pi 3 Gadget Snap

This repository contains the official Ubuntu Core gadget snap for the Raspberry Pi 3.

Gadget Snaps

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

Reporting Issues

Please report all issues on the Launchpad project page

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 please use snapcraft. This repository will be soon updated to support snapcraft natively, via a snapcraft.yaml file, stay tuned!

In case you need to rebuild u-boot, the steps are

sudo apt install gcc-arm-linux-gnueabi
export CROSS_COMPILE=arm-linux-gnueabi-
git clone git://
cd u-boot; git checkout v2017.01-rc1
git apply <gadget-folder>/prebuilt/uboot.patch
make rpi_3_32b_defconfig
make -j8

Launchpad Mirror and Automatic Builds.

All commits from the master branch of are automatically mirrored by Launchpad to the project.

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:

Old content

This used to be in the old README file, it will be phased out over time

mkenvimage -r -s 131072  -o uboot.env