openwrt/target/linux
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
..
airoha kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
apm821xx kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
archs38 kernel: Activate CONFIG_HARDENED_USERCOPY for all targets 2023-04-29 21:56:53 +02:00
armvirt kernel: disable CONFIG_CPU_LITTLE_ENDIAN in generic config 2022-10-21 13:47:01 +02:00
at91 kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
ath25 treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
ath79 ath79: create APBoot-compatible image for Aruba AP-175 2023-04-24 10:44:49 +02:00
bcm27xx bcm27xx: Deactivate CONFIG_OABI_COMPAT 2023-04-29 21:56:53 +02:00
bcm47xx kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
bcm53xx kernel: add bcma/ssb fallback SPROM support 2023-04-23 12:18:35 +02:00
bcm63xx bcm63xx: kernel: power cycle the bcm6358 USB PLL 2023-03-04 20:09:49 +01:00
bcm4908 bcm4908: switch to Kernel 5.15 by default 2023-04-10 21:21:03 +02:00
bmips bmips: fix external interrupt controller 2023-04-27 15:39:09 +02:00
gemini gemini: add generic subtarget 2022-12-23 19:44:20 +01:00
generic kernel: mtk_bmt: refactor to avoid deep recursion 2023-04-29 12:58:48 +02:00
imx cypress-nvram: consolidate NVRAM packages 2022-11-16 20:14:13 +01:00
ipq40xx ipq40xx: convert GL-AP1300 to DSA 2023-04-24 18:32:26 +02:00
ipq806x kernel: bump 5.10 to 5.10.178 2023-04-22 01:15:03 +02:00
ipq807x kernel: backport NVMEM patch for U-Boot env data "ethaddr" cell 2023-04-06 12:21:29 +02:00
kirkwood kirkwood: fix Linksys upgrade, restore config step 2023-04-11 12:21:15 +02:00
lantiq lantiq: fix lzma-loader for Netgear DGN 3500(B) 2023-04-02 22:33:55 +02:00
layerscape kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
malta treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
mediatek kernel: Deactivate CONFIG_COMPAT 2023-04-29 21:56:53 +02:00
mpc85xx kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
mvebu kernel: bump 5.15 to 5.15.108 2023-04-22 01:10:24 +02:00
mxs mxs: switch default kernel to 5.15 2023-01-30 11:13:14 +01:00
octeon octeon: switch to Kernel 5.15 by default 2023-04-08 00:47:12 +02:00
octeontx kernel: bump 5.15 to 5.15.100 2023-03-18 12:52:17 +01:00
omap treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
oxnas treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
pistachio kernel: bump 5.10 to 5.10.173 2023-03-20 22:44:28 +01:00
qoriq treewide: remove label = "cpu" from DSA dt-binding 2023-02-26 22:22:48 +01:00
ramips ramips: add factory image for TP-Link EC330-G5u v1 2023-04-29 22:34:51 +02:00
realtek kernel: Deactivate CONFIG_LEGACY_PTYS 2023-04-29 21:56:53 +02:00
rockchip kernel: Deactivate CONFIG_COMPAT 2023-04-29 21:56:53 +02:00
sunxi sunxi: enable CONFIG_NVMEM_SYSFS 2023-02-26 22:22:48 +01:00
tegra tegra: switch to Kernel 5.15 by default 2023-04-08 00:30:22 +02:00
uml treewide: replace wpad-basic-wolfssl default 2023-02-04 02:35:03 +01:00
x86 x86: fix deprecated CONFIG_MICROCODE_OLD_INTERACE 2023-03-20 22:44:20 +01:00
zynq zynq: remove kconfig for 5.10 2023-01-30 18:01:14 +08:00
Makefile