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
|
|
|
|
2020-06-07 13:07:28 +00:00
|
|
|
define Device/dsa-migration
|
|
|
|
DEVICE_COMPAT_VERSION := 1.1
|
|
|
|
DEVICE_COMPAT_MESSAGE := Config cannot be migrated from swconfig to DSA
|
|
|
|
endef
|
|
|
|
|
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" | \
|
2021-06-20 16:54:36 +00:00
|
|
|
check-size | append-metadata
|
2016-05-30 09:54:06 +00:00
|
|
|
endef
|
|
|
|
|
2018-11-02 22:50:25 +00:00
|
|
|
define Device/tplink_vr200
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
2018-11-02 22:50:25 +00:00
|
|
|
$(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
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls 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
|
2020-06-07 13:07:28 +00:00
|
|
|
$(Device/dsa-migration)
|
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
|
2022-12-28 04:44:11 +00:00
|
|
|
DEVICE_PACKAGES:= kmod-mt76x0e wpad-basic-mbedtls 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
|