Dragon Board not flashing


#1

Problem Statement : Dragon board 410c is not turning on after flashing it with a custom images.
What I have done :
I am trying to flash DragonBoard 410c using custom android build. Android buuild gave me following files as output.
-rw-rw-r-- 1 ravi ravi 14 Jul 16 19:08 android-info.txt
-rw-r–r-- 1 ravi ravi 17206568 Jul 17 11:33 boot.img
-rw-r–r-- 1 ravi ravi 6398160 Jul 17 10:33 cache.img
-rw-rw-r-- 1 ravi ravi 67496 Jul 17 11:24 clean_steps.mk
-rw-r–r-- 1 ravi ravi 8493056 Jul 17 11:33 dt.img
-rwxrwxr-x 1 ravi ravi 758160 Jul 17 11:26 emmc_appsboot.mbn
-rw-rw-r-- 1 ravi ravi 206 Jul 17 13:14 fb.sh
-rw-rw-r-- 1 ravi ravi 206 Jul 17 13:14 fb.sh~
-rw-rw-r-- 1 ravi ravi 84569 Jul 17 11:34 installed-files.txt
-rw-rw-r-- 1 ravi ravi 16128119 Jul 17 11:33 kernel
drwxrwxr-x 25 ravi ravi 4096 Oct 12 2016 kernel-3.18
-rw-r–r-- 1 ravi ravi 4821164 Jul 16 19:07 persist.img
-rw-rw-r-- 1 ravi ravi 934 Jul 17 11:24 previous_build_config.mk
-rw-rw-r-- 1 ravi ravi 1071845 Jul 16 23:25 ramdisk.img
-rw-rw-r-- 1 ravi ravi 1842506 Jul 17 11:33 ramdisk-recovery.img
-rw-rw-r-- 1 ravi ravi 67 Jul 17 11:33 recovery.id
-rw-r–r-- 1 ravi ravi 17976620 Jul 17 11:33 recovery.img
-rwxrwxr-x 1 ravi ravi 27759 Jul 12 13:46 repo
-rw-rw-r-- 1 ravi ravi 565740464 Jul 17 11:35 system.img
-rw-r–r-- 1 ravi ravi 34084656 Jul 17 11:35 userdata.img

I am able to successfully run following command to use fastboot methood.
sudo fastboot flash boot boot.img
sudo fastboot flash system system.img
sudo fastboot flash userdata userdata.img
sudo fastboot flash recovery recovery.img
sudo fastboot flash persist persist.img
sudo fastboot flash cache cache.img

But after flashing the DragonBoard 410c is not turning on.
Goal :
I want to test custom kernel, if it is working properly.

Specification :
Host machine : Ubantu 14
JDK version - 7


#2

Hi @Ravi_Shankar_Mehta,

Do you have access to Dragonboard’s serial console? It would be best to see the serial output to know what is going wrong while booting!

Thanks,
Mani


#3

It would also help if you can tell us, are you building Android using the Qualcomm source or AOSP ?


#4

I am Using Qualcomm Source.


#5

ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash boot boot.img
target reported max download size of 268435456 bytes
sending ‘boot’ (16803 KB)…
OKAY [ 0.815s]
writing ‘boot’…
OKAY [ 1.397s]
finished. total time: 2.212s
ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash system system.img
target reported max download size of 268435456 bytes
erasing ‘system’…
OKAY [ 0.381s]
sending sparse ‘system’ (261590 KB)…
OKAY [ 14.030s]
writing ‘system’…
OKAY [ 21.266s]
sending sparse ‘system’ (258569 KB)…
OKAY [ 13.433s]
writing ‘system’…
OKAY [ 20.954s]
sending sparse ‘system’ (32320 KB)…
OKAY [ 1.723s]
writing ‘system’…
OKAY [ 2.569s]
finished. total time: 74.356s
ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash userdata userdata.img
target reported max download size of 268435456 bytes
erasing ‘userdata’…
OKAY [ 0.788s]
sending ‘userdata’ (33285 KB)…
OKAY [ 1.676s]
writing ‘userdata’…
OKAY [ 2.766s]
finished. total time: 5.230s
ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash recovery recovery.img
target reported max download size of 268435456 bytes
sending ‘recovery’ (17555 KB)…
OKAY [ 0.786s]
writing ‘recovery’…
OKAY [ 1.337s]
finished. total time: 2.123s
ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash persist persist.img
target reported max download size of 268435456 bytes
sending ‘persist’ (4708 KB)…
OKAY [ 0.249s]
writing ‘persist’…
OKAY [ 0.407s]
finished. total time: 0.656s
ravi@ravi-Latitude-E5410:~/newbin$ sudo fastboot flash cache cache.img
target reported max download size of 268435456 bytes
erasing ‘cache’…
OKAY [ 0.055s]
sending ‘cache’ (6248 KB)…
OKAY [ 0.340s]
writing ‘cache’…
OKAY [ 0.516s]
finished. total time: 0.911s
ravi@ravi-Latitude-E5410:~/newbin$


#6

Please check your flash img and steps , can refer to the following flash steps :
sudo fastboot flash partition gpt_both0.bin
sudo fastboot flash hyp hyp.mbn
sudo fastboot flash modem NON-HLOS.bin
sudo fastboot flash rpm rpm.mbn
sudo fastboot flash sbl1 sbl1.mbn
sudo fastboot flash sec sec.dat
sudo fastboot flash tz tz.mbn
sudo fastboot flash aboot emmc_appsboot.mbn
sudo fastboot erase boot
sudo fastboot erase rootfs
sudo fastboot erase devinfo
sudo fastboot flash boot boot.img
sudo fastboot flash cache cache.img
sudo fastboot flash persist persist.img
sudo fastboot flash system system.img
sudo fastboot flash userdata userdata.img
sudo fastboot flash recovery recovery.img