From 926efa11bacaaf9124ed20146b268f0d4bc6186f Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Pawe=C5=82=20Owoc?= Date: Fri, 18 Oct 2024 23:52:57 +0200 Subject: [PATCH] ath11k-firmware: use new board file for QCN9074 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Board file distributed with QCN9074 firmware is old (comes from firmware 2.5) Use new board file from firmware 2.9.0.1-01977 that is available on codelinaro git repository. Signed-off-by: Paweł Owoc --- package/firmware/ath11k-firmware/Makefile | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) diff --git a/package/firmware/ath11k-firmware/Makefile b/package/firmware/ath11k-firmware/Makefile index 0acc3f9f1a4..4a06810d460 100644 --- a/package/firmware/ath11k-firmware/Makefile +++ b/package/firmware/ath11k-firmware/Makefile @@ -51,6 +51,17 @@ define Build/Compile endef +QCN9074_BOARD_REV:=9372f0a3be311bfaa11a214d039aa0fae5a74756 +QCN9074_BOARD_FILE:=board-2.bin.$(QCN9074_BOARD_REV) + +define Download/qcn9074-board + URL:=https://git.codelinaro.org/clo/qsdk/oss/ath11k-bdf/-/raw/NHSS.QSDK.12.4.5/QCN9074/hw1.0/WLAN.HK.2.9.0.1/WLAN.HK.2.9.0.1-01977-QCAHKSWPL_SILICONZ-1/ + URL_FILE:=board-2.bin + FILE:=$(QCN9074_BOARD_FILE) + HASH:=2379460b1f9d44bb2d23d50712d6acf04cd067b5fd748043aeba3554190a84e9 +endef +$(eval $(call Download,qcn9074-board)) + define Package/ath11k-firmware-ipq6018/install $(INSTALL_DIR) $(1)/lib/firmware/IPQ6018 $(INSTALL_DATA) \ @@ -71,7 +82,7 @@ define Package/ath11k-firmware-qcn9074/install $(PKG_BUILD_DIR)/QCN9074/hw1.0/2.9.0.1/WLAN.HK.2.9.0.1-02146-QCAHKSWPL_SILICONZ-1/* \ $(1)/lib/firmware/ath11k/QCN9074/hw1.0/ $(INSTALL_BIN) \ - $(PKG_BUILD_DIR)/QCN9074/hw1.0/board-2.bin $(1)/lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin + $(DL_DIR)/$(QCN9074_BOARD_FILE) $(1)/lib/firmware/ath11k/QCN9074/hw1.0/board-2.bin endef $(eval $(call BuildPackage,ath11k-firmware-ipq6018))