TP-Link ER605 v2
The ER605 is based on the MediaTek MT7621 SoC with 5 10/100/1000 Mbps Ethernet ports and a single USB2.0 port. It does not have Wifi interfaces.
Getting started with a new Device Page
- This is an empty template that suggests the information that should be present on a well-constructed Device Page. This means, that you have to fill it with life and information.
- There are several “fixme” tags with text on a light background (like this text) throughout this template. As you fill in the page, remove those tags so that people can judge its completeness.
- When there are no more “fixme” tags left, delete this one too, along with the
<WRAP>
that encloses it.
Keep the articles modular
- Please include only model specific information, omit bla,bla and put everything generic into separate articles
- If you have no time to write certain stuff, link to docs
- base-system should lead the way, do not explain this again
- DO NOT provide a complete howto here! Instead groom the general documentation.
Supported Versions
Potential issues / Limitations
In the default setup, the “Routing/NAT Offloading” for the ER605 is disabled. This may slow down the ER605 enormously (50% slower). You may want to enable it: from the Luci network interface, go to Network → Firewall, under Routing/NAT Offloading tick both “Software flow offloading” and “Hardware flow offloading”, then click “Save & Apply”. The cli configuration options are option flow_offloading '1'
and option flow_offloading_hw '1'
in the config defaults
section of /etc/config/firewall
. After that, the ER605 is perfectly able to saturate a Gbit connection.
Experimental Versions
None at this time.
Hardware Highlights
Installation
OpenWrt can be installed by first getting a root shell on the device. The root password is derived from the device MAC and the admin user ID. The whole process is described in this GitHub repository
Flash Layout
This is the factory flash layout as reported by `cat /proc/mtd':
dev: | size | erasesize | name |
---|---|---|---|
mtd0 | 00040000 | 00010000 | bootloader |
mtd1 | 00030000 | 00010000 | bootloader-fs |
mtd2 | 00010000 | 00010000 | extra-para |
mtd3 | 00180000 | 00010000 | kernel |
mtd4 | 00bf0000 | 00010000 | rootfs |
mtd5 | 00020000 | 00010000 | panic-oops |
mtd6 | 00010000 | 00010000 | partition-table |
mtd7 | 00010000 | 00010000 | device-info |
mtd8 | 00010000 | 00010000 | support-list |
mtd9 | 00010000 | 00010000 | firmware-info |
mtd10 | 00010000 | 00010000 | tddp |
mtd11 | 00020000 | 00010000 | log |
mtd12 | 00180000 | 00010000 | rootfs_data |
mtd13 | 01000000 | 00010000 | firmware |
On firmware v2.2.5, the original layout of the FLASH is:
dev: | size | erasesize | name |
---|---|---|---|
mtd0 | 00080000 | 00020000 | “Bootloader” |
mtd1 | 00080000 | 00020000 | “Config” |
mtd2 | 00040000 | 00020000 | “Factory” |
mtd3 | 07cc0000 | 00020000 | “firmware” |
mtd4 | 00200000 | 00020000 | “panic-oops” |
mtd5 | 0003e000 | 0001f000 | “partition-table” |
mtd6 | 0003e000 | 0001f000 | “support-list” |
mtd7 | 00000384 | 0001f000 | “device-info” |
mtd8 | 00000384 | 0001f000 | “device-info.b” |
mtd9 | 0003e000 | 0001f000 | “tddp” |
mtd10 | 0003e000 | 0001f000 | “tddp.b” |
mtd11 | 00080000 | 0001f000 | “bootloader.b” |
mtd12 | 001d0000 | 0001f000 | “kernel.b” |
mtd13 | 011e0000 | 0001f000 | “rootfs.b” |
mtd14 | 00000083 | 0001f000 | “firmware-info.b” |
mtd15 | 0005d000 | 0001f000 | “extra-para.b” |
mtd16 | 0020f000 | 0001f000 | “log.b” |
mtd17 | 00a0d000 | 0001f000 | “rootfs_data.b” |
mtd18 | 00080000 | 0001f000 | “bootloader” |
mtd19 | 001d0000 | 0001f000 | “kernel” |
mtd20 | 011e0000 | 0001f000 | “rootfs” |
mtd21 | 00000083 | 0001f000 | “firmware-info” |
mtd22 | 0005d000 | 0001f000 | “extra-para” |
mtd23 | 0020f000 | 0001f000 | “log” |
mtd24 | 00a0d000 | 0001f000 | “rootfs_data” |
mtd25 | 00117000 | 0001f000 | “log_recovery” |
mtd26 | 01e08000 | 0001f000 | “database” |
After OpenWrt installation, the layout looks like this:
dev | size | erasesize | name |
---|---|---|---|
mtd0 | 00080000 | 00020000 | u-boot |
mtd1 | 00080000 | 00020000 | u-boot-env |
mtd2 | 00040000 | 00020000 | factory |
mtd3 | 07cc0000 | 00020000 | firmware |
mtd4 | 00200000 | 00020000 | panic-ops |
OEM easy installation
The installation instructions are available in this GitHub repository. In short they consist of:
- Getting a root ssh shell on the device
- Uploading and flashing a an installation image `openwrt-initramfs-compact.bin`.
- Browsing to the install web UI at http://192.168.1.1 and following instructions from there.
OEM installation using the TFTP method
Specific values needed for tftp
Enter values for “FILL-IN” below
Bootloader tftp server IPv4 address | FILL-IN |
---|---|
Bootloader MAC address (special) | FILL-IN |
Firmware tftp image | Latest OpenWrt release (NOTE: Name must contain “tftp”) |
TFTP transfer window | FILL-IN seconds |
TFTP window start | approximately FILL-IN seconds after power on |
TFTP client required IP address | FILL-IN |
Upgrading OpenWrt
These are generic instructions. Update with your router's specifics.
LuCI Web Upgrade Process
- Browse to
http://192.168.1.1/cgi-bin/luci/mini/system/upgrade/
LuCI Upgrade URL - Upload image file for sysupgrade to LuCI
- Wait for reboot
Terminal Upgrade Process
If you don't have a GUI (LuCI) available, you can alternatively upgrade via the command line. There are two command line methods for upgrading:
sysupgrade
mtd
Note: It is important that you put the firmware image into the ramdisk (/tmp) before you start flashing.
sysupgrade
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc sysupgrade /tmp/xxx.abc
mtd
If sysupgrade
does not support this router, use mtd
.
- Login as root via SSH on 192.168.1.1, then enter the following commands:
cd /tmp wget http://downloads.openwrt.org/snapshots/trunk/XXX/xxx.abc mtd write /tmp/xxx.abc linux && reboot
Debricking
A TP-Link web recovery is available on this device: Webrecovery
From dicussions in this forum thread, although it only helps as long as the partition layout is untouched. OpenWrt images cannot be uploaded here.
Once you reach a state where only the PWR LED
is lid, it might be needed to solder a UART connection header as detailed below.
Failsafe mode
Basic configuration
→ Basic configuration After flashing, proceed with this.
Set up your Internet connection, configure wireless, configure USB port, etc.
Specific Configuration
Network interfaces
The default network configuration is:
Interface Name | Description | Default configuration |
---|---|---|
wan | eth0 | DCHP |
br-lan | eth1, eth2, eth3, eth4 | 192.168.1.1/24 |
Switch Ports (for VLANs)
The WAN(eth0) port is not part of the switch on this device.
Port | Switch port |
---|---|
WAN (1) | eth0 |
WAN/LAN (2) | eth1@dsa |
WAN/LAN (3) | eth2@dsa |
LAN (4) | eth3@dsa |
LAN (5) | eth4@dsa |
Buttons
→ hardware.button on howto use and configure the hardware button(s). Here, we merely name the buttons, so we can use them in the above Howto.
The TP-Link ER605 has the following buttons:
BUTTON | Event |
---|---|
Reset | factory reset |
Hardware
Info
Photos
Front:
Insert photo of front of the casing
Back:
Insert photo of back of the casing
Backside label:
Insert photo of backside label
Opening the case
Remove two screws under the front of the case, then slide the upper part of the case forward.
Main PCB:
Serial
→ port.serial general information about the serial port, serial port cable, etc.
How to connect to the Serial Port of this specific device:
A header to attach a serial console UART cable needs to be soldered to this prepared footprint. (behind port 5)
From the left C3
designation it is +3.3V
, GND
, TX
and RX
.
Attention Beside soldering a header, the to small connections labeled R2
and R5
below the TX
and RX
holes need to be connected.
Serial connection parameters for TP-Link ER605 v2 | 115200, 8N1, 3.3V |
---|
JTAG
→ port.jtag general information about the JTAG port, JTAG cable, etc.
How to connect to the JTAG Port of this specific device:
Insert photo of PCB with markings for JTAG port
Bootloader mods
Hardware mods
None so far.
Bootlogs
OEM bootlog
[ 0.000000] [ 0.000000] The CPU feqenuce set to 880 MHz [ 0.000000] GCMP present [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] Software DMA cache coherency [ 0.000000] Determined physical RAM map: [ 0.000000] memory: 08000000 @ 00000000 (usable) [ 0.000000] @@----debug cmdline=[ board=OSGv1 console=ttyS1,115200 root=31:04 init=/sbin/init mtdparts=raspi:256k(u-boot)ro,192k(u-boot-fs),64k(extra-para),1472k(kernel),14400k(rootfs) ] [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] Zone ranges: [ 0.000000] DMA [mem 0x00000000-0x00ffffff] [ 0.000000] Normal [mem 0x01000000-0x07ffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x00000000-0x07ffffff] [ 0.000000] Detected 3 available secondary CPU(s) [ 0.000000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] PERCPU: Embedded 7 pages/cpu @8156c000 s6336 r8192 d14144 u32768 [ 0.000000] Built 1 zonelists in Zone order, mobility grouping on. Total pages: 32512 [ 0.000000] Kernel command line: console=ttyS1,115200n8 root=/dev/mtdblock4 rootfstype=squashfs,jffs2 noinitrd rootfstype=squashfs,yaffs,jffs2 [ 0.000000] PID hash table entries: 512 (order: -1, 2048 bytes) [ 0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes) [ 0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes) [ 0.000000] Writing ErrCtl register=0006b106 [ 0.000000] Readback ErrCtl register=0006b106 [ 0.000000] Memory: 125296k/131072k available (3345k kernel code, 5776k reserved, 800k data, 264k init, 0k highmem) [ 0.000000] Hierarchical RCU implementation. [ 0.000000] NR_IRQS:128 [ 0.000000] console [ttyS1] enabled [ 0.104000] Calibrating delay loop... 574.46 BogoMIPS (lpj=1148928) [ 0.132000] pid_max: default: 32768 minimum: 301 [ 0.136000] Mount-cache hash table entries: 512 [ 0.140000] launch: starting cpu1 [ 0.144000] launch: cpu1 gone! [ 0.144000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.144000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.144000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.144000] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.176000] Synchronize counters for CPU 1: done. [ 0.180000] launch: starting cpu2 [ 0.184000] launch: cpu2 gone! [ 0.184000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.184000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.184000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.184000] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.216000] Synchronize counters for CPU 2: done. [ 0.220000] launch: starting cpu3 [ 0.224000] launch: cpu3 gone! [ 0.224000] Primary instruction cache 32kB, 4-way, VIPT, linesize 32 bytes. [ 0.224000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.224000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.224000] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.252000] Synchronize counters for CPU 3: done. [ 0.256000] Brought up 4 CPUs [ 0.260000] NET: Registered protocol family 16 [ 0.492000] release PCIe RST: RALINK_RSTCTRL = 7000000 [ 0.496000] PCIE PHY initialize [ 0.500000] ***** Xtal 40MHz ***** [ 0.504000] start MT7621 PCIe register access [ 0.956000] RALINK_RSTCTRL = 7000000 [ 0.960000] RALINK_CLKCFG1 = 77ffeff8 [ 0.964000] [ 0.964000] *************** MT7621 PCIe RC mode ************* [ 1.348000] PCIE0 no card, disable it(RST&CLK) [ 1.352000] PCIE1 no card, disable it(RST&CLK) [ 1.356000] PCIE2 no card, disable it(RST&CLK) [ 1.360000] pcie_link status = 0x0 [ 1.364000] RALINK_RSTCTRL= 0 [ 1.384000] bio: create slab <bio-0> at 0 [ 1.388000] Switching to clocksource Ralink Systick timer [ 1.396000] NET: Registered protocol family 2 [ 1.400000] Clockevents: could not switch to one-shot mode: [ 1.400000] Clockevents: could not switch to one-shot mode: [ 1.400000] Clockevents: could not switch to one-shot mode: [ 1.400000] MIPS is not functional. [ 1.400000] MIPS is not functional. [ 1.400000] Clockevents: could not switch to one-shot mode: MIPS is not functional. [ 1.400000] Could not switch to high resolution mode on CPU 0 [ 1.400000] Could not switch to high resolution mode on CPU 2 [ 1.400000] Could not switch to high resolution mode on CPU 3 [ 1.448000] MIPS is not functional. [ 1.452000] Could not switch to high resolution mode on CPU 1 [ 1.460000] TCP established hash table entries: 1024 (order: 1, 8192 bytes) [ 1.464000] TCP bind hash table entries: 1024 (order: 1, 8192 bytes) [ 1.472000] TCP: Hash tables configured (established 1024 bind 1024) [ 1.480000] TCP: reno registered [ 1.480000] UDP hash table entries: 256 (order: 1, 8192 bytes) [ 1.488000] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes) [ 1.496000] NET: Registered protocol family 1 [ 1.588000] 4 CPUs re-calibrate udelay(lpj = 1167360) [ 1.596000] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 1.604000] jffs2: version 2.2. (NAND) (SUMMARY) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 1.612000] msgmni has been set to 244 [ 1.616000] io scheduler noop registered (default) [ 1.624000] reg_int_mask=0, INT_MASK= 0 [ 1.628000] HSDMA_init [ 1.628000] [ 1.628000] hsdma_phy_tx_ring0 = 0x00c00000, hsdma_tx_ring0 = 0xa0c00000 [ 1.636000] [ 1.636000] hsdma_phy_rx_ring0 = 0x00c04000, hsdma_rx_ring0 = 0xa0c04000 [ 1.644000] TX_CTX_IDX0 = 0 [ 1.648000] TX_DTX_IDX0 = 0 [ 1.652000] RX_CRX_IDX0 = 3ff [ 1.656000] RX_DRX_IDX0 = 0 [ 1.656000] set_fe_HSDMA_glo_cfg [ 1.660000] HSDMA_GLO_CFG = 465 [ 1.668000] Serial: 8250/16550 driver, 2 ports, IRQ sharing disabled [ 1.676000] serial8250: ttyS0 at MMIO 0x1e000d00 (irq = 27) is a 16550A [ 1.684000] serial8250: ttyS1 at MMIO 0x1e000c00 (irq = 26) is a 16550A [ 1.688000] Enable Ralink GDMA Controller Module [ 1.696000] GDMA IP Version=3 [ 1.700000] flash manufacture id: c8, device id 40 18 [ 1.704000] GD25Q128C(c8 40180000) (16384 Kbytes) [ 1.708000] mtd .name = raspi, .size = 0x01000000 (16M) .erasesize = 0x00010000 (64K) .numeraseregions = 0 [ 1.716000] @@-----debug tplink flash parse-------- [ 1.724000] 14 tp-link partitions found on MTD device raspi [ 1.728000] Creating 14 MTD partitions on "raspi": [ 1.732000] 0x000000000000-0x000000040000 : "bootloader" [ 1.740000] 0x000000040000-0x000000070000 : "bootloader-fs" [ 1.744000] 0x000000070000-0x000000080000 : "extra-para" [ 1.752000] 0x000000080000-0x000000200000 : "kernel" [ 1.760000] 0x000000200000-0x000000df0000 : "rootfs" [ 1.764000] mtd: device 4 (rootfs) set to be root filesystem [ 1.768000] 0x000000df0000-0x000000e10000 : "panic-oops" [ 1.776000] 0x000000e10000-0x000000e20000 : "partition-table" [ 1.784000] 0x000000e20000-0x000000e30000 : "device-info" [ 1.788000] 0x000000e30000-0x000000e40000 : "support-list" [ 1.796000] 0x000000e40000-0x000000e50000 : "firmware-info" [ 1.804000] 0x000000e50000-0x000000e60000 : "tddp" [ 1.808000] 0x000000e60000-0x000000e80000 : "log" [ 1.816000] 0x000000e80000-0x000001000000 : "rootfs_data" [ 1.820000] 0x000000000000-0x000001000000 : "firmware" [ 1.828000] GMAC1_MAC_ADRH -- : 0x0000000c [ 1.832000] GMAC1_MAC_ADRL -- : 0x432880bb [ 1.836000] Ralink APSoC Ethernet Driver Initilization. v3.1 1024 rx/tx descriptors allocated, mtu = 1500! [ 1.844000] GMAC1_MAC_ADRH -- : 0x0000000c [ 1.848000] GMAC1_MAC_ADRL -- : 0x43288059 [ 1.856000] eth0: Found an MT7621 [ 1.856000] PROC INIT OK! [ 1.860000] i2c /dev entries driver [ 1.868000] nf_conntrack version 0.5.0 (1957 buckets, 7828 max) [ 1.872000] ## netfilter xt_connextmark loaded. [ 1.876000] ip_tables: (C) 2000-2006 Netfilter Core Team [ 1.884000] Type=Linux [ 1.884000] TCP: cubic registered [ 1.888000] NET: Registered protocol family 10 [ 1.896000] NET: Registered protocol family 17 [ 1.900000] 8021q: 802.1Q VLAN Support v1.8 [ 1.904000] Registered character driver slp_flash_chrdev [ 1.916000] VFS: Mounted root (squashfs filesystem) readonly on device 31:4. [ 1.924000] Freeing unused kernel memory: 264K [ 1.928000] Failed to execute ype=squashfs,jffs2. Attempting defaults... procd: Console is alive procd: - preinit - 3.38 8.70 preinit_main define_default_set_state 3.40 8.77 preinit_main do_ramips 3.42 8.82 preinit_main do_checksumming_disable 3.43 8.86 preinit_main preinit_ip 3.44 8.87 preinit_main pi_indicate_preinit 3.45 8.91 preinit_main indicate_regular_preinit 3.46 8.94 preinit_main initramfs_test 3.47 8.96 preinit_main do_mount_root ----mtdblock:/dev/mtdblock12---- [ 3.600000] jffs2: notice: (305) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found. =========================USERCONFIG INITIAL====================== /etc/preinit: line 1: opkg: not found Copy userconfig to memory /etc/cfgsync.d/00_start_sync.sh: line 12: opkg: not found cp: can't stat '/etc/config/openvpn-mgmt': No such file or directory cp: can't stat '/etc/config/portal-mgmt': No such file or directory cp: can't stat '/tmp/userconfig/etc/config/openvpn-mgmt': No such file or directory cp: can't stat '/tmp/userconfig/etc/config/portal-mgmt': No such file or directory =========================USERCONFIG DONE====================== no 4.96 13.15 preinit_main run_init procd: - early - procd: - ubus - procd: - init - Please press Enter to activate this console. cd /tmp && dkmgt_firmware_make -R -f /dev/mtdblock13 -p 0x00e10000 -n firmware-info -o firmware-info.json { "software-version":"1.2.0 Build 20220114 Rel.76871", "firmware-id":"123AAAABBBBAAAABBBBAAAABBBBAAAABBBB321" }######: Init Firmware version *SUCCESS* !! cd /tmp && dkmgt_firmware_make -R -f /dev/mtdblock13 -p 0x00e10000 -n device-info -o device-info.json ######: Init model version *SUCCESS* !! [ 6.084000] mtdoops: Attached to MTD device 5 [ 6.192000] liblogger: module license 'unspecified' taints kernel. [ 6.200000] Disabling lock debugging due to kernel taint [ 6.216000] NET: Registered protocol family 8 [ 6.220000] NET: Registered protocol family 20 [ 6.228000] Initializing XFRM netlink socket [ 6.232000] NET: Registered protocol family 15 [ 6.240000] tun: Universal TUN/TAP device driver, 1.6 [ 6.244000] tun: (C) 1999-2004 Max Krasnyansky <maxk@qualcomm.com> [ 6.276000] l2tp_core: L2TP core driver, V2.0 [ 6.280000] l2tp_netlink: L2TP netlink interface [ 6.288000] sit: IPv6 over IPv4 tunneling driver [ 6.296000] gre: GRE over IPv4 demultiplexor driver [ 6.304000] ip_gre: GRE over IPv4 tunneling driver [ 6.320000] bonding: Ethernet Channel Bonding Driver: v3.7.1 (April 27, 2011) [ 6.352000] PPP generic driver version 2.4.2 [ 6.364000] ip6_tables: (C) 2000-2006 Netfilter Core Team [ 6.376000] Netfilter messages via NETLINK v0.30. [ 6.384000] ip_set: protocol 6 [ 6.424000] ipset kmod ipauthlimit loading [ 6.432000] ---portal module open start [ 6.436000] ---portal module open ok[ 6.448000] [ 6.448000] module multinetdev loding [ 6.456000] module xt_tplimit loding [ 6.460000] xt_tplimit create cell_memcache OK! [ 6.464000] xt_tplimit create cell_mempool OK, capacity 8192! [ 6.472000] kmodule authlimit loding [ 6.476000] add cdev authlimit ok, MAJOR 254, MINOR 0 [ 6.484000] create cell_memcache OK! [ 6.488000] create cell_mempool OK, capacity 8192! [ 6.492000] create authlimit hash table OK, spec 256 @0xffffffff86e32000 [ 6.500000] netfilter module authlimit loding [ 6.512000] balance route match init success! [ 6.580000] ctnetlink v0.93: registering with nfnetlink. [ 6.600000] NF_TPROXY: Transparent proxy support initialized, version 4.1.0 [ 6.608000] NF_TPROXY: Copyright (c) 2006-2007 BalaBit IT Ltd. [ 6.616000] PPP MPPE Compression module registered [ 6.624000] NET: Registered protocol family 24 [ 6.632000] PPTP driver version 0.8.5 [ 6.636000] Ralink APSoC Hardware Watchdog Timer [ 6.640000] rdm_major = 253 [ 6.656000] xt_connlimit: enable /proc/connlimit_stat for per-ip statistics 256. [ 6.684000] xt_time: kernel timezone is -0000 [ 6.692000] l2tp_ppp: PPPoL2TP kernel driver, V2.0 Jan 1 08:00:07 crond[1069]: crond: crond (busybox 1.22.1) started, log level 5 [ 10.124000] IPv6: ADDRCONF(NETDEV_UP): veth1: link is not ready [ 11.148000] 3E:FFFFFF81:1C:1D: 6:FFFFFF81 [ 11.152000] Raeth v3.1 (Tasklet) [ 11.156000] afterset CLK_CFG_0 = 0x40a00020!!!!!!!!!!!!!!!!!!1 [ 11.168000] phy_free_head is 0xc08000!!! [ 11.172000] phy_free_tail_phy is 0xc09ff0!!! [ 11.176000] txd_pool=a0c10000 phy_txd_pool=00C10000 [ 11.180000] ei_local->skb_free start address is 0x87e7a6e0. [ 11.184000] free_txd: 00c10010, ei_local->cpu_ptr: 00C10000 [ 11.192000] POOL HEAD_PTR | DMA_PTR | CPU_PTR [ 11.196000] ----------------+---------+-------- [ 11.200000] 0xa0c10000 0x00C10000 0x00C10000 [ 11.204000] [ 11.204000] phy_qrx_ring = 0x00c0a000, qrx_ring = 0xa0c0a000 [ 11.216000] [ 11.216000] phy_rx_ring0 = 0x00c0c000, rx_ring[0] = 0xa0c0c000 [ 11.244000] MT7530 Reset Completed!! [ 11.252000] change HW-TRAP to 0x117c8f [ 11.256000] set LAN/WAN WLLLL [ 11.264000] GMAC1_MAC_ADRH -- : 0x0000000c [ 11.268000] GMAC1_MAC_ADRL -- : 0x43288059 [ 11.272000] GDMA2_MAC_ADRH -- : 0x0000000c [ 11.276000] GDMA2_MAC_ADRL -- : 0x43288056 [ 11.284000] eth1: ===> VirtualIF_open [ 11.288000] MT7621 GE2 link rate to 1G [ 11.292000] CDMA_CSG_CFG = 81000000 [ 11.296000] GDMA1_FWD_CFG = 20710000 [ 11.300000] GDMA2_FWD_CFG = 20710000 [ 11.424000] device eth0 entered promiscuous mode [ 18.264000] mt7621_vtu_op op:1 vid:0, val:0, tagged:0 [ 18.268000] mt7621_vtu_op op:2 vid:1, val:94, tagged:40 [ 18.272000] mt7621_vtu_op op:2 vid:4094, val:33, tagged:20 tddpd_start [tddp_flash_to_config,2439]: read tddp flash valid size:668. tddpd start success Check signature OK, now will enable all ports [ 21.064000] IPv6: ADDRCONF(NETDEV_CHANGE): veth1: link becomes ready [ 21.084000] device veth0 entered promiscuous mode [ 21.088000] br-lan: port 1(veth0) entered forwarding state [ 21.092000] br-lan: port 1(veth0) entered forwarding state [ 21.164000] eth1: ===> VirtualIF_open [ 21.480000] device eth1 entered promiscuous mode [ 23.096000] br-lan: port 1(veth0) entered forwarding state GMT+08:00 [ 30.180000] iptvc v1.0.0 loading [ 34.516000] nbpt v1.0.1 loading [ 39.436000] arp_garp is loaded. [ 39.440000] narr=1 macAddr is XX:XX:XX:XX:XX:XX ssh_port_switch is off [ 41.936000] eth1.4094 is offfree policy command: load free policy command result: SUCCESS stop sfe first ... [ 46.776000] fast-classifier: starting up [ 46.784000] fast-classifier: registered Config SFE ipstat [ 46.796000] Update Subnet-> ip: 00000000, mask: 00000000 [ 48.708000] Ralink HW NAT Module Enabled [ 48.716000] init PpeFoeBase = a0c80000 [ 48.920000] Update Subnet-> ip: 00000000, mask: 00000000 [ 49.484000] init special_route module finish, nf_conntrack_max=[25000]. [ 49.500000] special route target init success! generate ipsec_check_dns time:t2 - t1 is [0.0006401538848877] ipsec_reload.lua time=[0.0035400390625] session_limits_enabled_rule_num = 0,rmmod xt_tpconnlimit { "software-version":"1.2.0 Build 20220114 Rel.76871", "firmware-id":"123AAAABBBBAAAABBBBAAAABBBBAAAABBBB321" }{ "software-version":"1.2.0 Build 20220114 Rel.76871", "firmware-id":"123AAAABBBBAAAABBBBAAAABBBBAAAABBBB321" }[ 56.244000] mt7621_vtu_op op:1 vid:0, val:0, tagged:0 [ 56.248000] mt7621_vtu_op op:2 vid:1, val:94, tagged:40 [ 56.252000] mt7621_vtu_op op:2 vid:4094, val:33, tagged:20 procd: - init complete - ER605 login:
OpenWrt bootlog
[ 0.000000] Linux version 5.15.137 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.3.0 r23619-101988c61a) 12.3.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Sun Nov 12 15:19:39 2023 [ 0.000000] SoC Type: MediaTek MT7621 ver:1 eco:4 [ 0.000000] printk: bootconsole [early0] enabled [ 0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc) [ 0.000000] MIPS: machine is TP-Link ER605 v2 [ 0.000000] Initrd not found or empty - disabling initrd [ 0.000000] VPE topology {2,2} total 4 [ 0.000000] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.000000] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.000000] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.000000] Zone ranges: [ 0.000000] Normal [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Movable zone start for each node [ 0.000000] Early memory node ranges [ 0.000000] node 0: [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x000000000fffffff] [ 0.000000] percpu: Embedded 11 pages/cpu s14736 r8192 d22128 u45056 [ 0.000000] pcpu-alloc: s14736 r8192 d22128 u45056 alloc=11*4096 [ 0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 [ 0.000000] Built 1 zonelists, mobility grouping on. Total pages: 64960 [ 0.000000] Kernel command line: console=ttyS0,115200 noinitrd ubi.mtd=3,2048 [ 0.000000] Dentry cache hash table entries: 32768 (order: 5, 131072 bytes, linear) [ 0.000000] Inode-cache hash table entries: 16384 (order: 4, 65536 bytes, linear) [ 0.000000] Writing ErrCtl register=00007260 [ 0.000000] Readback ErrCtl register=00007260 [ 0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off [ 0.000000] Memory: 249108K/262144K available (7299K kernel code, 624K rwdata, 880K rodata, 1232K init, 226K bss, 13036K reserved, 0K cma-reserved) [ 0.000000] SLUB: HWalign=32, Order=0-3, MinObjects=0, CPUs=4, Nodes=1 [ 0.000000] rcu: Hierarchical RCU implementation. [ 0.000000] Tracing variant of Tasks RCU enabled. [ 0.000000] rcu: RCU calculated value of scheduler-enlistment delay is 10 jiffies. [ 0.000000] NR_IRQS: 256 [ 0.000000] clocksource: GIC: mask: 0xffffffffffffffff max_cycles: 0xcaf478abb4, max_idle_ns: 440795247997 ns [ 0.000004] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns [ 0.008058] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688) [ 0.066214] pid_max: default: 32768 minimum: 301 [ 0.071629] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.078845] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear) [ 0.090600] rcu: Hierarchical SRCU implementation. [ 0.096124] smp: Bringing up secondary CPUs ... [ 0.101590] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.101620] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.101634] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.101680] CPU1 revision is: 0001992f (MIPS 1004Kc) [ 0.160886] Synchronize counters for CPU 1: done. [ 0.193100] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.193127] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.193140] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.193172] CPU2 revision is: 0001992f (MIPS 1004Kc) [ 0.252286] Synchronize counters for CPU 2: done. [ 0.283072] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes. [ 0.283100] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes [ 0.283113] MIPS secondary cache 256kB, 8-way, linesize 32 bytes. [ 0.283150] CPU3 revision is: 0001992f (MIPS 1004Kc) [ 0.337498] Synchronize counters for CPU 3: done. [ 0.367379] smp: Brought up 1 node, 4 CPUs [ 0.376619] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns [ 0.386427] futex hash table entries: 1024 (order: 3, 32768 bytes, linear) [ 0.393513] pinctrl core: initialized pinctrl subsystem [ 0.400466] NET: Registered PF_NETLINK/PF_ROUTE protocol family [ 0.407139] thermal_sys: Registered thermal governor 'step_wise' [ 0.412983] FPU Affinity set after 11720 emulations [ 0.433508] clocksource: Switched to clocksource GIC [ 0.440024] NET: Registered PF_INET protocol family [ 0.445100] IP idents hash table entries: 4096 (order: 3, 32768 bytes, linear) [ 0.453345] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear) [ 0.461670] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear) [ 0.469378] TCP established hash table entries: 2048 (order: 1, 8192 bytes, linear) [ 0.477042] TCP bind hash table entries: 2048 (order: 2, 16384 bytes, linear) [ 0.484167] TCP: Hash tables configured (established 2048 bind 2048) [ 0.490637] UDP hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.497182] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear) [ 0.504560] NET: Registered PF_UNIX/PF_LOCAL protocol family [ 0.510182] PCI: CLS 0 bytes, default 32 [ 0.517414] workingset: timestamp_bits=14 max_order=16 bucket_order=2 [ 0.529424] squashfs: version 4.0 (2009/01/31) Phillip Lougher [ 0.535294] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc. [ 0.546692] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251) [ 0.558477] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.564579] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.570519] mt7621_gpio 1e000600.gpio: registering 32 gpios [ 0.578257] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled [ 0.590067] printk: console [ttyS0] disabled [ 0.594415] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A [ 0.603419] printk: console [ttyS0] enabled [ 0.611679] printk: bootconsole [early0] disabled [ 0.624684] nand: device found, Manufacturer ID: 0xc8, Chip ID: 0xd1 [ 0.631048] nand: ESMT PSU1GA30DT [ 0.634410] nand: 128 MiB, SLC, erase size: 128 KiB, page size: 2048, OOB size: 64 [ 0.641968] mt7621-nand 1e003000.nand: ECC strength adjusted to 4 bits [ 0.648600] 5 fixed-partitions partitions found on MTD device mt7621-nand [ 0.655404] Creating 5 MTD partitions on "mt7621-nand": [ 0.660617] 0x000000000000-0x000000080000 : "u-boot" [ 0.674554] 0x000000080000-0x000000100000 : "u-boot-env" [ 0.688814] 0x000000100000-0x000000140000 : "factory" [ 0.698934] 0x000000140000-0x000007e00000 : "firmware" [ 2.619609] 0x000007e00000-0x000008000000 : "panic-ops" [ 2.794854] mtk_soc_eth 1e100000.ethernet: generated random MAC address 1a:e6:ce:72:c7:b7 [ 2.803188] mtk_soc_eth 1e100000.ethernet: generated random MAC address d2:e3:60:b1:bf:6a [ 2.812925] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.827613] mtk_soc_eth 1e100000.ethernet dsa: mediatek frame engine at 0xbe100000, irq 21 [ 2.839583] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21 [ 2.850261] i2c_dev: i2c /dev entries driver [ 2.858082] NET: Registered PF_INET6 protocol family [ 2.865916] Segment Routing with IPv6 [ 2.869704] In-situ OAM (IOAM) with IPv6 [ 2.873817] NET: Registered PF_PACKET protocol family [ 2.878976] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this. [ 2.892527] 8021q: 802.1Q VLAN Support v1.8 [ 2.904017] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module [ 2.930745] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode [ 2.938536] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx [ 2.944633] mt7530-mdio mdio-bus:1f eth1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=23) [ 2.959410] mt7530-mdio mdio-bus:1f eth2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=24) [ 2.972433] mt7530-mdio mdio-bus:1f eth3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=25) [ 2.985513] mt7530-mdio mdio-bus:1f eth4 (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=26) [ 2.997975] DSA: tree 0 setup [ 3.002025] ubi0: attaching mtd3 [ 6.198287] ubi0: scanning is finished [ 6.221440] ubi0: attached mtd3 (name "firmware", size 124 MiB) [ 6.227479] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes [ 6.234413] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048 [ 6.241184] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096 [ 6.248145] ubi0: good PEBs: 998, bad PEBs: 0, corrupted PEBs: 0 [ 6.254162] ubi0: user volume: 8, internal volumes: 1, max. volumes count: 128 [ 6.261358] ubi0: max/mean erase counter: 3/1, WL threshold: 4096, image sequence number: 2002558930 [ 6.270479] ubi0: available PEBs: 0, total reserved PEBs: 998, PEBs reserved for bad PEB handling: 20 [ 6.279715] ubi0: background thread "ubi_bgt0d" started, PID 288 [ 6.281585] block ubiblock0_6: created from ubi0:6(rootfs) [ 6.291256] ubiblock: device ubiblock0_6 (rootfs) set to be root filesystem [ 6.306068] VFS: Mounted root (squashfs filesystem) readonly on device 254:0. [ 6.317565] Freeing unused kernel image (initmem) memory: 1232K [ 6.323602] This architecture does not have kernel memory protection. [ 6.330038] Run /sbin/init as init process [ 6.334146] with arguments: [ 6.334157] /sbin/init [ 6.334163] with environment: [ 6.334168] HOME=/ [ 6.334173] TERM=linux [ 6.789524] init: Console is alive [ 6.793447] init: - watchdog - [ 7.230340] kmodloader: loading kernel modules from /etc/modules-boot.d/* [ 7.289634] usbcore: registered new interface driver usbfs [ 7.295428] usbcore: registered new interface driver hub [ 7.300906] usbcore: registered new device driver usb [ 7.318140] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 7.323626] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 1 [ 7.336279] xhci-mtk 1e1c0000.xhci: hcc params 0x01401198 hci version 0x96 quirks 0x0000000000290010 [ 7.345608] xhci-mtk 1e1c0000.xhci: irq 20, io mem 0x1e1c0000 [ 7.351637] xhci-mtk 1e1c0000.xhci: xHCI Host Controller [ 7.357016] xhci-mtk 1e1c0000.xhci: new USB bus registered, assigned bus number 2 [ 7.364524] xhci-mtk 1e1c0000.xhci: Host supports USB 3.0 SuperSpeed [ 7.372109] hub 1-0:1.0: USB hub found [ 7.376062] hub 1-0:1.0: 2 ports detected [ 7.381242] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM. [ 7.390605] hub 2-0:1.0: USB hub found [ 7.394604] hub 2-0:1.0: 1 port detected [ 7.407879] kmodloader: done loading kernel modules from /etc/modules-boot.d/* [ 7.417341] init: - preinit - [ 8.276805] random: jshn: uninitialized urandom read (4 bytes read) [ 8.397840] random: jshn: uninitialized urandom read (4 bytes read) [ 8.834010] random: jshn: uninitialized urandom read (4 bytes read) [ 9.141957] mtk_soc_eth 1e100000.ethernet dsa: configuring for fixed/rgmii link mode [ 9.154783] mtk_soc_eth 1e100000.ethernet dsa: Link is Up - 1Gbps/Full - flow control rx/tx [ 9.163598] mt7530-mdio mdio-bus:1f eth1: configuring for phy/gmii link mode [ 9.171423] IPv6: ADDRCONF(NETDEV_CHANGE): dsa: link becomes ready [ 11.355405] UBIFS (ubi0:7): Mounting in unauthenticated mode [ 11.361449] UBIFS (ubi0:7): background thread "ubifs_bgt0_7" started, PID 466 [ 11.444842] UBIFS (ubi0:7): recovery needed [ 11.666534] UBIFS (ubi0:7): recovery completed [ 11.671117] UBIFS (ubi0:7): UBIFS: mounted UBI device 0, volume 7, name "rootfs_data" [ 11.678966] UBIFS (ubi0:7): LEB size: 126976 bytes (124 KiB), min./max. I/O unit sizes: 2048 bytes/2048 bytes [ 11.688876] UBIFS (ubi0:7): FS size: 114913280 bytes (109 MiB, 905 LEBs), max 916 LEBs, journal size 5713920 bytes (5 MiB, 45 LEBs) [ 11.700684] UBIFS (ubi0:7): reserved for root: 4952683 bytes (4836 KiB) [ 11.707293] UBIFS (ubi0:7): media format: w5/r0 (latest is w5/r0), UUID AF3C0E85-8C21-49AC-8255-A1F474569E46, small LPT model [ 11.725688] mount_root: switching to ubifs overlay [ 11.754101] urandom-seed: Seeding with /etc/urandom.seed [ 11.869374] procd: - early - [ 11.872536] procd: - watchdog - [ 12.485067] procd: - watchdog - [ 12.488946] procd: - ubus - [ 12.576947] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.586001] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.592993] random: ubusd: uninitialized urandom read (4 bytes read) [ 12.603983] procd: - init - [ 13.326514] kmodloader: loading kernel modules from /etc/modules.d/* [ 13.396039] PPP generic driver version 2.4.2 [ 13.402052] NET: Registered PF_PPPOX protocol family [ 13.415120] kmodloader: done loading kernel modules from /etc/modules.d/* [ 14.384319] urngd: v1.0.2 started. [ 15.127308] random: jshn: uninitialized urandom read (4 bytes read) [ 15.145667] random: ubusd: uninitialized urandom read (4 bytes read) [ 15.152472] random: ubus: uninitialized urandom read (4 bytes read) [ 15.286238] random: crng init done [ 15.289694] random: 31 urandom warning(s) missed due to ratelimiting [ 20.130032] mtk_soc_eth 1e100000.ethernet dsa: Link is Down [ 20.160454] mtk_soc_eth 1e100000.ethernet dsa: configuring for fixed/rgmii link mode [ 20.169061] mtk_soc_eth 1e100000.ethernet dsa: Link is Up - 1Gbps/Full - flow control rx/tx [ 20.178276] IPv6: ADDRCONF(NETDEV_CHANGE): dsa: link becomes ready [ 20.192635] device dsa entered promiscuous mode [ 20.197895] mt7530-mdio mdio-bus:1f eth1: configuring for phy/gmii link mode [ 20.207530] br-lan: port 1(eth1) entered blocking state [ 20.212843] br-lan: port 1(eth1) entered disabled state [ 20.222067] device eth1 entered promiscuous mode [ 20.256395] mt7530-mdio mdio-bus:1f eth2: configuring for phy/gmii link mode [ 20.265993] br-lan: port 2(eth2) entered blocking state [ 20.271287] br-lan: port 2(eth2) entered disabled state [ 20.278805] device eth2 entered promiscuous mode [ 20.292032] mt7530-mdio mdio-bus:1f eth3: configuring for phy/gmii link mode [ 20.302042] br-lan: port 3(eth3) entered blocking state [ 20.307477] br-lan: port 3(eth3) entered disabled state [ 20.315685] device eth3 entered promiscuous mode [ 20.329048] mt7530-mdio mdio-bus:1f eth4: configuring for phy/gmii link mode [ 20.337929] br-lan: port 4(eth4) entered blocking state [ 20.343244] br-lan: port 4(eth4) entered disabled state [ 20.351103] device eth4 entered promiscuous mode [ 20.376114] mtk_soc_eth 1e100000.ethernet eth0: PHY [mdio-bus:00] driver [MediaTek MT7530 PHY] (irq=POLL) [ 20.385829] mtk_soc_eth 1e100000.ethernet eth0: configuring for phy/rgmii link mode [ 24.768831] mt7530-mdio mdio-bus:1f eth1: Link is Up - 1Gbps/Full - flow control rx/tx [ 24.776870] br-lan: port 1(eth1) entered blocking state [ 24.782086] br-lan: port 1(eth1) entered forwarding state [ 24.788277] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
Notes
Space for additional notes, links to forum threads or other resources.
- ...
Tags
Add tags below, then remove this fixme.