Making a Ubuntu 15.04 SD card for Wandboard
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.
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"
Uncompress the installer and write it to an SD card. In Linux:
dd if=boot.img-serial of=/dev/sdX bs=1M oflag=dsync
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.
Download wandboard u-boot and kernel source.
a) For u-boot, apply [0001-wandboard-For-ubuntu-15.04-boot-up-only.patch] , 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/
Boot Ubuntu 15.04 !