aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorAdrian Schmutzler <freifunk@adrianschmutzler.de>2019-07-03 23:22:31 +0200
committerDaniel Golle <daniel@makrotopia.org>2019-07-10 17:36:29 +0200
commitb97a99256fe54e81c8fc6c60183f46fbf731bbf8 (patch)
tree801c22aaa6d16ea17741efe7ab51b457c0fd4625 /target/linux/ramips/image
parent7196ca1d497b6f0727a285bc3ecd41d54aff3a81 (diff)
downloadupstream-b97a99256fe54e81c8fc6c60183f46fbf731bbf8.tar.gz
upstream-b97a99256fe54e81c8fc6c60183f46fbf731bbf8.tar.bz2
upstream-b97a99256fe54e81c8fc6c60183f46fbf731bbf8.zip
ramips/mt76x8: Name DTS files based on scheme
Signed-off-by: Adrian Schmutzler <freifunk@adrianschmutzler.de>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt76x8.mk83
1 files changed, 36 insertions, 47 deletions
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index b8d118bc69..f5fa21d8ff 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -3,6 +3,7 @@
#
define Device/tplink
+ MTK_SOC := mt7628an
DEVICE_VENDOR := TP-Link
TPLINK_FLASHLAYOUT :=
TPLINK_HWID :=
@@ -21,7 +22,7 @@ DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLIN
define Device/alfa-network_awusfree1
- DTS := AWUSFREE1
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ALFA Network
DEVICE_MODEL := AWUSFREE1
@@ -30,7 +31,7 @@ endef
TARGET_DEVICES += alfa-network_awusfree1
define Device/cudy_wr1000
- DTS := WR1000
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_8M)
IMAGES += factory.bin
IMAGE/factory.bin := \
@@ -44,7 +45,7 @@ endef
TARGET_DEVICES += cudy_wr1000
define Device/tama_w06
- DTS := W06
+ MTK_SOC := mt7628an
IMAGE_SIZE := 15040k
DEVICE_VENDOR := Tama
DEVICE_MODEL := W06
@@ -53,7 +54,7 @@ endef
TARGET_DEVICES += tama_w06
define Device/duzun_dm06
- DTS := DUZUN-DM06
+ MTK_SOC := mt7628an
DEVICE_VENDOR := DuZun
DEVICE_MODEL := DM06
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci kmod-usb-ledtrig-usbport
@@ -62,7 +63,7 @@ endef
TARGET_DEVICES += duzun_dm06
define Device/glinet_gl-mt300n-v2
- DTS := GL-MT300N-V2
+ MTK_SOC := mt7628an
IMAGE_SIZE := 16064k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := GL-MT300N
@@ -73,7 +74,7 @@ endef
TARGET_DEVICES += glinet_gl-mt300n-v2
define Device/glinet_vixmini
- DTS := VIXMINI
+ MTK_SOC := mt7628an
IMAGE_SIZE := 7872k
DEVICE_VENDOR := GL.iNet
DEVICE_MODEL := VIXMINI
@@ -82,7 +83,7 @@ endef
TARGET_DEVICES += glinet_vixmini
define Device/hiwifi_hc5661a
- DTS := HC5661A
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5661A
@@ -91,7 +92,7 @@ endef
TARGET_DEVICES += hiwifi_hc5661a
define Device/hilink_hlk-7628n
- DTS := HLK-7628N
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := HILINK
DEVICE_MODEL := HLK-7628N
@@ -99,7 +100,7 @@ endef
TARGET_DEVICES += hilink_hlk-7628n
define Device/hiwifi_hc5861b
- DTS := HC5861B
+ MTK_SOC := mt7628an
IMAGE_SIZE := 15808k
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5861B
@@ -108,7 +109,7 @@ endef
TARGET_DEVICES += hiwifi_hc5861b
define Device/mediatek_linkit-smart-7688
- DTS := LINKIT7688
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := LinkIt Smart 7688
@@ -118,7 +119,7 @@ endef
TARGET_DEVICES += mediatek_linkit-smart-7688
define Device/mercury_mac1200r-v2
- DTS := MAC1200RV2
+ MTK_SOC := mt7628an
DEVICE_VENDOR := Mercury
DEVICE_MODEL := MAC1200R
DEVICE_VARIANT := v2.0
@@ -129,7 +130,7 @@ endef
TARGET_DEVICES += mercury_mac1200r-v2
define Device/xiaomi_miwifi-nano
- DTS := MIWIFI-NANO
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := MiWiFi Nano
@@ -139,7 +140,7 @@ endef
TARGET_DEVICES += xiaomi_miwifi-nano
define Device/mediatek_mt7628an-eval-board
- DTS := MT7628
+ MTK_SOC := mt7628an
BLOCKSIZE := 64k
IMAGE_SIZE := $(ralink_default_fw_size_4M)
DEVICE_VENDOR := MediaTek
@@ -150,7 +151,7 @@ endef
TARGET_DEVICES += mediatek_mt7628an-eval-board
define Device/netgear_r6120
- DTS := R6120
+ MTK_SOC := mt7628an
BLOCKSIZE := 64k
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := NETGEAR
@@ -168,7 +169,7 @@ endef
TARGET_DEVICES += netgear_r6120
define Device/onion_omega2
- DTS := OMEGA2
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Onion
DEVICE_MODEL := Omega2
@@ -178,7 +179,7 @@ endef
TARGET_DEVICES += onion_omega2
define Device/onion_omega2p
- DTS := OMEGA2P
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := Onion
DEVICE_MODEL := Omega2+
@@ -188,7 +189,7 @@ endef
TARGET_DEVICES += onion_omega2p
define Device/d-team_pbr-d1
- DTS := PBR-D1
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := PandoraBox
DEVICE_MODEL := PBR-D1
@@ -198,7 +199,7 @@ endef
TARGET_DEVICES += d-team_pbr-d1
define Device/rakwireless_rak633
- DTS := RAK633
+ MTK_SOC := mt7628an
DEVICE_VENDOR := Rakwireless
DEVICE_MODEL := RAK633
DEVICE_PACKAGES := kmod-usb2 kmod-usb-ohci
@@ -206,7 +207,7 @@ endef
TARGET_DEVICES += rakwireless_rak633
define Device/skylab_skw92a
- DTS := SKW92A
+ MTK_SOC := mt7628an
IMAGE_SIZE := 16064k
DEVICE_VENDOR := Skylab
DEVICE_MODEL := SKW92A
@@ -215,7 +216,7 @@ endef
TARGET_DEVICES += skylab_skw92a
define Device/totolink_lr1200
- DTS := TOTOLINK-LR1200
+ MTK_SOC := mt7628an
IMAGE_SIZE := 7872k
DEVICE_VENDOR := TOTOLINK
DEVICE_MODEL := LR1200
@@ -225,7 +226,6 @@ TARGET_DEVICES += totolink_lr1200
define Device/tplink_tl-wa801nd-v5
$(Device/tplink)
- DTS := TL-WA801NDV5
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WA801ND
DEVICE_VARIANT := v5
@@ -239,7 +239,6 @@ TARGET_DEVICES += tplink_tl-wa801nd-v5
define Device/tplink_tl-wr802n-v4
$(Device/tplink)
- DTS := TL-WR802NV4
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WR802N
DEVICE_VARIANT := v4
@@ -253,7 +252,6 @@ TARGET_DEVICES += tplink_tl-wr802n-v4
define Device/tplink_tl-wr840n-v4
$(Device/tplink)
- DTS := TL-WR840NV4
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WR840N
DEVICE_VARIANT := v4
@@ -267,7 +265,7 @@ endef
TARGET_DEVICES += tplink_tl-wr840n-v4
define Device/tplink_tl-wr840n-v5
- DTS := TL-WR840NV5
+ MTK_SOC := mt7628an
IMAGE_SIZE := 3904k
DEVICE_MODEL := TL-WR840N
DEVICE_VARIANT := v5
@@ -286,7 +284,6 @@ TARGET_DEVICES += tplink_tl-wr840n-v5
define Device/tplink_tl-wr841n-v13
$(Device/tplink)
- DTS := TL-WR841NV13
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WR841N
DEVICE_VARIANT := v13
@@ -301,7 +298,6 @@ TARGET_DEVICES += tplink_tl-wr841n-v13
define Device/tplink_tl-wr841n-v14
$(Device/tplink)
- DTS := TL-WR841NV14
IMAGE_SIZE := 3968k
DEVICE_MODEL := TL-WR841N
DEVICE_VARIANT := v14
@@ -316,7 +312,6 @@ TARGET_DEVICES += tplink_tl-wr841n-v14
define Device/tplink_archer-c20-v4
$(Device/tplink)
- DTS := ArcherC20v4
IMAGE_SIZE := 7808k
DEVICE_MODEL := Archer C20
DEVICE_VARIANT := v4
@@ -332,7 +327,6 @@ TARGET_DEVICES += tplink_archer-c20-v4
define Device/tplink_archer-c50-v3
$(Device/tplink)
- DTS := ArcherC50V3
IMAGE_SIZE := 7808k
DEVICE_MODEL := Archer C50
DEVICE_VARIANT := v3
@@ -348,7 +342,6 @@ TARGET_DEVICES += tplink_archer-c50-v3
define Device/tplink_archer-c50-v4
$(Device/tplink)
- DTS := ArcherC50V4
IMAGE_SIZE := 7616k
DEVICE_MODEL := Archer C50
DEVICE_VARIANT := v4
@@ -365,7 +358,6 @@ TARGET_DEVICES += tplink_archer-c50-v4
define Device/tplink_tl-mr3020-v3
$(Device/tplink)
- DTS := TL-MR3020V3
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-MR3020
DEVICE_VARIANT := v3
@@ -380,7 +372,6 @@ TARGET_DEVICES += tplink_tl-mr3020-v3
define Device/tplink_tl-mr3420-v5
$(Device/tplink)
- DTS := TL-MR3420V5
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-MR3420
DEVICE_VARIANT := v5
@@ -395,7 +386,6 @@ TARGET_DEVICES += tplink_tl-mr3420-v5
define Device/tplink_tl-wr842n-v5
$(Device/tplink)
- DTS := TL-WR842NV5
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WR842N
DEVICE_VARIANT := v5
@@ -410,7 +400,6 @@ TARGET_DEVICES += tplink_tl-wr842n-v5
define Device/tplink_tl-wr902ac-v3
$(Device/tplink)
- DTS := TL-WR902ACV3
IMAGE_SIZE := 7808k
DEVICE_MODEL := TL-WR902AC
DEVICE_VARIANT := v3
@@ -424,7 +413,7 @@ endef
TARGET_DEVICES += tplink_tl-wr902ac-v3
define Device/unielec_u7628-01-128m-16m
- DTS := U7628-01-128M-16M
+ MTK_SOC := mt7628an
IMAGE_SIZE := 16064k
DEVICE_VENDOR := UniElec
DEVICE_MODEL := U7628-01
@@ -435,7 +424,7 @@ endef
TARGET_DEVICES += unielec_u7628-01-128m-16m
define Device/vocore_vocore2
- DTS := VOCORE2
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := VoCore
DEVICE_MODEL := VoCore2
@@ -446,7 +435,7 @@ endef
TARGET_DEVICES += vocore_vocore2
define Device/vocore_vocore2-lite
- DTS := VOCORE2LITE
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := VoCore
DEVICE_MODEL := VoCore2-Lite
@@ -457,7 +446,7 @@ endef
TARGET_DEVICES += vocore_vocore2-lite
define Device/wavlink_wl-wn570ha1
- DTS := WL-WN570HA1
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Wavlink
DEVICE_MODEL := WL-WN570HA1
@@ -466,7 +455,7 @@ endef
TARGET_DEVICES += wavlink_wl-wn570ha1
define Device/wavlink_wl-wn575a3
- DTS := WL-WN575A3
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := Wavlink
DEVICE_MODEL := WL-WN575A3
@@ -476,7 +465,7 @@ endef
TARGET_DEVICES += wavlink_wl-wn575a3
define Device/buffalo_wcr-1166ds
- DTS := WCR-1166DS
+ MTK_SOC := mt7628an
BUFFALO_TAG_PLATFORM := MTK
BUFFALO_TAG_VERSION := 9.99
BUFFALO_TAG_MINOR := 9.99
@@ -495,7 +484,7 @@ endef
TARGET_DEVICES += buffalo_wcr-1166ds
define Device/widora_neo-16m
- DTS := WIDORA-NEO-16M
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Widora
DEVICE_MODEL := Widora-NEO
@@ -506,7 +495,7 @@ endef
TARGET_DEVICES += widora_neo-16m
define Device/widora_neo-32m
- DTS := WIDORA-NEO-32M
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := Widora
DEVICE_MODEL := Widora-NEO
@@ -516,7 +505,7 @@ endef
TARGET_DEVICES += widora_neo-32m
define Device/wiznet_wizfi630s
- DTS := WIZFI630S
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := WIZnet
DEVICE_MODEL := WizFi630S
@@ -524,7 +513,7 @@ endef
TARGET_DEVICES += wiznet_wizfi630s
define Device/wrtnode_wrtnode2p
- DTS := WRTNODE2P
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := WRTnode
DEVICE_MODEL := WRTnode 2P
@@ -534,7 +523,7 @@ endef
TARGET_DEVICES += wrtnode_wrtnode2p
define Device/wrtnode_wrtnode2r
- DTS := WRTNODE2R
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := WRTnode
DEVICE_MODEL := WRTnode 2R
@@ -544,7 +533,7 @@ endef
TARGET_DEVICES += wrtnode_wrtnode2r
define Device/xiaomi_mir4a-100m
- DTS := XIAOMI-MIR4A-100M
+ MTK_SOC := mt7628an
IMAGE_SIZE := 14976k
DEVICE_VENDOR := Xiaomi
DEVICE_MODEL := Mi Router 4A
@@ -554,7 +543,7 @@ endef
TARGET_DEVICES += xiaomi_mir4a-100m
define Device/zbtlink_zbt-we1226
- DTS := ZBT-WE1226
+ MTK_SOC := mt7628an
IMAGE_SIZE := $(ralink_default_fw_size_8M)
DEVICE_VENDOR := ZBTlink
DEVICE_MODEL := ZBT-WE1226
@@ -562,7 +551,7 @@ endef
TARGET_DEVICES += zbtlink_zbt-we1226
define Device/zyxel_keenetic-extra-ii
- DTS := ki_rb
+ MTK_SOC := mt7628an
IMAGE_SIZE := 14912k
BLOCKSIZE := 64k
DEVICE_VENDOR := ZyXEL