aboutsummaryrefslogtreecommitdiffstats
path: root/target/linux/ramips/image
diff options
context:
space:
mode:
authorKamil Jońca <kjonca@onet.pl>2023-11-05 14:49:01 +0100
committerHauke Mehrtens <hauke@hauke-m.de>2023-12-06 22:59:22 +0100
commitffa40fcc7fe1aee041775e097bccecb9be83cd21 (patch)
tree5cac73760dfc2aa60cf62bf19eba4d567d6e478d /target/linux/ramips/image
parent8c2df654ad41ad7933984e823d5ab2f0f7c80130 (diff)
downloadupstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.tar.gz
upstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.tar.bz2
upstream-ffa40fcc7fe1aee041775e097bccecb9be83cd21.zip
ramips: add TP-LINK TL-WR902AC v4
Seems to be very similar to: https://openwrt.org/toh/tp-link/tl-wr902ac_v3 1 x usb 1 x eth Powered by mini usb port. Installation: Can use TFTP method to install: 1. establish TFTP server at 192.168.0.66 2. provide tp_recover.bin file to the TFTP server 3. turn on router with reset button pressed 4. wait for led blinking, then release reset Specification based on dmesg from already flashed device: SoC Type: MediaTek MT7628AN ver:1 eco:2 CPU0 revision is: 00019655 (MIPS 24KEc) Memory: 56028K/65536K available CPU Clock: 580MHz WiFi: MT7613BE MAC addresses are all the same, except wifi5g which last part is decrement by one, ie.: eth0 40:ed:00:cf:b9:9b br-lan 40:ed:00:cf:b9:9b phy0-ap0 40:ed:00:cf:b9:9b phy1-ap0 40:ed:00:cf:b9:9a Signed-off-by: Kamil Jońca <kjonca@onet.pl>
Diffstat (limited to 'target/linux/ramips/image')
-rw-r--r--target/linux/ramips/image/mt76x8.mk16
1 files changed, 16 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk
index fd90c7bac96..8a6bccfba63 100644
--- a/target/linux/ramips/image/mt76x8.mk
+++ b/target/linux/ramips/image/mt76x8.mk
@@ -855,6 +855,22 @@ define Device/tplink_tl-wr902ac-v3
endef
TARGET_DEVICES += tplink_tl-wr902ac-v3
+define Device/tplink_tl-wr902ac-v4
+ $(Device/tplink-v2)
+ IMAGE_SIZE := 7808k
+ DEVICE_MODEL := TL-WR902AC
+ DEVICE_VARIANT := v4
+ TPLINK_FLASHLAYOUT := 8Mmtk
+ TPLINK_HWID := 0x000dc88f
+ TPLINK_HWREV := 0x89
+ TPLINK_HWREVADD := 0x1
+ DEVICE_PACKAGES := kmod-mt7615e kmod-mt7663-firmware-ap kmod-usb2 kmod-usb-ohci \
+ kmod-usb-ledtrig-usbport
+ IMAGES := sysupgrade.bin tftp-recovery.bin
+ IMAGE/tftp-recovery.bin := pad-extra 128k | $$(IMAGE/factory.bin)
+endef
+TARGET_DEVICES += tplink_tl-wr902ac-v4
+
define Device/unielec_u7628-01-16m
IMAGE_SIZE := 16064k
DEVICE_VENDOR := UniElec