mirror of
https://github.com/openwrt/openwrt.git
synced 2024-12-19 05:38:00 +00:00
mt76: add stand-alone MT7622 firmware package
Add a separate firmware package to avoid installing the MT7615 firmware on all MT7622 target devices by default. Now we only add MT7615 firmware packages for devices that use MT7615E. This commit also removes the explicit dependency on kmod-mt7615e to refine the package dependency. Signed-off-by: Shiji Yang <yangshiji66@qq.com>
This commit is contained in:
parent
fc9dd3f083
commit
9a07895729
@ -171,7 +171,7 @@ endef
|
||||
define KernelPackage/mt7615-firmware
|
||||
$(KernelPackage/mt76-default)
|
||||
TITLE:=MediaTek MT7615e firmware
|
||||
DEFAULT:=PACKAGE_kmod-mt7615e
|
||||
DEPENDS+=+kmod-mt7615e
|
||||
endef
|
||||
|
||||
define KernelPackage/mt7615e
|
||||
@ -182,6 +182,12 @@ define KernelPackage/mt7615e
|
||||
AUTOLOAD:=$(call AutoProbe,mt7615e)
|
||||
endef
|
||||
|
||||
define KernelPackage/mt7622-firmware
|
||||
$(KernelPackage/mt76-default)
|
||||
TITLE:=MediaTek MT7622 firmware
|
||||
DEPENDS+=+kmod-mt7615e
|
||||
endef
|
||||
|
||||
define KernelPackage/mt7663-firmware-ap
|
||||
$(KernelPackage/mt76-default)
|
||||
TITLE:=MediaTek MT7663e firmware (optimized for AP)
|
||||
@ -445,9 +451,14 @@ define KernelPackage/mt7615-firmware/install
|
||||
$(PKG_BUILD_DIR)/firmware/mt7615_cr4.bin \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7615_n9.bin \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7615_rom_patch.bin \
|
||||
$(if $(CONFIG_TARGET_mediatek_mt7622), \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7622_n9.bin \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7622_rom_patch.bin) \
|
||||
$(1)/lib/firmware/mediatek
|
||||
endef
|
||||
|
||||
define KernelPackage/mt7622-firmware/install
|
||||
$(INSTALL_DIR) $(1)/lib/firmware/mediatek
|
||||
cp \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7622_n9.bin \
|
||||
$(PKG_BUILD_DIR)/firmware/mt7622_rom_patch.bin \
|
||||
$(1)/lib/firmware/mediatek
|
||||
endef
|
||||
|
||||
@ -526,6 +537,7 @@ $(eval $(call KernelPackage,mt76-connac))
|
||||
$(eval $(call KernelPackage,mt76-sdio))
|
||||
$(eval $(call KernelPackage,mt7615-common))
|
||||
$(eval $(call KernelPackage,mt7615-firmware))
|
||||
$(eval $(call KernelPackage,mt7622-firmware))
|
||||
$(eval $(call KernelPackage,mt7615e))
|
||||
$(eval $(call KernelPackage,mt7663-firmware-ap))
|
||||
$(eval $(call KernelPackage,mt7663-firmware-sta))
|
||||
|
@ -129,7 +129,7 @@ define Device/buffalo_wsr-2533dhp2
|
||||
IMAGE/sysupgrade.bin := append-kernel | \
|
||||
buffalo-kernel-trx 0x32504844 $(KDIR)/tmp/$$(DEVICE_NAME).null | \
|
||||
sysupgrade-tar kernel=$$$$@ | append-metadata
|
||||
DEVICE_PACKAGES := swconfig
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware swconfig
|
||||
endef
|
||||
TARGET_DEVICES += buffalo_wsr-2533dhp2
|
||||
|
||||
@ -138,7 +138,7 @@ define Device/elecom_wrc-2533gent
|
||||
DEVICE_MODEL := WRC-2533GENT
|
||||
DEVICE_DTS := mt7622-elecom-wrc-2533gent
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_PACKAGES := kmod-btmtkuart kmod-usb3 swconfig
|
||||
DEVICE_PACKAGES := kmod-btmtkuart kmod-mt7615-firmware kmod-usb3 swconfig
|
||||
endef
|
||||
TARGET_DEVICES += elecom_wrc-2533gent
|
||||
|
||||
@ -251,7 +251,7 @@ define Device/totolink_a8000ru
|
||||
DEVICE_MODEL := A8000RU
|
||||
DEVICE_DTS := mt7622-totolink-a8000ru
|
||||
DEVICE_DTS_DIR := ../dts
|
||||
DEVICE_PACKAGES := swconfig
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware swconfig
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
endef
|
||||
TARGET_DEVICES += totolink_a8000ru
|
||||
|
@ -2,7 +2,7 @@ ARCH:=aarch64
|
||||
SUBTARGET:=mt7622
|
||||
BOARDNAME:=MT7622
|
||||
CPU_TYPE:=cortex-a53
|
||||
DEFAULT_PACKAGES += kmod-mt7615e kmod-mt7615-firmware wpad-basic-wolfssl uboot-envtools
|
||||
DEFAULT_PACKAGES += kmod-mt7622-firmware wpad-basic-wolfssl uboot-envtools
|
||||
KERNELNAME:=Image dtbs
|
||||
|
||||
define Target/Description
|
||||
|
@ -134,7 +134,7 @@ define Device/adslr_g7
|
||||
IMAGE_SIZE := 16064k
|
||||
DEVICE_VENDOR := ADSLR
|
||||
DEVICE_MODEL := G7
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += adslr_g7
|
||||
|
||||
@ -163,7 +163,7 @@ TARGET_DEVICES += alfa-network_quad-e4g
|
||||
define Device/ampedwireless_ally_common
|
||||
$(Device/dsa-migration)
|
||||
DEVICE_VENDOR := Amped Wireless
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware uboot-envtools
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware uboot-envtools
|
||||
IMAGE_SIZE := 32768k
|
||||
KERNEL_SIZE := 4096k
|
||||
BLOCKSIZE := 128k
|
||||
@ -231,7 +231,7 @@ define Device/asus_rp-ac87
|
||||
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | check-size
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
||||
check-size | append-metadata
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware rssileds
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware rssileds
|
||||
endef
|
||||
TARGET_DEVICES += asus_rp-ac87
|
||||
|
||||
@ -260,7 +260,7 @@ define Device/asus_rt-ac65p
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||
check-size
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += asus_rt-ac65p
|
||||
|
||||
@ -277,7 +277,7 @@ define Device/asus_rt-ac85p
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||
check-size
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615e kmod-mt7615-firmware uboot-envtools
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += asus_rt-ac85p
|
||||
|
||||
@ -328,7 +328,7 @@ define Device/beeline_smartbox-flash
|
||||
IMAGES += factory.trx
|
||||
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615e kmod-mt7615-firmware \
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware \
|
||||
uboot-envtools uencrypt
|
||||
endef
|
||||
TARGET_DEVICES += beeline_smartbox-flash
|
||||
@ -354,7 +354,7 @@ define Device/beeline_smartbox-turbo
|
||||
SERCOMM_SWVER := 1004
|
||||
DEVICE_VENDOR := Beeline
|
||||
DEVICE_MODEL := SmartBox TURBO
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware \
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
|
||||
kmod-usb3 uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += beeline_smartbox-turbo
|
||||
@ -401,7 +401,7 @@ define Device/buffalo_wsr-2533dhpl
|
||||
DEVICE_ALT0_VENDOR := Buffalo
|
||||
DEVICE_ALT0_MODEL := WSR-2533DHP
|
||||
IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += buffalo_wsr-2533dhpl
|
||||
|
||||
@ -464,7 +464,7 @@ define Device/cudy_wr2100
|
||||
DEVICE_MODEL := WR2100
|
||||
IMAGE_SIZE := 15872k
|
||||
UIMAGE_NAME := R11
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += cudy_wr2100
|
||||
|
||||
@ -482,7 +482,7 @@ define Device/dlink_dir-8xx-a1
|
||||
$(Device/dsa-migration)
|
||||
IMAGE_SIZE := 16000k
|
||||
DEVICE_VENDOR := D-Link
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
KERNEL := $$(KERNEL) | uimage-sgehdr
|
||||
IMAGES += factory.bin
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
||||
@ -494,7 +494,7 @@ define Device/dlink_dir-8xx-r1
|
||||
$(Device/dsa-migration)
|
||||
IMAGE_SIZE := 16064k
|
||||
DEVICE_VENDOR := D-Link
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
KERNEL_INITRAMFS := $$(KERNEL)
|
||||
IMAGE/sysupgrade.bin := append-kernel | append-rootfs | pad-rootfs | \
|
||||
check-size | append-metadata
|
||||
@ -508,7 +508,7 @@ define Device/dlink_dir-xx60-a1
|
||||
IMAGE_SIZE := 40960k
|
||||
UBINIZE_OPTS := -E 5
|
||||
DEVICE_VENDOR := D-Link
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport
|
||||
KERNEL := $$(KERNEL) | uimage-sgehdr
|
||||
IMAGES += factory.bin
|
||||
@ -661,7 +661,7 @@ define Device/edimax_ra21s
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elx-header 02020040 8844A2D168B45A2D
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += edimax_ra21s
|
||||
|
||||
@ -680,7 +680,7 @@ define Device/edimax_re23s
|
||||
IMAGE/factory.bin := append-kernel | append-rootfs | \
|
||||
edimax-header -s CSYS -m RN76 -f 0x70000 -S 0x01100000 | pad-rootfs | \
|
||||
check-size
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += edimax_re23s
|
||||
|
||||
@ -693,7 +693,7 @@ define Device/edimax_rg21s
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elx-header 02020038 8844A2D168B45A2D
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += edimax_rg21s
|
||||
|
||||
@ -705,7 +705,7 @@ define Device/elecom_wrc-1167ghbk2-s
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elecom-wrc-gs-factory WRC-1167GHBK2-S 0.00
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += elecom_wrc-1167ghbk2-s
|
||||
|
||||
@ -717,7 +717,7 @@ define Device/elecom_wrc-gs
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elecom-wrc-gs-factory $$$$(ELECOM_HWNAME) 0.00 -N | \
|
||||
append-string MT7621_ELECOM_$$$$(ELECOM_HWNAME)
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
|
||||
define Device/elecom_wrc-1167gs2-b
|
||||
@ -778,7 +778,7 @@ define Device/elecom_wrc-2533ghbk-i
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elx-header 0107002d 8844A2D168B45A2D | \
|
||||
elecom-product-header WRC-2533GHBK-I
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += elecom_wrc-2533ghbk-i
|
||||
|
||||
@ -814,7 +814,7 @@ define Device/etisalat_s3
|
||||
SERCOMM_SWVER := 4009
|
||||
DEVICE_VENDOR := Etisalat
|
||||
DEVICE_MODEL := S3
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware \
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
|
||||
kmod-usb3 uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += etisalat_s3
|
||||
@ -844,7 +844,7 @@ define Device/glinet_gl-mt1300
|
||||
IMAGE_SIZE := 32448k
|
||||
DEVICE_VENDOR := GL.iNet
|
||||
DEVICE_MODEL := GL-MT1300
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
endef
|
||||
TARGET_DEVICES += glinet_gl-mt1300
|
||||
|
||||
@ -971,7 +971,7 @@ define Device/humax_e10
|
||||
IMAGE/factory.bin := append-kernel | append-rootfs | pad-rootfs | \
|
||||
edimax-header -s CSYS -m EA03 -f 0x70000 -S 0x01100000 | \
|
||||
check-size | zip upg -P f013c26cf0a320fb71d03356dcb6bb63
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
endef
|
||||
TARGET_DEVICES += humax_e10
|
||||
|
||||
@ -1012,7 +1012,7 @@ define Device/iodata_wn-ax1167gr2
|
||||
DEVICE_MODEL := WN-AX1167GR2
|
||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
|
||||
uImage lzma -M 0x434f4d42 -n '3.10(XBC.1)b10' | iodata-mstc-header
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iodata_wn-ax1167gr2
|
||||
|
||||
@ -1021,7 +1021,7 @@ define Device/iodata_wn-ax2033gr
|
||||
DEVICE_MODEL := WN-AX2033GR
|
||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
|
||||
uImage lzma -M 0x434f4d42 -n '3.10(VST.1)C10' | iodata-mstc-header
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iodata_wn-ax2033gr
|
||||
|
||||
@ -1030,7 +1030,7 @@ define Device/iodata_wn-dx1167r
|
||||
DEVICE_MODEL := WN-DX1167R
|
||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
|
||||
uImage lzma -M 0x434f4d43 -n '3.10(XIK.1)b10' | iodata-mstc-header
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iodata_wn-dx1167r
|
||||
|
||||
@ -1048,7 +1048,7 @@ define Device/iodata_wn-dx2033gr
|
||||
DEVICE_MODEL := WN-DX2033GR
|
||||
KERNEL_INITRAMFS := $(KERNEL_DTB) | loader-kernel | lzma | \
|
||||
uImage lzma -M 0x434f4d42 -n '3.10(XID.0)b30' | iodata-mstc-header
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iodata_wn-dx2033gr
|
||||
|
||||
@ -1071,7 +1071,7 @@ define Device/iodata_wnpr2600g
|
||||
IMAGES += factory.bin
|
||||
IMAGE/factory.bin := $$(sysupgrade_bin) | check-size | \
|
||||
elx-header 0104003a 8844A2D168B45A2D
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iodata_wnpr2600g
|
||||
|
||||
@ -1081,7 +1081,7 @@ define Device/iptime_a3002mesh
|
||||
UIMAGE_NAME := a3002me
|
||||
DEVICE_VENDOR := ipTIME
|
||||
DEVICE_MODEL := A3002MESH
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += iptime_a3002mesh
|
||||
|
||||
@ -1109,7 +1109,7 @@ define Device/iptime_a3004t
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_VENDOR := ipTIME
|
||||
DEVICE_MODEL := A3004T
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
endef
|
||||
TARGET_DEVICES += iptime_a3004t
|
||||
|
||||
@ -1119,7 +1119,7 @@ define Device/iptime_a6004ns-m
|
||||
UIMAGE_NAME := a6004nm
|
||||
DEVICE_VENDOR := ipTIME
|
||||
DEVICE_MODEL := A6004NS-M
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport
|
||||
endef
|
||||
TARGET_DEVICES += iptime_a6004ns-m
|
||||
@ -1130,7 +1130,7 @@ define Device/iptime_a6ns-m
|
||||
UIMAGE_NAME := a6nm
|
||||
DEVICE_VENDOR := ipTIME
|
||||
DEVICE_MODEL := A6ns-M
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport
|
||||
endef
|
||||
TARGET_DEVICES += iptime_a6ns-m
|
||||
@ -1141,7 +1141,7 @@ define Device/iptime_a8004t
|
||||
UIMAGE_NAME := a8004t
|
||||
DEVICE_VENDOR := ipTIME
|
||||
DEVICE_MODEL := A8004T
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
endef
|
||||
TARGET_DEVICES += iptime_a8004t
|
||||
|
||||
@ -1188,7 +1188,7 @@ define Device/jcg_jhr-ac876m
|
||||
JCG_MAXSIZE := 16064k
|
||||
DEVICE_VENDOR := JCG
|
||||
DEVICE_MODEL := JHR-AC876M
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport
|
||||
endef
|
||||
TARGET_DEVICES += jcg_jhr-ac876m
|
||||
@ -1220,7 +1220,7 @@ define Device/jcg_y2
|
||||
JCG_MAXSIZE := 16064k
|
||||
DEVICE_VENDOR := JCG
|
||||
DEVICE_MODEL := Y2
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
endef
|
||||
TARGET_DEVICES += jcg_y2
|
||||
|
||||
@ -1286,7 +1286,7 @@ define Device/linksys_ea7xxx
|
||||
KERNEL_SIZE := 4096k
|
||||
IMAGE_SIZE := 36864k
|
||||
DEVICE_VENDOR := Linksys
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615e kmod-mt7615-firmware \
|
||||
DEVICE_PACKAGES := kmod-usb3 kmod-mt7615-firmware \
|
||||
uboot-envtools
|
||||
UBINIZE_OPTS := -E 5
|
||||
IMAGES := sysupgrade.bin factory.bin
|
||||
@ -1468,7 +1468,7 @@ define Device/mts_wg430223
|
||||
IMAGES += factory.trx
|
||||
IMAGE/factory.trx := append-kernel | append-ubi | check-size
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware uboot-envtools uencrypt
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware uboot-envtools uencrypt
|
||||
endef
|
||||
TARGET_DEVICES += mts_wg430223
|
||||
|
||||
@ -1525,7 +1525,7 @@ define Device/netgear_r6260
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x0052
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6260
|
||||
|
||||
@ -1537,7 +1537,7 @@ define Device/netgear_r6350
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x0052
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6350
|
||||
|
||||
@ -1556,7 +1556,7 @@ define Device/netgear_r6700-v2
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x1032
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6700-v2
|
||||
|
||||
@ -1568,7 +1568,7 @@ define Device/netgear_r6800
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x0062
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6800
|
||||
|
||||
@ -1580,7 +1580,7 @@ define Device/netgear_r6850
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x0052
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6850
|
||||
|
||||
@ -1593,7 +1593,7 @@ define Device/netgear_r6900-v2
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x1032
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r6900-v2
|
||||
|
||||
@ -1605,7 +1605,7 @@ define Device/netgear_r7200
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x1032
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r7200
|
||||
|
||||
@ -1617,7 +1617,7 @@ define Device/netgear_r7450
|
||||
SERCOMM_HWVER := A001
|
||||
SERCOMM_SWVER := 0x1032
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_r7450
|
||||
|
||||
@ -1641,7 +1641,7 @@ define Device/netgear_wac124
|
||||
SERCOMM_HWVER := A003
|
||||
SERCOMM_SWVER := 0x0402
|
||||
IMAGE_SIZE := 40960k
|
||||
DEVICE_PACKAGES += kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += netgear_wac124
|
||||
|
||||
@ -1713,7 +1713,7 @@ define Device/oraybox_x3a
|
||||
IMAGE_SIZE := 15360k
|
||||
DEVICE_VENDOR := OrayBox
|
||||
DEVICE_MODEL := X3A
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += oraybox_x3a
|
||||
|
||||
@ -1725,7 +1725,7 @@ define Device/phicomm_k2p
|
||||
DEVICE_ALT0_VENDOR := Phicomm
|
||||
DEVICE_ALT0_MODEL := KE 2P
|
||||
SUPPORTED_DEVICES += k2p
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += phicomm_k2p
|
||||
|
||||
@ -1754,7 +1754,7 @@ define Device/raisecom_msg1500-x-00
|
||||
DEVICE_VARIANT := X.00
|
||||
DEVICE_ALT0_VENDOR := Nokia
|
||||
DEVICE_ALT0_MODEL := A-040W-Q
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += raisecom_msg1500-x-00
|
||||
@ -1778,7 +1778,7 @@ define Device/rostelecom_rt-sf-1
|
||||
SERCOMM_SWVER := 1026
|
||||
DEVICE_VENDOR := Rostelecom
|
||||
DEVICE_MODEL := RT-SF-1
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware \
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware \
|
||||
kmod-usb3 uboot-envtools
|
||||
endef
|
||||
TARGET_DEVICES += rostelecom_rt-sf-1
|
||||
@ -1890,7 +1890,7 @@ define Device/totolink_a7000r
|
||||
UIMAGE_NAME := C8340R1C-9999
|
||||
DEVICE_VENDOR := TOTOLINK
|
||||
DEVICE_MODEL := A7000R
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += totolink_a7000r
|
||||
|
||||
@ -2020,7 +2020,7 @@ define Device/tplink_re500-v1
|
||||
$(Device/tplink-safeloader)
|
||||
DEVICE_MODEL := RE500
|
||||
DEVICE_VARIANT := v1
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
TPLINK_BOARD_ID := RE500-V1
|
||||
IMAGE_SIZE := 14208k
|
||||
endef
|
||||
@ -2031,7 +2031,7 @@ define Device/tplink_re650-v1
|
||||
$(Device/tplink-safeloader)
|
||||
DEVICE_MODEL := RE650
|
||||
DEVICE_VARIANT := v1
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
TPLINK_BOARD_ID := RE650-V1
|
||||
IMAGE_SIZE := 14208k
|
||||
endef
|
||||
@ -2042,7 +2042,7 @@ define Device/tplink_re650-v2
|
||||
$(Device/tplink-safeloader)
|
||||
DEVICE_MODEL := RE650
|
||||
DEVICE_VARIANT := v2
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware
|
||||
TPLINK_BOARD_ID := RE650-V2
|
||||
IMAGE_SIZE := 7994k
|
||||
endef
|
||||
@ -2108,7 +2108,7 @@ define Device/ubnt_unifi-flexhd
|
||||
DEVICE_DTS_CONFIG := config@2
|
||||
DEVICE_DTS_LOADADDR := 0x87000000
|
||||
KERNEL := kernel-bin | lzma | fit lzma $$(KDIR)/image-$$(firstword $$(DEVICE_DTS)).dtb
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-leds-ubnt-ledbar
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware kmod-leds-ubnt-ledbar
|
||||
IMAGE_SIZE := 15552k
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_unifi-flexhd
|
||||
@ -2117,7 +2117,7 @@ define Device/ubnt_unifi-nanohd
|
||||
$(Device/dsa-migration)
|
||||
DEVICE_VENDOR := Ubiquiti
|
||||
DEVICE_MODEL := UniFi nanoHD
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware
|
||||
IMAGE_SIZE := 15552k
|
||||
endef
|
||||
TARGET_DEVICES += ubnt_unifi-nanohd
|
||||
@ -2184,7 +2184,7 @@ define Device/wavlink_wl-wn531a6
|
||||
$(Device/dsa-migration)
|
||||
DEVICE_VENDOR := Wavlink
|
||||
DEVICE_MODEL := WL-WN531A6
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware kmod-usb3
|
||||
IMAGE_SIZE := 15040k
|
||||
endef
|
||||
TARGET_DEVICES += wavlink_wl-wn531a6
|
||||
@ -2194,7 +2194,7 @@ define Device/wavlink_wl-wn533a8
|
||||
DEVICE_VENDOR := Wavlink
|
||||
DEVICE_MODEL := WL-WN533A8
|
||||
KERNEL_INITRAMFS_SUFFIX := -WN533A8$$(KERNEL_SUFFIX)
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3
|
||||
IMAGE_SIZE := 15040k
|
||||
endef
|
||||
TARGET_DEVICES += wavlink_wl-wn533a8
|
||||
@ -2252,7 +2252,7 @@ define Device/winstars_ws-wn583a6
|
||||
DEVICE_ALT0_VENDOR := Gemeita
|
||||
DEVICE_ALT0_MODEL := AC2100
|
||||
KERNEL_INITRAMFS_SUFFIX := -WN583A6$$(KERNEL_SUFFIX)
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES := kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += winstars_ws-wn583a6
|
||||
|
||||
@ -2307,7 +2307,7 @@ define Device/xiaomi_mi-router-3-pro
|
||||
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
|
||||
IMAGE/factory.bin := append-kernel | pad-to $$(KERNEL_SIZE) | append-ubi | \
|
||||
check-size
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
kmod-usb-ledtrig-usbport uboot-envtools
|
||||
SUPPORTED_DEVICES += xiaomi,mir3p
|
||||
endef
|
||||
@ -2336,7 +2336,7 @@ define Device/xiaomi_mi-router-ac2100
|
||||
$(Device/xiaomi_nand_separate)
|
||||
DEVICE_MODEL := Mi Router AC2100
|
||||
IMAGE_SIZE := 120320k
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += xiaomi_mi-router-ac2100
|
||||
|
||||
@ -2378,7 +2378,7 @@ define Device/xiaomi_redmi-router-ac2100
|
||||
$(Device/xiaomi_nand_separate)
|
||||
DEVICE_MODEL := Redmi Router AC2100
|
||||
IMAGE_SIZE := 120320k
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615e kmod-mt7615-firmware
|
||||
DEVICE_PACKAGES += kmod-mt7603 kmod-mt7615-firmware
|
||||
endef
|
||||
TARGET_DEVICES += xiaomi_redmi-router-ac2100
|
||||
|
||||
@ -2577,7 +2577,7 @@ define Device/zyxel_lte3301-plus
|
||||
UBINIZE_OPTS := -E 5
|
||||
DEVICE_VENDOR := ZyXEL
|
||||
DEVICE_MODEL := LTE3301-PLUS
|
||||
DEVICE_PACKAGES := kmod-mt7615e kmod-mt7615-firmware kmod-usb3 \
|
||||
DEVICE_PACKAGES := kmod-mt7615-firmware kmod-usb3 \
|
||||
uboot-envtools kmod-usb-ledtrig-usbport kmod-usb-net-qmi-wwan \
|
||||
kmod-usb-serial-option uqmi
|
||||
KERNEL := $(KERNEL_DTB) | uImage lzma | \
|
||||
|
Loading…
Reference in New Issue
Block a user