Index of /~sergiusens/snappy/bananapro

[ICO]NameLast modifiedSizeDescription

[PARENTDIR]Parent Directory  -  
[   ]SHA512SUM2015-02-19 22:35 456  
[TXT]README.md2015-02-19 22:33 1.9K 
[TXT]README.html2015-02-19 22:33 2.2K 
[   ]snappy_lemaker_defconfig2015-02-12 19:12 99K 
[   ]device_bananapro.tar.xz2015-02-13 20:27 26M 
[   ]bananapro.img.xz2015-02-13 21:17 197M 

Pre-Setup

Obtain all the files where this document is found.

There are two options; use and assembled image or assemble one yourself.

If you haven't done so before, enable the snappy PPA to install most of the tools used in the snappy world and install ubuntu-device-flash

sudo add-apt-repository ppa:snappy-dev/beta
sudo apt update
sudo apt install ubuntu-device-flash

Verify the integrity of the downloaded files

sha512sum -c SHA512SUM

Using a prebuilt image

This prebuilt image is 3GB and has the webdm preinstalled. Setup on an sdcard by running

xz -d bananapro.img.xz
sudo dd if=bananapro.img of=/dev/DEVICE bs=32M

Where DEVICE can be something like mmcblk0 or sdb

Creating

Optional

This requires a golang environment setup

 sudo apt install golang-go
 mkdir ~/go
 export GOPATH=~/go
 export PATH=$PATH:$GOPATH/bin

Get webdm_0.1_multi.snap, this can be done using store-get

 go get github.com/sergiusens/store-get
 store-get webdm

Image creation

Then run (omit --install webdm_0.1_multi.snap if it was not downlaoded)

sudo ubuntu-device-flash core --platform bananapro \
    --size 3 \
    --output my_bananapro.img \
    --channel ubuntu-core/devel-proposed \
    --enable-ssh \
    --device generic_armhf \
    --device-part device_bananapro.tar.xz \
    --install webdm_0.1_multi.snap

Setup on an sdcard by running

sudo dd if=my_bananapro.img of=/dev/DEVICE bs=32M

Where DEVICE can be something like mmcblk0 or sdb

Kernel sources

git clone the kernel sources and use the provided snappy_lemaker_defconfig to configure and later build.

Issues