Huawei HG556a
BCM6358-based b/g/n router, (heavily) branded for/by Vodafone. 3 USB ports, one preconfigured for a 3G modem and others used for printer or hard disk sharing functionality. 2 phone connections. 1 ADSL port.
WARNING Before trying to run OpenWRT, do backup the flash, especially the bootloader and the ath_data area. The nvram data embedded in the bootloader and the WLAN calibration data in ath_data are specific for your device and difficult to restore otherwise. They cannot be restored by flashing back a vendor firmware. Running OpenWRT voids any guarantee and may brick your device! (See WAG160NV2 and soc.broadcom.bcm63xx)
Supported Versions
Work in progress.
Hardware Highlights
| CPU | Ram | Flash | Network | USB | Serial | JTag |
|---|---|---|---|---|---|---|
| Broadcom 6358 | 64MB | 16MB | 4x1 | 2xUSB2,1xUSB1.1 | yes | yes |
Installation
OEM easy installation
OEM installation using the TFTP method
Upgrading OpenWrt
Basic configuration
Hardware
Info
| Architecture: MIPS |
| Vendor: Broadcom |
| Bootloader: CFE |
| System-On-Chip: Broadcom 6358KFBG |
| CPU Speed: 300 Mhz |
| Flash-Chip: Macronix MX29GL128E / Spansion 29LV128DBT2I-90Q / Spansion S29GL128P10 |
| Flash size: 16 MiB |
| RAM: 64 MiB |
| Wireless: Atheros AR9223 802.11b/g/n |
| Ethernet: Switch in CPU |
| USB: Yes, 2x2.0, 1x1.1 |
| Serial: yes |
| JTAG: yes |
Photos
Opening the case
Note: This will void your warranty!
- One screw, to be found under the centre of the WAN MAC barcode.
- Starting at the bottom, open the case following the red stripe.
Main PCB
Photo of PCB
Serial
The HG556 has a 5 pin header just under the antenna labeled J401.
From left to right the pins are:
/-----------------------------------\ | ANTENNA | \-----------------------------------/ /-----------------------------\ | RX | ??? | VCC | GND | TX | \-----------------------------/
JTAG
10 pin header marked J400 (see back of board picture above)
Uses AVR JTAG layout
Broadcom CPU recognised by TJTAG version 3.0.1
MX29GL128E flash chip required the following line to be added to tjtag.c
{ 0x00C2, 0x227E, size16MB, CMD_TYPE_AMD,"MX29GL128E U (16MB)"
,128,size128K, 0,0, 0,0, 0,0 },
Note: YMMV, this router appears to come with a number of different flash chips.
Specific Configuration
Interfaces
The default network configuration is:
| Interface Name | Description | Default configuration |
|---|---|---|
| br-lan | LAN & WiFi | 192.168.1.1/24 |
| vlan0 (eth0.0) | LAN ports (1 to 4) | DHCP |
| wl0 | WiFi | WPA |
Switch Ports (for VLANs)
Failsafe mode
Boot into failsafe mode
Buttons
→hardware.button The HG556a has four buttons.
| BUTTON | Event |
|---|---|
| Reset | reset |
| WiFi | on/off |
| restart | reboot |
| ? | ? |
ath_data
The location of the ath_data information (starts with 0xA55A) is displayed on bootup. The fInfo.* values appear to be embedded in the kernel
Boot log reports
... Total Flash size: 16384K with 128 sectors Board id is set HW556, ucHardwareType 0 fInfo.flash_wlanparam_start_blk = 119 fInfo.flash_wlanparam_number_blk = 1 fInfo.flash_wlanparam_length = 0x2000 fInfo.flash_wlanparam_blk_offset = 0x1e000
HW556 prom init ...
inbox/huawei.hg556a.txt · Last modified: 2011/06/14 22:03 by jerje

