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
|
|
|
|
|
|
|
|
define Device/TDW8970
|
|
|
|
$(Device/lantiqTpLink)
|
|
|
|
DEVICE_PROFILE := 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
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-ath9k wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/TDW8980
|
|
|
|
$(Device/lantiqTpLink)
|
|
|
|
DEVICE_PROFILE := 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
|
2016-11-26 00:01:15 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-ath9k kmod-owl-loader wpad-mini kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
|
|
|
|
|
|
|
define Device/VR200v
|
|
|
|
$(Device/lantiqTpLink)
|
|
|
|
DEVICE_PROFILE := VR200v
|
2017-06-23 21:07:10 +00:00
|
|
|
TPLINK_BOARD_ID := ArcherVR200V
|
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
|
2016-10-19 10:09:45 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-usb-dwc2 kmod-usb-ledtrig-usbport
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
|
|
|
TARGET_DEVICES += TDW8970 TDW8980 VR200v
|
|
|
|
|