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:tp-link:ec330-g5u_v1 [2023/01/15 13:35] – [OpenWrt bootlog] csharper2005toh:tp-link:ec330-g5u_v1 [2023/08/02 19:03] – [OpenWrt installation (using factory image)] add info about ISP's default FW luckyspecialist
Line 39: Line 39:
 ===== Experimental Versions ===== ===== Experimental Versions =====
  
-/* * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * *  +  * [[https://forum.openwrt.org/t/add-support-for-beeline-smartbox-giga/99390/4|Community builds]]
-   The official Table of Hardware only lists current, stable versions of OpenWrt * +
-   Use this space to describe any on-going efforts to create a newer version       * +
-   of the firmware for this device. Provide links to firmware images,              * +
-   active threads on the forum, or other sources of information.                   * +
- * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * * */+
  
-//None at this time.// 
  
 ===== Hardware Highlights ===== ===== Hardware Highlights =====
Line 84: Line 78:
 ---- ----
  
-==== OpenWrt installation ==== 
  
-1. Rename OpenWrt initramfs image to test.bin and place it on tftp server with IP 192.168.0.5+{{page>meta:infobox:attention_trunk&noheader&nofooter&noeditbtn}} 
 +==== OpenWrt installation (using factory image) ====
  
-2. Attach UART:+Tested with //[[https://4pda.to/forum/index.php?showtopic=1030035&view=findpost&p=108374670|3.16.0 0.9.1 v6037.0 Build 191016 Rel.30619nb]]// TP-Link firmware. 
 +Also tested on 3.16.0 0.9.1 v6037.0 Build 181229 Rel.41159n (ISP's default FW) if the router booted from the right slot to download the OpenWRT firmware (see step 6 below). 
 + 
 +1. Login to the router web interface (http://192.168.0.1/ by default) and save running config to //conf.bin// file 
 + 
 +2.  Open configuration file in any TP-Link config editor (e.g. https://jahed.github.io/tp-link-config-editor/
 + 
 +3.  Find //DeviceInfo// section and insert a new string:  
 +<code bash><Description val="Modem Router`telnetd -p 1023 -l login`" /></code> 
 +according to the following example:
 <code bash> <code bash>
-                            V +<DeviceInfo> 
-+-------+-------+-------+-------+ +   ... 
-| +3.3V |  GND  |  TX   |  RX   | +   <Description val="Modem Router`telnetd -p 1023 -l login`" /> 
-+---+---+-------+-------+-------+ +   ... 
-                 J2 +</DeviceInfo>
-    | +
-    +--- Don't connect+
 </code> </code>
 +
 +4.  Save configuration file and upload changed configuration using stock firmware web interface
 +
 +5.  Login using //telnet// to IP:192.168.0.1, port:1023 (Username:admin, password:1234)
 +
 +6.  Run <code bash>cat /proc/mtd | grep mtd7</code>
 +  * If the result is <code bash>mtd7: 03000000 00020000 "rootfs" 03400000</code> then install stock firmware using web interface to toggle booted firmware image from //os1// to //os0//
 +  * If the result is <code bash>mtd7: 03000000 00020000 "rootfs" 00400000</code> then all is ok, go to the next step
 +
 +7.  Set up a //tftp// server (e.g. //tftpd64// for windows) with OpenWrt //factory.bin// image (IP:192.168.0.100 in this example)
 +
 +8.  Login using //telnet// to 192.168.0.1, port:1023
 +
 +9.  Download OpenWrt //factory.bin// image from the tftp server:
 +<code bash>
 +cd /tmp
 +tftp -g -r factory.bin 192.168.0.100
 +</code>
 +
 +10. Write OpenWrt //factory.bin// image:
 +<code bash>
 +dd if=/tmp/factory.bin of=/dev/mtdblock1
 +</code>
 +
 +11. Power cycle the router
 +
 +==== OpenWrt installation (using serial console) ====
 +
 +1. Rename OpenWrt initramfs image to **test.bin** and place it on tftp server with IP **192.168.0.5**
 +
 +2. Attach [[:toh:tp-link:ec330-g5u_v1#serial|Serial console (UART)]]
  
 3. Switch on the router and interrupt the boot process by pressing 't' 3. Switch on the router and interrupt the boot process by pressing 't'
Line 298: Line 330:
 {{media:tplink:ec330-g5u-v1:serial.jpg?400|TP-Link EC330-G5u v1 UART}} {{media:tplink:ec330-g5u-v1:serial.jpg?400|TP-Link EC330-G5u v1 UART}}
  
-Device has many big holes in the bottom of the case. This allows you connect Serial Port even without the opening of the case.+Device has many big holes in the bottom of the case. This allows you connect Serial Port even without the case opening.
  
 ^ Serial connection parameters\\ for TP-Link EC330-G5u v1 | 115200, 8N1, 3.3V | ^ Serial connection parameters\\ for TP-Link EC330-G5u v1 | 115200, 8N1, 3.3V |
  
 ==== JTAG ==== ==== JTAG ====
--> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc. 
  
-How to connect to the JTAG Port of this specific device:\\ +Not supported. 
-**Insert photo of PCB with markings for JTAG port**+ 
 +-> [[docs:techref:hardware:port.jtag]] general information about the JTAG port, JTAG cable, etc.
  
 ===== Bootloader mods ===== ===== Bootloader mods =====
  • Last modified: 2024/02/12 11:13
  • by 127.0.0.1