Customize linux kernel for dragon410

I would appreciate if I can get your assistance on how to get and customize the kernel source code on the dragon410 board.
I did the following:

  1. Build linux kernel
    git clone -n working/qualcomm/kernel.git - Qualcomm Landing Team kernel
    cd kernel
    git checkout -b kernel-15.09 ubuntu-qcom-dragonboard410c-15.09
    export ARCH=arm64
    export CROSS_COMPILE=<path to your GCC cross compiler>/aarch64-linux-gnu-git cherry-pick -n e4df9dd88bb3b37d84db277e0f6a5d59cf5ac737
    make defconfig distro.config
    make -j4 Image dtbs KERNELRELEASE=4.2.0-linaro-lt-qcom

  2. Install the following tools:
    sudo apt-get install device-tree-compiler
    git clone git://

  3. The boot image consists of the table of device tree (dt.img), the kernel image (Image) and an init ramdisk image.
    ./skales/dtbTool -o dt.img -s 2048 arch/arm64/boot/dts/qcom/

  4. Get a ram disk image from the release

  5. Make boot image
    ./skales/mkbootimg --kernel arch/arm64/boot/Image
    –ramdisk initrd.img-4.2.0-linaro-lt-qcom
    –output boot-db410c.img
    –dt dt.img
    –pagesize 2048
    –base 0x80000000
    –cmdline “root=/dev/disk/by-partlabel/rootfs rw rootwait console=ttyMSM0,115200n8”

Assuming I have now built a boot image called boot-db410c.img,


The boot-db410c.img is only 17M byte size (is that right?)

what shall I do next? I’m not sure I understand where the customized kernel is

Shall I use the fastboot (causes the system to stuck on device)
sudo fastboot boot boot-db410c.img

How to install the customized kernel?




Is there any reason why you are using that release? Maybe you could consider upgrading to 16.03 and follow the instructions in the wiki page.

Do let me know if this is an option for you; otherwise I will dig some of my upgrade scripts and post them here.


This is an option or me, I will follow the instructions in the wiki page

Regarding the instructions on the wiki page please advise
step 4 - after cloning…
I guess the directory is linux and not kernel linux instead of kernel

Step 5 - Set the right kernel .config file - o.k.

step 6 - Build kernel image: I received the following error:
HOSTCC scripts/extract-cert
scripts/extract-cert.c:21:25: fatal error: openssl/bio.h: No such file or directory
#include <openssl/bio.h>
compilation terminated.
make[1]: *** [scripts/extract-cert] Error 1

I don’t have that problem in my development machine (just did a clean build)
All I can suggest is to perhaps click on the first link of this search


Regarding the instructions on the wiki page Step 13,

Please advise where shall I find initrd.img-4.4.0+ I guess the file name is:



Hi all,

We managed to create the Boot image to our DragonBoard™ 410c. thanks.

anyway, while trying the sudo fastboot flash boot boot.img

fastboot: command not found

please advise…

Erm… you have installed android tools?
sudo apt-get install android-tools-adb android-tools-fastboot


please advise the system is stuck on < waiting for device >

Make sure you boot DB410c in fastboot mode. For more info, please see the instructions in link below;

P.S: Also make sure you’re executing ./flashall with sudo