[RFT] Main (kernel 6.1) builds on EAP235-Wall / EAP615-Wall / Archer C6U / Archer AX23

I'll see if that changes anything, thanks.

@bmork I gave this a try but still the same -EINVAL error. Happy to try any other suggestions though.

diff --git a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
index d814cba261..cb0432b49d 100644
--- a/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_eap235-wall-v1.dts
@@ -192,6 +192,7 @@
 &mdio {
        ethphy0: ethernet-phy@0 {
                reg = <0>;
+               phy-mode = "internal";
        };
 };

This should go in the gmac1 node. It's an ethernet controller attribute. But I'm not sure it will help. Haven't tested or even read the code

Does not seem to make any difference in this case :slightly_smiling_face:.

When applying the frequency patch, the image builds flawlessly. After sysupgrade, the behaviour is the same though: WAN not working, with the accompanying error message in dmesg.

mtk_soc_eth 1e100000.ethernet wan: validation of  with support 00000000,00000000,00006000 and advertisement 00000000,00000000,00000000 failed: -EINVAL
mtk_soc_eth 1e100000.ethernet wan: mtk_open: could not attach PHY: -22

After applying the layout patch, I got the following error message:

Error: ../dts/mt7621_tplink_archer-ax23-v1.dts:200.4-5 syntax error
FATAL ERROR: Unable to parse input tree
make[5]: *** [Makefile:235: /openwrt/imagebuild/ax23/build_dir/target-mipsel_24kc_musl/linux-ramips_mt7621/image-mt7621_tplink_archer-ax23-v1.dtb] Error 1
make[5]: Leaving directory '/openwrt/imagebuild/ax23/target/linux/ramips/image'
make[4]: *** [Makefile:22: install] Error 2
make[4]: Leaving directory '/openwrt/ax23/target/linux/ramips'
make[3]: *** [Makefile:11: install] Error 2
make[3]: Leaving directory 'openwrt/ax23/target/linux'
time: target/linux/install#41.62#14.14#52.73
    ERROR: target/linux failed to build.

This should be the line the error is referring to (200.4-5):

nvmem-cells = <&macaddr_config_8 1>;

Any idea, what the issue is here?

Btw, is there any reason for the .dts file of the Archer C6v3 being so short/empty? I couldn't find the .dtsi file refered to.

// SPDX-License-Identifier: GPL-2.0-or-later OR MIT

#include "mt7621_tplink_archer-x6-v3.dtsi"

/ {
	compatible = "tplink,archer-c6-v3", "mediatek,mt7621-soc";
	model = "TP-Link Archer C6 v3";

};

Coincidently, sysupgrading this device went flawlessly.

Sorry that was sloppy of me. Semi-colon missing for the WAN line:

diff --git a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
index 71ef4bc6b6..e493289eec 100644
--- a/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
+++ b/target/linux/ramips/dts/mt7621_tplink_archer-ax23-v1.dts
@@ -172,21 +172,6 @@
 	nvmem-cell-names = "mac-address";
 };
 
-&gmac1 {
-	status = "okay";
-	label = "wan";
-	phy-handle = <&ethphy4>;
-
-	nvmem-cells = <&macaddr_config_8 1>;
-	nvmem-cell-names = "mac-address";
-};
-
-&mdio {
-	ethphy4: ethernet-phy@4 {
-		reg = <4>;
-	};
-};
-
 &switch0 {
 	ports {
 		port@0 {
@@ -208,6 +193,13 @@
 			status = "okay";
 			label = "lan4";
 		};
+
+		port@4 {
+			status = "okay";
+			label = "wan";
+			nvmem-cells = <&macaddr_config_8 1>;
+			nvmem-cell-names = "mac-address";
+		};
 	};
 };

The above should work.

1 Like

Don't be, I didn't catch it myself, after comparing the files for 5 minutes. :smiley:

I am now building again, with both patches applied.

However, I do have another question: since the frequency change didn't seem to matter, can I roll it back again? What is the effect of the change in frequency?

You can roll it back. Just wanted you to test if it made a difference for you, and it clearly does not. Sometimes, flash chips are set to a certain frequency in the DTS, but if that's on the top end of their specs, that can cause various errors with flash chips that only just passed quality control.

1 Like

Alright, with the layout patch applied, the syspgrade re-establishes WAN functionality. Dmesg output:

[    0.000000] Linux version 6.1.82 (XXXX) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.2.0 r25671-29515862ac) 13.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Mar 26 20:56:57 2024
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TP-Link Archer AX23 v1
[    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-0x0000000007ffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000000000000-0x0000000007ffffff]
[    0.000000] percpu: Embedded 12 pages/cpu s18016 r8192 d22944 u49152
[    0.000000] pcpu-alloc: s18016 r8192 d22944 u49152 alloc=12*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32480
[    0.000000] Kernel command line: console=ttyS0,115200 rootfstype=squashfs,jffs2
[    0.000000] Dentry cache hash table entries: 16384 (order: 4, 65536 bytes, linear)
[    0.000000] Inode-cache hash table entries: 8192 (order: 3, 32768 bytes, linear)
[    0.000000] Writing ErrCtl register=00008200
[    0.000000] Readback ErrCtl register=00008200
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118388K/131072K available (7447K kernel code, 628K rwdata, 1612K rodata, 1244K init, 222K bss, 12684K 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] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    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.008017] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066218] pid_max: default: 32768 minimum: 301
[    0.071709] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078920] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.089881] cblist_init_generic: Setting adjustable number of callback queues.
[    0.097101] cblist_init_generic: Setting shift to 2 and lim to 1.
[    0.103611] rcu: Hierarchical SRCU implementation.
[    0.108344] rcu: 	Max phase no-delay instances is 1000.
[    0.114258] smp: Bringing up secondary CPUs ...
[    0.119628] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.119655] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.119670] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.119719] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.178992] Synchronize counters for CPU 1: done.
[    0.211315] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.211333] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.211346] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.211375] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.270376] Synchronize counters for CPU 2: done.
[    0.301001] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.301022] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.301034] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.301066] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.355563] Synchronize counters for CPU 3: done.
[    0.385417] smp: Brought up 1 node, 4 CPUs
[    0.394649] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.404454] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.411508] pinctrl core: initialized pinctrl subsystem
[    0.418172] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.424723] thermal_sys: Registered thermal governor 'step_wise'
[    0.430193] FPU Affinity set after 11720 emulations
[    0.447651] clocksource: Switched to clocksource GIC
[    0.454049] NET: Registered PF_INET protocol family
[    0.459214] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.467236] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.475570] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.483242] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.490852] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.497987] TCP: Hash tables configured (established 1024 bind 1024)
[    0.504420] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.510914] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.518227] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.523854] PCI: CLS 0 bytes, default 32
[    0.530949] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.543039] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.548835] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.563454] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.569388] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.575250] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.581325] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.587988] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.596709] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.604832] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.967651] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    0.974549] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    0.979425] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.984236] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.991397] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.997698] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.003097] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.009951] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.016103] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.022056] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.028283] pci 0000:00:00.0: reg 0x14: [mem 0x60600000-0x6060ffff]
[    1.034572] pci 0000:00:00.0: supports D1
[    1.038512] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.044847] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.050865] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.057047] pci 0000:00:01.0: reg 0x14: [mem 0x60610000-0x6061ffff]
[    1.063356] pci 0000:00:01.0: supports D1
[    1.067273] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.074976] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.081006] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.088189] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.095324] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.102631] pci 0000:01:00.0: supports D1 D2
[    1.106808] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.113438] pci 0000:01:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:00.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.128494] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.133652] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.139727] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.146425] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.153632] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.160494] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.166457] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.173647] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.180810] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.188092] pci 0000:02:00.0: supports D1 D2
[    1.192269] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.198901] pci 0000:02:00.0: 2.000 Gb/s available PCIe bandwidth, limited by 2.5 GT/s PCIe x1 link at 0000:00:01.0 (capable of 4.000 Gb/s with 5.0 GT/s PCIe x1 link)
[    1.213999] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.219203] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.225208] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.231976] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.239150] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.245733] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.252278] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.259193] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.265727] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.272681] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.279411] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.286551] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.293321] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    1.300493] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.307206] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.313973] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.320019] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.326048] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.333777] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.341459] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.349148] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.354031] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.360109] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.366818] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.374026] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    1.381721] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    1.389418] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    1.397069] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.402012] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.408060] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.414770] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.423649] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.431763] printk: console [ttyS0] disabled
[    1.436058] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    1.445095] printk: console [ttyS0] enabled
[    1.453422] printk: bootconsole [early0] disabled
[    1.466818] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.473293] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[    1.478455] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.484829] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.492161] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.499746] Creating 5 MTD partitions on "spi0.0":
[    1.504533] 0x000000000000-0x000000040000 : "u-boot"
[    1.510813] 0x000000040000-0x000000fa0000 : "firmware"
[    1.517196] 2 uimage-fw partitions found on MTD device firmware
[    1.523188] Creating 2 MTD partitions on "firmware":
[    1.528179] 0x000000000000-0x0000002eab98 : "kernel"
[    1.533127] mtd: partition "kernel" doesn't end on an erase/write block -- force read-only
[    1.542411] 0x0000002eab98-0x000000f60000 : "rootfs"
[    1.547390] mtd: partition "rootfs" doesn't start on an erase/write block boundary -- force read-only
[    1.557686] mtd: setting mtd3 (rootfs) as root device
[    1.562839] 1 squashfs-split partitions found on MTD device rootfs
[    1.569025] 0x000000880000-0x000000f60000 : "rootfs_data"
[    1.575431] 0x000000fa0000-0x000000fb0000 : "config"
[    1.581670] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.589393] 0x000000fb0000-0x000000ff0000 : "tplink"
[    1.595472] 0x000000ff0000-0x000001000000 : "radio"
[    1.601581] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.750538] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.762778] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    1.772922] i2c_dev: i2c /dev entries driver
[    1.780135] NET: Registered PF_INET6 protocol family
[    1.787409] Segment Routing with IPv6
[    1.791198] In-situ OAM (IOAM) with IPv6
[    1.795219] NET: Registered PF_PACKET protocol family
[    1.800679] 8021q: 802.1Q VLAN Support v1.8
[    1.813625] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.840540] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.848389] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.856622] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=21)
[    1.869837] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=22)
[    1.882731] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=23)
[    1.895667] mt7530-mdio mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=24)
[    1.908857] mt7530-mdio mdio-bus:1f wan (uninitialized): PHY [mt7530-0:04] driver [MediaTek MT7530 PHY] (irq=25)
[    1.921162] device eth0 entered promiscuous mode
[    1.925890] DSA: tree 0 setup
[    1.939100] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.950385] Freeing unused kernel image (initmem) memory: 1244K
[    1.956327] This architecture does not have kernel memory protection.
[    1.962962] Run /sbin/init as init process
[    1.967053]   with arguments:
[    1.967060]     /sbin/init
[    1.967066]   with environment:
[    1.967071]     HOME=/
[    1.967076]     TERM=linux
[    2.664714] init: Console is alive
[    2.668587] init: - watchdog -
[    3.818858] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.909540] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.925560] init: - preinit -
[    7.747645] random: crng init done
[    8.248009] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    8.260587] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    8.268076] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[    8.276458] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   10.578330] jffs2_scan_eraseblock(): End of filesystem marker found at 0x10000
[   10.585579] jffs2_build_filesystem(): unlocking the mtd device... 
[   10.585586] done.
[   10.593659] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   11.298750] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   11.314001] IPv6: ADDRCONF(NETDEV_CHANGE): lan1: link becomes ready
[   36.170082] done.
[   36.172054] jffs2: notice: (422) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   36.189677] mount_root: overlay filesystem has not been fully initialized yet
[   36.204151] mount_root: switching to jffs2 overlay
[   36.213002] overlayfs: upper fs does not support tmpfile.
[   36.649952] urandom-seed: Seed file not found (/etc/urandom.seed)
[   36.768432] mt7530-mdio mdio-bus:1f lan1: Link is Down
[   36.787381] procd: - early -
[   36.790598] procd: - watchdog -
[   37.383263] procd: - watchdog -
[   37.386868] procd: - ubus -
[   37.589486] procd: - init -
[   38.646069] kmodloader: loading kernel modules from /etc/modules.d/*
[   38.908316] GACT probability on
[   38.913004] Mirror/redirect action on
[   38.926492] u32 classifier
[   38.929296]     input device check on
[   38.932943]     Actions configured
[   38.955539] Loading modules backported from Linux version v6.6.15-0-g51f354b815c4
[   38.963129] Backport generated by backports.git 193becf2
[   39.180764] pci 0000:00:00.0: enabling device (0006 -> 0007)
[   39.186453] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   39.193310] pci 0000:00:01.0: enabling device (0006 -> 0007)
[   39.199035] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   39.520681] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[   39.520681] 
[   39.779962] urngd: v1.0.2 started.
[   39.966148] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[   40.004906] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[   40.124753] mt7915e 0000:02:00.0: registering led 'mt76-phy0'
[   40.137131] mt7915e 0000:02:00.0: registering led 'mt76-phy1'
[   45.468245] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   45.476071] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   45.488773] kmodloader: done loading kernel modules from /etc/modules.d/*
[   73.979649] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   74.004290] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   74.013242] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   74.022860] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   74.030491] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   74.037391] br-lan: port 1(lan1) entered blocking state
[   74.042806] br-lan: port 1(lan1) entered disabled state
[   74.051396] device lan1 entered promiscuous mode
[   74.084525] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   74.093908] br-lan: port 2(lan2) entered blocking state
[   74.099317] br-lan: port 2(lan2) entered disabled state
[   74.106447] device lan2 entered promiscuous mode
[   74.126614] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   74.135702] br-lan: port 3(lan3) entered blocking state
[   74.141157] br-lan: port 3(lan3) entered disabled state
[   74.148715] device lan3 entered promiscuous mode
[   74.166787] mt7530-mdio mdio-bus:1f lan4: configuring for phy/gmii link mode
[   74.175411] br-lan: port 4(lan4) entered blocking state
[   74.180790] br-lan: port 4(lan4) entered disabled state
[   74.188351] device lan4 entered promiscuous mode
[   74.207879] mt7530-mdio mdio-bus:1f wan: configuring for phy/gmii link mode
[   77.535166] mt7530-mdio mdio-bus:1f wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   77.543100] IPv6: ADDRCONF(NETDEV_CHANGE): wan: link becomes ready
[   78.533347] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   78.541299] br-lan: port 1(lan1) entered blocking state
[   78.546595] br-lan: port 1(lan1) entered forwarding state
[   78.553016] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   79.288050] mt7530-mdio mdio-bus:1f lan1: Link is Down
[   79.293613] br-lan: port 1(lan1) entered disabled state
[   82.297911] mt7530-mdio mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   82.305711] br-lan: port 1(lan1) entered blocking state
[   82.310982] br-lan: port 1(lan1) entered forwarding state

However, for the second time, sysupgrade deleted wireless, network, firewall and dhcp config, removed rc.local entry and reset hostname.

Both times I observed the following:

sysupgrade -v /tmp/testimage-nyana-ramips-mt7621-tplink_archer-ax23-v1-squashfs-sysupgrade.bin 
OK
OK
Fri Mar 29 09:24:12 CET 2024 upgrade: Saving config files...

Those two "OK" haven't been there ever, if I recall correctly, when performing sysupgrades.

1 Like

Has the issue with the AX23 been fixed?

I was about to upgrade to a new snapshot but im glad i checked here first XD

currently running OpenWrt SNAPSHOT r25390-2b46cbef81 based on kernel 5.15.148

No, and someone should open a bug report on GitHub for it, referencing the issue I linked earlier. This needs more visibility before things start moving.

FWIW, the issue persists with kernel 6.6 on the EAP235-Wall.

Whats the go on this issue any changes?