Dragonboard410c

The Dragonboard410c is a credit-card sized minicomputer, akin to the popular RaspberryPi series. It's sporting a Qualcomm Snapdragon 410, quad-core Cortex A53 @ 1.2GHz (which implies 64bit arch) and an Adreno 306 GPU.

Initial Flash
The Dragonboard comes pre-installed with Android. For a quick and dirty flash, consult the Linux User Guide on http://www.96boards.org/products/ce/dragonboard410c/docs/. It guides you through a quick procedure that gets Linaro/Debian up and running.

We, however, want to build our own images. For that to work we need to download a couple of things. For that I'd suggest you create a dedicated directory; I called mine.

Cross-compiler/-toolchain
To compile our stuff, we need a cross-compiler. For that, we use the fabulous tool.

skales tools
We will further need the "skales" tools, which are basically a set of scripts.

miscellanous tools
For those to work we will also need, which is a part of. And for control- and flash-tasks we will need the utility from.

Kernel
Gentoo-native sources provide drivers that have been accepted in mainline already.

But to get the latest and greatest from the 96boards and Linaro devs:

Kernel Compilation
First we need a configuration. I am going with the provided stock configs.

Then compile the kernel. Use a value corresponding to your compiling CPU's core-count for - e.g. 4 or 5 for a quad-core.

This will take a while. You can interrupt at any time, though, and resume with the same command.

Initrd / Initramfs
If you want to use upstream's initrd, get it here: http://builds.96boards.org/snapshots/dragonboard410c/linaro/debian/latest/

(The filename might differ slightly, so just browse the directory.)

Install the kernel's modules to a temporary directory and run depmod on them.

Be sure to get the version right or the kernel will not be able to find its modules later on.

Device Tree
We will assemble the boot.img in a separate directory, so change there.

Use the from skales to assemble.

Assemble
You have several options here for your cmdline. Upstream suggests the following:

===