Hi Jyijyi,
I am trying to flash our custom WP7608 board by swiflash command from host. The board has Release 16 binaries. I am getting following errors:
raghavan@raghavan-HP-350-G2:~/wp7608$ sudo swiflash -m “WP76XX” -i custom-firmware.spk
Detecting USB of the target
DONE
Communicating with the target
DONE
Switching to firmware download mode
…ERROR: Failed to enter download mode
raghavan@raghavan-HP-350-G2:~/wp7608$
Could you please tell me the reason for failure?.
Logs from board:
swi-mdm9x28-wp login: root
Password:
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~#
root@swi-mdm9x28-wp:~# [ 50.181132] gbam_connect_work: gbam_connect_work: Bam channel is not ready
[ 65.811296] diag: download mode set, Rebooting SoC…
[ 65.819538] reboot: Restarting system
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.BF.3.1.2-00089
S - IMAGE_VARIANT_STRING=LAATANAZA
S - OEM_IMAGE_VERSION_STRING=jenkins
S - Boot Config, 0x000002e1
B - 1216 - PBL, Start
B - 3720 - bootable_media_detect_entry, Start
B - 4400 - bootable_media_detect_success, Start
B - 4405 - elf_loader_entry, Start
B - 7859 - auth_hash_seg_entry, Start
B - 31513 - auth_hash_seg_exit, Start
B - 82902 - elf_segs_hash_verify_entry, Start
B - 129966 - PBL, End
B - 138104 - SBL1, Start
B - 195779 - pm_device_init, Start
B - 215879 - PM_SET_VAL:Skip
D - 18391 - pm_device_init, Delta
B - 217221 - boot_config_data_table_init, Start
D - 0 - boot_config_data_table_init, Delta - (0 Bytes)
B - 225944 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:129
B - 232837 - sbl1_ddr_set_params, Start
B - 236680 - Pre_DDR_clock_init, Start
D - 213 - Pre_DDR_clock_init, Delta
D - 0 - sbl1_ddr_set_params, Delta
B - 249368 - pm_driver_init, Start
D - 4483 - pm_driver_init, Delta
B - 255651 - cpr_init, Start
D - 122 - cpr_init, Delta
B - 260317 - cpr_cx_mx_apc_vol_update, Start
D - 91 - cpr_cx_mx_apc_vol_update, Delta
B - 275506 - clock_init, Start
D - 152 - clock_init, Delta
B - 275720 - boot_flash_init, Start
D - 40260 - boot_flash_init, Delta
B - 777048 - boot_flash_swi_ddr_init, Start
D - 28639 - boot_flash_swi_ddr_init, Delta
B - 919971 - hw_family:5, hw_type:23, hw_rev:40
B - 921130 - SSMEM init OK
B - 939095 - USB non-zero endpoint requirements: 9 in, 5 out
B - 940864 - opening partition 0:SWIFOTA
B - 942877 - error for readpage:0
B - 959011 - Failed to read size: /swinv/item_files/CUST_IM_SWITCH_HIDE
B - 964837 - Failed to read size: /swinv/item_files/FOTA_PARTITION
B - 965965 - Failed to read size: /swinv/item_files/CUST_IM_CONFIG
B - 986675 - ssmem_release: region 20 not exists
B - 986736 - ssmem_get: region 20 not exists
B - 992592 - smart recovery counter cleared
Thanks,
Raghavan.