ramips: add support for ipTIME T5004
authorSungbo Eo <mans0n@gorani.run>
Sun, 1 Aug 2021 15:43:34 +0000 (00:43 +0900)
committerSungbo Eo <mans0n@gorani.run>
Sat, 1 Jan 2022 15:50:43 +0000 (00:50 +0900)
commita1deab0ec9ced8f1a2c997483efc1fc6e364ae34
tree0a571179e82c594985e1ba203556164cecdfd573
parent4b587f25614f3f7215360f96807ce760fa4ef3aa
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>
target/linux/ramips/dts/mt7621_iptime_t5004.dts [new file with mode: 0644]
target/linux/ramips/image/mt7621.mk
target/linux/ramips/mt7621/base-files/etc/board.d/02_network
target/linux/ramips/mt7621/base-files/lib/upgrade/platform.sh