ramips: mt76x8: select only the matching mt76 driver
Select the matching mt76 driver for the PCI wireless of the following devices: - HiWiFi HC5861B - Mercury MAC1200R v2.0 - Netgear AC1200 R6120 - Buffalo WCR-1166DS - ZyXEL Keenetic Extra II - Wavlink WL-WN575A3 Because every device has selected the corresponding mt76 driver, we can include kmod-mt7603 instead of the mt76 metapackage, which used for the wireless of the mt7628 and mt7688 WiSoC. Signed-off-by: Chen Minqiang <ptpt52@gmail.com> [select kmod-mt7603 as target default package, add wireless driver for WL-WN575A3] Signed-off-by: Mathias Kresin <dev@kresin.me>
This commit is contained in:
parent
c36ec336a3
commit
295b37d207
2 changed files with 9 additions and 3 deletions
|
@ -72,6 +72,7 @@ define Device/hiwifi_hc5861b
|
||||||
DTS := HC5861B
|
DTS := HC5861B
|
||||||
IMAGE_SIZE := 15808k
|
IMAGE_SIZE := 15808k
|
||||||
DEVICE_TITLE := HiWiFi HC5861B
|
DEVICE_TITLE := HiWiFi HC5861B
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += hiwifi_hc5861b
|
TARGET_DEVICES += hiwifi_hc5861b
|
||||||
|
|
||||||
|
@ -88,6 +89,7 @@ define Device/mac1200r-v2
|
||||||
DTS := MAC1200RV2
|
DTS := MAC1200RV2
|
||||||
DEVICE_TITLE := Mercury MAC1200R v2.0
|
DEVICE_TITLE := Mercury MAC1200R v2.0
|
||||||
SUPPORTED_DEVICES := mac1200rv2
|
SUPPORTED_DEVICES := mac1200rv2
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += mac1200r-v2
|
TARGET_DEVICES += mac1200r-v2
|
||||||
|
|
||||||
|
@ -113,7 +115,7 @@ define Device/netgear_r6120
|
||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
IMAGE_SIZE := $(ralink_default_fw_size_16M)
|
IMAGE_SIZE := $(ralink_default_fw_size_16M)
|
||||||
DEVICE_TITLE := Netgear AC1200 R6120
|
DEVICE_TITLE := Netgear AC1200 R6120
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci
|
||||||
SERCOMM_KERNEL_OFFSET := 0x90000
|
SERCOMM_KERNEL_OFFSET := 0x90000
|
||||||
SERCOMM_HWID := CGQ
|
SERCOMM_HWID := CGQ
|
||||||
SERCOMM_HWVER := A001
|
SERCOMM_HWVER := A001
|
||||||
|
@ -222,6 +224,7 @@ define Device/tplink_c20-v4
|
||||||
TPLINK_HWREV := 0x1
|
TPLINK_HWREV := 0x1
|
||||||
TPLINK_HWREVADD := 0x4
|
TPLINK_HWREVADD := 0x4
|
||||||
TPLINK_HVERSION := 3
|
TPLINK_HVERSION := 3
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x0e
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_c20-v4
|
TARGET_DEVICES += tplink_c20-v4
|
||||||
|
|
||||||
|
@ -235,6 +238,7 @@ define Device/tplink_c50-v3
|
||||||
TPLINK_HWREV := 0x79
|
TPLINK_HWREV := 0x79
|
||||||
TPLINK_HWREVADD := 0x1
|
TPLINK_HWREVADD := 0x1
|
||||||
TPLINK_HVERSION := 3
|
TPLINK_HVERSION := 3
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += tplink_c50-v3
|
TARGET_DEVICES += tplink_c50-v3
|
||||||
|
|
||||||
|
@ -341,6 +345,7 @@ define Device/wcr-1166ds
|
||||||
buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | \
|
buffalo-tag-dhp WCR-1166DS JP JP | buffalo-enc-tag -l | \
|
||||||
buffalo-dhp-image
|
buffalo-dhp-image
|
||||||
DEVICE_TITLE := Buffalo WCR-1166DS
|
DEVICE_TITLE := Buffalo WCR-1166DS
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += wcr-1166ds
|
TARGET_DEVICES += wcr-1166ds
|
||||||
|
|
||||||
|
@ -348,6 +353,7 @@ define Device/wl-wn575a3
|
||||||
DTS := WL-WN575A3
|
DTS := WL-WN575A3
|
||||||
IMAGE_SIZE := $(ralink_default_fw_size_8M)
|
IMAGE_SIZE := $(ralink_default_fw_size_8M)
|
||||||
DEVICE_TITLE := Wavlink WL-WN575A3
|
DEVICE_TITLE := Wavlink WL-WN575A3
|
||||||
|
DEVICE_PACKAGES := kmod-mt76x2
|
||||||
endef
|
endef
|
||||||
TARGET_DEVICES += wl-wn575a3
|
TARGET_DEVICES += wl-wn575a3
|
||||||
|
|
||||||
|
@ -396,7 +402,7 @@ define Device/zyxel_keenetic-extra-ii
|
||||||
IMAGE_SIZE := 14912k
|
IMAGE_SIZE := 14912k
|
||||||
BLOCKSIZE := 64k
|
BLOCKSIZE := 64k
|
||||||
DEVICE_TITLE := ZyXEL Keenetic Extra II
|
DEVICE_TITLE := ZyXEL Keenetic Extra II
|
||||||
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
|
||||||
IMAGES += factory.bin
|
IMAGES += factory.bin
|
||||||
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
|
IMAGE/factory.bin := $$(sysupgrade_bin) | pad-to $$$$(BLOCKSIZE) | \
|
||||||
check-size $$$$(IMAGE_SIZE) | zyimage -d 6162 -v "ZyXEL Keenetic Extra II"
|
check-size $$$$(IMAGE_SIZE) | zyimage -d 6162 -v "ZyXEL Keenetic Extra II"
|
||||||
|
|
|
@ -7,7 +7,7 @@ BOARDNAME:=MT76x8 based boards
|
||||||
FEATURES+=usb
|
FEATURES+=usb
|
||||||
CPU_TYPE:=24kc
|
CPU_TYPE:=24kc
|
||||||
|
|
||||||
DEFAULT_PACKAGES += kmod-mt76 wpad-basic
|
DEFAULT_PACKAGES += kmod-mt7603 wpad-basic
|
||||||
|
|
||||||
define Target/Description
|
define Target/Description
|
||||||
Build firmware images for Ralink MT76x8 based boards.
|
Build firmware images for Ralink MT76x8 based boards.
|
||||||
|
|
Loading…
Reference in a new issue