No description, website, or topics provided.
Switch branches/tags
Nothing to show
Clone or download
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
gadget
kernel
model
.gitignore
Makefile
README.adoc
common.mk
gadget.mk
kernelsnap.mk
snappy.mk
u-boot.mk

README.adoc

NutsBoard Snappy Ubuntu Core

Environment Setup

Note
it’s highly recommended to build from Ubuntu 16.04 or later.
% sudo apt update
% sudo apt-get install -y build-essential u-boot-tools lzop debootstrap gcc-4.8-arm-linux-gnueabihf device-tree-compiler
% sudo apt-get install -y ubuntu-snappy snapcraft
% sudo apt-get install -y snap
% sudo snap install ubuntu-image --devmode --edge

You can check that the snap is working on your host machine by listing the available packages:

% snap list
Name          Version     Rev   Developer  Notes
core          16-2        1337  canonical  -
ubuntu-image  0.15+snap3  48    canonical  devmode

Download the BSP source:

% https://github.com/nutsboard/ubuntu-core.git
% cd ubuntu-core

For full build:

% make

For a u-boot build:

% make u-boot

For a kernelsnap build:

% make kernelsnap

For a gadget build:

% make gadget

For a snappy build:

% make snappy

To clean build area

% make clean

To generate a SD card image:

% sudo dd if=nutsboard.img/nutsboard.img of=/dev/sdx bs=1M <sdx is depend on your SD card device node, ex: sde>

About first boot configuration, please refer NutsBoard Blog.