diff options
author | Deng Qingfang <dengqf6@mail2.sysu.edu.cn> | 2018-12-27 13:39:16 +0800 |
---|---|---|
committer | Mathias Kresin <dev@kresin.me> | 2018-12-29 16:03:30 +0100 |
commit | 5580a9dd314be953fdac9827d7819058af9bea20 (patch) | |
tree | 9fc079ae117f07da16677b7ca02ab6efb174416e /target/linux/ramips/image/mt7621.mk | |
parent | 0599cd90e185860bbddd7dea8899f29b82368050 (diff) | |
download | upstream-5580a9dd314be953fdac9827d7819058af9bea20.tar.gz upstream-5580a9dd314be953fdac9827d7819058af9bea20.tar.bz2 upstream-5580a9dd314be953fdac9827d7819058af9bea20.zip |
ramips: add support for GeHua GHL-R-001
Specs
SoC: MT7621AT
RAM: 512MiB
Flash: 32MiB MX25L25635F SPI NOR
2.4G: MT7603EN
5G: MT7612EN
Ethernet: 4x GE ports (1x WAN, 3x LAN) with link status LEDs
USB 3.0
LEDs: POWER, 5G WIFI, 2.4G WIFI, USB, Internet.
The last two ones are controlled by GPIO
UART: There are 2 UARTs (UARTLITE1/ttyS0 and UARTLITE3/ttyS1) on board.
UARTLITE1 is close to LEDs, and UARTLITE3 is close to flash chip.
The stock u-boot uses UARTLITE1 by default. Baud rate is 57600
Flash instruction
1. telnet 192.168.9.1 2317, username is "root" and password is "admin"
One can alternatively use UART to log in
2. Put OpenWrt firmware in a FAT32 USB drive, and connect it to the router
One can alternatively download the firmware via wget through Internet
3. mtd write /path/to/openwrt.bin firmware
4. reboot
Signed-off-by: Deng Qingfang <dengqf6@mail2.sysu.edu.cn>
Diffstat (limited to 'target/linux/ramips/image/mt7621.mk')
-rw-r--r-- | target/linux/ramips/image/mt7621.mk | 9 |
1 files changed, 9 insertions, 0 deletions
diff --git a/target/linux/ramips/image/mt7621.mk b/target/linux/ramips/image/mt7621.mk index cb86bad9ce..810890acfa 100644 --- a/target/linux/ramips/image/mt7621.mk +++ b/target/linux/ramips/image/mt7621.mk @@ -179,6 +179,15 @@ define Device/firewrt endef TARGET_DEVICES += firewrt +define Device/gehua_ghl-r-001 + DTS := GHL-R-001 + IMAGE_SIZE := $(ralink_default_fw_size_32M) + DEVICE_TITLE := GeHua GHL-R-001 + DEVICE_PACKAGES := \ + kmod-mt7603 kmod-mt76x2 kmod-usb3 kmod-usb-ledtrig-usbport wpad-basic +endef +TARGET_DEVICES += gehua_ghl-r-001 + define Device/gnubee_gb-pc1 DTS := GB-PC1 DEVICE_TITLE := GnuBee Personal Cloud One |