From 5580a9dd314be953fdac9827d7819058af9bea20 Mon Sep 17 00:00:00 2001 From: Deng Qingfang Date: Thu, 27 Dec 2018 13:39:16 +0800 Subject: 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 --- target/linux/ramips/image/mt7621.mk | 9 +++++++++ 1 file changed, 9 insertions(+) (limited to 'target/linux/ramips/image') 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 -- cgit v1.2.3