Bootloader files and partitoning data to create a bootable Ubuntu Core image for the NanoPi NEO
Switch branches/tags
Nothing to show
Latest commit 7d6f421 Aug 11, 2017 @ogra1 ogra1 add html2text to build deps
Permalink
Failed to load latest commit information.
README.md fix typo Aug 11, 2017
gadget.yaml properly name the volume nanopi-neo Jun 20, 2017
snapcraft.yaml add html2text to build deps Aug 11, 2017
uboot.env.in adjust mmcargs and loadfdt Jun 20, 2017
uboot.patch initial commit Jun 17, 2017

README.md

NanoPi NEO Gadget Snap

This repository contains the source for an Ubuntu Core gadget snap for the NanoPi NEO. Building it with snapcraft will automatically pull, configure, patch and build the git.denx.de/u-boot.git upstream source for nanopi_neo_defconfig at release v2017.05 and produce a bootable gadget snap with the resulting binaries.

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 https://github.com/snapcore/snapd/wiki/Gadget-snap

Building

NOTE: this gadget snap can only build under 17.10 (artful), the sunxi u-boot build has a hard requirement on gcc6!

Natively on armhf

Create an artful (17.10) chroot, install snapcraft and git inside it, chroot into it and clone this tree.

To build the gadget snap locally on a native armhf system just run snapcraft in the toplevel of the tree.

Cross on x86 systems

Just run snapcraft a gcc6 toolchain will be pulled from linaro to cross build.