photonicat-firmware: add ariaboard photonicat specific ath10-sdio fw

(cherry picked from commit 86314bc53c)
This commit is contained in:
coolsnowwolf
2025-09-19 16:40:44 +08:00
committed by Tianling Shen
parent e9ec9ca11c
commit 6557181ee6
4 changed files with 38 additions and 1 deletions

View File

@ -0,0 +1,37 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=photonicat-firmware
PKG_RELEASE:=1
PKG_FLAGS:=nonshared
include $(INCLUDE_DIR)/package.mk
define Package/photonicat-firmware-default
SECTION:=firmware
CATEGORY:=Firmware
TITLE:=$(1) firmware for Photonicat
DEPENDS:=@TARGET_rockchip_armv8 $(2)
CONFLICTS:=$(3)
endef
define Build/Compile
endef
Package/ath10k-board-qca9377-photonicat = $(call Package/photonicat-firmware-default,ath10k qca9377 board sdio,,ath10k-board-qca9377-sdio)
define Package/ath10k-board-qca9377-photonicat/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
$(INSTALL_DATA) \
$(CURDIR)/files/board.bin \
$(1)/lib/firmware/ath10k/QCA9377/hw1.0/board.bin
endef
$(eval $(call BuildPackage,ath10k-board-qca9377-photonicat))
Package/ath10k-firmware-qca9377-photonicat = $(call Package/photonicat-firmware-default,ath10k qca9377 sdio,+ath10k-board-qca9377-photonicat,ath10k-firmware-qca9377-sdio)
define Package/ath10k-firmware-qca9377-photonicat/install
$(INSTALL_DIR) $(1)/lib/firmware/ath10k/QCA9377/hw1.0
$(INSTALL_DATA) \
$(CURDIR)/files/firmware-sdio-5.bin \
$(1)/lib/firmware/ath10k/QCA9377/hw1.0/firmware-sdio-5.bin
endef
$(eval $(call BuildPackage,ath10k-firmware-qca9377-photonicat))

Binary file not shown.

View File

@ -15,7 +15,7 @@ define Device/ariaboard_photonicat
DEVICE_MODEL := Photonicat
SOC := rk3568
BOOT_FLOW := pine64-img
DEVICE_PACKAGES := kmod-ath10k-sdio ath10k-firmware-qca9377-sdio \
DEVICE_PACKAGES := kmod-ath10k-sdio ath10k-firmware-qca9377-photonicat \
wpad-openssl kmod-usb-net-cdc-mbim kmod-usb-net-qmi-wwan \
kmod-usb-serial-option uqmi pcat-mgr luci-mod-battstatus
endef