openwrt/target/linux/ramips/image
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
..
lzma-loader ramips: lzma-loader: Refactor loader 2023-04-29 22:32:27 +02:00
common-sercomm.mk ramips: sercomm-payload: use pide-file argument 2023-04-09 09:59:21 +02:00
common-tp-link.mk ramips: add basic support for TP-Link EC330-G5u v1 2023-01-14 18:36:33 +01:00
Makefile ramips: lzma-loader: Refactor loader 2023-04-29 22:32:27 +02:00
mt76x8.mk ramips: add support for OrayBox X1 2023-04-02 19:25:37 +02:00
mt7620.mk ramips: add support for Keenetic Lite III rev. A 2023-03-27 02:09:58 +02:00
mt7621.mk ramips: add factory image for TP-Link EC330-G5u v1 2023-04-29 22:34:51 +02:00
rt288x.mk treewide: uniform vendor name for ASUS 2022-11-16 23:30:11 +01:00
rt305x.mk ramips: rt5350: enable lzma-loader for ALLNET ALL5003 2023-03-01 22:15:13 +01:00
rt3883.mk treewide: uniform vendor name for ASUS 2022-11-16 23:30:11 +01:00