User Tools

Site Tools


toh:huawei:hg520b
>>>>> Wiki-merge in process >>>>> wiki.openwrt.org + openwrt.org are going to be merged soon, this wiki therefore being read only. Once pages are transfered to openwrt.org, you can edit them again.

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Previous revision
toh:huawei:hg520b [2013/11/05 13:48]
toh:huawei:hg520b [2016/02/18 07:45] (current)
tmomas [Info] EM639165TS is RAM, not flash
Line 1: Line 1:
 +====== Huawei HG520b ======
  
 +The Huawei HG520b is an adsl wifi router distributed by TEDATA ​ to IT'S customers. ​
 +
 +| master ic NO is |
 +| TRENDCHIP |
 +| TC3162P2-PQ208G |
 +| D500H.1 |
 +| UG1016D2-H |
 +
 +
 +| NETWORK IC NO |
 +| IC+ |
 +| IP175C LF |
 +| 1016C13 |
 +| FR1W418.18 |
 +
 +
 +| WIRELISS IC NO |
 +| RA |
 +| RT2561T |
 +| G2V8900G0 |
 +| 1016AT |
 +
 +
 +| MEMORY IC "​I'​M NOT SURE" |
 +| EM639165TS-7G |
 +| 009AG05AGF841.132Q |
 +| Frequency 143MHZ |
 +
 +
 +| ADSL IC  |
 +| trendchip tc3085-tq64-epg |
 +
 +
 +this is all i know
 +
 +===== Supported Versions =====
 +^ Version/​Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
 +| v1   ​| ​ 2006-07 ​ | - |  -  | - |
 +| v1.1 |  2008-12 ​ | - |  -  | - |
 +| v2   ​| ​ 2011-01 ​ | - |  -  | - |
 +
 +**NOTE:** Anything not included in model specific notes, or where a short comment couldn'​t be included on the [[#notes]].
 +
 +OEM source code available at: (add URL)
 +
 +===== Hardware Highlights =====
 +^ SoC        ^ Ram     ^ Flash   ^ Network ​  ^ USB   ^ Serial ​  ^ JTag   ^
 +| TC3162P2 ​  | 16MiB   | ?       | 4 x 1     | No    | Yes      | ?      |
 +
 +Manufacturer'​s site: [[http://​www.huawei.com/​en/​]]
 +
 +Forum: [[https://​forum.openwrt.org/​viewtopic.php?​id=???​]]
 +
 +==== Keep the articles modular ====
 +| Please include only model specific information,​ omit bla,bla and put everything generic into separate articles ​ |
 +| [[doc/​howto/​generic.overview]] if you have no time to write certain stuff link to this |
 +| [[doc/​howto/​basic.config]] should lead the way, do not explain this again  |
 +| DO NOT provide a complete howto here! Instead //groom// the general HowTos. ​ |
 +
 +
 +===== Installation =====
 +  - → [[doc:​howto:​obtain.firmware]]
 +  - → [[doc:​howto:​generic.flashing|Install OpenWrt]]
 +  - → **»»»»here»»»»[[about/​latest|Latest OpenWrt release]]««««here««««** **DO NOT PROVIDE OWN LINKS to http://​downloads.openwrt.org/​**
 +
 +==== Flash Layout ====
 +Please check out the article [[doc:​techref:​Flash.Layout]]. It contains an example and a couple of explanations.
 +
 +==== OEM easy installation ====
 +
 +| FIXME The instructions below are for Broadcom devices and only serve as an example. Don't leave them in place if they do not apply to a particular device! |
 +
 +This section deals with how you install OpenWrt from a device freshly opened. ​ Plus the steps required such as reset to factory defaults if the device has already been configured
 +
 +**Note:** Reset router to factory defaults if it has been previously configured.
 +  *Browse to http://​192.168.1.1/​Upgrade.asp
 +  *Upload .bin file to router
 +  *Wait for it to reboot
 +  *Telnet to 192.168.1.1 and set a root password, or browse to http://​192.168.1.1 if LuCI is installed.
 +
 +==== OEM installation using the TFTP method ====
 +
 +->  [[doc:​howto:​generic.flashing.tftp]]
 +
 +=== Specific values you need ===
 +
 +| Bootloader tftp server IPv4 address | FILL-IN |
 +| Bootloader MAC address (special) | FILL-IN |
 +| Firmware tftp image | [[about/​latest|Latest OpenWrt release]] (**''​NOTE:''​** Name must contain //"​tftp"//​) |
 +| TFTP Transfer Window | FILL-IN seconds |
 +| TFTP Window Start | approximately FILL-IN seconds after power on |
 +| TFTP Client Required IP Address | FILL-IN |
 +
 +==== Upgrading OpenWrt ====
 +->  [[doc:​howto:​generic.sysupgrade]]
 +
 +If you have already installed OpenWrt and like to reflash for e.g. upgrading to a new OpenWrt version you can upgrade using the mtd command line tool. It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
 +
 +=== LuCI Web Upgrade Process ===
 +
 +  * Browse to http://​192.168.1.1/​cgi-bin/​luci/​mini/​system/​upgrade/​ LuCI Upgrade URL
 +  * Upload image file for sysupgrade to LuCI
 +  * Wait for reboot
 +
 +=== Terminal Upgrade Process ===
 +
 +  * Login as root via SSH on 192.168.1.1
 +  * Use the following commands to upgrade.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +sysupgrade /​tmp/​xxx.abc
 +</​code>​
 +
 +  *If sysupgrade does not support this router, use the following commands.
 +
 +<​code>​
 +cd /tmp/
 +wget http://​http://​downloads.openwrt.org/​snapshots/​trunk/​XXX/​xxx.abc
 +mtd write /​tmp/​xxx.abc linux && reboot</​code>​
 +
 +
 +===== Basic configuration =====
 +-> [[doc:​howto:​basic.config|Basic configuration]] After flashing, proceed with this.\\
 +Set up your Internet connection, configure wireless, configure USB port, etc.
 +
 +
 +===== 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) | None | 
 +| vlan1 (eth0.1) | WAN port | DHCP | 
 +| wl0 | WiFi | Enabled | 
 +
 +==== Switch Ports (for VLANs) ====
 +Numbers 0-3 are Ports 1-4 as labeled on the unit, number 4 is the Internet (WAN) on the unit, 5 is the internal connection to the router itself. Don't be fooled: Port 1 on the unit is number 3 when configuring VLANs. vlan0 = eth0.0, vlan1 = eth0.1 and so on.
 +^ Port ^ Switch port ^
 +| Internet (WAN) | 4 | 
 +| LAN 1 | 3 | 
 +| LAN 2 | 2 | 
 +| LAN 3 | 1 | 
 +| LAN 4 | 0 | 
 +
 +==== Failsafe mode ====
 +-> [[doc:​howto:​generic.failsafe]]
 +
 +==== Buttons ====
 +-> [[doc:​howto:​hardware.button]] on howto use and configure the hardware button(s).
 +
 +The Huawei HG520b has three buttons. They are Reset and Power, Wireless Here on/off , we merely name the buttons, so we can use them in the above Howto:
 +^ BUTTON ^ Event ^
 +| Reset | reset | 
 +| Wireless | on/off wireless | 
 +| Power | on/off Power | 
 +
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set]]:​** ​              | [[wp>​MIPS architecture|MIPS]] / [[wp>ARM architecture|ARM]] / [[wp>​PowerPC]] / [[wp>​SPARC]] / [[wp>​Ubicom32]] / [[wp>​x86]] /​[[wp>​AVR32]] / [[wp>​ETRAX CRIS]] / ...  |
 +| **Vendor:​** ​                              | [[wp>​TRENDCHIP ]]   |
 +| **[[doc:​techref:​Bootloader]]:​** ​          | [[doc:​techref:​bootloader:​uboot|U-Boot]] / [[doc:​techref:​bootloader:​RedBoot]] / [[doc:​techref:​bootloader:​CFE]] / ... |
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | TRENDCHIP TC3162P2-PQ208G |
 +| **[[doc:​hardware:​cpu|CPU]] @Frq** ​        ​| ​ |
 +| **Flash size:​** ​                | 8192 KiB |
 +| **Flash Chip:​** ​                ​| ​ |
 +| **RAM size:​** ​                  | 16 MiB   |
 +| **RAM Chip:​** ​                  | [[http://​www.etron.com/​manager/​uploads/​EM639165TS_v10.pdf|EM639165TS]] ​ |
 +| **Wireless No1:​** ​              | //RA//: RT2561T /  for 2.4GHz 802.11b/​g ​  |
 +| **[[doc:​hardware:​Switch]]:​** ​   | IC+ IP175C LF ( VLAN )  |
 +| **[[doc/​hardware/​internet.access.technologies|Modem]]:​** ​  | //none// / xDSL  /  Wireless ​ |
 +| **USB:​** ​                       | NONE |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​ | [[#​Serial|Yes]] |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​     | [[#​JTAG|Yes]] ​  |
 +
 +==== Photos ====
 +Huawei HG520b
 +
 +//Front://
 +
 +{{media:​huawei:​hg520:​hg520b_case_front.jpg?​400|}}
 +
 +//Back://
 +
 +{{media:​huawei:​hg520:​hg520b_case_back.jpg?​400|}}
 +
 +==== Opening the case ====
 +
 +//Main PCB//
 +
 +
 +{{media:​huawei:​hg520:​hg520b_pcb.jpg?​400|}}
 +
 +
 +{{media:​huawei:​hg520:​hg520b-01.jpg?​400|}}
 +
 +
 +{{media:​huawei:​hg520:​hg520b-02.jpg?​400|}}
 +
 +==== Serial ====
 +-> [[doc:​hardware:​port.serial]] general information about the serial port, serial port cable, etc.
 +
 +How to connect to the Serial Port of this specific device:
 +
 +
 +==== JTAG ====
 +-> [[doc:​hardware:​port.jtag]] general information about the JTAG port, JTAG cable, etc.
 +
 +How to connect to the JTAG Port of this specific device:
 +
 +**Photo of PCB with markings**
 +
 +
 +===== Debricking =====
 +-> [[doc:​howto:​generic.debrick]]
 +
 +===== Bootloader Mods =====
 +
 +Currently none.
 +
 +===== Hardware mods =====
 +
 +Currently none.
 +
 +===== Bootlogs =====
 +==== OEM bootlog ====
 +
 +<WRAP bootlog>
 +<​nowiki>​PUT HERE YOUR BOOTLOG</​nowiki>​
 +</​WRAP>​\\
 +
 +==== OpenWrt bootlog ====
 +
 +<WRAP bootlog>
 +<​nowiki>​PUT HERE YOUR BOOTLOG</​nowiki>​
 +</​WRAP>​\\
 +
 +===== Notes =====
 +
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​16flash 32ram}}