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
Next revisionBoth sides next revision
toh:huawei:hg622u [2018/05/11 13:44] – [Installation] czjaromirtoh:huawei:hg622u [2024/10/05 11:01] – [Installation] danitool
Line 1: Line 1:
 ====== Huawei EchoLife HG622u ====== ====== Huawei EchoLife HG622u ======
-The HG622 is an adsl wifi router mainly distributed by [[wp>O2_Czech_Republic]] to their customers. 
- 
 {{:media:huawei:hg622.png?|}} {{:media:huawei:hg622.png?|}}
  
-Internal xDSL modem NOT supported.+The HG622 is an ADSL wifi router mainly distributed by [[wp>O2_Czech_Republic]] to their customers. 
 + 
 +{{section>meta:infobox:432_warning#infobox_for_dataentries&noheader&nofooter&noeditbutton}} 
 + 
 +{{section>meta:infobox:broadcom_dsl#infobox_for_dataentries&noheader&nofooter&noeditbutton}} 
 + 
 + 
 +===== Supported Versions ===== 
 +<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["brand", "model", "version", "supportedcurrentrel", "oemdevicehomepageurl", "owrt_forum_topic_url", "deviceid"], 
 +  "filterColumns": {"model": "^HG622u$"
 +} --> 
 + 
 +<!-- ToH: { 
 +  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "shownColumns": ["unsupported_functions"], 
 +  "filterColumns": {"model": "^HG622u$"
 +} -->
  
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
-SoC ^ Ram ^ Flash ^ Network ^ USB ^ Serial ^ JTag ^ +<!-- ToH: { 
-| Broadcom 6368 | 32MiB | 8MiB | 4x| Yes | Yes | Yes |+  "source": "json", 
 +  "dom": "t", 
 +  "paging": false, 
 +  "rotate": true, 
 +  "shownColumns": ["model", "version", "cpu", "cpumhz", "flashmb", "rammb", "wlanhardware", "wlan24ghz", "wlan50ghz", "ethernet100mports", "ethernet1gports", "modem", "usbports"], 
 +  "filterColumns": {"model": "^HG622u$"} 
 +} -->
  
  
 ===== Installation ===== ===== Installation =====
-  → [[:downloads]] +<!-- ToH{ 
-  - → [[docs:guide-user:installation:generic.flashing|Install OpenWrt]] +  "source""json", 
-  - → [[:downloads|Latest OpenWrt release]]+  "dom""t", 
 +  "paging"false, 
 +  "rotate"true, 
 +  "shownColumns": ["model", "version", "supportedcurrentrel", "firmwareopenwrtinstallurl", "firmwareopenwrtupgradeurl", "firmwareoemstockurl"]
 +  "filterColumns": {"model": "^HG622u$"
 +} -->
  
-[[#serial|serial]] (UARTadapter is required to install OpenWrt+-> [[docs:guide-user:installation:generic.flashing|Install OpenWrt (generic explanation)]]
  
-**Available firmwares:** +==== Installation using a modded CFE bootloader ==== 
-^ Version ^ link ^ notes ^ +It seems the original bootloader doesn't allow to boot OpenWrt images, see -> [[https://forum.openwrt.org/t/huawei-echolife-hg622u-corrupted-image/209175|Huawei EchoLife HG622u corrupted image]]. You will need to upgrade the CFE bootloader with a modded one before installing OpenWrt. 
-trunk | https://downloads.openwrt.org/releases/17.01.4/targets/brcm63xx/generic/lede-17.01.4-brcm63xx-generic-HG655b-squashfs-cfe.bin | xDSLVoIP/FXS not supported |+ 
 +<WRAP center round download 60%> 
 +[[https://drive.google.com/uc?export=download&id=17sx3piiqlSo584fOJJXWWZjKbvytnSag|CFE_HG622-dummy_firmware.bin]] (dummy firmware, only CFE and void firmware) 
 + 
 +</WRAP> 
 + 
 +Upgrade the bootloader via TFTP using the serial console: 
 +<code> 
 +CFE> f 192.168.1.100:CFW_HG622-dummy_firmware.bin 
 +Loading 192.168.1.100:CFE_HG622-dummy_firmware.bin ... 
 +Finished loading 87360 bytes 
 + 
 +Flashing CFE: .. 
 +</code> 
 + 
 +After upgrading CFE you will have a web server at ''%%http://192.168.1.1/%%'' for uploading new firmwares. You only need to upgrade the CFE once, the bootloader will remain forever installed. 
 + 
 +<WRAP center round tip 60%> 
 +It's recommendable to install an old Openwrt version to avoid running out of memory. But don't install any version between 17.01.5 and 18.06.3 (both included), they likely erase the wifi caldata partition. Version 17.01.4 should run fine: 
 + 
 +https://archive.openwrt.org/releases/17.01.4/targets/brcm63xx/smp/lede-17.01.4-brcm63xx-smp-HG622-squashfs-cfe.bin 
 +</WRAP> 
 + 
 +Install OpenWrt via new CFE: 
 +  - After power power cycling the devicepress the reset button when powering on the router and wait some seconds 
 +  - Release the reset button 
 +  - Browse to  ''%%http://192.168.1.1/%%''
 +  - Install OpenWrt binary image.
 ==== OEM installation using the TFTP method ==== ==== OEM installation using the TFTP method ====
 +
 +A [[#serial|serial]] (UART) adapter is required to install OpenWrt.
  
 For installing the Openwrt firmware you will need to use the CFE serial console: For installing the Openwrt firmware you will need to use the CFE serial console:
Line 42: Line 103:
 Resetting board...\0xff Resetting board...\0xff
 </code> </code>
- 
  
  
Line 48: Line 108:
 Please check out the article [[docs:techref:flash.layout]]. It contains an example and a couple of explanations. Please check out the article [[docs:techref:flash.layout]]. It contains an example and a couple of explanations.
  
-^ partition ^ name ^ filesystem ^ function ^ +^ partition   ^ name              ^ filesystem       ^ function                                                           
-| mtd0 | **CFE** | n/a | bootloader | +| mtd0        | **CFE**           | n/a              | bootloader                                                         
-| mtd1 | **kernel** | RAM executable | kernel | +| mtd1        | **kernel**        | RAM executable   | kernel                                                             
-| mtd2 | **rootfs** | squashfs | root | +| mtd2        | **rootfs**        | squashfs         | root                                                               
-| mtd3 | **rootfs_data** | jffs2 | configuration, install new packages | +| mtd3        | **rootfs_data**   | jffs2            | configuration, install new packages                                
-| mtd4 | **cal_data** | n/a | wifi calibration data **RT3062F eeprom is at 0x0FA0000 offset.** | +| mtd4        | **cal_data**      | n/a              | wifi calibration data **RT3062F eeprom is at 0x0FA0000 offset.**   
-| mtd5 | **nvram** | n/a | OEM configuration data | +| mtd5        | **nvram**         | n/a              | OEM configuration data                                             
-| mtd6 | **linux** | n/a | OpenWrt upgrade | +| mtd6        | **linux**         | n/a              | OpenWrt upgrade                                                    |
-===== Hardware =====+
  
 +
 +===== Hardware =====
 ==== Info ==== ==== Info ====
-| **[[wp>Instruction set]]:**    | [[wp>MIPS architecture|MIPS]] | +[[wp>Instruction set]]                         | [[wp>MIPS architecture|MIPS]]                        
-| **Vendor:**          | [[wp>Broadcom]] | +Vendor                                         | [[wp>Broadcom]]                                      
-| **[[docs:techref:bootloader]]:**     | [[docs:techref:bootloader:cfe]] | +[[docs:techref:bootloader]]                    | [[docs:techref:bootloader:cfe]]                      
-| **Board ID:**      | 96368MVWG_hg622  +Board ID                                       | 96368MVWG_hg622                                      
-| **[[docs:techref:hardware:soc|System-On-Chip]]:**  | Broadcom BCM6368 | +[[docs:techref:hardware:soc|System-On-Chip]]   | Broadcom BCM6368                                     
-| **[[docs:techref:hardware:cpu|CPU]]/Speed**        | BMIPS4350 v3.1 dual core / 400 MHz | +[[docs:techref:hardware:cpu|CPU]]/Speed        | BMIPS4350 v3.1 dual core / 400 MHz                   
-| **Flash-Chip:**      | MX29GL128EHT2I-90G / 128KB block size x 128 blocks | +Flash-Chip                                     | MX29GL128EHT2I-90G / 128KB block size x 128 blocks   
-| **Flash size** | 8 MiB | +Flash size                                     | 8 MiB                                                
-| **RAM** | 32 MiB / DDR-400 | +RAM                                            | 32 MiB / DDR-400                                     
-| **Wireless** | Ralink RT3062 802.11b/g/n (onboard) | +Wireless                                       | Ralink RT3062 802.11b/g/n (onboard)                  
-| **Antenna** | 2x PCB | +Antenna                                        | 2x PCB                                               
-| **Ethernet:**        | Broadcom integrated, fast ethernet | +Ethernet                                       | Broadcom integrated, fast ethernet                   
-| **USB** | 1 x USB2.0 | +USB                                            | 1 x USB2.0                                           
-| **ADSL Modem:** | Yes, NOT SUPPORTED | +ADSL Modem                                     | Yes, NOT SUPPORTED                                   
-| **Power adapter** | ? | +Power adapter                                  | ?                                                    
-| **[[docs:techref:hardware:port.serial|Serial]]:**          | [[#Serial|Yes]] | +[[docs:techref:hardware:port.serial|Serial]]   | [[#Serial|Yes]]                                      
-| **[[docs:techref:hardware:port.jtag|JTAG]]:**            | [[#JTAG|Yes]]  |+[[docs:techref:hardware:port.jtag|JTAG]]       | Yes                                                  |
  
 ==== PCB pictures ==== ==== PCB pictures ====
Line 86: Line 147:
  
 How to connect to the Serial Port of this specific device: How to connect to the Serial Port of this specific device:
-^ J4  +^ J4    
-| TX  +| TX    
-| GND | +| GND   
-| VCC | +| VCC   
-| nc  +| nc    
-| RX  +| RX    | 
-Serial works at 3.3V 115200N1, see pin assignments above+ 
 +Serial works at 3.3V 115200 8N1, see pin assignments above
 |<code>Speed (baud)     - 115200 |<code>Speed (baud)     - 115200
 Data bits        - 8 Data bits        - 8
Line 98: Line 160:
 Parity           - None Parity           - None
 Flow control     - None</code>| Flow control     - None</code>|
- 
- 
- 
  
  
Line 107: Line 166:
 === LEDs === === LEDs ===
 Read: [[docs:guide-user:base-system:led_configuration|System configuration: Leds]] to configure the leds Read: [[docs:guide-user:base-system:led_configuration|System configuration: Leds]] to configure the leds
-^ GPIO   ^ symbol   ^ Active   ^ +^ GPIO                       ^ symbol   ^ Active   ^ 
-| 2      | adsl    | Low     +| 2                          | adsl     | Low      
-| 5      | inet    | Low      | +| 5                          | inet     | Low      | 
-| 11     | usb     | Low      | +| 11                         | usb      | Low      | 
-| 22     | power   | Low      | +| 22                         | power    | Low      | 
-| 6 (PINMUX_EPHY0_ACT_LED) | lan1 | Low    +| 6 (PINMUX_EPHY0_ACT_LED)   | lan1     | Low      
-| 7 (PINMUX_EPHY1_ACT_LED) | lan2 | Low    +| 7 (PINMUX_EPHY1_ACT_LED)   | lan2     | Low      
-| 8 (PINMUX_EPHY2_ACT_LED) | lan3 | Low    +| 8 (PINMUX_EPHY2_ACT_LED)   | lan3     | Low      
-| 9 (PINMUX_EPHY3_ACT_LED) | lan4 | Low    |+| 9 (PINMUX_EPHY3_ACT_LED)   | lan4     | Low      |
  
  
Line 127: Line 186:
  
 ===== Bootloader mods ===== ===== Bootloader mods =====
- 
  
 ^ bootloader ^ download link ^ description ^ ^ bootloader ^ download link ^ description ^
Line 135: Line 193:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>BCM6368 TRNG 8flash 32RAM CFE xdsl}}+{{tag>bcm63xx BCM6368 8flash 32RAM TRNG CFE xdsl}}
  • Last modified: 2024/10/05 13:13
  • by danitool