ImmortalWrt/target/linux/ramips
Mikhail Zhilkin 4a043dc9d4 ramips: add factory image for TP-Link EC330-G5u v1
This commit adds factory.bin image for TP-Link EC330-G5u v1. This allows
to install OpenWrt without connecting a serial cable (UART).

Installation using factory image
--------------------------------

Tested with "3.16.0 0.9.1 v6037.0 Build 191016 Rel.30619nb" TP-Link
firmware.

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 "<Description
    val="Modem Router`telnetd -p 1023 -l login`" />" according to the
    following example:
       <DeviceInfo>
          ...
          <Description val="Modem Router`telnetd -p 1023 -l login`" />
          ...
       </DeviceInfo>
4.  Save configuration file and upload changed configuration using stock
    firmware interface
5.  Login using telnet to IP:192.168.0.1 (Username:admin, password:1234)
6.  Run "cat /proc/mtd | grep mtd7"
       a. If the result is 'mtd7: 03000000 00020000 "rootfs" 03400000',
          then install stock firmware using web interface to toggle booted
          firmware image from "os1" to "os0"
       b. If the result is 'mtd7: 03000000 00020000 "rootfs" 00400000',
          then all is ok, go to the next step
7.  Set up a tftp server with OpenWrt factory.bin image (IP:192.168.0.100
    in this example)
8.  Login using telnet to 192.168.0.1
9.  Download OpenWrt factory.bin image from the tftp server:
       cd /tmp
       tftp -g -r factory.bin 192.168.0.100
10. Write OpenWrt factory.bin image:
       dd if=/tmp/factory.bin of=/dev/mtdblock1
11. Power cycle the router

Signed-off-by: Mikhail Zhilkin <csharper2005@gmail.com>
2023-04-29 22:34:51 +02:00
..
base-files/etc ramips: remove model name from LED labels 2020-10-02 14:51:57 +02:00
dts ramips: TP-Link EC330-G5u v1: switch to mac-address-ascii 2023-04-29 22:34:51 +02:00
files/drivers ramips: mt7620: split gsw hw_init to mac_init, ephy_init 2023-02-18 16:55:35 +01:00
image ramips: add factory image for TP-Link EC330-G5u v1 2023-04-29 22:34:51 +02:00
mt76x8 ramips: add support for OrayBox X1 2023-04-02 19:25:37 +02:00
mt7620 ramips: add support for Keenetic Lite III rev. A 2023-03-27 02:09:58 +02:00
mt7621 ramips: TP-Link EC330-G5u v1: switch to mac-address-ascii 2023-04-29 22:34:51 +02:00
patches-5.10 generic: 5.10: replace ramips AR8033 fiber patch with 5.18 patches 2023-04-22 17:21:29 +02:00
patches-5.15 generic: 5.15: replace ramips AR8033 fiber patch with 5.18 patches 2023-04-22 17:21:29 +02:00
rt288x treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
rt305x treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
rt3883 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
Makefile ramips: Switch default kernel to 5.15 2023-02-17 16:31:53 +02:00
modules.mk ramips: rename mtk-hsdma to hsdma-mt7621 2021-03-04 23:43:02 -10:00