Difference between revisions of "Making a Ubuntu 15.04 SD card for Wandboard"

From Wandboard Wiki
Jump to: navigation, search
Line 20: Line 20:
Uncompress the installer and write it to an SD card. In Linux:<br>
Uncompress the installer and write it to an SD card. In Linux:<br>
<code>gunzip boot.img-serial.gz</code>
<code>gunzip boot.img-serial.gz</code><br>
<code>dd if=boot.img-serial of=/dev/sdX bs=1M oflag=dsync</code>
<code>dd if=boot.img-serial of=/dev/sdX bs=1M oflag=dsync</code>

Latest revision as of 05:37, 26 May 2015

Since a few Ubuntu releases, Wandboard has been on the very short list of boards that are supported by official Canonical Ubuntu releases. This guide walks through the steps required to make a bootable Ubuntu 15.04 SD card.

Steps to make a Ubuntu 15.04 SD card

The instructions need a largish SD card, larger than 8GB, and a functioning debug console.

Step 1.

Download the official installer SD card image from http://ports.ubuntu.com/ubuntu-ports/dists/vivid/main/installer-armhf/20101020ubuntu376/images/generic/netboot/wandboard-quad/

Chose the file "boot.img-serial.gz"

Step 2

Uncompress the installer and write it to an SD card. In Linux:
gunzip boot.img-serial.gz
dd if=boot.img-serial of=/dev/sdX bs=1M oflag=dsync

Step 3

Boot the Wandboard with the SD card created in step 2. Go through the installer, selecting your settings.

Somehow, the installer can fail installing the boot files, and these need to be installed manually.

Step 4

Download wandboard u-boot and 3.10.53 kernel source from wandboard git (github.com/wandboard-org/

Step 5

a) For u-boot, apply 0001-wandboard-For-ubuntu-15.04-boot-up-only.patch[1], and compile u-boot.

dd if=SPL of=/dev/sdx bs=1k seek=1 oflag=dsync
dd if=u-boot.img of=/dev/sdx bs=1k seek=69 oflag=dsync

b) For kernel, mount /dev/sdx1 first, then delete all files in this partition.
mkdir -p mnt/boot
cp <kernel folder>/arch/arm/boot/zImage mnt/boot/
cp <kernel folder>/arch/arm/boot/dts/imx6dl-wandboard.dtb mnt/boot/
cp <kernel folder>/arch/arm/boot/dts/imx6q-wandboard.dtb mnt/boot/

Step 6

Boot Ubuntu 15.04 !