diff --git a/package/firmware/linux-firmware/Makefile b/package/firmware/linux-firmware/Makefile index e42874af76f..38ea815dc2f 100644 --- a/package/firmware/linux-firmware/Makefile +++ b/package/firmware/linux-firmware/Makefile @@ -11,10 +11,10 @@ PKG_NAME:=linux-firmware PKG_RELEASE:=1 PKG_SOURCE_PROTO:=git -PKG_SOURCE_URL:=https://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git -PKG_SOURCE_DATE:=2017-09-06 -PKG_SOURCE_VERSION:=a61ac5cf8374edbfe692d12f805a1b194f7fead2 -PKG_MIRROR_HASH:=b827bf760de57b907df159c8d38d7c3fb5b4a691781114c47739e20bffb3a312 +PKG_SOURCE_DATE:=2018-08-03 +PKG_SOURCE_VERSION:=7b5835fd37630d18ac0c755329172f6a17c1af29 +#PKG_MIRROR_HASH:=dd300f3f28b8f8c07c93065fd9dc1c9785ebda8f15398b4d2d33f9418adcaf46 +PKG_SOURCE_URL:=git://git.kernel.org/pub/scm/linux/kernel/git/firmware/linux-firmware.git PKG_MAINTAINER:=Felix Fietkau diff --git a/package/firmware/linux-firmware/qca_ath10k.mk b/package/firmware/linux-firmware/qca_ath10k.mk new file mode 100644 index 00000000000..a7c5b13b84e --- /dev/null +++ b/package/firmware/linux-firmware/qca_ath10k.mk @@ -0,0 +1,105 @@ +QCA99X0_BOARD_REV:=ddcec9efd245da9365c474f513a855a55f3ac7fe +QCA99X0_BOARD_FILE:=board-2.bin.$(QCA99X0_BOARD_REV) + +define Download/qca99x0-board + URL:=https://source.codeaurora.org/quic/qsdk/oss/firmware/ath10k-firmware/plain/ath10k/QCA99X0/hw2.0 + URL_FILE:=board-2.bin?id=$(QCA99X0_BOARD_REV) + FILE:=$(QCA99X0_BOARD_FILE) + HASH:=03711ac21e60ef59d3815e235eb721c0c22851b5410299411085aa6f2af45401 +endef +$(eval $(call Download,qca99x0-board)) + +Package/ath10k-firmware-qca4019 = $(call Package/firmware-default,ath10k qca4019 firmware) +define Package/ath10k-firmware-qca4019/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA4019/hw1.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/board-2.bin \ + $(1)/lib/firmware/ath10k/QCA4019/hw1.0/ + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA4019/hw1.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA4019/hw1.0/firmware-5.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca4019)) + +Package/ath10k-firmware-qca9887 = $(call Package/firmware-default,ath10k qca9887 firmware) +define Package/ath10k-firmware-qca9887/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9887/hw1.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA9887/hw1.0/firmware-5.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9887/hw1.0/board.bin \ + $(1)/lib/firmware/ath10k/QCA9887/hw1.0/board.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca9887)) + +Package/ath10k-firmware-qca9888 = $(call Package/firmware-default,ath10k qca9888 firmware) +define Package/ath10k-firmware-qca9888/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9888/hw2.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/board-2.bin \ + $(1)/lib/firmware/ath10k/QCA9888/hw2.0/board-2.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9888/hw2.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA9888/hw2.0/firmware-5.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca9888)) + +Package/ath10k-firmware-qca988x = $(call Package/firmware-default,ath10k qca988x firmware) +define Package/ath10k-firmware-qca988x/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA988X/hw2.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/board.bin \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/ + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA988X/hw2.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA988X/hw2.0/firmware-5.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca988x)) + +Package/ath10k-firmware-qca6174 = $(call Package/firmware-default,ath10k qca6174 firmware) +define Package/ath10k-firmware-qca6174/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw2.1 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/board-2.bin \ + $(1)/lib/firmware/ath10k/QCA6174/hw2.1/ + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA6174/hw2.1/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA6174/hw2.1/firmware-5.bin + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA6174/hw3.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/board-2.bin \ + $(1)/lib/firmware/ath10k/QCA6174/hw3.0/ + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA6174/hw3.0/firmware-6.bin \ + $(1)/lib/firmware/ath10k/QCA6174/hw3.0/firmware-6.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca6174)) + +Package/ath10k-firmware-qca99x0 = $(call Package/firmware-default,ath10k qca99x0 firmware) +define Package/ath10k-firmware-qca99x0/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA99X0/hw2.0 + $(INSTALL_DATA) \ + $(DL_DIR)/$(QCA99X0_BOARD_FILE) \ + $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board-2.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA99X0/hw2.0/board.bin \ + $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/board.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA99X0/hw2.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA99X0/hw2.0/firmware-5.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca99x0)) + +Package/ath10k-firmware-qca9984 = $(call Package/firmware-default,ath10k qca9984 firmware) +define Package/ath10k-firmware-qca9984/install + $(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9984/hw1.0 + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/board-2.bin \ + $(1)/lib/firmware/ath10k/QCA9984/hw1.0/board-2.bin + $(INSTALL_DATA) \ + $(PKG_BUILD_DIR)/ath10k/QCA9984/hw1.0/firmware-5.bin \ + $(1)/lib/firmware/ath10k/QCA9984/hw1.0/firmware-5.bin +endef +$(eval $(call BuildPackage,ath10k-firmware-qca9984)) +