Differences

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

toh:huawei:hg553 [2012/11/12 23:40]
toh:huawei:hg553 [2014/03/12 16:34] (current)
Line 1: Line 1:
====== Huawei EchoLife HG553 ====== ====== Huawei EchoLife HG553 ======
- +The HG553 is an adsl wifi router mainly distributed by [[wp>Vodafone]] to their customers.
===== Supported Versions ===== ===== Supported Versions =====
^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^ ^ Version/Model ^ Launch Date ^ S/N ^ OpenWrt Version Supported ^ Model Specific Notes ^
-| v1  |  09/2009  | 301880809123343 | trunk without DSL & VOIP drivers | - +| v1  |  09/2009  | 301880809123343 | Attitude Adjustment (12.09) | no DSL, no VoIP, LEDs need manual config
-| "Vodafone Home Gateway" (Spain) | ? | 303710905017230, 303710906046600 | Attitude Adjustment (12.09-beta) | boots to RED :-o power light, YET works great (LAN/Wifi DHCP), no DSL?, no VoIP, LEDs needs manual config, LAN/ADSL swapped |+| "Vodafone Home Gateway" (Spain) | ? | 303710905017230, 303710906046600 | Attitude Adjustment (12.09) | boots to RED :-o power light, YET works great (LAN/Wifi DHCP), no DSL, no VoIP, LEDs need manual config | 
 +| "Vodafone Home Gateway" (Italy) | ? | 312988k14012xxx, 303688k... | Attitude Adjustment (12.09) | RED power light, works great, no DSL, no VoIP, LEDs need manual config. Until r39402 if USB is 1.1 only, then: unplug USB peripheral ,'poweroff',switch off, switch on, wait for reboot and retry plugging USB.|
**NOTE:** For anything not included in model specific notes, or where a short comment couldn't be included, see the [[#notes]]. **NOTE:** For anything not included in model specific notes, or where a short comment couldn't be included, see the [[#notes]].
===== Hardware Highlights ===== ===== Hardware Highlights =====
-^ CPU ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ +^ SoC ^ CPU speed ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^Programmable switch
-| Broadcom 6358 | 64MiB | 16MiB | 4 x 1 (100Mb/s) | 2 x USB2.0 | YES | YES |+| BCM6358 | 300 MHz | 64MiB | 16MiB | 4x1 (100Mb/s) | 2 x USB2.0 | YES | YES | YES(BCM5325) |
===== Installation ===== ===== Installation =====
Line 22: Line 23:
==== OEM easy installation ==== ==== OEM easy installation ====
 +  *Download [[http://downloads.openwrt.org/attitude_adjustment/12.09/brcm63xx/generic/openwrt-HW553-squashfs-cfe.bin|openwrt-HW553-squashfs-cfe.bin]]
  *Turn on the system while holding the reset for 30 sec.   *Turn on the system while holding the reset for 30 sec.
  *connect via LAN with a manual setup of your workstation of 192.168.1.2 etc. (no DHCP, no LAN LED on the box)   *connect via LAN with a manual setup of your workstation of 192.168.1.2 etc. (no DHCP, no LAN LED on the box)
Line 30: Line 32:
==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
 +  * Connect the [[#serial|serial]] TTL cable to send commands to CFE for loading the firmware via tftp.
 +  * Start a TFTP server in your PC. Copy the //**openwrt-HW553-squashfs-cfe.bin**// firmware to the server.
 +  * Set the IP at your pc to 192.168.1.35 (or any compatible), and connect the ethernet cable to the router.
 +This is a session of flashing via TFTP:
 +<HTML>
 +<p style="padding: 10px;border:1px solid grey;height:350px;font:9px/12px Georgia, Garamond, Serif;overflow:Auto;background-color:#DEE4E7">
 +<code>CFE> f 192.168.1.35:openwrt-HW553-squashfs-cfe.bin
 +Loading 192.168.1.35:openwrt-HW553-squashfs-cfe.bin ...
 +
 +Finished loading 2883588 bytes
 +
 +
 +Flashing root file system and kernel at 0xbe020000:
 + ~~~~~~~Flag: 3
 +
 +baseAddr 0xbe000000
 +
 +kernelAddr 0xbe020100
 +
 +rootfsAddr 0xbe020100
 +
 +tagFs 0x80800000
 +
 +
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +.
 +
 +
 +.
 +
 +Backup flag .
 +
 + ~~~~~~~Flag: 1
 +
 +.
 +*** Image flash done *** !
 +Resetting board...
 +
 +</code>
 +</p>
 +</HTML>
Line 50: Line 113:
<code> <code>
cd /tmp/ cd /tmp/
-wget http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/brcm63xx/generic/openwrt-HW553-squashfs-cfe.bin +wget http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-HW553-squashfs-cfe.bin 
-sysupgrade /tmp/openwrt-HW553-jffs2-64k-cfe.bin+sysupgrade /tmp/openwrt-HW553-squashfs-cfe.bin
</code> </code>
Line 58: Line 121:
<code> <code>
cd /tmp/ cd /tmp/
-wget http://downloads.openwrt.org/attitude_adjustment/12.09-beta2/brcm63xx/generic/openwrt-HW553-squashfs-cfe.bin +wget http://downloads.openwrt.org/snapshots/trunk/brcm63xx/openwrt-HW553-squashfs-cfe.bin 
-mtd write /tmp/openwrt-HW553-jffs2-64k-cfe.bin linux && reboot</code>+mtd write /tmp/openwrt-HW553-squashfs-cfe.bin linux && reboot</code>
===== Basic configuration ===== ===== Basic configuration =====
Line 69: Line 132:
==== Interfaces ==== ==== Interfaces ====
-The default network configuration is:+The default network configuration is: FIXME
^ Interface Name ^ Description ^ Default configuration ^ ^ Interface Name ^ Description ^ Default configuration ^
| br-lan | LAN & WiFi | 192.168.1.1/24 | | br-lan | LAN & WiFi | 192.168.1.1/24 |
Line 75: Line 138:
| vlan1 (eth0.1) | WAN port | DHCP | | vlan1 (eth0.1) | WAN port | DHCP |
| wl0 | WiFi | Disabled | | wl0 | WiFi | Disabled |
 +
 +Openwrt doesn't come with switch-config for this type of hardware, so you have to figure out for yourself or copy these lines to /etc/config/network.
 +
 +-Only use wifi when modifying vlans, ALWAYS UNPLUG pc<->HG553 lan cable.
 +
 +-You can also install and use robocfg to check your BCM5325 switch settings.
 +
 +
 +This example makes Port 4, which is labeled as "4/TV" the WAN-Device.
 +<code>
 +config switch 'eth1'
 +    option reset '1'
 +    option enable_vlan '1'
 +
 +config switch_vlan
 +    option device 'eth1'
 +    option vlan '1'
 +    option ports '0 1 2 5t'
 +
 +config switch_vlan
 +    option device 'eth1'
 +    option vlan '2'
 +    option ports '3 5t'
 +
 +config interface 'loopback'
 +    option ifname 'lo'
 +    option proto 'static'
 +    option ipaddr '127.0.0.1'
 +    option netmask '255.0.0.0'
 +
 +config interface 'lan'
 +    option type 'bridge'
 +    option ifname 'eth1.1'
 +    option proto 'static'
 +    option ipaddr '192.168.1.1'
 +    option netmask '255.255.255.0'
 +    option nat '1'
 +
 +config interface 'wan'
 +    option ifname 'eth1.2'
 +    option _orig_ifname 'eth1.2'
 +    option _orig_bridge 'false'
 +    option proto 'dhcp'
 +</code>
 +URLs that might be helpful:
 +  * https://forum.openwrt.org/viewtopic.php?id=42912
 +  * https://forum.openwrt.org/viewtopic.php?id=30947
 +  * https://forum.openwrt.org/viewtopic.php?pid=89948#p89948
 +  * http://www.right.com.cn/forum/thread-48135-1-1.html
==== Switch Ports (for VLANs) ==== ==== 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+Install and use robocfg to discover the real name of your lan ports, and on what ETH (0 or 1) they are
-^ Port ^ Switch port + 
-| Internet (WAN) | 4 |  +DON'T take into consideration port values robocfg puts inside parenthesis (): they refer to another unit. 
-| LAN 1 | 3 |  + 
-| LAN 2 | 2 |  +Port 5 is where BCM5325 switch is.
-| LAN 3 | 1 |  +
-| LAN 4 | 0 | +
==== Failsafe mode ==== ==== Failsafe mode ====
Line 105: Line 215:
| **[[doc:techref:Bootloader]]:**    | [[doc:techref:bootloader:CFE|CFE]] | | **[[doc:techref:Bootloader]]:**    | [[doc:techref:bootloader:CFE|CFE]] |
| **[[doc:hardware:soc|System-On-Chip]]:**  | Broadcom 6358 | | **[[doc:hardware:soc|System-On-Chip]]:**  | Broadcom 6358 |
-| **[[doc:hardware:cpu|CPU]]/Speed**        | BMIPS4350 V1.0 / 300 Mhz |+| **[[doc:hardware:cpu|CPU]]/Speed**        | BMIPS4350 V1.0 / 300 Mhz [[doc:hardware:soc:soc.broadcom.bcm63xx:smp|BMIPS Dual Core]] |
| **Flash-Chip:**      | ? | | **Flash-Chip:**      | ? |
| **Flash size:**      | 16 MiB | | **Flash size:**      | 16 MiB |
Line 184: Line 294:
  - as a beginner, you really should inform yourself about [[doc:hardware:soldering]] in general and then obtain some practical experience!   - as a beginner, you really should inform yourself about [[doc:hardware:soldering]] in general and then obtain some practical experience!
 +- an italian user reports that the antenna connector found on the pcb is not working. A workaround for substituting the built-in antenna with an external antenna is found here (requires difficult desoldering and soldering) :
 +http://www.wifi-ita.com/forum/viewtopic.php?f=7&t=10323
 +Quick photosummary:
 +{{:media:hg553.antenna2.png|}}
 +- Integration of 2,5" hard disk in the box [ ITALIAN ] [[http://www.nabuk.org/f/index.php?topic=3468.msg28269#msg28269|LINK]]
 +- Adding a secondary antenna using the MCX connector (needs a fw supporting "diversity")
 +[[http://www.ilpuntotecnicoeadsl.com/forum/index.php/topic,74646.0.html]]
===== Notes ===== ===== Notes =====
Line 197: Line 314:
You can find source code in this page of the huawei forum: You can find source code in this page of the huawei forum:
http://forum.huawei.com/jive4/thread.jspa?forumID=123&threadID=324322&messageID=408081#408081 http://forum.huawei.com/jive4/thread.jspa?forumID=123&threadID=324322&messageID=408081#408081
 +
 +**Performances with Samba36 , PureFTPd,Vsftpd and USB2.0 2.5" disks:**
 +
 +PC(Core2duo, SSD Disk) <-ethernet100-> hw553[Vodafone S.-Italy](Barrier Breaker r39402) <-> usb2.0 hub(two types tested(DUB-H7; CY7C65640)<-> external 2.5" HD box ("Myson Century USB2.0 to ATAPI Bridge Controller", 2.5hd(Hitachi,4200rpm,ext4)).
 +
 +**Test 1** : HW553 reading a 4.3Gb mkv file, Windows8-32 writing the file
 +
 +Results:
 +
 +- Samba36server(default config): 2.8MB/sec, CPU idle 0%.
 +
 +(Various tricks tested in smb.conf.template (sendfile, SO_RCVBUF, SO_SNDBUF, aio sizes): always same result.)
 +
 +The only improvement (3MB/sec) is obtained disabling SMB2 : put a # before the "max protocol = smb2" line.
 +
 +- Pure-ftpd (Filezilla Win32 Client) : 2.8MB/sec, CPU idle 0%.
 +
 +- vsftpd 3.0.2 (default config, Filezilla Win32 Client) : 3 MB sec, CPU idle 0%.
 +
 +(Same configs with a "Lacie Little Disk"(USB2.0 to Sata,Hitachi HD(Sata3, 500gb,5400rpm,NTFS)): Same result.)
 +
 +
 +**Test 2** : HW553 reading a 4.3Gb mkv file, Linux Peppermint-32bit in VirtualBox writing the file:
 +
 +Results:
 +
 +- pure-ftpd (and Filezilla Linux Client) : 3,3MB/s
 +
 +
 +**Test 3** HW553 (firmware Dlink-Roleo: uses AIO) reading a 4.3Gb mkv file, Windows8-32 writing the file
 +
 +Results :
 +
 +- samba 2.0.10 : 4MB/Sec
 +
 +- samba 2.0.10 without DSL processes : 4,5MB/Sec
 +
 +
 +
 +** SMP/MTC (2nd core enabling) on BCM6358 **
 +
 +Work in progress: http://wiki.openwrt.org/doc/hardware/soc/soc.broadcom.bcm63xx/smp
===== Other links ===== ===== Other links =====
-Integration of 2,5" hard disk in the box [ ITALIAN ] [[http://www.nabuk.org/f/index.php?topic=3468.msg28269#msg28269|LINK]] 
===== Tags ===== ===== Tags =====
-For some Help with the Tags, please have a look here: [[toh:meta:tags]]+For some Help with the Tags, please have a look here: [[meta/tags]]
-{{tag>FastEthernet 5Port USB 2USB JTAG serial 802.11bg 64RAM 16Flash MIPS MIPS32 34K b43 bcm63xx bcm6358 ADSL2+}}+{{tag>bcm63xx bcm6358 FastEthernet 5Port 2USB JTAG serial 802.11bg 64RAM 16Flash MIPS MIPS32 b43 BCM5325}}

Back to top

toh/huawei/hg553.1352760034.txt.bz2 · Last modified: 2012/11/12 23:40 (external edit)