A tool to create Ubuntu images for embedded systems - mainly ARM/ARM64 boards like Beaglebone, RaspberryPi 2, RaspberryPI 3 or 96Boards DragonBoard410c
Shell
Switch branches/tags
Nothing to show
Fetching latest commit…
Cannot retrieve the latest commit at this time.
Permalink
Failed to load latest commit information.
boards
build
initramfs-scripts
skel
.gitignore
README.md
boards.db
make_img.sh

README.md

UBUNTU for Embedded Systems

Tool to create Ubuntu images for embedded systems (mainly arm / arm64 boards like the Beaglebone, the RaspberryPi 2, the RaspberryPi 3 or the 96Boards DragonBoard 410c).

Every board is pinned to a known-good Ubuntu release, and while we strongly suggest to use the associated release, user can override this behaviour using the -d $DISTRO command line switch (see the distro field in boards.db and examples below).

Crash course

To build a Trusty (Ubuntu 14.04) image for the Beaglebone Black:

sudo ./make_img.sh -b beaglebone

To build a Xenial image for the RaspberryPi 2:

sudo ./make_img.sh -b raspi2

Or for the RaspberryPi 3:

sudo ./make_img.sh -b raspi3

To build an aarch64/arm64 Yakkety image for the RaspberryPi3:

sudo ./make_img.sh -b raspi64

Or Xenial image for the 96Boards DragonBoard 410c:

sudo ./make_img.sh -b dragon410c

To create an Ubuntu image for the Intel Edison:

sudo ./make_img.sh -b edison -d 14.04

Serial console: 115200 8N1 - no hardware and software flow control

Default user / password: ubuntu / ubuntu

See 'boards.db' for an up to date list of supported boards.

Prebuilt images are available at:

http://people.canonical.com/~ppisati/ubuntu_embedded/

Additional options are available through the help section (./make_img.sh -h):

[flag@southcross ubuntu-embedded]$ ./make_img.sh -h
usage: make_img.sh -b $BOARD [-d $DISTRO] [options...]

Available values for:
$BOARD:  beaglexm panda beaglebone mirabox cubox raspi2 raspi3 raspi64 dragon410c edison

Supported Ubuntu releases:

$DISTRO: 14.04 16.04

Other options:
-k            don't cleanup after exit

Misc "catch-all" option:
-o <opt=value[,opt=value, ...]> where:

size:			size of the image file (e.g. 2G, default: 1G)
user:			credentials of the user created on the target image
passwd:			same as above, but for the password here
pkgs:			install additional pkgs (pkgs="pkg1 pkg2 pkg3...")
script:			initramfs script to be installed