User Tools

Site Tools


toh:huawei:hg532
The Wiki is getting migrated to a new server, edits are disabled until further notice.

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:hg532 [2013/01/19 16:30]
toh:huawei:hg532 [2016/03/06 16:05] (current)
mark@cokers.com.au old revision restored (2015/11/30 22:29)
Line 1: Line 1:
 +====== Huawei HG532 ======
 +ADSL wifi router, ramips platform.
  
 +http://​stokie-ant.no-ip.org/​huawei-echolife-hg532
 +
 +===== Supported Versions =====
 +**<color crimson>​Not supported </​color>​**
 +
 +[[https://​forum.openwrt.org/​viewtopic.php?​pid=172007|Work in progress]]
 +
 +===== Hardware Highlights =====
 +^ SoC ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^
 +| RT3052F | 16MiB | 4MiB | 4 x 1| Yes | Yes | ? |
 +
 +==== OEM installation using the TFTP method ====
 +
 +->  [[doc:​howto:​generic.flashing.tftp]]
 +
 +FIXME
 +
 +===== Hardware =====
 +==== Info ====
 +| **[[wp>​Instruction set|Architecture]]:​** ​   | [[wp>​MIPS architecture|MIPS]] ​ |
 +| **Vendor:​** ​         | [[wp>​Ralink|Ralink]] |
 +| **[[doc:​techref:​Bootloader]]:​** ​    | [[doc:​techref:​bootloader:​uboot|U-Boot]]|
 +| **[[doc:​hardware:​soc|System-On-Chip]]:​** ​ | Ralink RT3052F |
 +| **[[doc:​hardware:​cpu|CPU]]/​Speed** ​       | 24Kec 384 Mhz |
 +| **Flash-Chip:​** ​     | MX29LV320ETTI-70G |
 +| **Flash size:​** ​     | 4 MiB |
 +| **RAM chip:​** ​       | ESMT M12L128168A-6T |
 +| **RAM size:​** ​       | 16 MiB |
 +| **Wireless:​** ​       | Ralink integrated |
 +| **Ethernet:​** ​       | Ralink integrated |
 +| **Internet:​** ​       | ADSL2+ |
 +| **USB:​** ​            | Yes 1 x 2.0     |
 +| **[[doc:​hardware:​port.serial|Serial]]:​** ​         | [[#​Serial|Yes]] |
 +| **[[doc:​hardware:​port.jtag|JTAG]]:​** ​           | [[#​JTAG|Yes]] ​ |
 +
 +==== Photos ====
 +Model Number
 +
 +//Front://
 +
 +**Photo of front of the casing**
 +
 +//Back://
 +
 +**Photo of back of the casing**
 +
 +==== Opening the case ====
 +**Note:** This will void your warranty!
 +
 +  *To remove the cover do a/b/c
 +
 +//Main PCB//
 +
 +**Photo of PCB**
 +
 +==== 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:
 +
 +**Photo of PCB with markings**
 +
 +===== Hardware mods =====
 +  - as a beginner, you really should inform yourself about [[doc:​hardware:​soldering]] in general and then obtain some practical experience!
 +
 +===== Bootlogs =====
 +<WRAP bootlog>
 +<​nowiki>​U-Boot 1.1.3 (Jul  7 2012 - 20:​00:​17) ​                                                                              
 +
 +Board: Ralink APSoC DRAM:  16 MB
 +relocate_code Pointer at: 80fb0000
 +
 + Set info->​start[0]=BF000000
 +flash_protect ON: from 0xBF000000 to 0xBF01D423
 +flash_protect ON: from 0xBF030000 to 0xBF030FFF
 +============================================ ​
 +Ralink UBoot Version: 3.3
 +-------------------------------------------- ​
 +ASIC 3052_MP2 (Port5<​->​RvMII)
 +DRAM component: 128 Mbits SDR
 +DRAM bus: 16 bit
 +Total memory: 16 MBytes
 +Flash component: NOR Flash
 +Date:​Jul ​ 7 2012  Time:​20:​00:​17
 +============================================ ​
 +icache: sets:256, ways:4, linesz:32 ,​total:​32768
 +dcache: sets:128, ways:4, linesz:32 ,​total:​16384 ​
 +
 + ##### The CPU freq = 384 MHZ #### 
 +
 +SDRAM bus set to 16 bit 
 + SDRAM size =16 Mbytes
 +
 +Please choose the operation: ​
 +   1: Load system code to SDRAM via TFTP. 
 +   2: Load system code then write to Flash via TFTP. 
 +   3: Boot system code via Flash (default).
 +   4: Entr boot command line interface.
 +   9: Load Boot Loader code then write to Flash via TFTP. 
 + ​0 ​
 +   
 +3: System Boot system code via Flash.
 +## Booting image at bf050000 ...
 +   Image Name:   MIPS OpenWrt Linux-3.3.8
 +   ​Created: ​     2012-07-09 ​  ​0:​00:​11 UTC
 +   Image Type:   MIPS Linux Kernel Image (lzma compressed)
 +   Data Size:    835166 Bytes = 815.6 kB
 +   Load Address: 80000000
 +   Entry Point: ​ 80000000
 +   ​Verifying Checksum ... OK
 +   ​Uncompressing Kernel Image ... OK
 +No initrd
 +## Transferring control to Linux (at address 80000000) ...
 +## Giving linux memsize in MB, 16
 +
 +Starting kernel ...
 +
 +[    0.000000] Linux version 3.3.8 (ant@C2Q) (gcc version 4.6.3 20120201 (prerelease) (Linaro GCC 4.6-2012.02) ) #5 Mon Jul 9 00:59:06 BST 2012
 +[    0.000000] bootconsole [early0] enabled
 +[    0.000000] CPU revision is: 0001964c (MIPS 24KEc)
 +[    0.000000] Ralink RT3052 id:1 rev:3 running at 384.00 MHz
 +[    0.000000] Determined physical RAM map:
 +[    0.000000] ​ memory: 01000000 @ 00000000 (usable)
 +[    0.000000] Initrd not found or empty - disabling initrd
 +[    0.000000] Zone PFN ranges:
 +[    0.000000] ​  ​Normal ​  ​0x00000000 -> 0x00001000
 +[    0.000000] Movable zone start PFN for each node
 +[    0.000000] Early memory PFN ranges
 +[    0.000000] ​    0: 0x00000000 -> 0x00001000
 +[    0.000000] Built 1 zonelists in Zone order, mobility grouping off.  Total pages: 4064
 +[    0.000000] Kernel command line:  board=HG532 console=ttyS1,​57600 mtdparts=physmap-flash.0:​192k(u-boot)ro,​64k(u-boot-env)ro,​64k(factory)ro,​896k(kernel),​2880k(rootfs),​3776k@0x50000(firmware) rootfstype=sq2
 +[    0.000000] PID hash table entries: 64 (order: -4, 256 bytes)
 +[    0.000000] Dentry cache hash table entries: 2048 (order: 1, 8192 bytes)
 +[    0.000000] Inode-cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
 +[    0.000000] Primary data cache 16kB, 4-way, VIPT, no aliases, linesize 32 bytes
 +[    0.000000] Writing ErrCtl register=00046b2d
 +[    0.000000] Readback ErrCtl register=00046b2d
 +[    0.000000] Memory: 13720k/​16384k available (1914k kernel code, 2664k reserved, 317k data, 172k init, 0k highmem)
 +[    0.000000] SLUB: Genslabs=9, HWalign=32, Order=0-3, MinObjects=0,​ CPUs=1, Nodes=1
 +[    0.000000] NR_IRQS:48
 +[    0.000000] console [ttyS1] enabled, bootconsole disabled
 +[    0.000000] console [ttyS1] enabled, bootconsole disabled
 +[    0.010000] Calibrating delay loop... 255.59 BogoMIPS (lpj=1277952)
 +[    0.090000] pid_max: default: 32768 minimum: 301
 +[    0.100000] Mount-cache hash table entries: 512
 +[    0.110000] NET: Registered protocol family 16
 +[    0.120000] MIPS: machine is Hauwei Echolife HG532
 +[    0.130000] gpiochip_add:​ registered GPIOs 0 to 23 on device: RT305X-GPIO0
 +[    0.140000] gpiochip_add:​ registered GPIOs 24 to 39 on device: RT305X-GPIO1
 +[    0.150000] gpiochip_add:​ registered GPIOs 40 to 51 on device: RT305X-GPIO2
 +[    0.180000] bio: create slab <​bio-0>​ at 0
 +[    0.190000] Switching to clocksource MIPS
 +[    0.200000] NET: Registered protocol family 2
 +[    0.210000] IP route cache hash table entries: 1024 (order: 0, 4096 bytes)
 +[    0.230000] TCP established hash table entries: 512 (order: 0, 4096 bytes)
 +[    0.240000] TCP bind hash table entries: 512 (order: -1, 2048 bytes)
 +[    0.250000] TCP: Hash tables configured (established 512 bind 512)
 +[    0.270000] TCP reno registered
 +[    0.270000] UDP hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.280000] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes)
 +[    0.300000] NET: Registered protocol family 1
 +[    0.340000] squashfs: version 4.0 (2009/​01/​31) Phillip Lougher
 +[    0.360000] JFFS2 version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
 +[    0.380000] msgmni has been set to 26
 +[    0.390000] io scheduler noop registered
 +[    0.390000] io scheduler deadline registered (default)
 +[    0.410000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled
 +[    0.420000] serial8250: ttyS0 at MMIO 0x10000500 (irq = 13) is a 16550A
 +[    0.430000] serial8250: ttyS1 at MMIO 0x10000c00 (irq = 20) is a 16550A
 +[    0.450000] physmap platform flash device: 00800000 at bf000000
 +[    0.460000] physmap-flash.0:​ Found 1 x16 devices at 0x0 in 16-bit bank. Manufacturer ID 0x0000c2 Chip ID 0x0022a7
 +[    0.480000] Amd/Fujitsu Extended Query Table at 0x0040
 +[    0.490000] ​  ​Amd/​Fujitsu Extended Query version 1.1.
 +[    0.510000] physmap-flash.0:​ Swapping erase regions for top-boot CFI table.
 +[    0.520000] number of CFI chips: 1
 +[    0.530000] 6 cmdlinepart partitions found on MTD device physmap-flash.0
 +[    0.540000] Creating 6 MTD partitions on "​physmap-flash.0":​
 +[    0.550000] 0x000000000000-0x000000030000 : "​u-boot"​
 +[    0.560000] 0x000000030000-0x000000040000 : "​u-boot-env"​
 +[    0.580000] 0x000000040000-0x000000050000 : "​factory"​
 +[    0.590000] 0x000000050000-0x000000130000 : "​kernel"​
 +[    0.610000] 0x000000130000-0x000000400000 : "​rootfs"​
 +[    0.620000] mtd: partition "​rootfs"​ set to be root filesystem
 +[    0.630000] mtd: partition "​rootfs_data"​ created automatically,​ ofs=2F0000, len=110000 ​
 +[    0.650000] 0x0000002f0000-0x000000400000 : "​rootfs_data"​
 +[    0.660000] 0x000000050000-0x000000400000 : "​firmware"​
 +[    0.690000] TCP cubic registered
 +[    0.700000] NET: Registered protocol family 17
 +[    0.710000] 8021q: 802.1Q VLAN Support v1.8
 +[    0.720000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4.
 +[    0.740000] Freeing unused kernel memory: 172k freed
 +[    2.430000] input: gpio-keys-polled as /​devices/​platform/​gpio-keys-polled/​input/​input0
 +[    2.510000] Button Hotplug driver version 0.4.1
 +- preinit -
 +Press the [f] key and hit [enter] to enter failsafe mode
 +- regular preinit -
 +[    5.970000] JFFS2 notice: (357) jffs2_build_xattr_subsystem:​ complete building xattr subsystem, 1 of xdatum (0 unchecked, 0 orphan) and 5 of xref (0 dead, 2 orphan) found.
 +switching to jffs2
 +- init -
 +
 +Please press Enter to activate this console. [    6.890000] Compat-wireless backport release: compat-wireless-2012-06-14
 +[    6.910000] Backport based on wireless-testing.git master-2012-06-14
 +[    6.920000] compat.git: wireless-testing.git
 +[    6.960000] cfg80211: Calling CRDA to update world regulatory domain
 +[    6.980000] cfg80211: World regulatory domain updated:
 +[    6.990000] cfg80211: ​  ​(start_freq - end_freq @ bandwidth), (max_antenna_gain,​ max_eirp)
 +[    7.000000] cfg80211: ​  ​(2402000 KHz - 2472000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    7.020000] cfg80211: ​  ​(2457000 KHz - 2482000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[    7.040000] cfg80211: ​  ​(2474000 KHz - 2494000 KHz @ 20000 KHz), (300 mBi, 2000 mBm)
 +[    7.050000] cfg80211: ​  ​(5170000 KHz - 5250000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    7.070000] cfg80211: ​  ​(5735000 KHz - 5835000 KHz @ 40000 KHz), (300 mBi, 2000 mBm)
 +[    7.570000] usbcore: registered new interface driver usbfs
 +[    7.580000] usbcore: registered new interface driver hub
 +[    7.590000] usbcore: registered new device driver usb
 +[    7.910000] phy0 -> rt2x00lib_request_eeprom_file:​ Info - Loading EEPROM data from '​RT305X.eeprom'​.
 +[    8.070000] phy0 -> rt2x00_set_chip:​ Info - Chipset detected - rt: 2872, rf: 0002, rev: 0200.
 +[    8.220000] Error: Driver '​gpio-keys-polled'​ is already registered, aborting...
 +[    8.370000] PPP generic driver version 2.4.2
 +[    8.560000] ip_tables: (C) 2000-2006 Netfilter Core Team
 +[    8.730000] NET: Registered protocol family 24
 +[    8.760000] nf_conntrack version 0.5.0 (217 buckets, 868 max)
 +[    9.090000] dwc_otg: version 2.72a 24-JUN-2008
 +[    9.100000] dwc_otg: Core Release: 2.66a
 +[    9.310000] dwc_otg: Periodic Transfer Interrupt Enhancement - disabled
 +[    9.320000] dwc_otg: Multiprocessor Interrupt Enhancement - disabled
 +[    9.330000] dwc_otg: Using DMA mode
 +[    9.340000] dwc_otg: Device using Buffer DMA mode
 +[    9.350000] dwc_otg dwc_otg.0: DWC OTG Controller
 +[    9.360000] dwc_otg dwc_otg.0: new USB bus registered, assigned bus number 1
 +[    9.370000] dwc_otg dwc_otg.0: irq 26, io mem 0x101c0000
 +[    9.380000] dwc_otg: Init: Port Power? op_state=1
 +[    9.390000] dwc_otg: Init: Power Port (0)
 +[    9.400000] hub 1-0:1.0: USB hub found
 +[    9.410000] hub 1-0:1.0: 1 port detected
 +[    9.800000] usb 1-1: new high-speed USB device number 2 using dwc_otg
 +[   ​13.100000] device eth0.1 entered promiscuous mode
 +[   ​13.110000] device eth0 entered promiscuous mode
 +[   ​13.130000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​13.140000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​15.140000] br-lan: port 1(eth0.1) entered forwarding state
 +[   ​16.150000] ramips-wdt: timeout value 60 must be 0 < timeout < 33
 +[   ​16.970000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.060000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.070000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.080000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.100000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.110000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.130000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 0 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
 +[   ​17.150000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 1 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
 +[   ​17.170000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
 +[   ​17.190000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 2, TXop: 0.
 +[   ​17.240000] device wlan0 entered promiscuous mode
 +[   ​17.250000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.290000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.300000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.310000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.330000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.340000] phy0 -> rt2800_is_305x_soc:​ Notice - Unknown RF chipset on rt305x
 +[   ​17.360000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 0 - CWmin: 3, CWmax: 4, Aifs: 2, TXop: 102.
 +[   ​17.380000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 1 - CWmin: 4, CWmax: 5, Aifs: 2, TXop: 188.
 +[   ​17.400000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 2 - CWmin: 5, CWmax: 10, Aifs: 3, TXop: 0.
 +[   ​17.420000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 3 - CWmin: 5, CWmax: 10, Aifs: 7, TXop: 0.
 +[   ​17.830000] br-lan: port 2(wlan0) entered forwarding state
 +[   ​17.840000] br-lan: port 2(wlan0) entered forwarding state
 +[   ​17.860000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 0 - CWmin: 2, CWmax: 3, Aifs: 1, TXop: 47.
 +[   ​17.920000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 1 - CWmin: 3, CWmax: 4, Aifs: 1, TXop: 94.
 +[   ​17.960000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 2 - CWmin: 4, CWmax: 6, Aifs: 3, TXop: 0.
 +[   ​18.030000] phy0 -> rt2x00mac_conf_tx:​ Info - Configured TX queue 3 - CWmin: 4, CWmax: 10, Aifs: 7, TXop: 0.
 +[   ​19.840000] br-lan: port 2(wlan0) entered forwarding state
 +
 +#cat /​proc/​cpuinfo
 +system type             : Ralink RT3052 id:1 rev:3
 +machine ​                : Hauwei Echolife HG532
 +processor ​              : 0
 +cpu model               : MIPS 24KEc V4.12
 +BogoMIPS ​               : 255.59
 +wait instruction ​       : yes
 +microsecond timers ​     : yes
 +tlb_entries ​            : 32
 +extra interrupt vector ​ : yes
 +hardware watchpoint ​    : yes, count: 4, address/irw mask: [0x0ffc, 0x0ffc, 0x0ffb, 0x0ffb]
 +ASEs implemented ​       : mips16 dsp
 +shadow register sets    : 1
 +kscratch registers ​     : 0
 +core                    : 0
 +VCED exceptions ​        : not available
 +VCEI exceptions ​        : not available</​nowiki>​
 +</​WRAP>​\\
 +
 +===== Tags =====
 +[[meta:​tags|How to add tags]]
 +{{tag>​4flash 16ram}}