QFlash segment faults

Hi,

I was trying to use QFlash for Linux to update FM on BG96 but I got the segment faults at the end after changing to fastboot mode.

This is the output of QFlash. Any suggestion would be appreciated. Thanks a lot!

# QFlash -f BG96MAR02A11M1G_01.016.01.016/ -m 1
[10-18_21:11:54:703] QFlash Version: LTE&LTE-A_QFlash_Linux&Android_V2.0.0
[10-18_21:11:54:704] Builded at: Sep  5 2020 19:10:00
sh: dpkg: command not found
[10-18_21:11:54:756] Host runtime enviroment check ok
[10-18_21:11:54:756]
[10-18_21:11:54:757] The CPU is little endian
[10-18_21:11:54:757]
[10-18_21:11:54:757] Warn: Fail to open pipe "/data/update.conf"
[10-18_21:11:54:758] Warn: If you want to the feature of 'upgrate progress', you need to read "/data/update.conf"
[10-18_21:11:54:758] Module upgrade tool, Mon Oct 18 21:11:54 2021

[10-18_21:11:54:761] Auto detect quectel diagnose port = ttyUSB0
[10-18_21:11:54:762] Detect /data/QFlash/BG96MAR02A11M1G_01.016.01.016//md5.txt file.
[10-18_21:11:54:765] md5 checking enable.
[10-18_21:11:54:768] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//contents.xml pass
[10-18_21:11:54:791] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update/partition_nand.xml pass
[10-18_21:11:54:826] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//sbl1.mbn pass
[10-18_21:11:54:828] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//partition.mbn pass
[10-18_21:11:54:884] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//tz.mbn pass
[10-18_21:11:54:911] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//mba.mbn pass
[10-18_21:11:54:927] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//acdb.mbn pass
[10-18_21:11:54:945] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//rpm.mbn pass
[10-18_21:11:57:242] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//qdsp6sw.mbn pass
[10-18_21:11:57:638] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//apps.mbn pass
[10-18_21:11:57:640] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//sec.dat pass
[10-18_21:11:57:645] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//efs2apps.mbn pass
[10-18_21:11:57:659] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//NPRG9x06.mbn pass
[10-18_21:11:57:672] md5 checking: /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//ENPRG9x06.mbn pass
[10-18_21:11:57:672] Warn: firehose direcotry missing, firehose upgarde not supported
[10-18_21:11:57:672] Warn: try to continue using method 0...
[10-18_21:11:57:673] file total size: 29180975
[10-18_21:11:57:674] module platform : 9X06
[10-18_21:11:57:677] product model = Quectel

[10-18_21:11:57:685] Start to open com port: /dev/ttyUSB0
[10-18_21:11:57:686] Warn: Open com port: /dev/ttyUSB0 OK!
[10-18_21:11:57:689] Use normal diag port
[10-18_21:11:57:689] Get sahara hello packet!
[10-18_21:11:59:693] Error: Timeout Occured, No response or command came from the target!
[10-18_21:11:59:693] Error: Get sahara hello packet failed.
[10-18_21:11:59:693] Detect module status!
[10-18_21:11:59:693] Module status detect
[10-18_21:12:00:703] The module in normal mode
[10-18_21:12:00:704]
[10-18_21:12:00:704] Software Revision = BG96MAR02A07M1G
[10-18_21:12:00:705] Switch to PRG status
[  514.190000] usb 1-2: USB disconnect, device number 2
[  514.190000] option1 ttyUSB0: GSM modem (1-port) converter now disconnected from ttyUSB0
[  514.200000] option 1-2:1.0: device disconnected
[  514.230000] option1 ttyUSB1: GSM modem (1-port) converter now disconnected from ttyUSB1
[  514.230000] option 1-2:1.1: device disconnected
[  514.280000] option1 ttyUSB2: GSM modem (1-port) converter now disconnected from ttyUSB2
[  514.290000] option 1-2:1.2: device disconnected
[  514.320000] option1 ttyUSB3: GSM modem (1-port) converter now disconnected from ttyUSB3
[  514.320000] option 1-2:1.3: device disconnected
[  514.330000] qmi_wwan 1-2:1.4 wwan0: unregister 'qmi_wwan' usb-500000.ehci-2, WWAN/QMI device
[10-18_21:12:02:874] Diagnose port disconnect
[  515.750000] usb 1-2: new high-speed USB device number 3 using atmel-ehci
[  515.950000] option 1-2:1.0: GSM modem (1-port) converter detected
[  515.960000] usb 1-2: GSM modem (1-port) converter now attached to ttyUSB0
[10-18_21:12:04:895] Diagnose port connected.
[10-18_21:12:05:903] Start to open com port: /dev/ttyUSB0
[10-18_21:12:05:929] Warn: Open com port: /dev/ttyUSB0 OK!
[10-18_21:12:05:930] Try get sahara hello packet!
[10-18_21:12:05:930] Get sahara hello packet successfully!
[10-18_21:12:05:930] Send sahara hello response packet(2)!
[10-18_21:12:08:933] Start Read Data!
[10-18_21:12:08:934] Send sahara hello response packet(1)!
[10-18_21:12:11:943] Start Read Data!
[10-18_21:12:11:945] Sahara send /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//NPRG9x06.mbn
10-18_21:12:11:978 progress : 100% finished
[10-18_21:12:11:979] Send sahara do packet!
[10-18_21:12:11:980] Module Status Detection
[10-18_21:12:11:980] Upgrade in normal mode
[10-18_21:12:28:283] Warn: Diagnose port may be exist always.
[10-18_21:12:29:295] Diagnose port connected.
[10-18_21:12:30:303] Start to open com port: /dev/ttyUSB0
[10-18_21:12:30:304] Warn: Open com port: /dev/ttyUSB0 OK!
[10-18_21:12:30:304] Module status detect
[10-18_21:12:31:313] The module in go mode
[10-18_21:12:31:313] Start to download firmware
[10-18_21:12:31:385] handle_parti_tbl command = 1a, status = 00
[10-18_21:12:31:385] flash 0:misc misc
[10-18_21:12:31:393] sending '0:misc' (4KB)
10-18_21:12:31:404 progress : 100% finished
[10-18_21:12:31:405] OKAY
[10-18_21:12:31:406] flash 0:SBL /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//sbl1.mbn
[10-18_21:12:31:416] sending '0:SBL' (222KB)
10-18_21:12:32:706 progress : 100% finished
[10-18_21:12:32:709] OKAY
[10-18_21:12:32:709] Warn: Fail to open pipe "/data/update.conf"
[10-18_21:12:32:709] Warn: If you want to the feature of 'upgrate progress', you need to read "/data/update.conf"
[10-18_21:12:32:709] flash 0:TZ /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//tz.mbn
[10-18_21:12:32:723] sending '0:TZ' (538KB)
10-18_21:12:35:900 progress : 100% finished
[10-18_21:12:35:903] OKAY
[10-18_21:12:35:903] Warn: Fail to open pipe "/data/update.conf"
[10-18_21:12:35:903] Warn: If you want to the feature of 'upgrate progress', you need to read "/data/update.conf"
[10-18_21:12:35:904] flash 0:RPM /data/QFlash/BG96MAR02A11M1G_01.016.01.016//update//rpm.mbn
[10-18_21:12:35:912] sending '0:RPM' (152KB)
10-18_21:12:36:668 progress : 100% finished
[10-18_21:12:36:670] OKAY
[10-18_21:12:36:671] Warn: Fail to open pipe "/data/update.conf"
[10-18_21:12:36:671] Warn: If you want to the feature of 'upgrate progress', you need to read "/data/update.conf"
[10-18_21:12:36:671] Change to fastboot mode...
[10-18_21:12:36:671] flash 0:boot invalid-boot

[10-18_21:12:36:672] Warn: handle_openmulti unknow packet header 0xe
[10-18_21:12:36:673] Error: 0:boot open failed
Segmentation fault

This is my directory:

./BG96MAR02A11M1G_01.016.01.016
./BG96MAR02A11M1G_01.016.01.016/sdk
./BG96MAR02A11M1G_01.016.01.016/sdk/Quectel_BG96_QuecOpen_SDK_Package_V2.11.1.1.zip
./BG96MAR02A11M1G_01.016.01.016/md5.txt
./BG96MAR02A11M1G_01.016.01.016/contents.xml
./BG96MAR02A11M1G_01.016.01.016/mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/AU
./BG96MAR02A11M1G_01.016.01.016/mbn/AU/Telstra
./BG96MAR02A11M1G_01.016.01.016/mbn/AU/Telstra/Telstra_Commercial
./BG96MAR02A11M1G_01.016.01.016/mbn/AU/Telstra/Telstra_Commercial/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/NA
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/Verizon
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/Verizon/Commercial
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/Verizon/Commercial/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/ATT
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/ATT/Non_VoLTE
./BG96MAR02A11M1G_01.016.01.016/mbn/NA/ATT/Non_VoLTE/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/China
./BG96MAR02A11M1G_01.016.01.016/mbn/China/Common
./BG96MAR02A11M1G_01.016.01.016/mbn/China/Common/China_Common
./BG96MAR02A11M1G_01.016.01.016/mbn/China/Common/China_Common/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/Korea
./BG96MAR02A11M1G_01.016.01.016/mbn/Korea/SKT
./BG96MAR02A11M1G_01.016.01.016/mbn/Korea/SKT/SKT_Commercial
./BG96MAR02A11M1G_01.016.01.016/mbn/Korea/SKT/SKT_Commercial/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/mbn/common
./BG96MAR02A11M1G_01.016.01.016/mbn/common/ROW
./BG96MAR02A11M1G_01.016.01.016/mbn/common/ROW/Commercial
./BG96MAR02A11M1G_01.016.01.016/mbn/common/ROW/Commercial/mcfg_sw.mbn
./BG96MAR02A11M1G_01.016.01.016/update
./BG96MAR02A11M1G_01.016.01.016/update/qdsp6sw.mbn
./BG96MAR02A11M1G_01.016.01.016/update/apps.mbn
./BG96MAR02A11M1G_01.016.01.016/update/sec.dat
./BG96MAR02A11M1G_01.016.01.016/update/ENPRG9x06.mbn
./BG96MAR02A11M1G_01.016.01.016/update/NPRG9x06.mbn
./BG96MAR02A11M1G_01.016.01.016/update/mba.mbn
./BG96MAR02A11M1G_01.016.01.016/update/partition.mbn
./BG96MAR02A11M1G_01.016.01.016/update/partition_nand.xml
./BG96MAR02A11M1G_01.016.01.016/update/tz.mbn
./BG96MAR02A11M1G_01.016.01.016/update/acdb.mbn
./BG96MAR02A11M1G_01.016.01.016/update/rpm.mbn
./BG96MAR02A11M1G_01.016.01.016/update/sbl1.mbn
./BG96MAR02A11M1G_01.016.01.016/update/efs2apps.mbn
./BG96MAR02A11M1G_01.016.01.016/Quectel_BG96_Firmware_Release_Notes_V0211.01.016.01.016.pdf
./firehose
./firehose/qfirehose
./fastboot
./fastboot/qfastboot
  1. I attached one operation log and one doc for your reference .
    https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/EmJWNe-SFkVFlKVNTLf_xw8BrgrerA6euszb5iaFw2NGCA?e=dbLeSv
    pls pay more attention to this doc。
    BG96-QFlash-upgrade.docx

  2. pls remove MD5 and try again .