openwrt/target/linux/ramips
Coia Prant 6a1bdcf545 ramips: add support for Hongdian H8922 v30
This is an industrial 4G router equipped with OpenWrt 14.07 OEM
customized version

WARNING: The original firmware device tree is common to multiple
boards, and the device tree name is H9350. This submitted device
tree is a modified version, which deletes the non-this-device parts
and adds GPIO watchdog.

Specification:
- SoC: MediaTek MT7620A
- Flash: 16 MB
- RAM: 128 MB
- Power: DC 5V-36V 1.5A
- Ethernet: 1x WAN, 4x LAN (10/100 Mbps)
- Wireless radio: 802.11n 2.4g-only
- LED:
  System/Power (RUN): GPIO/26 active-low
  Ethernet: 1x WAN, 4x LAN
  Modem 1: GPIO/66 active-low
  RF 1 (Modem 1 Signal): GPIO/67 active-low
  Modem 2: GPIO 71 active-low
  RF 2 (Modem 2 Signal): GPIO/24 active-low
  WLAN: GPIO/72 active-low
  WPS: GPIO/12 active-low
- Button:
  WPS / RESET: GPIO/34 active-low
- UART: 1x UART on PCB - 115200 8N1
- GPIO Watchdog: GPIO/62 mode=toggle timeout=1s
- PCIe: 2x miniPCIe for modem
- SIM Slots: 2x SIM Slots

Issue:
- No factory partition, eeprom is located
 at /lib/firmware/mt7620a.eeprom

Flash instruction:
Using UART:
1. Configure PC with a static IP address and setup an TFTP server.
2. Put rootfs into the tftp directory.
3. Connect the UART line as described on the PCB.
4. Power up the device and press Ctrl+C to break auto boot.
5. Use `system 6` command and follow the instruction to set device
   and tftp server IP address and input the rootfs file name.
   U-boot will then load the rootfs and write it into
   the flash.
6. Use `system 1` command and follow the instruction to set device
   and tftp server IP address and input the firmware file name.
   U-boot will then load the firmware once.
7. Login to LuCI and use LuCI upgrade firmware.

Original Firmware Dump / More details:
https://blog.gov.cooking/archives/research-hongdian-h8922-and-flash.html

Signed-off-by: Coia Prant <coiaprant@gmail.com>
Tested-by: Coia Prant <coiaprant@gmail.com>
Link: https://github.com/openwrt/openwrt/pull/17472
Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
2025-03-10 00:42:44 +01:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: add support for Hongdian H8922 v30 2025-03-10 00:42:44 +01:00
files/drivers ramips: mtk-mmc: remove nt76x8 pinctrl hack 2025-01-04 14:47:53 +01:00
image ramips: add support for Hongdian H8922 v30 2025-03-10 00:42:44 +01:00
mt76x8 ramips: mt76x8: add support for Keenetic Extra (KN-1711) 2025-01-12 20:13:19 +01:00
mt7620 ramips: add support for Hongdian H8922 v30 2025-03-10 00:42:44 +01:00
mt7621 ramips: Add support for Cudy M1300 v2 2025-03-09 16:51:26 +01:00
patches-6.6 kernel: bump 6.6 to 6.6.80 2025-03-02 11:39:59 +01:00
rt288x kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
rt305x ramips: mt76x8: disable unused Ralink systick driver 2024-11-24 23:28:53 +01:00
rt3883 kernel: filter out compiler opts from config 2024-11-17 14:55:16 +01:00
Makefile ramips: switch to Linux 6.6 2024-05-03 21:36:42 +01:00
modules.mk ramips: make package kmod-sdhci-mt7620 conflict with kmod-mmc-mtk 2025-01-04 14:47:53 +01:00