Support for TP-link RE205 v3

@TheBot It sounds like the Automated Optical Inspector(AOI), and also the lead QA Technician at the manufacturing plant your router/extender came from were both having an off day simultaneously, haha! Or maybe that was a - "well, it still works, and most people don't do development, let's ship it, they'll never know" - moment. "And come to think of it, maybe we should put in a request to finance to upgrade our AOI next year... " :joy:

That said, I know its frustrating to receive technology that is poorly assembled and less than 100% functional, and sorting out why it isn't 100% can really be a mess. Sometimes people come that way too it seems. Maybe that's part of why you got a bum router. But, you patched it up so now you can continue tinkering at your leisure!

No worries about slow responses. It's an increasingly busy world we live in. Thank you for taking the time to respond to us, I really appreciate it. This project serves as a welcome distraction from many difficulties we are all facing, for me.

Continuing from your recent post, it seems like you have the equipment to read/write/and test new firmware builds, and you are also a busy person. I am willing - if there is anything I could do to help you on the software side that would help alleviate some of your task load - to collaborate with you and figure out the proper build parameters based on your findings during test phases. Again, I know your busy and don't need any more pressure, so know that I am thinking of this as @slo moving process that could take months or more to sort through here and there.

It sounds like I could begin working on the tplink_re200-v3-initramfs-kernal.bin source code right away, sorting out the way to implement the mktplinkfw.c so at least the base firmware is supported. That will be one task crossed off the list soon I hope. I am also busy with many things. So I'll share if or when I have any meaningful findings. :smile:

Since you have the ability to directly read and write the chip in the event of soft bricking - when you resolve a way to establish a solid connection - would you be willing to try a bin file if I can figure out how to successfully - and competently - compile it?

On some devices the manufacture may disable the UART interface, so you can't poke around their devices.
I think this is, to hide some potential security issues that are unknown yet on their firmware and/or to prevent from modifying the device firmware mostly because they are almost the same as an greater version one, so that way the manufacture may force you to buy the "newer one" (for instance the RE205 v3 support OneMesh and some others don't, but nevertheless they are on the hardware side the same).
I'm 100% percent in on testing! Also I will try too (whenever I got some time).

Do you remember where you put that jumper wire?

As I still cannot access the bootloader, I finally modified the sources and successfully upgrade my devices using the web-interface.

I created pull requests to add official support to OpenWRT.

1 Like

Sorry @slo for responding so late, unfortunately I was making some progress on this device until I decided to create a full backup of the flash chip before reprogramming it with the indicated OpenWrt firmware, in this process I don't know what I did wrong but apparently I killed the chip (¿could my modifications on the UART port be the culprit? I would never know). Given this, I never got to the point on flashing the chip with the firmware (as said, I only loaded it to the volatile memory and run from there, I was on my way on reprogramming it and that's why I wanted to make a full backup in case if I messed up), then once I flash it then I could do some further testing proving that its stable and nothing happene when the device was rebooted with ll that I could finally confirm the firmware was 100% compatible and post it on the community.
At this point and after trying really hard to revive this device, I finally decided to move on and consider this a dead project, so I threw this device to the bin.
Im really glad that you still decide to proceed on making this device be supported by OpenWrt and do required tasks!
Anyways, if someone is looking for running OpenWrt on this device and finds this post. ¿Is there any link where they might download the firmware and where you can point out what steps you've done to get it working?

Pull request for the firmware-utils have already been merged, so you can build the firmware-utils and use tplink-safeloader to create a factory-image. (Of cause you need a compatible and existing kernel and root-filesystem to do so.)

The pull request for OpenWRT itself is still open. You can already get the sources and build it.
Once it is (hopefully) accepted I guess you can just download the latest snapshot.

The image is almost identical to RE200 images, but GPIOs for LEDs are different.
BTW: With the current stable 23.05.2 release 5GHz WLAN does not work, but that seems to be fixed on the master branch. - At least it is running quite fine on my device.

Hi @slo -- I tried applied your patch and building, but it kept failing near the end of the building, not generating the squashfs-sysupgrade.bin file. Would it be possible for you to please share your config file? While it complained the image was too big, I'm not convinced it wrote out the image at all, as it didn't shows the size. When I tried with image builder that I compiled, it also failed similarly.

I think I got it, I assumed firmware-utils including your patch would be built and used, but it looks like it doesn't recognize the board so I must update the one I have.

EDIT: All set and installed, configured as a Wi-Fi bridge! Thank you for your work @slo!

I updated the firmware-utils repository, but I forgot to let the main repository point to the latest version.
I fixed that, thank you for testing!

Here is my .config:

1 Like

The pull request has been accepted.
Links to the latest snapshots can be found on the techdata-page: https://openwrt.org/toh/hwdata/tp-link/tp-link_re205_v3

2 Likes

With current snapshots (r27194-a2662309aa) / r27205-5d107bbbbb enabled WiFi makes the device unresponsive. After a reset I was able to downgrade to r26990-06b37a5856. Noticed serveral

rt3050-esw 10110000.esw: port 4 link down

messages.

BusyBox v1.36.1 (2024-08-21 10:15:21 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r27205-5d107bbbbb
 -----------------------------------------------------
root@OpenWrt:~# dmesg 
[    0.000000] Linux version 6.6.47 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27205-5d107bbbbb) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Thu Aug 22 15:53:28 2024
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link RE205 v3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: console=ttyS0,57600n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=0000000c
[    0.000000] Readback ErrCtl register=0000000c
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56224K/65536K available (5070K kernel code, 582K rwdata, 1588K rodata, 1200K init, 201K bss, 9312K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000003] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015458] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087650] pid_max: default: 32768 minimum: 301
[    0.105561] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.119931] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.145868] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.168300] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.187710] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.201185] pinctrl core: initialized pinctrl subsystem
[    0.215503] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.228062] thermal_sys: Registered thermal governor 'step_wise'
[    0.495009] PCI host bridge to bus 0000:00
[    0.514866] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.528459] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.542046] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.557756] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    0.569587] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.581958] pci 0000:00:00.0: reg 0x14: [mem 0x00000000-0x0000ffff]
[    0.594419] pci 0000:00:00.0: supports D1
[    0.602231] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.615480] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    0.631471] pci 0000:01:00.0: [14c3:7650] type 00 class 0x028000
[    0.643285] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.655774] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.668162] pci 0000:01:00.1: [14c3:8650] type 00 class 0x0d1100
[    0.679993] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.692471] pci 0000:01:00.1: supports D1
[    0.700256] pci 0000:01:00.1: PME# supported from D0 D1 D3hot D3cold
[    0.713201] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.726213] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.739282] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.752325] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.766089] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.779501] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.792929] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.806343] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.819756] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.829540] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.844810] clocksource: Switched to clocksource MIPS
[    0.868164] NET: Registered PF_INET protocol family
[    0.878077] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.894289] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.910986] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.926218] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.941364] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.955313] TCP: Hash tables configured (established 1024 bind 1024)
[    0.968049] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.980993] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.995902] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    1.007163] PCI: CLS 0 bytes, default 32
[    1.020986] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    1.034299] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.045769] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.073479] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.089630] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.101022] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.112337] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.124141] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.144030] printk: console [ttyS0] disabled
[    1.153159] 10000c00.uart0: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    1.170557] printk: console [ttyS0] enabled
[    1.187013] printk: bootconsole [early0] disabled
[    1.242119] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    1.259282] spi-nor spi0.0: XM25QH64A (8192 Kbytes)
[    1.269166] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.281826] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.296371] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.311296] Creating 4 MTD partitions on "spi0.0":
[    1.320862] 0x000000000000-0x000000020000 : "u-boot"
[    1.334746] 0x000000020000-0x0000007c0000 : "firmware"
[    1.347763] 2 tplink-fw partitions found on MTD device firmware
[    1.359593] Creating 2 MTD partitions on "firmware":
[    1.369446] 0x000000000000-0x00000022c6b7 : "kernel"
[    1.379294] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.398187] 0x00000022c6b7-0x0000007a0000 : "rootfs"
[    1.408123] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.428762] mtd: setting mtd3 (rootfs) as root device
[    1.438948] 1 squashfs-split partitions found on MTD device rootfs
[    1.451229] 0x000000690000-0x0000007a0000 : "rootfs_data"
[    1.464560] 0x0000007c0000-0x0000007f0000 : "config"
[    1.477235] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.492285] 0x0000007f0000-0x000000800000 : "radio"
[    1.505363] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.549637] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[    1.566015] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.586089] NET: Registered PF_INET6 protocol family
[    1.603731] Segment Routing with IPv6
[    1.611213] In-situ OAM (IOAM) with IPv6
[    1.619272] NET: Registered PF_PACKET protocol family
[    1.629363] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.655638] 8021q: 802.1Q VLAN Support v1.8
[    1.708598] clk: Disabling unused clocks
[    1.725518] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.746268] Freeing unused kernel image (initmem) memory: 1200K
[    1.758036] This architecture does not have kernel memory protection.
[    1.770830] Run /sbin/init as init process
[    1.778958]   with arguments:
[    1.778966]     /sbin/init
[    1.778974]   with environment:
[    1.778981]     HOME=/
[    1.778989]     TERM=linux
[    3.904429] init: Console is alive
[    3.911887] init: - watchdog -
[    5.633004] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    6.088284] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    6.116896] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    6.142043] init: - preinit -
[   11.184861] random: crng init done
[   15.905491] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 13 of xdatum (0 unchecked, 3 orphan) and 15 of xref (3 dead, 0 orphan) found.
[   15.938281] mount_root: switching to jffs2 overlay
[   15.950774] overlayfs: upper fs does not support tmpfile.
[   15.970888] urandom-seed: Seed file not found (/etc/urandom.seed)
[   16.045383] procd: - early -
[   16.051460] procd: - watchdog -
[   17.149807] procd: - watchdog -
[   17.157536] procd: - ubus -
[   17.813172] procd: - init -
[   21.263882] kmodloader: loading kernel modules from /etc/modules.d/*
[   23.104612] Loading modules backported from Linux version v6.9.9-0-g28fdf4518483
[   23.119389] Backport generated by backports.git v6.1.97-1-29-gf1d24a3683b2
[   23.669333] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   23.728597] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   23.740428] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   23.814831] mt76_wmac 10300000.wmac: firmware init done
[   24.014638] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
[   24.028762] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   24.380675] urngd: v1.0.2 started.
[   24.439091] PPP generic driver version 2.4.2
[   24.476333] NET: Registered PF_PPPOX protocol family
[   24.518138] mt76x0e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   24.530770] mt76x0e 0000:01:00.0: ASIC revision: 76100002
[   24.607737] mt76x0e 0000:01:00.0: Firmware Version: 0.1.00
[   24.936575] mt76x0e 0000:01:00.0: EEPROM ver:01 fae:00
[   24.947504] mt76x0e 0000:01:00.0: registering led 'mt76-phy1'
[   24.961018] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   25.342824] kmodloader: done loading kernel modules from /etc/modules.d/*
[   58.087292] br-lan: port 1(eth0) entered blocking state
[   58.097775] br-lan: port 1(eth0) entered disabled state
[   58.108229] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
[   58.122108] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
[   62.348204] rt3050-esw 10110000.esw: port 4 link up
[   62.483595] br-lan: port 1(eth0) entered blocking state
[   62.494064] br-lan: port 1(eth0) entered forwarding state
[   87.242076] br-lan: port 2(phy0-ap0) entered blocking state
[   87.253229] br-lan: port 2(phy0-ap0) entered disabled state
[   87.264359] mt76_wmac 10300000.wmac phy0-ap0: entered allmulticast mode
[   87.277924] mt76_wmac 10300000.wmac phy0-ap0: entered promiscuous mode
[  384.148773] rt3050-esw 10110000.esw: port 4 link down
[  389.782183] rt3050-esw 10110000.esw: port 4 link up
[  393.144613] rt3050-esw 10110000.esw: port 4 link down
[  399.923878] rt3050-esw 10110000.esw: port 4 link up
[  402.880805] rt3050-esw 10110000.esw: port 4 link down
[  405.691045] rt3050-esw 10110000.esw: port 4 link up
[  409.381159] rt3050-esw 10110000.esw: port 4 link down
[  414.833317] rt3050-esw 10110000.esw: port 4 link up
[  417.568037] rt3050-esw 10110000.esw: port 4 link down
[  419.732133] rt3050-esw 10110000.esw: port 4 link up
[  452.203812] rt3050-esw 10110000.esw: port 4 link down
[  455.826084] rt3050-esw 10110000.esw: port 4 link up
[  472.552741] rt3050-esw 10110000.esw: port 4 link down
[  475.208612] rt3050-esw 10110000.esw: port 4 link up
[  482.248995] rt3050-esw 10110000.esw: port 4 link down
[  491.248291] rt3050-esw 10110000.esw: port 4 link up
[  497.196325] rt3050-esw 10110000.esw: port 4 link down
[  523.279011] rt3050-esw 10110000.esw: port 4 link up
[  532.970790] rt3050-esw 10110000.esw: port 4 link down
[  556.882596] rt3050-esw 10110000.esw: port 4 link up
[  561.547556] rt3050-esw 10110000.esw: port 4 link down
[  585.505444] rt3050-esw 10110000.esw: port 4 link up
[  589.417762] rt3050-esw 10110000.esw: port 4 link down
[  593.189795] rt3050-esw 10110000.esw: port 4 link up
[  598.757668] rt3050-esw 10110000.esw: port 4 link down
[  631.429795] rt3050-esw 10110000.esw: port 4 link up
[  631.469341] rt3050-esw 10110000.esw: port 4 link down
[  633.396129] rt3050-esw 10110000.esw: port 4 link up
[  636.827937] rt3050-esw 10110000.esw: port 4 link down
[  687.512224] rt3050-esw 10110000.esw: port 4 link up
[  687.654176] rt3050-esw 10110000.esw: port 4 link down
[  689.740449] rt3050-esw 10110000.esw: port 4 link up
[  767.425823] rt3050-esw 10110000.esw: port 4 link down
[  774.462112] rt3050-esw 10110000.esw: port 4 link up
[  782.619934] rt3050-esw 10110000.esw: port 4 link down
[  787.225246] rt3050-esw 10110000.esw: port 4 link up
[  790.324510] rt3050-esw 10110000.esw: port 4 link down
[  797.481634] rt3050-esw 10110000.esw: port 4 link up

any chance of a df -h and a list of installed packages?

Tried the current snapshot openwrt-ramips-mt76x8-tplink_re205-v3-squashfs-sysupgrade.bin f0f101b40eaeea736b8171c172c385b3c9657e62b9490b35a42570e7ffeb0a6253 76.3 KB Tue Aug 27 13:27:24 2024 with no additional packages installed. 2.4 GHz AP can be found by clients but as soon as I enable 5 GHz radio1 there is no wifi at all. 5 GHz only doesn't work either.

user@host:~> ssh -l root 192.168.1.1


BusyBox v1.36.1 (2024-08-26 21:29:06 UTC) built-in shell (ash)

  _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r27231-b870c16534
 -----------------------------------------------------
=== WARNING! =====================================
There is no root password defined on this device!
Use the "passwd" command to set up a new password
in order to prevent unauthorized SSH logins.
--------------------------------------------------
root@OpenWrt:~# dmesg 
[    0.000000] Linux version 6.6.47 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27231-b870c16534) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 Mon Aug 26 21:29:06 2024
[    0.000000] Board has DDR2
[    0.000000] Analog PMU set to hw control
[    0.000000] Digital PMU set to hw control
[    0.000000] SoC Type: MediaTek MT7628AN ver:1 eco:2
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 00019655 (MIPS 24KEc)
[    0.000000] MIPS: machine is TP-Link RE205 v3
[    0.000000] Initrd not found or empty - disabling initrd
[    0.000000] Primary instruction cache 64kB, VIPT, 4-way, linesize 32 bytes.
[    0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.000000] Zone ranges:
[    0.000000]   Normal   [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000003ffffff]
[    0.000000] pcpu-alloc: s0 r0 d32768 u32768 alloc=1*32768
[    0.000000] pcpu-alloc: [0] 0 
[    0.000000] Kernel command line: console=ttyS0,57600n8 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Inode-cache hash table entries: 4096 (order: 2, 16384 bytes, linear)
[    0.000000] Writing ErrCtl register=00000000
[    0.000000] Readback ErrCtl register=00000000
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 16256
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 56224K/65536K available (5070K kernel code, 582K rwdata, 1588K rodata, 1200K init, 201K bss, 9312K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=1, Nodes=1
[    0.000000] NR_IRQS: 256
[    0.000000] intc: using register map from devicetree
[    0.000000] CPU Clock: 580MHz
[    0.000000] timer_probe: no matching timers found
[    0.000000] clocksource: MIPS: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 6590553264 ns
[    0.000002] sched_clock: 32 bits at 290MHz, resolution 3ns, wraps every 7405115902ns
[    0.015459] Calibrating delay loop... 385.84 BogoMIPS (lpj=1929216)
[    0.087650] pid_max: default: 32768 minimum: 301
[    0.105559] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.119931] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.145872] RCU Tasks Trace: Setting shift to 0 and lim to 1 rcu_task_cb_adjust=1.
[    0.168311] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.187721] futex hash table entries: 256 (order: -1, 3072 bytes, linear)
[    0.201195] pinctrl core: initialized pinctrl subsystem
[    0.215529] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.228088] thermal_sys: Registered thermal governor 'step_wise'
[    0.494996] PCI host bridge to bus 0000:00
[    0.514852] pci_bus 0000:00: root bus resource [mem 0x20000000-0x2fffffff]
[    0.528445] pci_bus 0000:00: root bus resource [io  0x10160000-0x1016ffff]
[    0.542032] pci_bus 0000:00: No busn resource found for root bus, will use [bus 00-ff]
[    0.557743] pci 0000:00:00.0: [14c3:0801] type 01 class 0x060400
[    0.569572] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    0.581944] pci 0000:00:00.0: reg 0x14: [mem 0x20200000-0x2020ffff]
[    0.594401] pci 0000:00:00.0: supports D1
[    0.602217] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    0.615666] pci 0000:01:00.0: [14c3:7650] type 00 class 0x028000
[    0.627506] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.639977] pci 0000:01:00.0: PME# supported from D0 D3hot D3cold
[    0.652365] pci 0000:01:00.1: [14c3:8650] type 00 class 0x0d1100
[    0.664197] pci 0000:01:00.1: reg 0x10: [mem 0x00000000-0x000fffff]
[    0.676671] pci 0000:01:00.1: supports D1
[    0.684456] pci 0000:01:00.1: PME# supported from D0 D1 D3hot D3cold
[    0.697400] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    0.710411] pci_bus 0000:00: busn_res: [bus 00-ff] end is updated to 01
[    0.723481] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    0.736524] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    0.750287] pci 0000:00:00.0: BAR 8: assigned [mem 0x20000000-0x201fffff]
[    0.763700] pci 0000:00:00.0: BAR 1: assigned [mem 0x20200000-0x2020ffff]
[    0.777128] pci 0000:01:00.0: BAR 0: assigned [mem 0x20000000-0x200fffff]
[    0.790541] pci 0000:01:00.1: BAR 0: assigned [mem 0x20100000-0x201fffff]
[    0.803955] pci 0000:00:00.0: PCI bridge to [bus 01]
[    0.813739] pci 0000:00:00.0:   bridge window [mem 0x20000000-0x201fffff]
[    0.829010] clocksource: Switched to clocksource MIPS
[    0.852360] NET: Registered PF_INET protocol family
[    0.862273] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.878478] tcp_listen_portaddr_hash hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.895175] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.910410] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.925554] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.939501] TCP: Hash tables configured (established 1024 bind 1024)
[    0.952240] UDP hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.965183] UDP-Lite hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.980098] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.991359] PCI: CLS 0 bytes, default 32
[    1.005148] workingset: timestamp_bits=30 max_order=14 bucket_order=0
[    1.018459] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    1.029929] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    1.057645] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    1.073799] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.085204] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.096517] mt7621_gpio 10000600.gpio: registering 32 gpios
[    1.108295] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.128197] printk: console [ttyS0] disabled
[    1.137337] 10000c00.uart0: ttyS0 at MMIO 0x10000c00 (irq = 28, base_baud = 2500000) is a 16550A
[    1.154732] printk: console [ttyS0] enabled
[    1.171187] printk: bootconsole [early0] disabled
[    1.226402] spi-mt7621 10000b00.spi: sys_freq: 193333333
[    1.243542] spi-nor spi0.0: XM25QH64A (8192 Kbytes)
[    1.253428] 4 fixed-partitions partitions found on MTD device spi0.0
[    1.266086] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.280632] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.295557] Creating 4 MTD partitions on "spi0.0":
[    1.305121] 0x000000000000-0x000000020000 : "u-boot"
[    1.318977] 0x000000020000-0x0000007c0000 : "firmware"
[    1.331993] 2 tplink-fw partitions found on MTD device firmware
[    1.343824] Creating 2 MTD partitions on "firmware":
[    1.353676] 0x000000000000-0x00000022c6a9 : "kernel"
[    1.363523] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.382431] 0x00000022c6a9-0x0000007a0000 : "rootfs"
[    1.392367] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.412976] mtd: setting mtd3 (rootfs) as root device
[    1.423163] 1 squashfs-split partitions found on MTD device rootfs
[    1.435445] 0x000000540000-0x0000007a0000 : "rootfs_data"
[    1.448767] 0x0000007c0000-0x0000007f0000 : "config"
[    1.461416] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.476465] 0x0000007f0000-0x000000800000 : "radio"
[    1.489545] OF: Bad cell count for /palmbus@10000000/spi@b00/flash@0/partitions
[    1.533725] rt3050-esw 10110000.esw: mediatek esw at 0xb0110000, irq 25 initialized
[    1.550112] mtk_soc_eth 10100000.ethernet eth0: mediatek frame engine at 0xb0100000, irq 5
[    1.570194] NET: Registered PF_INET6 protocol family
[    1.587863] Segment Routing with IPv6
[    1.595346] In-situ OAM (IOAM) with IPv6
[    1.603408] NET: Registered PF_PACKET protocol family
[    1.613498] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.639774] 8021q: 802.1Q VLAN Support v1.8
[    1.692655] clk: Disabling unused clocks
[    1.708597] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.729397] Freeing unused kernel image (initmem) memory: 1200K
[    1.741174] This architecture does not have kernel memory protection.
[    1.753965] Run /sbin/init as init process
[    1.762092]   with arguments:
[    1.762100]     /sbin/init
[    1.762109]   with environment:
[    1.762116]     HOME=/
[    1.762124]     TERM=linux
[    3.582473] init: Console is alive
[    3.589921] init: - watchdog -
[    5.334980] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.819122] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    5.847427] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.872642] init: - preinit -
[    6.118831] rt3050-esw 10110000.esw: port 4 link up
[    6.999085] rt3050-esw 10110000.esw: port 4 link down
[    9.789102] rt3050-esw 10110000.esw: port 4 link up
[   10.799055] random: crng init done
[   12.351722] rt3050-esw 10110000.esw: port 4 link down
[   15.622033] jffs2: notice: (375) jffs2_build_xattr_subsystem: complete building xattr subsystem, 25 of xdatum (5 unchecked, 17 orphan) and 29 of xref (7 dead, 12 orphan) found.
[   15.655154] mount_root: switching to jffs2 overlay
[   15.666964] overlayfs: upper fs does not support tmpfile.
[   15.687109] urandom-seed: Seeding with /etc/urandom.seed
[   15.760138] procd: - early -
[   15.766216] procd: - watchdog -
[   16.883537] procd: - watchdog -
[   16.892200] procd: - ubus -
[   16.988143] rt3050-esw 10110000.esw: port 4 link up
[   17.531561] procd: - init -
[   20.740681] kmodloader: loading kernel modules from /etc/modules.d/*
[   22.606751] Loading modules backported from Linux version v6.9.9-0-g28fdf4518483
[   22.621505] Backport generated by backports.git v6.1.97-1-29-gf1d24a3683b2
[   23.003103] mt76_wmac 10300000.wmac: ASIC revision: 76280001
[   23.062889] mt76_wmac 10300000.wmac: Firmware Version: 20151201
[   23.074720] mt76_wmac 10300000.wmac: Build Time: 20151201183641
[   23.149029] mt76_wmac 10300000.wmac: firmware init done
[   23.348817] mt76_wmac 10300000.wmac: registering led 'mt76-phy0'
[   23.362888] ieee80211 phy0: Selected rate control algorithm 'minstrel_ht'
[   23.843547] PPP generic driver version 2.4.2
[   23.887871] NET: Registered PF_PPPOX protocol family
[   23.932155] mt76x0e 0000:01:00.0: card - bus=0x1, slot = 0x0 irq=4
[   23.944796] mt76x0e 0000:01:00.0: ASIC revision: 76100002
[   24.150201] urngd: v1.0.2 started.
[   25.439400] mt76x0e 0000:01:00.0: Firmware Version: 0.1.00
[   25.769800] mt76x0e 0000:01:00.0: EEPROM ver:01 fae:00
[   25.780750] mt76x0e 0000:01:00.0: registering led 'mt76-phy1'
[   25.794260] ieee80211 phy1: Selected rate control algorithm 'minstrel_ht'
[   25.869892] kmodloader: done loading kernel modules from /etc/modules.d/*
[   43.064170] rt3050-esw 10110000.esw: port 4 link down
[   47.143597] rt3050-esw 10110000.esw: port 4 link up
[   51.369769] br-lan: port 1(eth0) entered blocking state
[   51.380248] br-lan: port 1(eth0) entered disabled state
[   51.390699] mtk_soc_eth 10100000.ethernet eth0: entered allmulticast mode
[   51.404600] mtk_soc_eth 10100000.ethernet eth0: entered promiscuous mode
[   51.473224] br-lan: port 1(eth0) entered blocking state
[   51.483693] br-lan: port 1(eth0) entered forwarding state
[  206.944549] rt3050-esw 10110000.esw: port 4 link down
[  210.115236] rt3050-esw 10110000.esw: port 4 link up
root@OpenWrt:~# free
              total        used        free      shared  buff/cache   available
Mem:          57424       21716       20232         156       15476       15604
Swap:             0           0           0
root@OpenWrt:~# df -h
Filesystem                Size      Used Available Use% Mounted on
/dev/root                 4.0M      4.0M         0 100% /rom
tmpfs                    28.0M    156.0K     27.9M   1% /tmp
/dev/mtdblock4            2.4M    228.0K      2.2M   9% /overlay
overlayfs:/overlay        2.4M    228.0K      2.2M   9% /
tmpfs                   512.0K         0    512.0K   0% /dev
root@OpenWrt:~# uci show
dhcp.@dnsmasq[0]=dnsmasq
dhcp.@dnsmasq[0].domainneeded='1'
dhcp.@dnsmasq[0].boguspriv='1'
dhcp.@dnsmasq[0].filterwin2k='0'
dhcp.@dnsmasq[0].localise_queries='1'
dhcp.@dnsmasq[0].rebind_protection='1'
dhcp.@dnsmasq[0].rebind_localhost='1'
dhcp.@dnsmasq[0].local='/lan/'
dhcp.@dnsmasq[0].domain='lan'
dhcp.@dnsmasq[0].expandhosts='1'
dhcp.@dnsmasq[0].nonegcache='0'
dhcp.@dnsmasq[0].cachesize='1000'
dhcp.@dnsmasq[0].authoritative='1'
dhcp.@dnsmasq[0].readethers='1'
dhcp.@dnsmasq[0].leasefile='/tmp/dhcp.leases'
dhcp.@dnsmasq[0].resolvfile='/tmp/resolv.conf.d/resolv.conf.auto'
dhcp.@dnsmasq[0].nonwildcard='1'
dhcp.@dnsmasq[0].localservice='1'
dhcp.@dnsmasq[0].ednspacket_max='1232'
dhcp.@dnsmasq[0].filter_aaaa='0'
dhcp.@dnsmasq[0].filter_a='0'
dhcp.lan=dhcp
dhcp.lan.interface='lan'
dhcp.lan.start='100'
dhcp.lan.limit='150'
dhcp.lan.leasetime='12h'
dhcp.lan.dhcpv4='server'
dhcp.lan.dhcpv6='server'
dhcp.lan.ra='server'
dhcp.lan.ra_slaac='1'
dhcp.lan.ra_flags='managed-config' 'other-config'
dhcp.wan=dhcp
dhcp.wan.interface='wan'
dhcp.wan.ignore='1'
dhcp.odhcpd=odhcpd
dhcp.odhcpd.maindhcp='0'
dhcp.odhcpd.leasefile='/tmp/hosts/odhcpd'
dhcp.odhcpd.leasetrigger='/usr/sbin/odhcpd-update'
dhcp.odhcpd.loglevel='4'
dropbear.@dropbear[0]=dropbear
dropbear.@dropbear[0].PasswordAuth='on'
dropbear.@dropbear[0].RootPasswordAuth='on'
dropbear.@dropbear[0].Port='22'
firewall.@defaults[0]=defaults
firewall.@defaults[0].syn_flood='1'
firewall.@defaults[0].input='REJECT'
firewall.@defaults[0].output='ACCEPT'
firewall.@defaults[0].forward='REJECT'
firewall.@zone[0]=zone
firewall.@zone[0].name='lan'
firewall.@zone[0].network='lan'
firewall.@zone[0].input='ACCEPT'
firewall.@zone[0].output='ACCEPT'
firewall.@zone[0].forward='ACCEPT'
firewall.@zone[1]=zone
firewall.@zone[1].name='wan'
firewall.@zone[1].network='wan' 'wan6'
firewall.@zone[1].input='REJECT'
firewall.@zone[1].output='ACCEPT'
firewall.@zone[1].forward='REJECT'
firewall.@zone[1].masq='1'
firewall.@zone[1].mtu_fix='1'
firewall.@forwarding[0]=forwarding
firewall.@forwarding[0].src='lan'
firewall.@forwarding[0].dest='wan'
firewall.@rule[0]=rule
firewall.@rule[0].name='Allow-DHCP-Renew'
firewall.@rule[0].src='wan'
firewall.@rule[0].proto='udp'
firewall.@rule[0].dest_port='68'
firewall.@rule[0].target='ACCEPT'
firewall.@rule[0].family='ipv4'
firewall.@rule[1]=rule
firewall.@rule[1].name='Allow-Ping'
firewall.@rule[1].src='wan'
firewall.@rule[1].proto='icmp'
firewall.@rule[1].icmp_type='echo-request'
firewall.@rule[1].family='ipv4'
firewall.@rule[1].target='ACCEPT'
firewall.@rule[2]=rule
firewall.@rule[2].name='Allow-IGMP'
firewall.@rule[2].src='wan'
firewall.@rule[2].proto='igmp'
firewall.@rule[2].family='ipv4'
firewall.@rule[2].target='ACCEPT'
firewall.@rule[3]=rule
firewall.@rule[3].name='Allow-DHCPv6'
firewall.@rule[3].src='wan'
firewall.@rule[3].proto='udp'
firewall.@rule[3].dest_port='546'
firewall.@rule[3].family='ipv6'
firewall.@rule[3].target='ACCEPT'
firewall.@rule[4]=rule
firewall.@rule[4].name='Allow-MLD'
firewall.@rule[4].src='wan'
firewall.@rule[4].proto='icmp'
firewall.@rule[4].src_ip='fe80::/10'
firewall.@rule[4].icmp_type='130/0' '131/0' '132/0' '143/0'
firewall.@rule[4].family='ipv6'
firewall.@rule[4].target='ACCEPT'
firewall.@rule[5]=rule
firewall.@rule[5].name='Allow-ICMPv6-Input'
firewall.@rule[5].src='wan'
firewall.@rule[5].proto='icmp'
firewall.@rule[5].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type' 'router-solicitation' 'neighbour-solicitation' 'router-advertisement' 'neighbour-advertisement'
firewall.@rule[5].limit='1000/sec'
firewall.@rule[5].family='ipv6'
firewall.@rule[5].target='ACCEPT'
firewall.@rule[6]=rule
firewall.@rule[6].name='Allow-ICMPv6-Forward'
firewall.@rule[6].src='wan'
firewall.@rule[6].dest='*'
firewall.@rule[6].proto='icmp'
firewall.@rule[6].icmp_type='echo-request' 'echo-reply' 'destination-unreachable' 'packet-too-big' 'time-exceeded' 'bad-header' 'unknown-header-type'
firewall.@rule[6].limit='1000/sec'
firewall.@rule[6].family='ipv6'
firewall.@rule[6].target='ACCEPT'
firewall.@rule[7]=rule
firewall.@rule[7].name='Allow-IPSec-ESP'
firewall.@rule[7].src='wan'
firewall.@rule[7].dest='lan'
firewall.@rule[7].proto='esp'
firewall.@rule[7].target='ACCEPT'
firewall.@rule[8]=rule
firewall.@rule[8].name='Allow-ISAKMP'
firewall.@rule[8].src='wan'
firewall.@rule[8].dest='lan'
firewall.@rule[8].dest_port='500'
firewall.@rule[8].proto='udp'
firewall.@rule[8].target='ACCEPT'
network.loopback=interface
network.loopback.device='lo'
network.loopback.proto='static'
network.loopback.ipaddr='127.0.0.1'
network.loopback.netmask='255.0.0.0'
network.globals=globals
network.globals.ula_prefix='fda6:eed4:ab05::/48'
network.@device[0]=device
network.@device[0].name='br-lan'
network.@device[0].type='bridge'
network.@device[0].ports='eth0'
network.lan=interface
network.lan.device='br-lan'
network.lan.proto='static'
network.lan.ipaddr='192.168.1.1'
network.lan.netmask='255.255.255.0'
network.lan.ip6assign='60'
network.@switch[0]=switch
network.@switch[0].name='switch0'
network.@switch[0].reset='1'
network.@switch[0].enable_vlan='0'
system.@system[0]=system
system.@system[0].hostname='OpenWrt'
system.@system[0].timezone='UTC'
system.@system[0].ttylogin='0'
system.@system[0].log_size='64'
system.@system[0].urandom_seed='0'
system.ntp=timeserver
system.ntp.enabled='1'
system.ntp.enable_server='0'
system.ntp.server='0.openwrt.pool.ntp.org' '1.openwrt.pool.ntp.org' '2.openwrt.pool.ntp.org' '3.openwrt.pool.ntp.org'
system.led_lan=led
system.led_lan.name='lan'
system.led_lan.sysfs='blue:signal'
system.led_lan.trigger='netdev'
system.led_lan.mode='link tx rx'
system.led_lan.dev='eth0'
wireless.radio0=wifi-device
wireless.radio0.type='mac80211'
wireless.radio0.path='platform/10300000.wmac'
wireless.radio0.band='2g'
wireless.radio0.channel='1'
wireless.radio0.htmode='HT20'
wireless.radio0.disabled='1'
wireless.default_radio0=wifi-iface
wireless.default_radio0.device='radio0'
wireless.default_radio0.network='lan'
wireless.default_radio0.mode='ap'
wireless.default_radio0.ssid='MYSSID'
wireless.default_radio0.encryption='psk'
wireless.default_radio0.key='MyPSK'
wireless.radio1=wifi-device
wireless.radio1.type='mac80211'
wireless.radio1.path='pci0000:00/0000:00:00.0/0000:01:00.0'
wireless.radio1.band='5g'
wireless.radio1.channel='36'
wireless.radio1.htmode='VHT80'
wireless.radio1.disabled='0'
wireless.default_radio1=wifi-iface
wireless.default_radio1.device='radio1'
wireless.default_radio1.network='lan'
wireless.default_radio1.mode='ap'
wireless.default_radio1.ssid='MySSID'
wireless.default_radio1.encryption='psk'
wireless.default_radio1.key='MyPSK'
root@OpenWrt:~#