Problem about starting the board for the first time


#1

I am starting the board for the first time.

  1. I connect the DragonBoard 820c to my display with the HDMI cable.
  2. I connect the power supply to the DragonBoard . ( with mode 0-0-0-0)

I didn’t get anything on the HDMI Monitor.


Installing bootloader failed?
Installing bootloader failed?
#2

Did you flash bootloader/system on your board ?


#3

I’m not sure whether the board came with bootloaders pre-loaded. How can I make sure whether it has bootloader/system on it?

Thanks!!


#4

Loic

Now I make sure that I didn’t flash bootloader on it. But when I do it as the guide,

cd dragonboard-820c-bootloader-ufs-linux-*/
sudo /qdl prog_ufs_firehose_8996_ddr.elf rawprogram.xml patch.xml

I got the error below:

LOG: Calling hotplug_poll_device(‘UFS’)
LOG: Storage device of type ‘UFS’ cannot be opened
LOG: storage_device_open() returned FALSE
LOG: ERROR 13: Line 1142: HANDLE_CONFIGURE_FAILURE

Can you give me some advice? Thanks!


#5

First time, I personally used the SDCARD method.


#6

Thanks for your reply!!

I also tried the SDCARD method from guide on github.

I did as the guide:

In order to force the DB820c to boot from SD you need to configure S1 switch properly. S1 is on the back of the board underneath the micro SD slot. Set S1 to OFF,ON,ON,OFF
Connect a USB cable from the micro USB to your PC.
Connect UART console
Connect the power whilst holding S4 (Vol-Minus)

The I got traces on the UART console as below: (these information loop again and again)

B - 3085898 - Image Load, Start
D - 3233 - STI Image Loaded, Delta - (0 Bytes)
B - 3092822 - Image Load, Start
D - 67832 - APPSBL Image Loaded, Delta - (750056 Bytes)
B - 3160745 - SBL1, End
D - 3033438 - SBL1, Delta
S - Flash Throughput, 16000 KB/s (2960364 Bytes, 182530 us)
S - DDR Frequency, 1017 MHz
Android Bootloader - UART_DM Initialized!!!
[0] BUILD_VERSION=
[0] BUILD_DATE=15:10:41 - Dec 5 2017
[0] welcome to lk

[10] platform_init()
[10] target_init()
[10] RPM GLink Init
[10] Opening RPM Glink Port success
[10] Opening SSR Glink Port success
[20] Glink Connection between APPS and RPM established
[20] Glink Connection between APPS and RPM established
[40] utp_enqueue_utrd:333 Command failed. command type = 2
[40] utp_enqueue_upiu:504 Command failed. command = 0
[40] dme_send_nop_query:570 Sending nop out failed.
[50] UFS dme_send_nop_query failed
[50] ------Host controller register dump ---------
[60] UFS_UECPA 0x80000010
[60] UFS_UECDL 0x80000002
[60] UFS_UECN 0x0
[60] UFS_UECT 0x0[60] UFS error: UE.
[60] UIC non-fatal error. IS: 0x4 UECPA: 0x80000010 UECDL: 0x0
[60] UIC non-fatal error handled. Pending interrupt mask: 0x0

[70] UFS_UECDME 0x0
[70] UFS_HCS 0x10f
[70] -----------End--------------------------------
[70] ufs_init done
[80] panic (frame 0x916cc4f8):
[80] r0 0x0000026b r1 0x91671f70 r2 0x000000df r3 0x916c2684
[80] r4 0x000000df r5 0x00000000 r6 0x916c2684 r7 0x916342d4
[80] r8 0x00000000 r9 0x00000000 r10 0x91600e48 r11 0x916c2684
[80] r12 0x00000000 usp 0x9166dadc ulr 0x91671d68 pc 0x00000000
[80] spsr 0x9160f970
[80] fiq r13 0x916b6400 r14 0x00000000
[80] irq r13 0x916bc74c r14 0x9166d6ac
[80] svc r13 0x916cc470 r14 0x91632a18
[80] und r13 0x916b6400 r14 0x00000000
[80] sys r13 0x00000000 r14 0x00000000
[90] panic (caller 0x91600e48): ASSERT FAILED at ([90] UFS error: UE.
[90] UIC non-fatal error. IS: 0x4 UECPA: 0x80000010 UECDL: 0x80000002
[90] UIC non-fatal error handled. Pending interrupt mask: 0x0
platform/msm_shared/mmc_wrapper.c:619): max_luns
[100] HALT: reboot into dload mo
Format: Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-72413
S - IMAGE_VARIANT_STRING=M8996LAB
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu44
S - Boot Interface: Unknown
S - Secure Boot: Off
S - Boot Config @ 0x00076044 = 0x000001cd
S - JTAG ID @ 0x000760f4 = 0x4003e0e1
S - OEM ID @ 0x000760f8 = 0x00000000
S - Serial Number @ 0x00074138 = 0xcb103978
S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100
S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff
S - Core 0 Frequency, 1228 MHz
B - 0 - PBL, Start
B - 14156 - bootable_media_detect_entry, Start
B - 27781 - bootable_media_detect_success, Start
B - 27784 - elf_loader_entry, Start
B - 30910 - auth_hash_seg_entry, Start
B - 31010 - auth_hash_seg_exit, Start
B - 82479 - elf_segs_hash_verify_entry, Start
B - 84991 - PBL, End
B - 86467 - SBL1, Start
B - 182207 - usb: hs_phy_nondrive_start
B - 182542 - usb: PLL lock success - 0x3
B - 185501 - usb: hs_phy_nondrive_finish
B - 189618 - boot_flash_init, Start
D - 2403430 - boot_flash_init, Delta
B - 2596953 - sbl1_ddr_set_default_params, Start
D - 0 - sbl1_ddr_set_default_params, Delta
B - 2603632 - boot_config_data_table_init, Start
D - 24247 - boot_config_data_table_init, Delta - (60 Bytes)
B - 2632363 - CDT Version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B - 2636999 - Image Load, Start
D - 264744 - Pre_DDR_clock_init, Start
D - 427 - Pre_DDR_clock_init, Delta
B - 2734142 - ddr_initialize_device, Start
B - 2737832 - 8996 v3.x detected, Max frequency = 1.8 GHz
B - 2747348 - ddr_initialize_device, Delta
B - 2747562 - Basic DDR tests done
B - 2751161 - PIMEM is disabled! Reinitializing, content will be lost
B - 2800174 - clock_init, Start
D - 244 - clock_init, Delta
B - 2802096 - Image Load, Start
D - 13786 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)
B - 2816675 - Image Load, Start
D - 4270 - APDP Image Loaded, Delta - (0 Bytes)
B - 2845223 - usb: emmc_open_fail
B - 2845253 - usb: fedl, vbus_low
B - 2847541 - Image Load, Start
D - 29036 - XBLRamDump Image Loaded, Delta - (342782 Bytes)
B - 2945934 - usb: init start
B - 2947764 - usb: PLL lock success , 0x2
B - 2964661 - usb: SUPER , 0x900e
\0x00C!\0xd4K\0xb5\0x85\0xd1\0xe9 Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-72413
S - IMAGE_VARIANT_STRING=M8996LAB
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu44
S - Boot Interface: Unknown
S - Secure Boot: Off
S - Boot Config @ 0x00076044 = 0x000001cd
S - JTAG ID @ 0x000760f4 = 0x4003e0e1
S - OEM ID @ 0x000760f8 = 0x00000000
S - Serial Number @ 0x00074138 = 0xcb103978
S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100
S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff
S - Core 0 Frequency, 1228 MHz
B - 0 - PBL, Start
B - 14156 - bootable_media_detect_entry, Start
B - 72367 - bootable_media_detect_success, Start
B - 72371 - elf_loader_entry, Start
B - 75497 - auth_hash_seg_entry, Start
B - 75600 - auth_hash_seg_exit, Start
B - 127067 - elf_segs_hash_verify_entry, Start
B - 129578 - PBL, End
B - 131607 - SBL1, Start
B - 227957 - usb: hs_phy_nondrive_start
B - 228292 - usb: PLL lock success - 0x3
B - 231281 - usb: hs_phy_nondrive_finish
B - 235429 - boot_flash_init, Start
D - 2392572 - boot_flash_init, Delta
B - 2631875 - sbl1_ddr_set_default_params, Start
D - 30 - sbl1_ddr_set_default_params, Delta
B - 2638646 - boot_config_data_table_init, Start
D - 24613 - boot_config_data_table_init, Delta - (60 Bytes)
B - 2667774 - CDT Version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B - 2672471 - Image Load, Start
D - 26779 - PMIC Image Loaded, Delta - (37272 Bytes)
B - 2699280 - pm_device_init, Start
B - 2705045 - PON REASON:PM0:0x800000000060 PM1:0x20020
B - 2741340 - PM_SET_VAL:Skip
D - 39924 - pm_device_init, Delta
B - 2743261 - pm_driver_init, Start
D - 2897 - pm_driver_init, Delta
B - 2749880 - pm_sbl_chg_init, Start
D - 61 - pm_sbl_chg_init, Delta
B - 2756620 - vsense_init, Start
D - 0 - vsense_init, Delta
B - 2766258 - Pre_DDR_clock_init, Start
D - 427 - Pre_DDR_clock_init, Delta
B - 2770254 - ddr_initialize_device, Start
B - 2773944 - 8996 v3.x detected, Max frequency = 1.8 GHz
B - 2783613 - ddr_initialize_device, Delta
B - 2783613 - DDR ID, Rank 0, Rank 1, 0x6, 0x300, 0x300
B - 2787456 - Basic DDR tests done
B - 2856172 - clock_init, Start
D - 244 - clock_init, Delta
B - 2858124 - Image Load, Start
D - 12963 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)
B - 2871758 - Image Load, Start
D - 4361 - APDP Image Loaded, Delta - (0 Bytes)
B - 2878986 - usb: emmc_open_fail
B - 2883775 - usb: fedl, vbus_low
B - 2887038 - Image Load, Start
D - 129534 - QSEE Image Loaded, Delta - (1640572 Bytes)
B - 3016572 - Image Load, Start
D - 1067 - SEC Image Loaded, Delta - (4096 Bytes)
B - 3024136 - sbl1_efs_handle_cookies, Start
D - 0 - sbl1_efs_handle_cookies, Delta
B - 3032645 - Image Load, Start
D - 27694 - QHEE Image Loaded, Delta - (254184 Bytes)
B - 3060309 - Image Load, Start
D - 25193 - RPM Image Loaded, Delta - (223900 Bytes)
B - 3086295 - Image Load, Start
D - 3202 - STI Image Loaded, Delta - (0 Bytes)
B - 3093188 - Image Load, Start
D - 67862 - APPSBL Image Loaded, Delta - (750056 Bytes)
B - 3161142 - SBL1, End
D - 3033774 - SBL1, Delta
S - Flash Throughput, 16000 KB/s (2960364 Bytes, 182499 us)
S - DDR Frequency, 1017 MHz
Android Bootloader - UART_DM Initialized!!!
[0] BUILD_VERSION=
[0] BUILD_DATE=15:10:41 - Dec 5 2017
[0] welcome to lk - PMIC Image Loaded, Delta - (37272 Bytes)
B - 2663473 - pm_device_init, Start
B - 2669177 - PON REASON:PM0:0x200000020060 PM1:0x20020
B - 2705258 - PM_SET_VAL:Skip
D - 39680 - pm_device_init, Delta
B - 2707180 - pm_driver_init, Start
D - 2897 - pm_driver_init, Delta
B - 2713768 - pm_sbl_chg_init, Start
D - 61 - pm_sbl_chg_init, Delta
B - 2720539 - vsense_init, Start
D - 30 - vsense_init, Delta
B - 2728194 - Pre_DDR_clock_init, Start
D - 427 - Pre_DDR_clock_init, Delta
B - 2734142 - ddr_initialize_device, Start
B - 2737832 - 8996 v3.x detected, Max frequency = 1.8 GHz
B - 2747348 - ddr_initialize_device, Delta
B - 2747562 - Basic DDR tests done
B - 2751161 - PIMEM is disabled! Reinitializing, content will be lost
B - 2800174 - clock_init, Start
D - 244 - clock_init, Delta
B - 2802096 - Image Load, Start
D - 13786 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)
B - 2816675 - Image Load, Start
D - 4270 - APDP Image Loaded, Delta - (0 Bytes)
B - 2845223 - usb: emmc_open_fail
B - 2845253 - usb: fedl, vbus_low
B - 2847541 - Image Load, Start
D - 29036 - XBLRamDump Image Loaded, Delta - (342782 Bytes)
B - 2945934 - usb: init start
B - 2947764 - usb: PLL lock success , 0x2
B - 2964661 - usb: SUPER , 0x900e
\0x00C!\0xd4K\0xb5\0x85\0xd1\0xe9 Log Type - Time(microsec) - Message - Optional Info
Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic
S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-72413
S - IMAGE_VARIANT_STRING=M8996LAB
S - OEM_IMAGE_VERSION_STRING=crm-ubuntu44
S - Boot Interface: Unknown
S - Secure Boot: Off
S - Boot Config @ 0x00076044 = 0x000001cd
S - JTAG ID @ 0x000760f4 = 0x4003e0e1
S - OEM ID @ 0x000760f8 = 0x00000000
S - Serial Number @ 0x00074138 = 0xcb103978
S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000
S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000
S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100
S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff
S - Core 0 Frequency, 1228 MHz
B - 0 - PBL, Start
B - 14156 - bootable_media_detect_entry, Start
B - 72367 - bootable_media_detect_success, Start
B - 72371 - elf_loader_entry, Start
B - 75497 - auth_hash_seg_entry, Start
B - 75600 - auth_hash_seg_exit, Start
B - 127067 - elf_segs_hash_verify_entry, Start
B - 129578 - PBL, End
B - 131607 - SBL1, Start
B - 227957 - usb: hs_phy_nondrive_start
B - 228292 - usb: PLL lock success - 0x3
B - 231281 - usb: hs_phy_nondrive_finish
B - 235429 - boot_flash_init, Start
D - 2392572 - boot_flash_init, Delta
B - 2631875 - sbl1_ddr_set_default_params, Start
D - 30 - sbl1_ddr_set_default_params, Delta
B - 2638646 - boot_config_data_table_init, Start
D - 24613 - boot_config_data_table_init, Delta - (60 Bytes)
B - 2667774 - CDT Version:3,Platform ID:24,Major ID:1,Minor ID:0,Subtype:0
B - 2672471 - Image Load, Start
D - 26779 - PMIC Image Loaded, Delta - (37272 Bytes)
B - 2699280 - pm_device_init, Start
B - 2705045 - PON REASON:PM0:0x800000000060 PM1:0x20020
B - 2741340 - PM_SET_VAL:Skip
D - 39924 - pm_device_init, Delta
B - 2743261 - pm_driver_init, Start
D - 2897 - pm_driver_init, Delta
B - 2749880 - pm_sbl_chg_init, Start
D - 61 - pm_sbl_chg_init, Delta
B - 2756620 - vsense_init, Start
D - 0 - vsense_init, Delta
B - 2766258 - Pre_DDR_clock_init, Start
D - 427 - Pre_DDR_clock_init, Delta
B - 2770254 - ddr_initialize_device, Start
B - 2773944 - 8996 v3.x detected, Max frequency = 1.8 GHz
B - 2783613 - ddr_initialize_device, Delta
B - 2783613 - DDR ID, Rank 0, Rank 1, 0x6, 0x300, 0x300
B - 2787456 - Basic DDR tests done
B - 2856172 - clock_init, Start
D - 244 - clock_init, Delta
B - 2858124 - Image Load, Start
D - 12963 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)
B - 2871758 - Image Load, Start
D - 4361 - APDP Image Loaded, Delta - (0 Bytes)
B - 2878986 - usb: emmc_open_fail
B - 2883775 - usb: fedl, vbus_low
B - 2887038 - Image Load, Start
D - 129534 - QSEE Image Loaded, Delta - (1640572 Bytes)
B - 3016572 - Image Load, Start
D - 1067 - SEC Image Loaded, Delta - (4096 Bytes)
B - 3024136 - sbl1_efs_handle_cookies, Start
D - 0 - sbl1_efs_handle_cookies, Delta
B - 3032645 - Image Load, Start
D - 27694 - QHEE Image Loaded, Delta - (254184 Bytes)
B - 3060309 - Image Load, Start
D - 25193 - RPM Image Loaded, Delta - (223900 Bytes)
B - 3086295 - Image Load, Start
D - 3202 - STI Image Loaded, Delta - (0 Bytes)
B - 3093188 - Image Load, Start
D - 67862 - APPSBL Image Loaded, Delta - (750056 Bytes)
B - 3161142 - SBL1, End
D - 3033774 - SBL1, Delta
S - Flash Throughput, 16000 KB/s (2960364 Bytes, 182499 us)
S - DDR Frequency, 1017 MHz
Android Bootloader - UART_DM Initialized!!!
[0] BUILD_VERSION=
[0] BUILD_DATE=15:10:41 - Dec 5 2017
[0] welcome to lk