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
|
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" | \
|
|
|
|
append-metadata | check-size $$$$(IMAGE_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)
|
2017-12-08 07:42:11 +00:00
|
|
|
DEVICE_DTS := TDW8970
|
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
|
2016-06-01 20:43:58 +00:00
|
|
|
DEVICE_TITLE := TP-LINK TD-W8970
|
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)
|
2017-12-08 07:42:11 +00:00
|
|
|
DEVICE_DTS := TDW8980
|
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
|
2016-06-01 20:43:58 +00:00
|
|
|
DEVICE_TITLE := TP-LINK TD-W8980
|
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)
|
|
|
|
DEVICE_DTS := VR200
|
|
|
|
TPLINK_FLASHLAYOUT := 16Mltq
|
|
|
|
TPLINK_HWID := 0x63e64801
|
|
|
|
TPLINK_HWREV := 0x53
|
|
|
|
IMAGE_SIZE := 15808k
|
|
|
|
DEVICE_TITLE := TP-LINK Archer VR200
|
|
|
|
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
|
|
|
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)
|
2017-12-08 07:42:11 +00:00
|
|
|
DEVICE_DTS := VR200v
|
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
|
2016-06-01 20:43:58 +00:00
|
|
|
DEVICE_TITLE := TP-LINK Archer VR200v
|
2018-11-02 22:50:25 +00:00
|
|
|
DEVICE_PACKAGES:= 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
|