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:
-
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 -
Install the following tools:
sudo apt-get install device-tree-compiler
git clone git://codeaurora.org/quic/kernel/skales -
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/ -
Get a ram disk image from the release
wget http://builds.96boards.org/releases/dragonboard410c/linaro/ubuntu/15.09/initrd.img-4.2.0-linaro-lt-qcom -
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,
Questions:
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?
Thanks
Ilan