BG95-M3: fw update

Hello everyone,

I need to upgrade the fw of the module BG95 to use CoAP protocol.
The module now it’s running this version:

at+qgmr
BG95M3LAR02A03_01.005.01.005

I received the new fw and QFlash, but I need to cross compile QFlash for an ARMv7 linux-based.
I’m trying to cross compile but It end up with these errors:

rm -rf out libs *.o QFlash QFlash *~
cd firehose && make clean && cd …
make[1]: Entering directory ‘/home/ubuntu/utilities_LpEi1/Modem_NBIoT/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/QFlash_2.0/firehose’
rm -rf qfirehose obj libs android usb2tcp *~
make[1]: Leaving directory ‘/home/ubuntu/utilities_LpEi1/Modem_NBIoT/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/QFlash_2.0/firehose’
cd fastboot && make clean && cd …
make[1]: Entering directory ‘/home/ubuntu/utilities_LpEi1/Modem_NBIoT/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/QFlash_2.0/fastboot’
rm -rf out libs *.o qfastboot *~
make[1]: Leaving directory ‘/home/ubuntu/utilities_LpEi1/Modem_NBIoT/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/LTE&LTE-A_QFlash_Linux&Android_V2.0_20190604-1618/QFlash_2.0/fastboot’

rm -rf *.o
arm-poky-linux-gnueabi-gcc -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi -D __ARM_PCS_VFP -g -c -DPROGRESS_FILE_FEATURE -DUSE_FASTBOOT fastboot/protocol.c fastboot/engine.c fastboot/fastboot.c fastboot/usb_linux_fastboot.c fastboot/util_linux.c fastboot/quectel_log.c
arm-poky-linux-gnueabi-gcc -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi -D __ARM_PCS_VFP -g -c -DPROGRESS_FILE_FEATURE -DFIREHOSE_ENABLE firehose/qfirehose.c firehose/sahara_protocol.c firehose/firehose_protocol.c firehose/usb_linux.c firehose/stream_download_protocol.c firehose/firehose_md5.c
arm-poky-linux-gnueabi-g++ -O2 -pipe -g -feliminate-unused-debug-types --sysroot=/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/cortexa7t2hf-neon-poky-linux-gnueabi -D __ARM_PCS_VFP -g -c -DPROGRESS_FILE_FEATURE -DFIREHOSE_ENABLE tinystr.cpp tinyxml.cpp tinyxmlerror.cpp tinyxmlparser.cpp md5.cpp at_tok.cpp atchannel.cpp ril-daemon.cpp download.cpp file.cpp os_linux.cpp serialif.cpp quectel_log.cpp quectel_common.cpp quectel_crc.cpp check_env.cpp
arm-poky-linux-gnueabi-g++ *.o -lrt -lpthread -o QFlash
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find crt1.o: No such file or directory
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find crti.o: No such file or directory
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find crtbegin.o: No such file or directory
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lrt
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lpthread
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lstdc++
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lm
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lgcc_s
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lgcc
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lc
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lgcc_s
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find -lgcc
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find crtend.o: No such file or directory
/home/ubuntu/fsl-imx-x11/5.4-zeus/sysroots/x86_64-pokysdk-linux/usr/libexec/arm-poky-linux-gnueabi/gcc/arm-poky-linux-gnueabi/9.2.0/real-ld: cannot find crtn.o: No such file or directory
collect2: error: ld returned 1 exit status
Makefile:75: recipe for target ‘all’ failed
make: *** [all] Error 1

Someone can help me to figure out the problem?
Thank you
GS

this version is too old pls kindly download the newest Qfirehose tools version from the below link :slight_smile:

https://cnquectel-my.sharepoint.com/:f:/g/personal/america-fae_quectel_com/EkupOUmUn1VNtNLGJd3BDTgBKpwx1XE2i3CrsFu9tqhFDw?e=iQV14

anymore issue , pls send email to support@quectel.com

Thank you stephen.li. Is it possible to download the new version of QFlash tool, that includes the newest version of Qfirehose?

Hello!

Where can we download the latest QFlash tool for Linux available to update BG95-M3?

Thanks.

To upgrade the BG95-M3 you need only the Qfirehose tools, cross compile for your platform and then type the command:

$> ./QFirehose -f fw_dir_path