2017-10-03 10:46:09 +00:00
|
|
|
DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD TPLINK_HVERSION
|
2016-05-30 09:54:06 +00:00
|
|
|
|
|
|
|
define Device/lantiqTpLink
|
2019-07-11 10:47:56 +00:00
|
|
|
DEVICE_VENDOR := TP-Link
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_HWREVADD := 0
|
|
|
|
TPLINK_HVERSION := 2
|
2016-05-30 09:54:06 +00:00
|
|
|
KERNEL := kernel-bin | append-dtb | lzma
|
2017-06-23 21:07:10 +00:00
|
|
|
KERNEL_INITRAMFS := kernel-bin | append-dtb | lzma | \
|
|
|
|
tplink-v2-header -s -V "ver. 1.0"
|
2016-05-30 09:54:06 +00:00
|
|
|
IMAGES := sysupgrade.bin
|
2017-06-23 21:07:10 +00:00
|
|
|
IMAGE/sysupgrade.bin := tplink-v2-image -s -V "ver. 1.0" | \
|
2020-03-10 13:58:27 +00:00
|
|
|
append-metadata | check-size
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
|
|
|
|
2017-12-08 07:42:11 +00:00
|
|
|
define Device/tplink_tdw8970
|
2016-05-30 09:54:06 +00:00
|
|
|
$(Device/lantiqTpLink)
|
2019-07-11 10:47:56 +00:00
|
|
|
DEVICE_MODEL := TD-W8970
|
|
|
|
DEVICE_VARIANT := v1
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mltq
|
|
|
|
TPLINK_HWID := 0x89700001
|
|
|
|
TPLINK_HWREV := 1
|
2016-05-30 09:54:06 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
2018-07-10 17:22:41 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-ath9k wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2017-12-08 07:42:11 +00:00
|
|
|
SUPPORTED_DEVICES += TDW8970
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
2017-12-08 07:42:11 +00:00
|
|
|
TARGET_DEVICES += tplink_tdw8970
|
2016-05-30 09:54:06 +00:00
|
|
|
|
2017-12-08 07:42:11 +00:00
|
|
|
define Device/tplink_tdw8980
|
2016-05-30 09:54:06 +00:00
|
|
|
$(Device/lantiqTpLink)
|
2019-07-11 10:47:56 +00:00
|
|
|
DEVICE_MODEL := TD-W8980
|
|
|
|
DEVICE_VARIANT := v1
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 8Mltq
|
|
|
|
TPLINK_HWID := 0x89800001
|
|
|
|
TPLINK_HWREV := 14
|
2016-05-30 09:54:06 +00:00
|
|
|
IMAGE_SIZE := 7680k
|
2018-07-10 17:22:41 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2017-12-08 07:42:11 +00:00
|
|
|
SUPPORTED_DEVICES += TDW8980
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
2017-12-08 07:42:11 +00:00
|
|
|
TARGET_DEVICES += tplink_tdw8980
|
2016-05-30 09:54:06 +00:00
|
|
|
|
2018-11-02 22:50:25 +00:00
|
|
|
define Device/tplink_vr200
|
|
|
|
$(Device/lantiqTpLink)
|
2019-07-11 10:47:56 +00:00
|
|
|
DEVICE_MODEL := Archer VR200
|
|
|
|
DEVICE_VARIANT := v1
|
2018-11-02 22:50:25 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 16Mltq
|
|
|
|
TPLINK_HWID := 0x63e64801
|
|
|
|
TPLINK_HWREV := 0x53
|
|
|
|
IMAGE_SIZE := 15808k
|
2019-11-23 21:18:32 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2018-11-02 22:50:25 +00:00
|
|
|
SUPPORTED_DEVICES += VR200
|
|
|
|
endef
|
|
|
|
TARGET_DEVICES += tplink_vr200
|
|
|
|
|
2017-12-08 07:42:11 +00:00
|
|
|
define Device/tplink_vr200v
|
2016-05-30 09:54:06 +00:00
|
|
|
$(Device/lantiqTpLink)
|
2019-07-11 10:47:56 +00:00
|
|
|
DEVICE_MODEL := Archer VR200v
|
|
|
|
DEVICE_VARIANT := v1
|
2017-10-03 10:46:09 +00:00
|
|
|
TPLINK_FLASHLAYOUT := 16Mltq
|
|
|
|
TPLINK_HWID := 0x73b70801
|
|
|
|
TPLINK_HWREV := 0x2f
|
2016-05-30 09:54:06 +00:00
|
|
|
IMAGE_SIZE := 15808k
|
2019-11-23 21:18:32 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic kmod-usb-dwc2 kmod-usb-ledtrig-usbport kmod-ltq-tapi kmod-ltq-vmmc
|
2017-12-08 07:42:11 +00:00
|
|
|
SUPPORTED_DEVICES += VR200v
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
2017-12-08 07:42:11 +00:00
|
|
|
TARGET_DEVICES += tplink_vr200v
|