We are having problems flashing Linux on brand new 820uSoMs. We started the fastboot mode by pressing vol - and pwr button on the devkit, but comparing the debug output with working version, we are missing fastboot: processing commands
:
[13:46:57:011] <break> [13:47:01:052] ␍␊ [13:47:01:052] Format: Log Type - Time(microsec) - Message - Optional Info␍␊ [13:47:01:052] Log Type: B - Since Boot(Power On Reset), D - Delta, S - Statistic␍␊ [13:47:01:052] S - QC_IMAGE_VERSION_STRING=BOOT.XF.1.0-00306␍␊ [13:47:01:052] S - IMAGE_VARIANT_STRING=M8996LAB␍␊ [13:47:01:052] S - OEM_IMAGE_VERSION_STRING=crm-ubuntu39␍␊ [13:47:01:052] S - Boot Interface: UFS␍␊ [13:47:01:052] S - Secure Boot: Off␍␊ [13:47:01:052] S - Boot Config @ 0x00076044 = 0x000001c9␍␊ [13:47:01:052] S - JTAG ID @ 0x000760f4 = 0x4003e0e1␍␊ [13:47:01:052] S - OEM ID @ 0x000760f8 = 0x00000000␍␊ [13:47:01:052] S - Serial Number @ 0x00074138 = 0x4fc467ef␍␊ [13:47:01:052] S - OEM Config Row 0 @ 0x00074188 = 0x0000000000000000␍␊ [13:47:01:095] S - OEM Config Row 1 @ 0x00074190 = 0x0000000000000000␍␊ [13:47:01:095] S - Feature Config Row 0 @ 0x000741a0 = 0x0050000010000100␍␊ [13:47:01:095] S - Feature Config Row 1 @ 0x000741a8 = 0x00fff00001ffffff␍␊ [13:47:01:095] S - Core 0 Frequency, 1228 MHz␍␊ [13:47:01:095] B - 0 - PBL, Start␍␊ [13:47:01:095] B - 10413 - bootable_media_detect_entry, Start␍␊ [13:47:01:095] B - 47069 - bootable_media_detect_success, Start␍␊ [13:47:01:095] B - 47070 - elf_loader_entry, Start␍␊ [13:47:01:095] B - 48094 - auth_hash_seg_entry, Start␍␊ [13:47:01:095] B - 48197 - auth_hash_seg_exit, Start␍␊ [13:47:01:148] B - 80139 - elf_segs_hash_verify_entry, Start␍␊ [13:47:01:148] B - 82637 - PBL, End␍␊ [13:47:01:148] B - 84668 - SBL1, Start␍␊ [13:47:01:148] B - 180682 - usb: hs_phy_nondrive_start␍␊ [13:47:01:148] B - 181017 - usb: PLL lock success - 0x3␍␊ [13:47:01:148] B - 184006 - usb: hs_phy_nondrive_finish␍␊ [13:47:01:148] B - 188154 - boot_flash_init, Start␍␊ [13:47:01:148] D - 0 - boot_flash_init, Delta␍␊ [13:47:01:148] B - 195261 - sbl1_ddr_set_default_params, Start␍␊ [13:47:01:148] D - 30 - sbl1_ddr_set_default_params, Delta␍␊ [13:47:01:148] B - 203252 - boot_config_data_table_init, Start␍␊ [13:47:01:255] D - 97295 - boot_config_data_table_init, Delta - (60 Bytes)␍␊ [13:47:01:255] B - 305061 - CDT Version:3,Platform ID:10,Major ID:1,Minor ID:0,Subtype:28␍␊ [13:47:01:255] B - 309819 - Image Load, Start␍␊ [13:47:01:282] D - 22295 - PMIC Image Loaded, Delta - (37368 Bytes)␍␊ [13:47:01:282] B - 332114 - pm_device_init, Start␍␊ [13:47:01:282] B - 337879 - PON REASON:PM0:0xa0 PM1:0xa0 ␍␊ [13:47:01:298] B - 374204 - PM_SET_VAL:Skip␍␊ [13:47:01:341] D - 39924 - pm_device_init, Delta␍␊ [13:47:01:341] B - 376126 - pm_driver_init, Start␍␊ [13:47:01:341] D - 2989 - pm_driver_init, Delta␍␊ [13:47:01:341] B - 382714 - pm_sbl_chg_init, Start␍␊ [13:47:01:341] D - 91 - pm_sbl_chg_init, Delta␍␊ [13:47:01:341] B - 389485 - vsense_init, Start␍␊ [13:47:01:341] D - 0 - vsense_init, Delta␍␊ [13:47:01:341] B - 397476 - Pre_DDR_clock_init, Start␍␊ [13:47:01:341] D - 366 - Pre_DDR_clock_init, Delta␍␊ [13:47:01:341] B - 403088 - ddr_initialize_device, Start␍␊ [13:47:01:341] B - 406778 - 8996 v3.x detected, Max frequency = 1.8 GHz␍␊ [13:47:01:341] B - 416416 - ddr_initialize_device, Delta␍␊ [13:47:01:367] B - 416416 - DDR ID, Rank 0, Rank 1, 0xff, 0x600, 0x0␍␊ [13:47:01:367] B - 420290 - Basic DDR tests done␍␊ [13:47:01:453] B - 481534 - clock_init, Start␍␊ [13:47:01:453] D - 244 - clock_init, Delta␍␊ [13:47:01:453] B - 483516 - Image Load, Start␍␊ [13:47:01:453] D - 5582 - QSEE Dev Config Image Loaded, Delta - (46008 Bytes)␍␊ [13:47:01:453] B - 489830 - Image Load, Start␍␊ [13:47:01:453] D - 5856 - APDP Image Loaded, Delta - (0 Bytes)␍␊ [13:47:01:453] B - 498644 - usb: UFS Serial - d9660cde␍␊ [13:47:01:453] B - 503341 - usb: fedl, vbus_low␍␊ [13:47:01:453] B - 506971 - Image Load, Start␍␊ [13:47:01:485] D - 53558 - QSEE Image Loaded, Delta - (1640572 Bytes)␍␊ [13:47:01:539] B - 560529 - Image Load, Start␍␊ [13:47:01:539] D - 183 - SEC Image Loaded, Delta - (4096 Bytes)␍␊ [13:47:01:539] B - 568093 - sbl1_efs_handle_cookies, Start␍␊ [13:47:01:539] D - 183 - sbl1_efs_handle_cookies, Delta␍␊ [13:47:01:539] B - 576602 - Image Load, Start␍␊ [13:47:01:539] D - 14122 - QHEE Image Loaded, Delta - (254184 Bytes)␍␊ [13:47:01:539] B - 590754 - Image Load, Start␍␊ [13:47:01:539] D - 13725 - RPM Image Loaded, Delta - (223900 Bytes)␍␊ [13:47:01:539] B - 604693 - Image Load, Start␍␊ [13:47:01:539] D - 3782 - STI Image Loaded, Delta - (0 Bytes)␍␊ [13:47:01:555] B - 611738 - Image Load, Start␍␊ [13:47:01:587] D - 25163 - APPSBL Image Loaded, Delta - (510788 Bytes)␍␊ [13:47:01:587] B - 636992 - SBL1, End␍␊ [13:47:01:587] D - 556564 - SBL1, Delta␍␊ [13:47:01:587] S - Flash Throughput, 93000 KB/s (2721192 Bytes, 28958 us)␍␊ [13:47:01:603] S - DDR Frequency, 1017 MHz␍␊ [13:47:01:827] Android Bootloader - UART_DM Initialized!!!␍␊ [13:47:01:827] [0] BUILD_VERSION=␍␊ [13:47:01:827] [0] BUILD_DATE=19:02:19 - Apr 22 2020␍␊ [13:47:01:827] [0] welcome to lk␍␊ [13:47:01:827] ␍␊ [13:47:01:827] [10] platform_init()␍␊ [13:47:01:827] [10] target_init()␍␊ [13:47:01:827] [10] RPM GLink Init␍␊ [13:47:01:827] [10] Opening RPM Glink Port success␍␊ [13:47:01:827] [10] Opening SSR Glink Port success␍␊ [13:47:01:827] [20] Glink Connection between APPS and RPM established␍␊ [13:47:01:827] [20] Glink Connection between APPS and RPM established␍␊ [13:47:01:827] [40] UFS init success␍␊ [13:47:01:827] [40] Qseecom Init Done in Appsbl␍␊ [13:47:01:868] [40] secure app region addr=0x86600000 size=0x2200000[50] TZ App region notif returned with status:0 addr:86600000 size:35651584␍␊ [13:47:01:868] [60] TZ App log region register returned with status:0 addr:91698000 size:4096␍␊ [13:47:01:868] [60] Qseecom TZ Init Done in Appsbl␍␊ [13:47:01:868] [80] Loading cmnlib done␍␊ [13:47:01:868] [80] qseecom_start_app: Loading app keymaster for the first time'␍␊ [13:47:01:915] [110] <8>keymaster: "\"KEYMASTER Init \""␍␊ [13:47:01:915] [110] pm8x41_get_is_cold_boot: cold boot␍␊ [13:47:01:915] [120] fastboot_init()␍␊
When running any fastboot command we get:
< waiting
for
any device >
We also tried to use QDL by turning on the necessary switches on dev board and running
sudo ./qdl prog_emmc_firehose_8996_ddr.elf rawprogram-820.xml patch.xml
Qdl finished successfully (“partition 1 is now bootable”), but the problem remained.
Do you have any suggestions?