In this post we are going to build and deploy Android Kitkat for the Wandboard Quad. The instructions are mostly identical for the Wandboard Dual, although you will need a different u-boot bootloader configuration, and a different dtb file. With the current Android 4.4.4 build we are able to use ethernet, wifi in client and AP mode, as well as ALSA sound. Bluetooth and hardware accelerated graphics is not yet accomplished.
- Host Build System: Ubuntu 13.10 (64 Bit)
It is important to use a 64 Bit version, otherwise, it is not possible to build Android.
- Hardware: Wandboard Quad revision B1
- Kernel version: 3.16 rc5
We will use the latest kernel provided by Robert Nelson
- Bootloader: u-boot bootloader by Denx
We will also download and patch as per instructions provided by Robert Nelson.
- Android version: 4.4.4_r1 AOSP
- An USB to serial converter for communicating with the Wandboard
Unless your computer has a serial port of course.
- A microSD card
We recommend at least class 10, it really makes a big difference. A size of 2GB should be enough.
For this tutorial, we will have 3 main source code repositories, namely Android, u-boot and Linux kernel sources. It is assumed that we download the Android source code, and place the u-boot and Kernel sources in their respective sub-folders “u-boot” and “armv7-multiplatform” inside the Android source‘s root. While the exact location does not matter, we will use /opt/android as an example here. Since we are going to use a cross-compiler from Android for building the bootloader, it makes sense to first download all the source code repositories before starting with this tutorial.