Actions
EC25 QFlash¶
EC20v2 / EC21 / EC25 modules use a different firmware update format and utility.
Successful update:¶
./QFlash -f /tmp/ec25 -m 1 -p ttyUSB5 The CPU is little endian firmware path: /tmp/ec25 Module upgrade tool, Wed Aug 30 21:17:31 2017 /tmp/ec25/update/partition_nand.xml fail to open /tmp/ec25/update//update.qqb update_method = 1 Get Hello response packet! Get Hello response packet failed,now change the status! Module Status Detection The module in normal mode Switch to PRG status Get Hello response packet! Command is [0x01],length is [0x30] Send Hello response packet! Start Read Data! Send Hello response packet again! Start Read Data! progress : 100% finished Send Do packet! Module Status Detection The module in go mode Start to download firmware handle_parti_tbl command = 1a, status = 00 flash 0:SBL /tmp/ec25/update//sbl1.mbn sending '0:SBL' (195KB) progress : 100% finished OKAY The file download time is 1s : 52ms : 128us flash 0:TZ /tmp/ec25/update//tz.mbn sending '0:TZ' (499KB) progress : 100% finished OKAY The file download time is 0s : 918ms : 943us flash 0:RPM /tmp/ec25/update//rpm.mbn sending '0:RPM' (152KB) progress : 100% finished OKAY The file download time is 1s : 918ms : 943us flash 0:aboot /tmp/ec25/update//appsboot.mbn sending '0:aboot' (252KB) progress : 100% finished OKAY The file download time is 0s : 468ms : 358us flash 0:boot /tmp/ec25/update//mdm9607-perf-boot.img sending '0:boot' (5600KB) progress : 100% finished OKAY The file download time is 11s : 468ms : 358us flash 0:modem /tmp/ec25/update//NON-HLOS.ubi sending '0:modem' (40448KB) progress : 100% finished OKAY The file download time is 1min : 16s : 62ms : 382us flash 0:recovery /tmp/ec25/update//mdm9607-perf-boot.img sending '0:recovery' (5600KB) progress : 100% finished OKAY The file download time is 10s : 481ms : 385us flash 0:recoveryfs /tmp/ec25/update//mdm-perf-recovery-image-mdm9607-perf.ubi sending '0:recoveryfs' (10496KB) progress : 100% finished OKAY The file download time is 20s : 481ms : 385us flash 0:sys_back /tmp/ec25/update//mdm9607-perf-sysfs.ubi sending '0:sys_back' (45312KB) progress : 100% finishedhed OKAY The file download time is 1min : 23s : 467ms : 151us flash 0:system /tmp/ec25/update//mdm9607-perf-sysfs.ubi sending '0:system' (45312KB) progress : 100% finished OKAY The file download time is 1min : 27s : 467ms : 151us the device restart... Wlecome to use the Quectel module!!! Upgrade module successfully, Wed Aug 30 21:23:20 2017 THE TOTAL DOWNLOAD TIME IS 5min : 49s : 70ms : 989us
Console output during upgrade¶
Very early during the upgrade the modem is rebooted and prints
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-00055 S - IMAGE_VARIANT_STRING=LAATANAZA S - OEM_IMAGE_VERSION_STRING=Ivan-PC S - Boot Config, 0x000002e1 B - 1216 - PBL, Start B - 3723 - bootable_media_detect_entry, Start B - 4392 - bootable_media_detect_success, Start B - 4396 - elf_loader_entry, Start B - 7848 - auth_hash_seg_entry, Start B - 8070 - auth_hash_seg_exit, Start B - 50656 - elf_segs_hash_verify_entry, Start B - 90410 - PBL, End B - 98850 - SBL1, Start B - 156587 - pm_device_init, Start B - 176778 - PM_SET_VAL:Skip D - 18239 - pm_device_init, Delta B - 177784 - boot_config_data_table_init, Start D - 174948 - boot_config_data_table_init, Delta - (420 Bytes) B - 356240 - CDT version:3,Platform ID:8,Major ID:1,Minor ID:0,Subtype:0 B - 362675 - sbl1_ddr_set_params, Start B - 366152 - cpr_init, Start D - 0 - cpr_init, Delta B - 371795 - Pre_DDR_clock_init, Start D - 213 - Pre_DDR_clock_init, Delta D - 0 - sbl1_ddr_set_params, Delta B - 384513 - pm_driver_init, Start D - 4605 - pm_driver_init, Delta B - 397049 - sbl1_qhsusb_al_do_fast_enum, Start D - 30 - sbl1_qhsusb_al_do_fast_enum, Delta B - 400007 - clock_init, Start D - 152 - clock_init, Delta B - 405802 - boot_flash_init, Start D - 37179 - boot_flash_init, Delta B - 4729574 - Sahara: Hello pkt sent B - 4729726 - Sahara: Hello pkt sent B - 4730214 - Sahara: Hello pkt sent B - 4733783 - Sahara: Hello pkt sent B - 4737229 - Sahara: Hello pkt sent B - 4740706 - Sahara: Hello pkt sent B - 4744153 - Sahara: Hello pkt sent B - 7734800 - Sahara: Hello pkt sent
Updated by laforge almost 7 years ago · 3 revisions