User Tools

Site Tools


toh:huawei:hg556a

Differences

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

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
toh:huawei:hg556a [2014/08/20 22:57]
danitool
toh:huawei:hg556a [2015/01/01 22:29] (current)
danitool
Line 5: Line 5:
  
 :!: It's a good idea to backup the [[#​cal_data|cal_data]] area at the flash-chip. The WLAN calibration data is specific for your device. ​ If you wipe it accidentally it will be difficult to restore, it cannot be restored by flashing back a vendor firmware. :!: It's a good idea to backup the [[#​cal_data|cal_data]] area at the flash-chip. The WLAN calibration data is specific for your device. ​ If you wipe it accidentally it will be difficult to restore, it cannot be restored by flashing back a vendor firmware.
-About where the wifi calibration data is located in the flash chip see [[#notes]].+
 ===== Supported Versions ===== ===== Supported Versions =====
  
Line 16: Line 16:
 <​nowiki>​*)</​nowiki>​You can check the version from the OEM firmware executing the command: //hwversion show// <​nowiki>​*)</​nowiki>​You can check the version from the OEM firmware executing the command: //hwversion show//
  
-<​nowiki>​**)</​nowiki>​You can check the flash memory chip erasesize with the command: //cat /proc/mtd//+<​nowiki>​**)</​nowiki>​You can check the flash memory chip erasesize with the command ​(in openwrt): //cat /proc/mtd//
   * 0x20000 = 128 KiB    * 0x20000 = 128 KiB 
   * 0x10000 = 64 KiB   * 0x10000 = 64 KiB
Line 30: Line 30:
  
 ==== Flash Layout ==== ==== Flash Layout ====
-Please check out the article [[doc:​techref:​Flash Layout]]. It contains an example and a couple of explanations.+Please check out the article [[doc:​techref:​Flash.Layout]]. It contains an example and a couple of explanations.
  
 ^ partition ^ name ^ filesystem ^ description ^ ^ partition ^ name ^ filesystem ^ description ^
Line 46: Line 46:
  
 === Get the firmware === === Get the firmware ===
-**Trunk:** Choose the right firmware for you router version, see [[#​Supported.Versions]|supported versions]] 
-    * [[http://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HW556-A-squashfs-cfe.bin|openwrt-HW556-A-squashfs-cfe.bin]] 
-    * [[http://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HW556-B-squashfs-cfe.bin|openwrt-HW556-B-squashfs-cfe.bin]] 
-    * [[http://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HW556-C-squashfs-cfe.bin|openwrt-HW556-C-squashfs-cfe.bin]] 
- 
-**Barrier Braker:** 
-    * [[http://​downloads.openwrt.org/​barrier_breaker/​14.07-rc3/​brcm63xx/​generic/​openwrt-HW556-squashfs-cfe.bin|openwrt-HW556-squashfs-cfe.bin]] 
  
-**Attitude Adjustment, Backfire** ​-> see [[#Backports|Backports]]+| **Version** | **firmware link** | **Notes** | 
 +| **Trunk** ​ | [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HG556a_A-squashfs-cfe.bin|openwrt-HG556a_A-squashfs-cfe.bin]]\\ [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HG556a_B-squashfs-cfe.bin|openwrt-HG556a_B-squashfs-cfe.bin]]\\ [[https://​downloads.openwrt.org/​snapshots/​trunk/​brcm63xx/​openwrt-HG556a_C-squashfs-cfe.bin|openwrt-HG556a_C-squashfs-cfe.bin]] | see [[#​Supported_Versions]|supported versions]] | 
 +| **Barrier Braker** | [[https://​downloads.openwrt.org/​barrier_breaker/​14.07/​brcm63xx/​generic/​openwrt-HW556-squashfs-cfe.bin|openwrt-HW556-squashfs-cfe.bin]] | all versions | 
 +**Attitude Adjustment** | [[https://​docs.google.com/​uc?​export=download&​id=0B-EMoBe-_OdBdU5VTHc5Q2o2aEU|hg556a_backport_12.09.zip]] | all versionsunofficial backport | 
 +| **Backfire** ​[[https://​docs.google.com/​uc?​export=download&​id=0B-EMoBe-_OdBSGRHSjlDb3pjOWM|hg556a_ath_backport_10.03.1.zip]] | only **VER.C** boards, unofficial backport |
  
 === Installation === === Installation ===
Line 162: Line 159:
  
 === CFE Upgrade Process === === CFE Upgrade Process ===
-This is a clean and safe upgrade, using the booloader web interface. Just use the [[#oem.easy.installation|OEM installation]] procedure.+This is a clean and safe upgrade, using the booloader web interface. Just use the [[#oem_easy_installation|OEM installation]] procedure.
  
 === Cleaning old garbage === === Cleaning old garbage ===
-| {{:​meta:​icons:​tango:​48px-emblem-important.svg.png|}}| If after upgrading OpenWrt you get the message: <​code>​jffs2:​ Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes </​code>​ And you can't save changes. Or you are unsure if old data is messing your new firmware. Enter OpenWrt [[#failsafe.mode|failsafe]] mode if needed. Then execute this command:\\ <​code>​mtd erase -r rootfs_data</​code>​ |+| {{:​meta:​icons:​tango:​48px-emblem-important.svg.png|}}| If after upgrading OpenWrt you get the message: <​code>​jffs2:​ Cowardly refusing to erase blocks on filesystem with no valid JFFS2 nodes </​code>​ And you can't save changes. Or you are unsure if old data is messing your new firmware. Enter OpenWrt [[#failsafe_mode|failsafe]] mode if needed. Then execute this command:\\ <​code>​mtd erase -r rootfs_data</​code>​ |
  
 ===== Basic configuration ===== ===== Basic configuration =====
Line 284: Line 281:
 ===== Hardware ===== ===== Hardware =====
 ==== Info ==== ==== Info ====
-| ^ HG55VDFA VER.C ^ HG56BZRB VER.A ^+| ^ HG556a A, B (HG55VDFA VER.CHG556a C (HG56BZRB VER.A^
 | **[[wp>​Instruction set]]:** | [[wp>​MIPS architecture|MIPS]] | [[wp>​MIPS architecture|MIPS]] | | **[[wp>​Instruction set]]:** | [[wp>​MIPS architecture|MIPS]] | [[wp>​MIPS architecture|MIPS]] |
 | **Vendor:​** ​         | [[wp>​Broadcom]] | [[wp>​Broadcom]] | | **Vendor:​** ​         | [[wp>​Broadcom]] | [[wp>​Broadcom]] |
Line 402: Line 399:
 This SPI interface is also connected to the **Le88266** VoiP chip, but using the Slave Select 2 (GPIO32): This SPI interface is also connected to the **Le88266** VoiP chip, but using the Slave Select 2 (GPIO32):
  
-{{:​media:​toh:​huawei:​hg556a-spi_le88266.jpg?​500x300|}}+{{:​media:​toh:​huawei:​hg556a-spi_le88266.jpg?​500x300|}} {{:​media:​toh:​huawei:​le88286-pinout.png?​direct&​350x300|}}
  
 Kernel code example for **spidev** kernel module, the added code is highlighted in green: Kernel code example for **spidev** kernel module, the added code is highlighted in green:
Line 572: Line 569:
  
 <​HTML>​ <​HTML>​
-<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​+<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​12px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE) <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE)
 Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693) Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
Line 1349: Line 1346:
  
 <​HTML>​ <​HTML>​
-<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​10px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​+<p style="​padding:​ 10px;​border:​1px solid grey;​height:​600px;​font:​12px/14px Georgia, Garamond, Serif;​overflow:​Auto;​background-color:#​FFFFFF">​
 <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE) <​code>​CFE version cfe.d081.5003 for BCM96358 (32bit,​SP,​BE)
 Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693) Build Date: Wed Nov 11 10:36:35 CST 2009 (Lihua_68693)
toh/huawei/hg556a.1408568225.txt.bz2 · Last modified: 2014/08/20 22:57 by danitool