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:hg622 [2019/02/25 01:43] – [Huawei EchoLife HG622] willytoh:huawei:hg622 [2023/05/21 16:58] – fix links danitool
Line 6: Line 6:
 The HG622 is an ADSL wifi router mainly distributed by [[wp>Jazztel]] to their customers. The HG622 is an ADSL wifi router mainly distributed by [[wp>Jazztel]] to their customers.
  
-{{:media:huawei:hg622:hg622.png?|}}+{{:media:huawei:hg622:hg622.png|}}
  
  
 ===== Supported Versions ===== ===== Supported Versions =====
 ---- datatable ---- ---- datatable ----
-cols    : Brand, Model, Versions, Supported Current Rel, OEM device homepage URL_url, OWrt Forum Topic URL_url, Device Techdata_pageid +cols    : Brand, Model, Supported Since Rel, Supported Current Rel, Forum search_search-forums, Device Techdata_pageid 
-headers : Brand, Model, Version, Current Release, OEM Info, Forum Topic, Technical Data+headers : Brand, Model, Supported Since, Current Release, Forum Search, Technical Data
 align   : c,c,c,c,c,c,c align   : c,c,c,c,c,c,c
 filter  : Model=HG622 filter  : Model=HG622
Line 40: Line 40:
 ---- ----
  
-<WRAP center round alert 60%>+<WRAP center round important 60%>
 **Warning**: The **cal_data** partition got corrupted/erased after installing **17.01.6, 18.06.1 or 18.06.2 versions**, leaving the wifi not usable for any firmware unless you restore again this partition. See [[#backup_and_restore_wifi_calibration_data|instructions below]] how to backup and restore the cal_data partition. **Warning**: The **cal_data** partition got corrupted/erased after installing **17.01.6, 18.06.1 or 18.06.2 versions**, leaving the wifi not usable for any firmware unless you restore again this partition. See [[#backup_and_restore_wifi_calibration_data|instructions below]] how to backup and restore the cal_data partition.
 +
 +**BUG fixed** in this commit -> [[https://git.openwrt.org/?p=openwrt/openwrt.git;a=commitdiff;h=4b633affff972bf19|brcm63xx: drop linux,part-probe usage where possible]]. 
 +
 +**17.01.4 < <color red>Stable versions with the //cal_data// bug</color> < 18.06.4**
 </WRAP> </WRAP>
 +
  
 ==== Old firmwares ==== ==== Old firmwares ====
Line 142: Line 147:
 {{media:huawei:hg622_jtag.jpg?direct&300|}} {{media:huawei:hg622_jtag.jpg?direct&300|}}
  
-^ J5     ^ +<a2s> 
-| TDI    +         #-----+-----# 
-| TMS    +      TX | #-# | .-. | TDI 
-| TDO    +         | #-# | '-' 
-| TRST   +         |         | 
-| TCK    |+     GND | .-. | .-. | TMS 
 +         | '-' | '-' 
 +         |         | 
 +     VCC | .-. | .-. | TDO 
 +         | '-' | '-' 
 +         |         | 
 +      NC | .-. | .-. | TRST 
 +         | '-' | '-' 
 +         |         | 
 +      RX | .-. | .-. | TCK 
 +         '-' | '-'
 +         #-----+-----# 
 +           J4     J5  
 +</a2s> 
  
 === URJTAG === === URJTAG ===
Line 289: Line 308:
 First of all, transfer the cal_data_hg622.bin file into your router with WinSCP to "/etc" folder. First of all, transfer the cal_data_hg622.bin file into your router with WinSCP to "/etc" folder.
  
-The router has to have access to the internet, then we access the router by SSH and execute+The router has to have [[#Basic_internet_configuration|access to the internet]], then we access the router by SSH and execute
 <code>opkg update <code>opkg update
 opkg install kmod-mtd-rw</code> opkg install kmod-mtd-rw</code>
Line 309: Line 328:
 mtd6: 00020000 00020000 "nvram"</code> mtd6: 00020000 00020000 "nvram"</code>
 And finally And finally
-<code>dd if=/etc/cal_data_hg622.bin of=/dev/mtd5</code>+<code>dd if=/etc/cal_data_hg622.bin of=/dev/mtd5  *File names are case sensitive</code>
   * **Restart** OpenWrt and check if wifi works.   * **Restart** OpenWrt and check if wifi works.
  
Line 319: Line 338:
   * Also, if you don't have a **linux** distro, copy the next content in a hex editor:<code>62300100ACE87B30EFB4623014180180000062301418000001006AFF0C00FFFFFFFFFFFFB092FFFFFFFFFFFFFFFFFFFFFFFFFFFF22082400FFFF2D01FFFFD9FACC88FFFF0DFF0000030000000000FFFFFFFF111110100F0F0E0E0D0D0C0C0C0C0909080807070707080808080808FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF555588887777666666666666666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF068693</code>   * Also, if you don't have a **linux** distro, copy the next content in a hex editor:<code>62300100ACE87B30EFB4623014180180000062301418000001006AFF0C00FFFFFFFFFFFFB092FFFFFFFFFFFFFFFFFFFFFFFFFFFF22082400FFFF2D01FFFFD9FACC88FFFF0DFF0000030000000000FFFFFFFF111110100F0F0E0E0D0D0C0C0C0C0909080807070707080808080808FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF555588887777666666666666666666666666FFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFFF068693</code>
  
-  * Now transfer the **cal_data_hg622.bin** file into your router and flash the **cal_data** partition<code>mtd write /etc/cal_data_hg622.bin cal_data</code> or <code>dd if=/etc/cal_data_hg622.bin of=/dev/mtd5</code>+  * Now transfer the **cal_data_hg622.bin** file into your router and flash the **cal_data** partition<code>mtd write /etc/cal_data_hg622.bin cal_data</code> or <code>dd if=/etc/cal_data_hg622.bin of=/dev/mtd5  *File names are case sensitive</code>
   * **Restart** OpenWrt and check if wifi works.   * **Restart** OpenWrt and check if wifi works.
 +
 +==== Basic internet configuration ====
 +You can set a basic internet configuration with uci commands. Assuming your main router (gateway) has the IP 192.168.1.1 (the most common). Follow these steps.
 +
 +  - Connect only the ethernet cable from the HG622 to your computer, and telnet it or ssh.
 +  - Execute these commands <code>uci set network.lan.ipaddr=192.168.1.254
 +uci set network.lan.netmask=255.255.255.0
 +uci set network.lan.gateway=192.168.1.1
 +uci set network.lan.dns='8.8.8.8 192.168.1.1'
 +uci commit network</code>
 +  - You may also need to disable the dhcp server <code>/etc/init.d/dnsmasq disable</code>
 +  - Reboot the HG622 and connect the ethernet cable to the main router (gateway).
 +  - Now the HG622 IP is 192.168.1.254, telnet or ssh it.
 +  - Ping any internet address, or install a package <code>opkg update
 +opkg install luci</code>
  
  
Line 326: Line 360:
  
 ^ bootloader ^ download link ^ description ^ ^ bootloader ^ download link ^ description ^
-| CFE | [[https://drive.google.com/uc?export=download&id=0B-EMoBe-_OdBZ25Pdi1PU0ZweTA|CFE-HG622-CUSTOM.bin]]| moded bootloader: web interface added, reset button detect for stopping the bootloader, no double image, no rootfs CRC check |+| CFE | [[https://drive.google.com/uc?export=download&id=1bh67A4yjtGy2kTaa7hVKcNS8r876ylgf|CFE-HG622-CUSTOM.bin]]| moded bootloader: web interface added, reset button detect for stopping the bootloader, no double image, no rootfs CRC check |
  
 ==== CFE upgrade ==== ==== CFE upgrade ====
Line 332: Line 366:
  
 <WRAP center round download 60%> <WRAP center round download 60%>
-[[https://drive.google.com/uc?export=download&id=0B-EMoBe-_OdBX1MtTjMyWXBjbXM|CFE_HG622-dummy_firmware.bin]] (dummy firmware, only CFE and void firmware)+[[https://drive.google.com/uc?export=download&id=17sx3piiqlSo584fOJJXWWZjKbvytnSag|CFE_HG622-dummy_firmware.bin]] (dummy firmware, only CFE and void firmware)
  
 </WRAP> </WRAP>
Line 613: Line 647:
 ===== Tags ===== ===== Tags =====
 [[meta:tags|How to add tags]] [[meta:tags|How to add tags]]
-{{tag>bcm63xx bcm6368 TRNG 16flash 32ram}}+{{tag>bcm63xx bcm6368 16flash 32ram 4port fastethernet TRNG}}
  • Last modified: 2024/10/05 16:24
  • by danitool