mirror of
https://github.com/immortalwrt/immortalwrt.git
synced 2025-10-30 07:49:55 +08:00
photonicat-firmware: add ariaboard photonicat specific ath10-sdio fw
(cherry picked from commit 86314bc53c)
This commit is contained in:
committed by
Tianling Shen
parent
e9ec9ca11c
commit
6557181ee6
37
package/firmware/photonicat-firmware/Makefile
Normal file
37
package/firmware/photonicat-firmware/Makefile
Normal 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))
|
||||
BIN
package/firmware/photonicat-firmware/files/board.bin
Normal file
BIN
package/firmware/photonicat-firmware/files/board.bin
Normal file
Binary file not shown.
BIN
package/firmware/photonicat-firmware/files/firmware-sdio-5.bin
Normal file
BIN
package/firmware/photonicat-firmware/files/firmware-sdio-5.bin
Normal file
Binary file not shown.
@ -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
|
||||
|
||||
Reference in New Issue
Block a user