diff options
author | Sungbo Eo <mans0n@gorani.run> | 2021-08-02 00:43:34 +0900 |
---|---|---|
committer | Sungbo Eo <mans0n@gorani.run> | 2022-01-02 00:50:43 +0900 |
commit | a1deab0ec9ced8f1a2c997483efc1fc6e364ae34 (patch) | |
tree | 0a571179e82c594985e1ba203556164cecdfd573 /target/linux/ramips/mt7621 | |
parent | 4b587f25614f3f7215360f96807ce760fa4ef3aa (diff) | |
download | upstream-a1deab0ec9ced8f1a2c997483efc1fc6e364ae34.tar.gz upstream-a1deab0ec9ced8f1a2c997483efc1fc6e364ae34.tar.bz2 upstream-a1deab0ec9ced8f1a2c997483efc1fc6e364ae34.zip |
ramips: add support for ipTIME T5004
ipTIME T5004 is a 5-port Gigabit Ethernet router, based on MediaTek MT7621A.
Specifications:
* SoC: MT7621AT
* RAM: 128 MiB
* Flash: NAND 128 MiB
* Ethernet: 5x 1GbE
* Switch: SoC built-in
* UART: J4 (57600 baud)
* Pinout: [3V3] (TXD) (RXD) (GND)
Installation via web interface:
1. Flash **initramfs** image through the stock web interface.
2. Boot into OpenWrt and perform sysupgrade with sysupgrade image.
Revert to stock firmware via recovery mode:
1. Press reset button, power up the device, wait >15s for CPU LED
to stop blinking.
2. Upload stock image to TFTP server at 192.168.0.1.
Signed-off-by: Sungbo Eo <mans0n@gorani.run>
Diffstat (limited to 'target/linux/ramips/mt7621')
-rw-r--r-- | target/linux/ramips/mt7621/base-files/etc/board.d/02_network | 4 | ||||
-rwxr-xr-x | target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh | 1 |
2 files changed, 5 insertions, 0 deletions
diff --git a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network index 342704ee30..0b11c05c84 100644 --- a/target/linux/ramips/mt7621/base-files/etc/board.d/02_network +++ b/target/linux/ramips/mt7621/base-files/etc/board.d/02_network @@ -135,6 +135,10 @@ ramips_setup_macs() wan_mac=$(mtd_get_mac_ascii u-boot-env wanaddr) label_mac=$wan_mac ;; + iptime,t5004) + lan_mac=$(mtd_get_mac_ascii config ethaddr) + wan_mac=$(macaddr_add "$lan_mac" 1) + ;; jcg,y2|\ wavlink,wl-wn531a6|\ winstars,ws-wn583a6|\ diff --git a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh index 790de22f40..c7ddb55b34 100755 --- a/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh +++ b/target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh @@ -59,6 +59,7 @@ platform_do_upgrade() { dlink,dir-853-a3|\ hiwifi,hc5962|\ iptime,a3004t|\ + iptime,t5004|\ jcg,q20|\ linksys,e5600|\ linksys,ea7300-v1|\ |