local board="$1"
case $board in
- 11acnas|\
+ wevo,11acnas|\
d-team,newifi-d2|\
dir-615-h1|\
- w2914nsv2|\
+ wevo,w2914ns-v2|\
zbtlink,zbt-we2026)
ucidef_add_switch "switch0" \
"0:lan:4" "1:lan:3" "2:lan:2" "3:lan:1" "4:wan:5" "6@eth0"
ncs601w|\
omega2 | \
omega2p | \
- timecloud|\
+ thunder,timecloud|\
tplink,tl-wa801nd-v5|\
w150m|\
widora,neo-16m|\
dlink,dwr-116-a1|\
dlink,dwr-921-c1|\
dlink,dwr-922-e2|\
- ew1200|\
- firewrt|\
+ afoundry,ew1200|\
+ firefly,firewrt|\
hc5661a|\
- hc5962|\
+ hiwifi,hc5962|\
hlk-rm04|\
- k2p|\
+ phicomm,k2p|\
kn|\
zyxel,keenetic-omni|\
mac1200rv2|\
xiaomi,miwifi-mini|\
miwifi-nano|\
- mt7621|\
+ mediatek,mt7621-eval-board|\
mt7628|\
mtc,wr1201|\
planex,mzk-750dhp|\
nixcore-x1-8M|\
nixcore-x1-16M|\
ohyeah,oy-0001|\
- pbr-m1|\
+ d-team,pbr-m1|\
phicomm,psg1208|\
phicomm,psg1218a|\
- r6220|\
+ netgear,r6220|\
netgear,r6350|\
asus,rt-n12p|\
- sap-g3200u3|\
- sk-wb8|\
+ storylink,sap-g3200u3|\
+ samknows,whitebox-v8|\
telco-electronics,x1|\
totolink,a7000r|\
totolink,lr1200|\
unielec,u7621-06-256m-16m|\
unielec,u7621-06-512m-64m|\
- vr500|\
+ planex,vr500|\
wavlink,wl-wn570ha1|\
wavlink,wl-wn575a3|\
- wf-2881|\
+ netis,wf-2881|\
whr-g300n|\
mqmaker,witi-256m|\
mqmaker,witi-512m|\
- wndr3700v5|\
+ netgear,wndr3700-v5|\
youku,yk1|\
youku,yk-l2|\
zbtlink,zbt-ape522ii|\
- zbt-we1326|\
+ zbtlink,zbt-we1326|\
zbtlink,zbt-we826-e|\
zbtlink,zbt-we3526|\
zbtlink,zbt-we826-16m|\
zbtlink,zbt-we826-32m|\
- zbt-wg2626|\
- zbt-wg3526-16M|\
- zbt-wg3526-32M|\
+ zbtlink,zbt-wg2626|\
+ zbtlink,zbt-wg3526-16m|\
+ zbtlink,zbt-wg3526-32m|\
zbtlink,zbt-wr8305rt)
ucidef_add_switch "switch0" \
"0:lan" "1:lan" "2:lan" "3:lan" "4:wan" "6@eth0"
;;
buffalo,whr-300hp2|\
buffalo,whr-600d|\
- wsr-1166|\
- wsr-600)
+ buffalo,wsr-1166dhp|\
+ buffalo,wsr-600dhp)
ucidef_add_switch "switch0" \
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "4:wan:5" "6@eth0"
;;
tl-wr841n-v13|\
tplink,tl-wr841n-v14|\
u7628-01-128M-16M|\
- ubnt-erx|\
- ubnt-erx-sfp|\
+ ubiquiti,edgerouterx|\
+ ubiquiti,edgerouterx-sfp|\
ur-326n4g|\
wrtnode,wrtnode|\
wrtnode2p | \
ucidef_add_switch "switch0" \
"1:lan:3" "2:lan:4" "3:lan:1" "4:lan:2" "0:wan" "6@eth0"
;;
- dir-860l-b1|\
+ dlink,dir-860l-b1|\
elecom,wrc-1167ghbk2-s|\
elecom,wrc-2533gst|\
elecom,wrc-1900gst|\
ucidef_add_switch "switch0" \
"0:lan" "4:lan" "6t@eth0"
;;
- newifi-d1)
+ lenovo,newifi-d1)
ucidef_add_switch "switch0" \
"1:lan:2" "2:lan:1" "4:wan" "6@eth0"
;;
dlink,dir-510l|\
glinet,vixmini|\
netgear,ex6150|\
- re350-v1)
+ tplink,re350-v1)
ucidef_add_switch "switch0" \
"0:lan" "6@eth0"
;;
- re6500)
+ linksys,re6500)
ucidef_add_switch "switch0" \
"0:lan:1" "1:lan:2" "2:lan:3" "3:lan:4" "6@eth0"
;;
lan_mac=$(mtd_get_mac_ascii nvram lanmac)
wan_mac=$(mtd_get_mac_ascii nvram wanmac)
;;
- dir-860l-b1)
+ dlink,dir-860l-b1)
lan_mac=$(mtd_get_mac_ascii factory lanmac)
wan_mac=$(mtd_get_mac_ascii factory wanmac)
;;
elecom,wrc-1167ghbk2-s|\
elecom,wrc-2533gst|\
elecom,wrc-1900gst|\
- sk-wb8)
+ samknows,whitebox-v8)
wan_mac=$(mtd_get_mac_binary factory 57350)
;;
gl-mt300n-v2|\
hiwifi,hc5761|\
hiwifi,hc5861|\
hc5661a|\
- hc5962|\
+ hiwifi,hc5962|\
hiwifi,hc5861b)
lan_mac=`mtd_get_mac_ascii bdinfo "Vfac_mac "`
[ -n "$lan_mac" ] || lan_mac=$(cat /sys/class/net/eth0/address)
lan_mac=$(cat /sys/class/net/eth0/address)
lan_mac=$(macaddr_add "$lan_mac" -2)
;;
- newifi-d1)
+ lenovo,newifi-d1)
lan_mac=$(cat /sys/class/net/eth0/address)
lan_mac=$(macaddr_add "$lan_mac" 2)
;;
lan_mac=$(mtd_get_mac_binary factory 40)
wan_mac=$(mtd_get_mac_binary factory 46)
;;
- r6220|\
+ netgear,r6220|\
netgear,r6350|\
- wndr3700v5)
+ netgear,wndr3700-v5)
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$(macaddr_add "$wan_mac" 1)
;;
lan_mac=$(mtd_get_mac_ascii u-boot-env LAN_MAC_ADDR)
wan_mac=$(mtd_get_mac_ascii u-boot-env WAN_MAC_ADDR)
;;
- vr500)
+ planex,vr500)
lan_mac=$(mtd_get_mac_binary factory 57344)
wan_mac=$(mtd_get_mac_binary factory 57350)
;;
wan_mac=$(macaddr_add "$lan_mac" 5)
;;
wcr-1166ds|\
- wsr-1166)
+ buffalo,wsr-1166dhp)
local index="$(find_mtd_index "board_data")"
wan_mac="$(grep -m1 mac= "/dev/mtd${index}" | cut -d= -f2)"
lan_mac=$wan_mac
buffalo,whr-1166d|\
buffalo,whr-300hp2|\
buffalo,whr-600d|\
- wsr-600)
+ buffalo,wsr-600dhp)
wan_mac=$(mtd_get_mac_binary factory 4)
lan_mac=$wan_mac
;;
fi
endef
-define Device/11acnas
+define Device/wevo_11acnas
DTS := 11ACNAS
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := WeVO
DEVICE_MODEL := 11AC NAS Router
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += 11acnas
endef
-TARGET_DEVICES += 11acnas
+TARGET_DEVICES += wevo_11acnas
-define Device/dir-860l-b1
+define Device/dlink_dir-860l-b1
$(Device/seama)
DTS := DIR-860L-B1
BLOCKSIZE := 64k
DEVICE_MODEL := DIR-860L
DEVICE_VARIANT := B1
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += dir-860l-b1
endef
-TARGET_DEVICES += dir-860l-b1
+TARGET_DEVICES += dlink_dir-860l-b1
define Device/mediatek_ap-mt7621a-v60
DTS := AP-MT7621A-V60
endef
TARGET_DEVICES += elecom_wrc-1900gst
-define Device/ew1200
+define Device/afoundry_ew1200
DTS := EW1200
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := AFOUNDRY
DEVICE_PACKAGES := \
kmod-ata-core kmod-ata-ahci kmod-mt76x2 kmod-mt7603 kmod-usb3 \
kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += ew1200
endef
-TARGET_DEVICES += ew1200
+TARGET_DEVICES += afoundry_ew1200
-define Device/firewrt
+define Device/firefly_firewrt
DTS := FIREWRT
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Firefly
DEVICE_MODEL := FireWRT
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += firewrt
endef
-TARGET_DEVICES += firewrt
+TARGET_DEVICES += firefly_firewrt
define Device/gehua_ghl-r-001
DTS := GHL-R-001
endef
TARGET_DEVICES += gnubee_gb-pc2
-define Device/hc5962
+define Device/hiwifi_hc5962
DTS := HC5962
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_VENDOR := HiWiFi
DEVICE_MODEL := HC5962
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 kmod-usb3 wpad-basic
+ SUPPORTED_DEVICES += hc5962
endef
-TARGET_DEVICES += hc5962
+TARGET_DEVICES += hiwifi_hc5962
define Device/iodata_wn-ax1167gr
DTS := WN-AX1167GR
endef
TARGET_DEVICES += iodata_wn-gx300gr
-define Device/k2p
+define Device/phicomm_k2p
DTS := K2P
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Phicomm
DEVICE_MODEL := K2P
+ SUPPORTED_DEVICES += k2p
endef
-TARGET_DEVICES += k2p
+TARGET_DEVICES += phicomm_k2p
define Device/totolink_a7000r
DTS := TOTOLINK-A7000R
endef
TARGET_DEVICES += xiaomi_mir3g
-define Device/mt7621
+define Device/mediatek_mt7621-eval-board
DTS := MT7621
BLOCKSIZE := 64k
IMAGE_SIZE := $(ralink_default_fw_size_4M)
DEVICE_VENDOR := MediaTek
DEVICE_MODEL := MT7621 EVB
+ SUPPORTED_DEVICES += mt7621
endef
-TARGET_DEVICES += mt7621
+TARGET_DEVICES += mediatek_mt7621-eval-board
-define Device/newifi-d1
+define Device/lenovo_newifi-d1
DTS := Newifi-D1
IMAGE_SIZE := $(ralink_default_fw_size_32M)
DEVICE_VENDOR := Newifi
DEVICE_MODEL := D1
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += newifi-d1
endef
-TARGET_DEVICES += newifi-d1
+TARGET_DEVICES += lenovo_newifi-d1
define Device/d-team_newifi-d2
DTS := Newifi-D2
endef
TARGET_DEVICES += d-team_newifi-d2
-define Device/pbr-m1
+define Device/d-team_pbr-m1
DTS := PBR-M1
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := PandoraBox
DEVICE_PACKAGES := \
kmod-ata-core kmod-ata-ahci kmod-mt7603 kmod-mt76x2 kmod-sdhci-mt7620 \
kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += pbr-m1
endef
-TARGET_DEVICES += pbr-m1
+TARGET_DEVICES += d-team_pbr-m1
-define Device/r6220
+define Device/netgear_r6220
DTS := R6220
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_MODEL := R6220
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += r6220
endef
-TARGET_DEVICES += r6220
+TARGET_DEVICES += netgear_r6220
define Device/netgear_ex6150
DTS := EX6150
endef
TARGET_DEVICES += mtc_wr1201
-define Device/re350-v1
+define Device/tplink_re350-v1
DTS := RE350
DEVICE_VENDOR := TP-Link
DEVICE_MODEL := RE350
IMAGES += factory.bin
IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | append-metadata | check-size $$$$(IMAGE_SIZE)
IMAGE/factory.bin := append-rootfs | tplink-safeloader factory
+ SUPPORTED_DEVICES += re350-v1
endef
-TARGET_DEVICES += re350-v1
+TARGET_DEVICES += tplink_re350-v1
-define Device/re6500
+define Device/linksys_re6500
DTS := RE6500
DEVICE_VENDOR := Linksys
DEVICE_MODEL := RE6500
DEVICE_PACKAGES := kmod-mt76x2 wpad-basic
+ SUPPORTED_DEVICES += re6500
endef
-TARGET_DEVICES += re6500
+TARGET_DEVICES += linksys_re6500
-define Device/sap-g3200u3
+define Device/storylink_sap-g3200u3
DTS := SAP-G3200U3
DEVICE_VENDOR := STORYLiNK
DEVICE_MODEL := SAP-G3200U3
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += sap-g3200u3
endef
-TARGET_DEVICES += sap-g3200u3
+TARGET_DEVICES += storylink_sap-g3200u3
-define Device/sk-wb8
+define Device/samknows_whitebox-v8
DTS := SK-WB8
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := SamKnows
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport \
uboot-envtools wpad-basic
+ SUPPORTED_DEVICES += sk-wb8
endef
-TARGET_DEVICES += sk-wb8
+TARGET_DEVICES += samknows_whitebox-v8
define Device/telco-electronics_x1
DTS := Telco-Electronics-X1
endef
TARGET_DEVICES += telco-electronics_x1
-define Device/timecloud
+define Device/thunder_timecloud
DTS := Timecloud
DEVICE_VENDOR := Thunder
DEVICE_MODEL := Timecloud
DEVICE_PACKAGES := kmod-usb3
+ SUPPORTED_DEVICES += timecloud
endef
-TARGET_DEVICES += timecloud
+TARGET_DEVICES += thunder_timecloud
-define Device/ubnt-erx
+define Device/ubiquiti_edgerouterx
DTS := UBNT-ERX
FILESYSTEMS := squashfs
KERNEL_SIZE := 3145728
IMAGE/sysupgrade.bin := sysupgrade-tar | append-metadata
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := EdgeRouter X
+ SUPPORTED_DEVICES += ubnt-erx
endef
-TARGET_DEVICES += ubnt-erx
+TARGET_DEVICES += ubiquiti_edgerouterx
-define Device/ubnt-erx-sfp
- $(Device/ubnt-erx)
+define Device/ubiquiti_edgerouterx-sfp
+ $(Device/ubiquiti_edgerouterx)
DTS := UBNT-ERX-SFP
DEVICE_VENDOR := Ubiquiti
DEVICE_MODEL := EdgeRouter X-SFP
DEVICE_PACKAGES += kmod-i2c-algo-pca kmod-gpio-pca953x kmod-i2c-gpio-custom
+ SUPPORTED_DEVICES += ubnt-erx-sfp
endef
-TARGET_DEVICES += ubnt-erx-sfp
+TARGET_DEVICES += ubiquiti_edgerouterx-sfp
define Device/unielec_u7621-06-256m-16m
DTS := U7621-06-256M-16M
endef
TARGET_DEVICES += unielec_u7621-06-512m-64m
-define Device/vr500
+define Device/planex_vr500
DTS := VR500
IMAGE_SIZE := 66453504
DEVICE_VENDOR := Planex
DEVICE_MODEL := VR500
DEVICE_PACKAGES := kmod-usb3
+ SUPPORTED_DEVICES += vr500
endef
-TARGET_DEVICES += vr500
+TARGET_DEVICES += planex_vr500
-define Device/w2914nsv2
+define Device/wevo_w2914ns-v2
DTS := W2914NSV2
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := WeVO
DEVICE_VARIANT := v2
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += w2914nsv2
endef
-TARGET_DEVICES += w2914nsv2
+TARGET_DEVICES += wevo_w2914ns-v2
-define Device/wf-2881
+define Device/netis_wf-2881
DTS := WF-2881
BLOCKSIZE := 128k
PAGESIZE := 2048
DEVICE_VENDOR := NETIS
DEVICE_MODEL := WF-2881
DEVICE_PACKAGES := kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += wf-2881
endef
-TARGET_DEVICES += wf-2881
+TARGET_DEVICES += netis_wf-2881
define Device/mqmaker_witi-256m
DTS := WITI-256M
endef
TARGET_DEVICES += mqmaker_witi-512m
-define Device/wndr3700v5
+define Device/netgear_wndr3700-v5
DTS := WNDR3700V5
BLOCKSIZE := 64k
IMAGE_SIZE := 15232k
DEVICE_VARIANT := v5
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += wndr3700v5
endef
-TARGET_DEVICES += wndr3700v5
+TARGET_DEVICES += netgear_wndr3700-v5
define Device/youhua_wr1200js
DTS := WR1200JS
endef
TARGET_DEVICES += youku_yk-l2
-define Device/wsr-1166
+define Device/buffalo_wsr-1166dhp
DTS := WSR-1166
IMAGE/sysupgrade.bin := trx | pad-rootfs | append-metadata
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Buffalo
- DEVICE_MODEL := WSR-1166
+ DEVICE_MODEL := WSR-1166DHP
DEVICE_PACKAGES := kmod-mt7603 kmod-mt76x2 wpad-basic
+ SUPPORTED_DEVICES += wsr-1166
endef
-TARGET_DEVICES += wsr-1166
+TARGET_DEVICES += buffalo_wsr-1166dhp
-define Device/wsr-600
+define Device/buffalo_wsr-600dhp
DTS := WSR-600
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := Buffalo
- DEVICE_MODEL := WSR-600
+ DEVICE_MODEL := WSR-600DHP
DEVICE_PACKAGES := kmod-mt7603 kmod-rt2800-pci wpad-basic
+ SUPPORTED_DEVICES += wsr-600
endef
-TARGET_DEVICES += wsr-600
+TARGET_DEVICES += buffalo_wsr-600dhp
-define Device/zbt-we1326
+define Device/zbtlink_zbt-we1326
DTS := ZBT-WE1326
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := ZBT
DEVICE_MODEL := ZBT-WE1326
DEVICE_PACKAGES := \
kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-sdhci-mt7620 wpad-basic
+ SUPPORTED_DEVICES += zbt-we1326
endef
-TARGET_DEVICES += zbt-we1326
+TARGET_DEVICES += zbtlink_zbt-we1326
define Device/zbtlink_zbt-we3526
DTS := ZBT-WE3526
endef
TARGET_DEVICES += zbtlink_zbt-we3526
-define Device/zbt-wg2626
+define Device/zbtlink_zbt-wg2626
DTS := ZBT-WG2626
IMAGE_SIZE := $(ralink_default_fw_size_16M)
DEVICE_VENDOR := ZBT
DEVICE_PACKAGES := \
kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt76x2 kmod-usb3 \
kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += zbt-wg2626
endef
-TARGET_DEVICES += zbt-wg2626
+TARGET_DEVICES += zbtlink_zbt-wg2626
-define Device/zbt-wg3526-16M
+define Device/zbtlink_zbt-wg3526-16m
DTS := ZBT-WG3526-16M
IMAGE_SIZE := $(ralink_default_fw_size_16M)
- SUPPORTED_DEVICES += zbt-wg3526
DEVICE_VENDOR := ZBT
DEVICE_MODEL := ZBT-WG3526
DEVICE_VARIANT := 16M
DEVICE_PACKAGES := \
kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += zbt-wg3526 zbt-wg3526-16M
endef
-TARGET_DEVICES += zbt-wg3526-16M
+TARGET_DEVICES += zbtlink_zbt-wg3526-16m
-define Device/zbt-wg3526-32M
+define Device/zbtlink_zbt-wg3526-32m
DTS := ZBT-WG3526-32M
IMAGE_SIZE := $(ralink_default_fw_size_32M)
- SUPPORTED_DEVICES += ac1200pro
DEVICE_VENDOR := ZBT
DEVICE_MODEL := ZBT-WG3526
DEVICE_VARIANT := 32M
DEVICE_PACKAGES := \
kmod-ata-core kmod-ata-ahci kmod-sdhci-mt7620 kmod-mt7603 kmod-mt76x2 \
kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic
+ SUPPORTED_DEVICES += ac1200pro zbt-wg3526-32M
endef
-TARGET_DEVICES += zbt-wg3526-32M
+TARGET_DEVICES += zbtlink_zbt-wg3526-32m
define Device/asiarf_ap7621-001
DTS := AP7621-001