diff options
author | Steffen Förster <nemesis@chemnitz.freifunk.net> | 2019-12-23 22:48:06 +0100 |
---|---|---|
committer | Adrian Schmutzler <freifunk@adrianschmutzler.de> | 2020-01-18 19:39:05 +0100 |
commit | 93a4c8afbff550886c0d8413d219d64dc63d72bf (patch) | |
tree | 5c452d9d400636ba15cdaeb359ba582615945271 /target/linux/ramips/image/mt76x8.mk | |
parent | c26b687e31b788433091a98b65ddc984e2d227c8 (diff) | |
download | upstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.tar.gz upstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.tar.bz2 upstream-93a4c8afbff550886c0d8413d219d64dc63d72bf.zip |
ramips: add support for TP-Link RE305 v1
Specification:
SoC: MediaTek MT7628AN
RAM: 64MiB
Flash: 8MiB
Wifi:
- 2.4GHz: MT7628AN
- 5GHz: MT7612EN
LAN: 1x 10/100 Mbps
Flash instructions:
Flash factory image through stock firmware WEB UI.
Back to stock is possible by using TFTP and stripping down the Firmware
provided by TP-Link to a initramfs.
The flash space between 0x650000 and 0x7f0000
is blank in the stock firmware so I left it out as well.
Signed-off-by: Steffen Förster <nemesis@chemnitz.freifunk.net>
Diffstat (limited to 'target/linux/ramips/image/mt76x8.mk')
-rw-r--r-- | target/linux/ramips/image/mt76x8.mk | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt76x8.mk b/target/linux/ramips/image/mt76x8.mk index f3a948bf11..fe08c77c13 100644 --- a/target/linux/ramips/image/mt76x8.mk +++ b/target/linux/ramips/image/mt76x8.mk @@ -267,6 +267,20 @@ endef DEVICE_VARS += TPLINK_FLASHLAYOUT TPLINK_HWID TPLINK_HWREV TPLINK_HWREVADD DEVICE_VARS += TPLINK_HVERSION +define Device/tplink-safeloader + SOC := mt7628an + DEVICE_VENDOR := TP-Link + TPLINK_BOARD_ID := + TPLINK_HWID := 0x0 + TPLINK_HWREV := 0 + TPLINK_HEADER_VERSION := 1 + KERNEL := $(KERNEL_DTB) | tplink-v1-header -e -O + IMAGES += factory.bin + IMAGE/sysupgrade.bin := append-rootfs | tplink-safeloader sysupgrade | \ + append-metadata | check-size $$$$(IMAGE_SIZE) + IMAGE/factory.bin := append-rootfs | tplink-safeloader factory +endef + define Device/tplink_archer-c20-v4 $(Device/tplink) IMAGE_SIZE := 7808k @@ -328,6 +342,16 @@ define Device/tplink_archer-c50-v4 endef TARGET_DEVICES += tplink_archer-c50-v4 +define Device/tplink_re305-v1 + $(Device/tplink-safeloader) + IMAGE_SIZE := 6016k + DEVICE_MODEL := RE305 + DEVICE_VARIANT := v1 + DEVICE_PACKAGES := kmod-mt76x2 + TPLINK_BOARD_ID := RE305-V1 +endef +TARGET_DEVICES += tplink_re305-v1 + define Device/tplink_tl-mr3020-v3 $(Device/tplink) IMAGE_SIZE := 7808k |