1 include $(TOPDIR
)/rules.mk
7 PKG_SOURCE
:=$(PKG_NAME
)-$(PKG_VERSION
).
tar.gz
8 PKG_SOURCE_URL
:=https
://codeload.github.com
/nippynetworks
/qfirehose
/tar.gz
/$(PKG_VERSION
)?
9 PKG_HASH
:=b7c04f9356823c6ee0f4ca152e8fd2015f34b95490cea68461a060993befadef
11 PKG_MAINTAINER
:=Oskari Rauta
<oskari.rauta@gmail.com
>
13 PKG_LICENSE_FILES
:=NOTICE
15 include $(INCLUDE_DIR
)/package.mk
17 define Package
/qfirehose
20 TITLE
:=Quectel Firehose Recovery application
21 URL
:=https
://github.com
/nippynetworks
/qfirehose
24 define Package
/qfirehose
/description
25 Utility that is able to flash firmwares on Quectel
's modems.
26 Usage: qfirehose -f FW_PATH
30 - Use of software is completely on your own risk.
31 Flashing wrong firmware or failed flash can brick your modem permanently.
32 Avoid flashing, if device works without issues and updated firmware does not contain new necessary changes.
33 Do not flash, if you are not willing to take this risk or do not know what you are doing.
35 - After succesful flashing, you should use terminal to issue factory reset for modem settings with AT&F command.
37 - mPCIe users (mostly): If modem has completely disappeared after succesful flashing, reason might be that some firmware updates
38 set default mode to USB3 which is unsupported by some mPCIe slots, in this case, you should connect it to USB
39 port using mPCIe -> USB adapter, even most of cheap chinese modules can reveal device. After this you should issue
40 a command to use USB2, which may vary between models, but on most Quectel modems is: AT+QUSBCFG="SS",0
41 Changing value on end of AT command 0 to 1, selects USB3 instead. Refer to documents of your modem.
44 define Build/Configure
45 $(RM) $(PKG_BUILD_DIR)/QFirehose
50 define Package/qfirehose/install
51 $(INSTALL_DIR) $(1)/usr/bin
52 $(INSTALL_BIN) $(PKG_BUILD_DIR)/QFirehose $(1)/usr/bin/qfirehose
55 $(eval $(call BuildPackage,qfirehose))