Huawei EchoLife HG622u
The HG622 is an ADSL wifi router mainly distributed by O2_Czech_Republic to their customers.
Supported Versions
Hardware Highlights
Installation
OEM installation using the TFTP method
A serial (UART) adapter is required to install OpenWrt.
For installing the Openwrt firmware you will need to use the CFE serial console:
- Connect a serial TTL cable to send commands to CFE via serial console software, for loading the firmware via TFTP.
- Start a TFTP server in your PC. Copy the firmware.bin file to the TFTP server's directory.
- Set the IP at your pc to 192.168.1.35 (or any compatible), and connect the ethernet cable to the router.
- Power ON the router, press any key in the serial console to break into the CFE command line interpreter.
- Execute the command:
f 192.168.1.35:firmware.bin
This is a session of flashing via TFTP:
CFE> f 192.168.1.35:firmware.bin Loading 192.168.1.35:firmware.bin ... Finished loading 2686980 bytes Flashing root file system and kernel at 0xb8020000: ............................................ . *** Image flash done *** ! Resetting board...\0xff
Flash Layout
Please check out the article flash.layout. It contains an example and a couple of explanations.
partition | name | filesystem | function |
---|---|---|---|
mtd0 | CFE | n/a | bootloader |
mtd1 | kernel | RAM executable | kernel |
mtd2 | rootfs | squashfs | root |
mtd3 | rootfs_data | jffs2 | configuration, install new packages |
mtd4 | cal_data | n/a | wifi calibration data RT3062F eeprom is at 0x0FA0000 offset. |
mtd5 | nvram | n/a | OEM configuration data |
mtd6 | linux | n/a | OpenWrt upgrade |
Hardware
Info
Instruction set | MIPS |
---|---|
Vendor | Broadcom |
bootloader | cfe |
Board ID | 96368MVWG_hg622 |
System-On-Chip | Broadcom BCM6368 |
CPU/Speed | BMIPS4350 v3.1 dual core / 400 MHz |
Flash-Chip | MX29GL128EHT2I-90G / 128KB block size x 128 blocks |
Flash size | 8 MiB |
RAM | 32 MiB / DDR-400 |
Wireless | Ralink RT3062 802.11b/g/n (onboard) |
Antenna | 2x PCB |
Ethernet | Broadcom integrated, fast ethernet |
USB | 1 x USB2.0 |
ADSL Modem | Yes, NOT SUPPORTED |
Power adapter | ? |
Serial | Yes |
JTAG | Yes |
PCB pictures
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
J4 |
---|
TX |
GND |
VCC |
nc |
RX |
Serial works at 3.3V 115200 8N1, see pin assignments above
Speed (baud) - 115200 Data bits - 8 Stop bits - 1 Parity - None Flow control - None |
GPIOs
LEDs
Read: System configuration: Leds to configure the leds
GPIO | symbol | Active |
---|---|---|
2 | adsl | Low |
5 | inet | Low |
11 | usb | Low |
22 | power | Low |
6 (PINMUX_EPHY0_ACT_LED) | lan1 | Low |
7 (PINMUX_EPHY1_ACT_LED) | lan2 | Low |
8 (PINMUX_EPHY2_ACT_LED) | lan3 | Low |
9 (PINMUX_EPHY3_ACT_LED) | lan4 | Low |
Buttons
→ hardware.button on howto use and configure the hardware button(s).
BUTTON | Event | GPIO |
---|---|---|
RESET | reset | 34 |
WPS | 12 | |
WLAN | 23 |
Bootloader mods
bootloader | download link | description |
---|---|---|
CFE | CFE-HG622-CUSTOM.bin | moded bootloader: web interface added, reset button detect for stopping the bootloader, no double image, no rootfs CRC check |