Add support for TP-LINK AX23 V1

What the TP-Link specs, and the techdata page I linked to earlier, say.

1 Like

ax is supported. It’s a good router, would recommend.

only to clearify: i mean if OpenWRT currently supports 802.11ax for this router. that the hardware/stock firmware supports it is clear for me. as in the release notes of 22.03 is written that only for the MT7915 chip ax is supported

OpenWrt 22.03 supports more than 15 devices capable of Wifi 6 (IEEE 802.11ax) using the MediaTek MT7915 wifi chip.

When you look up the specifications you'll find it is using just that.

1 Like

Here is a small report after a few days of trying to use the AX23 with OpenWrt in productive operation.

First the positives, compared to the Archer C7, the 5 GHz WiFi reception has improved significantly.

Unfortunately, on the negative side, the SquashFS errors keep coming back, which leads to crashes, etc., no matter how often you flash the firmware again.
A patch for "Support for SPI calibration" ( https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=540377010532d9840ebe0778c2af991bd4b67052 ) was merged for kernel 5.15, but either it will not compiled in or it doesn't help in any way.
And even if you flash the factory image from web recovery ( https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=7dceef5ee554ec4ab5d2dd2ff999f4a60bf2e0f4 ) the SquashFS errors keep coming, sometimes earlier, sometimes much later.

Another note on web recovery, I only managed to flash the OpenWrt 22.03.4 factory image, all snapshot factory images led to a bootloop. Remarkably, original TP-Link images could NOT be flashed successfully ?!

All in all, my opinion is that the current OpenWrt for Archer AX23 is not ready for primetime. :wink:

Has anyone else played around with it?

1 Like

5 posts were split to a new topic: Difficulty installing LuCI on AX23v1 w/ Snapshot

A post was split to a new topic: Questions about the WPS Wifi on/off scripts

Although I spent a few hours messing around with the AX23, after rebooting the device using the LuCI gui, the device seemed to become unresponsive. I power cycled it a couple of times and eventually able to get the UI to come up with this error message:

Here's the output of dmesg:


 _______                     ________        __
 |       |.-----.-----.-----.|  |  |  |.----.|  |_
 |   -   ||  _  |  -__|     ||  |  |  ||   _||   _|
 |_______||   __|_____|__|__||________||__|  |____|
          |__| W I R E L E S S   F R E E D O M
 -----------------------------------------------------
 OpenWrt SNAPSHOT, r22652-9a26669510
 -----------------------------------------------------
=== 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 5.15.108 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22652-9a26669510) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Wed Apr 26 15:24:50 2023
[    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]   HighMem  empty
[    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 11 pages/cpu s15856 r8192 d21008 u45056
[    0.000000] pcpu-alloc: s15856 r8192 d21008 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: 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=00008540
[    0.000000] Readback ErrCtl register=00008540
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118496K/131072K available (7433K kernel code, 633K rwdata, 1500K rodata, 1236K init, 251K bss, 12576K reserved, 0K cma-reserved, 0K highmem)
[    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.008083] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066219] pid_max: default: 32768 minimum: 301
[    0.071043] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078253] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.089220] rcu: Hierarchical SRCU implementation.
[    0.094270] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.102414] smp: Bringing up secondary CPUs ...
[    0.107716] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.107741] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.107756] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.107801] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.162186] Synchronize counters for CPU 1: done.
[    0.194644] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.194665] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.194676] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.194706] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.253650] Synchronize counters for CPU 2: done.
[    0.284282] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.284303] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.284314] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.284346] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.338844] Synchronize counters for CPU 3: done.
[    0.368711] smp: Brought up 1 node, 4 CPUs
[    0.376723] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.386518] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.393526] pinctrl core: initialized pinctrl subsystem
[    0.400189] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.406648] thermal_sys: Registered thermal governor 'step_wise'
[    0.407220] cpuidle: using governor teo
[    0.427921] FPU Affinity set after 11720 emulations
[    0.439764] clocksource: Switched to clocksource GIC
[    0.445608] NET: Registered PF_INET protocol family
[    0.450628] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.458505] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.466836] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.474504] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.482120] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.489095] TCP: Hash tables configured (established 1024 bind 1024)
[    0.495536] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.502023] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.509200] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.514818] PCI: CLS 0 bytes, default 32
[    0.522055] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.532799] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.538553] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.549246] Block layer SCSI generic (bsg) driver version 0.4 loaded (major 251)
[    0.560090] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.566011] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.571907] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.577998] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.584697] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.593434] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.601542] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.969755] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    0.976650] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    0.981501] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.986343] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.993490] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.999787] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.005201] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.012053] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.018226] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.024166] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.030379] pci 0000:00:00.0: reg 0x14: [mem 0x60600000-0x6060ffff]
[    1.036639] pci 0000:00:00.0: supports D1
[    1.040569] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.047056] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.053040] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.059220] pci 0000:00:01.0: reg 0x14: [mem 0x60610000-0x6061ffff]
[    1.065523] pci 0000:00:01.0: supports D1
[    1.069441] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.077191] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.083190] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.090367] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.097507] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.104803] pci 0000:01:00.0: supports D1 D2
[    1.108980] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.115599] 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.131641] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.136795] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.142862] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.149576] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.156772] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.163583] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.169535] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.176707] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.183869] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.191152] pci 0000:02:00.0: supports D1 D2
[    1.195330] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.201949] 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.218022] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.223198] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.229217] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.235971] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.243152] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.249781] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.256296] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.263227] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.269805] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.276691] pci 0000:00:00.0: BAR 8: assigned [mem 0x60000000-0x600fffff]
[    1.283445] pci 0000:00:00.0: BAR 9: assigned [mem 0x60100000-0x602fffff pref]
[    1.290615] pci 0000:00:01.0: BAR 8: assigned [mem 0x60300000-0x603fffff]
[    1.297338] pci 0000:00:01.0: BAR 9: assigned [mem 0x60400000-0x605fffff pref]
[    1.304526] pci 0000:00:00.0: BAR 1: assigned [mem 0x60600000-0x6060ffff]
[    1.311270] pci 0000:00:01.0: BAR 1: assigned [mem 0x60610000-0x6061ffff]
[    1.317989] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.324052] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.330116] pci 0000:01:00.0: BAR 0: assigned [mem 0x60100000-0x601fffff 64bit pref]
[    1.337785] pci 0000:01:00.0: BAR 2: assigned [mem 0x60200000-0x60203fff 64bit pref]
[    1.345491] pci 0000:01:00.0: BAR 4: assigned [mem 0x60204000-0x60204fff 64bit pref]
[    1.353185] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.358077] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.364141] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.370879] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.378042] pci 0000:02:00.0: BAR 0: assigned [mem 0x60400000-0x604fffff 64bit pref]
[    1.385753] pci 0000:02:00.0: BAR 2: assigned [mem 0x60500000-0x60503fff 64bit pref]
[    1.393449] pci 0000:02:00.0: BAR 4: assigned [mem 0x60504000-0x60504fff 64bit pref]
[    1.401131] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.406028] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.412093] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.418815] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.428474] Serial: 8250/16550 driver, 16 ports, IRQ sharing enabled
[    1.439077] printk: console [ttyS0] disabled
[    1.443410] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.452417] printk: console [ttyS0] enabled
[    1.460681] printk: bootconsole [early0] disabled
[    1.473466] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.480083] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[    1.485132] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.491561] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.498883] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.506468] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.513820] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.521763] Creating 5 MTD partitions on "spi0.0":
[    1.526620] 0x000000000000-0x000000040000 : "u-boot"
[    1.532760] 0x000000040000-0x000000fa0000 : "firmware"
[    1.539033] 2 uimage-fw partitions found on MTD device firmware
[    1.545005] Creating 2 MTD partitions on "firmware":
[    1.550007] 0x000000000000-0x0000002f0000 : "kernel"
[    1.555915] 0x0000002f0000-0x000000f60000 : "rootfs"
[    1.561746] mtd: setting mtd3 (rootfs) as root device
[    1.566910] 1 squashfs-split partitions found on MTD device rootfs
[    1.573106] 0x0000006c0000-0x000000f60000 : "rootfs_data"
[    1.579457] 0x000000fa0000-0x000000fb0000 : "config"
[    1.585439] 0x000000fb0000-0x000000ff0000 : "tplink"
[    1.591476] 0x000000ff0000-0x000001000000 : "radio"
[    1.741155] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.754128] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    1.766104] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 21
[    1.776487] i2c_dev: i2c /dev entries driver
[    1.784157] NET: Registered PF_INET6 protocol family
[    1.791450] Segment Routing with IPv6
[    1.795189] In-situ OAM (IOAM) with IPv6
[    1.799188] NET: Registered PF_PACKET protocol family
[    1.804435] bridge: filtering via arp/ip/ip6tables is no longer available by default. Update your scripts to load br_netfilter if you need this.
[    1.817748] 8021q: 802.1Q VLAN Support v1.8
[    1.827995] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.857154] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.864507] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.870548] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    1.884033] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    1.896289] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=25)
[    1.908564] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=26)
[    1.921007] DSA: tree 0 setup
[    1.929350] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.940660] Freeing unused kernel image (initmem) memory: 1236K
[    1.946602] This architecture does not have kernel memory protection.
[    1.953052] Run /sbin/init as init process
[    1.957132]   with arguments:
[    1.957137]     /sbin/init
[    1.957142]   with environment:
[    1.957147]     HOME=/
[    1.957152]     TERM=linux
[    2.370697] init: Console is alive
[    2.374437] init: - watchdog -
[    2.976882] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.027476] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.050143] init: - preinit -
[    3.760764] random: jshn: uninitialized urandom read (4 bytes read)
[    3.876024] random: jshn: uninitialized urandom read (4 bytes read)
[    3.925021] random: jshn: uninitialized urandom read (4 bytes read)
[    4.258153] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    4.270894] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.279907] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    4.287231] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.499419] jffs2: notice: (447) jffs2_build_xattr_subsystem: complete building xattr subsystem, 18 of xdatum (5 unchecked, 13 orphan) and 19 of xref (13 dead, 0 orphan) found.
[    6.517162] mount_root: switching to jffs2 overlay
[    6.527632] overlayfs: upper fs does not support tmpfile.
[    6.541177] urandom-seed: Seeding with /etc/urandom.seed
[    6.641963] procd: - early -
[    6.645097] procd: - watchdog -
[    7.249937] procd: - watchdog -
[    7.253748] procd: - ubus -
[    7.315492] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.324149] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.334996] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.345811] procd: - init -
[    7.878546] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.083233] urngd: v1.0.2 started.
[    8.109400] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    8.116961] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    8.275342] random: crng init done
[    8.278789] random: 31 urandom warning(s) missed due to ratelimiting
[    8.300520] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    8.306210] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    8.313119] pci 0000:00:01.0: enabling device (0006 -> 0007)
[    8.318839] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[    8.578834] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[    8.578834] 
[    8.876221] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[    8.913871] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[    9.093543] PPP generic driver version 2.4.2
[    9.099863] NET: Registered PF_PPPOX protocol family
[    9.116879] kmodloader: done loading kernel modules from /etc/modules.d/*
[    9.866644] SQUASHFS error: xz decompression failed, data probably corrupt
[    9.873684] SQUASHFS error: Failed to read block 0x44688: -5
[    9.879391] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.886067] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[    9.892836] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.899468] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[    9.911118] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.917755] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[    9.924515] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.931149] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[    9.942800] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.949432] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[    9.956169] SQUASHFS error: Unable to read fragment cache entry [44688]
[    9.962796] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[   10.259038] SQUASHFS error: Unable to read fragment cache entry [44688]
[   10.265781] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[   10.281100] SQUASHFS error: Unable to read fragment cache entry [44688]
[   10.287778] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[   10.314274] SQUASHFS error: Unable to read fragment cache entry [44688]
[   10.320973] SQUASHFS error: Unable to read page, block 44688, size 1bc38
[   10.568746] SQUASHFS error: xz decompression failed, data probably corrupt
[   10.575730] SQUASHFS error: Failed to read block 0x1ee478: -5
[   10.581593] SQUASHFS error: Unable to read fragment cache entry [1ee478]
[   10.588346] SQUASHFS error: Unable to read page, block 1ee478, size cc58
[   10.595232] SQUASHFS error: Unable to read fragment cache entry [1ee478]
[   10.602091] SQUASHFS error: Unable to read page, block 1ee478, size cc58
[   10.608849] SQUASHFS error: Unable to read fragment cache entry [1ee478]
[   10.615697] SQUASHFS error: Unable to read page, block 1ee478, size cc58
[   10.622620] SQUASHFS error: Unable to read fragment cache entry [1ee478]
[   10.629377] SQUASHFS error: Unable to read page, block 1ee478, size cc58
[   10.636242] SQUASHFS error: Unable to read fragment cache entry [1ee478]
[   10.643082] SQUASHFS error: Unable to read page, block 1ee478, size cc58
[   10.929893] SQUASHFS error: xz decompression failed, data probably corrupt
[   10.936815] SQUASHFS error: Failed to read block 0x2b7d90: -5
[   10.942651] SQUASHFS error: Unable to read data cache entry [2b7d90]
[   10.949005] SQUASHFS error: Unable to read page, block 2b7d90, size 19020
[   10.955915] SQUASHFS error: Unable to read data cache entry [2b7d90]
[   10.962334] SQUASHFS error: Unable to read page, block 2b7d90, size 19020
[   10.969208] SQUASHFS error: Unable to read data cache entry [2b7d90]
[   10.975581] SQUASHFS error: Unable to read page, block 2b7d90, size 19020
[   11.076196] SQUASHFS error: xz decompression failed, data probably corrupt
[   11.083151] SQUASHFS error: Failed to read block 0x2b7d90: -5
[   13.933781] SQUASHFS error: xz decompression failed, data probably corrupt
[   13.940759] SQUASHFS error: Failed to read block 0x3258d4: -5
[   13.946545] SQUASHFS error: Unable to read data cache entry [3258d4]
[   13.952971] SQUASHFS error: Unable to read page, block 3258d4, size 1f4fc
[   13.959944] SQUASHFS error: Unable to read data cache entry [3258d4]
[   13.966335] SQUASHFS error: Unable to read page, block 3258d4, size 1f4fc
[   13.973310] SQUASHFS error: Unable to read data cache entry [3258d4]
[   13.973315] SQUASHFS error: Unable to read data cache entry [3258d4]
[   13.973344] SQUASHFS error: Unable to read page, block 3258d4, size 1f4fc
[   13.979687] SQUASHFS error: Unable to read page, block 3258d4, size 1f4fc
[   14.380168] SQUASHFS error: xz decompression failed, data probably corrupt
[   14.387117] SQUASHFS error: Failed to read block 0x1e0338: -5
[   14.393028] SQUASHFS error: Unable to read fragment cache entry [1e0338]
[   14.399837] SQUASHFS error: Unable to read page, block 1e0338, size e140
[   14.406594] SQUASHFS error: Unable to read fragment cache entry [1e0338]
[   14.413373] SQUASHFS error: Unable to read page, block 1e0338, size e140
[   14.420197] SQUASHFS error: Unable to read fragment cache entry [1e0338]
[   14.426930] SQUASHFS error: Unable to read page, block 1e0338, size e140
[   14.433701] SQUASHFS error: Unable to read fragment cache entry [1e0338]
[   14.440495] SQUASHFS error: Unable to read page, block 1e0338, size e140
[   14.447253] SQUASHFS error: Unable to read fragment cache entry [1e0338]
[   14.454027] SQUASHFS error: Unable to read page, block 1e0338, size e140
[   15.789826] SQUASHFS error: xz decompression failed, data probably corrupt
[   15.796773] SQUASHFS error: Failed to read block 0x3a5e4: -5
[   15.802518] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.809166] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.815893] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.822582] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.833117] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.839866] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.846534] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.853263] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.870162] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.876815] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.883643] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.890413] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.901978] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.908668] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.915410] SQUASHFS error: Unable to read fragment cache entry [3a5e4]
[   15.919537] SQUASHFS error: xz decompression failed, data probably corrupt
[   15.922186] SQUASHFS error: Unable to read page, block 3a5e4, size a0a4
[   15.929027] SQUASHFS error: Failed to read block 0x1814d4: -5
[   15.941548] SQUASHFS error: Unable to read fragment cache entry [1814d4]
[   15.948296] SQUASHFS error: Unable to read page, block 1814d4, size bba8
[   15.955168] SQUASHFS error: Unable to read fragment cache entry [1814d4]
[   15.961983] SQUASHFS error: Unable to read page, block 1814d4, size bba8
[   15.968720] SQUASHFS error: Unable to read fragment cache entry [1814d4]
[   15.975481] SQUASHFS error: Unable to read page, block 1814d4, size bba8
[   15.982301] SQUASHFS error: Unable to read fragment cache entry [1814d4]
[   15.989059] SQUASHFS error: Unable to read page, block 1814d4, size bba8
[   15.995900] SQUASHFS error: Unable to read fragment cache entry [1814d4]
[   16.002733] SQUASHFS error: Unable to read page, block 1814d4, size bba8
[   16.074854] SQUASHFS error: xz decompression failed, data probably corrupt
[   16.081807] SQUASHFS error: Failed to read block 0x37fad8: -5
[   16.087538] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.094281] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.101086] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.107799] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.114558] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.121363] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.128093] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.134863] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.141683] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.148404] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.155289] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.162144] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.168965] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.175794] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   16.182597] SQUASHFS error: Unable to read fragment cache entry [37fad8]
[   16.189290] SQUASHFS error: Unable to read page, block 37fad8, size d63c
[   21.832841] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   21.855050] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   21.863688] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   21.867069] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   21.879522] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   21.886677] br-lan: port 1(lan1) entered blocking state
[   21.892022] br-lan: port 1(lan1) entered disabled state
[   21.901414] device lan1 entered promiscuous mode
[   21.906073] device eth0 entered promiscuous mode
[   21.972482] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   21.981184] br-lan: port 2(lan2) entered blocking state
[   21.986465] br-lan: port 2(lan2) entered disabled state
[   21.995563] device lan2 entered promiscuous mode
[   22.026166] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   22.034486] br-lan: port 3(lan3) entered blocking state
[   22.039878] br-lan: port 3(lan3) entered disabled state
[   22.048474] device lan3 entered promiscuous mode
[   22.072195] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   22.081572] br-lan: port 4(lan4) entered blocking state
[   22.086865] br-lan: port 4(lan4) entered disabled state
[   22.096097] device lan4 entered promiscuous mode
[   22.133533] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:04] driver [Generic PHY] (irq=POLL)
[   22.142494] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   23.888050] SQUASHFS error: xz decompression failed, data probably corrupt
[   23.895165] SQUASHFS error: Failed to read block 0x1d231c: -5
[   23.901041] SQUASHFS error: Unable to read fragment cache entry [1d231c]
[   23.907813] SQUASHFS error: Unable to read page, block 1d231c, size 7864
[   23.914662] SQUASHFS error: Unable to read fragment cache entry [1d231c]
[   23.921473] SQUASHFS error: Unable to read page, block 1d231c, size 7864
[   24.647262] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   24.654840] br-lan: port 1(lan1) entered blocking state
[   24.660154] br-lan: port 1(lan1) entered forwarding state
[   24.667699] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   24.676602] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.10: link becomes ready
[   24.683996] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.20: link becomes ready
[   24.691429] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan.30: link becomes ready
[   24.753117] mt7530 mdio-bus:1f lan2: Link is Up - 1Gbps/Full - flow control off
[   24.760557] br-lan: port 2(lan2) entered blocking state
[   24.765782] br-lan: port 2(lan2) entered forwarding state
[   27.402357] SQUASHFS error: Unable to read fragment cache entry [1d231c]
[   27.409090] SQUASHFS error: Unable to read page, block 1d231c, size 7864
[  101.942005] mt7530 mdio-bus:1f lan1: Link is Down
[  101.946849] br-lan: port 1(lan1) entered disabled state
[  145.964023] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[  145.971431] br-lan: port 1(lan1) entered blocking state
[  145.976647] br-lan: port 1(lan1) entered forwarding state

Thank you for your detailed report. :slightly_smiling_face:
Too bad to see that the SquashFS bugs seem to be a common problem with the current OpenWrt version for the AX23.
Unfortunately, this currently makes the device unsuitable for productive use, because these errors are increasing and more and more things no longer work.
Well, let's see what the future brings ... :wink:

1 Like

This is dmesg after automatic reboot after flashing image build from Master via web-GUI:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.15.106 (joel@Tezcatlipoca) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22591-36150ff6ff) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Apr 18 13:25:21 2023
[    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]   HighMem  empty
[    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 11 pages/cpu s15632 r8192 d21232 u45056
[    0.000000] pcpu-alloc: s15632 r8192 d21232 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: 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=00041104
[    0.000000] Readback ErrCtl register=00041104
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118824K/131072K available (7135K kernel code, 624K rwdata, 1452K rodata, 1272K init, 242K bss, 12248K reserved, 0K cma-reserved, 0K highmem)
[    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.008068] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066217] pid_max: default: 32768 minimum: 301
[    0.071034] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078246] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.089205] rcu: Hierarchical SRCU implementation.
[    0.094255] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.102392] smp: Bringing up secondary CPUs ...
[    0.107694] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.107721] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.107736] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.107782] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.162171] Synchronize counters for CPU 1: done.
[    0.194696] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.194720] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.194730] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.194760] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.253669] Synchronize counters for CPU 2: done.
[    0.284285] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.284306] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.284317] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.284349] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.338864] Synchronize counters for CPU 3: done.
[    0.368725] smp: Brought up 1 node, 4 CPUs
[    0.376715] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.386514] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.393520] pinctrl core: initialized pinctrl subsystem
[    0.400007] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.406455] thermal_sys: Registered thermal governor 'step_wise'
[    0.407035] cpuidle: using governor teo
[    0.427677] FPU Affinity set after 11720 emulations
[    0.439417] clocksource: Switched to clocksource GIC
[    0.445163] NET: Registered PF_INET protocol family
[    0.450220] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.457942] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.466271] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.473947] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.481563] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.488529] TCP: Hash tables configured (established 1024 bind 1024)
[    0.494979] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.501465] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.508651] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.514285] PCI: CLS 0 bytes, default 32
[    0.520350] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.531346] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.537108] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.551017] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.556991] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.562926] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.568973] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.575655] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.584395] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.592505] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.959402] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    0.966298] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    0.971148] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.975991] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.983133] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.989435] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.994855] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.001697] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.007865] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.013809] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.020022] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    1.026284] pci 0000:00:00.0: supports D1
[    1.030214] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.036651] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.042646] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.048826] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    1.055127] pci 0000:00:01.0: supports D1
[    1.059045] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.066860] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.072870] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.080044] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.087191] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.094493] pci 0000:01:00.0: supports D1 D2
[    1.098671] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.105288] 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.121405] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.126567] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.132635] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    1.139804] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.146603] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.152586] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.159759] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.166911] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.174210] pci 0000:02:00.0: supports D1 D2
[    1.178388] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.185007] 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.201180] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.206342] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.212411] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    1.219577] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.226166] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.232705] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.239619] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.246164] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.253098] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[    1.260273] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[    1.267420] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    1.274183] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    1.280917] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.286946] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.293021] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[    1.300712] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[    1.308384] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[    1.316093] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.321010] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.327038] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    1.334233] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[    1.341925] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[    1.349618] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[    1.357288] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.362216] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.368249] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    1.377925] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.385861] printk: console [ttyS0] disabled
[    1.390211] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.399199] printk: console [ttyS0] enabled
[    1.407466] printk: bootconsole [early0] disabled
[    1.420129] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.426518] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[    1.431615] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.437986] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.445461] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.453074] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.460430] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.468344] Creating 5 MTD partitions on "spi0.0":
[    1.473224] 0x000000000000-0x000000040000 : "u-boot"
[    1.479271] 0x000000040000-0x000000fa0000 : "firmware"
[    1.485740] 2 uimage-fw partitions found on MTD device firmware
[    1.491718] Creating 2 MTD partitions on "firmware":
[    1.496681] 0x000000000000-0x0000002d0000 : "kernel"
[    1.502686] 0x0000002d0000-0x000000f60000 : "rootfs"
[    1.508465] mtd: setting mtd3 (rootfs) as root device
[    1.513649] 1 squashfs-split partitions found on MTD device rootfs
[    1.519843] 0x000000890000-0x000000f60000 : "rootfs_data"
[    1.526228] 0x000000fa0000-0x000000fb0000 : "config"
[    1.532190] 0x000000fb0000-0x000000ff0000 : "tplink"
[    1.538166] 0x000000ff0000-0x000001000000 : "radio"
[    1.690915] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.703536] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    1.715252] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 21
[    1.725787] i2c_dev: i2c /dev entries driver
[    1.733234] NET: Registered PF_INET6 protocol family
[    1.740634] Segment Routing with IPv6
[    1.744380] In-situ OAM (IOAM) with IPv6
[    1.748381] NET: Registered PF_PACKET protocol family
[    1.753890] 8021q: 802.1Q VLAN Support v1.8
[    1.763798] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.796930] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.804374] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.810227] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    1.824092] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    1.836346] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=25)
[    1.848574] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=26)
[    1.861038] DSA: tree 0 setup
[    1.869329] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.880628] Freeing unused kernel image (initmem) memory: 1272K
[    1.886574] This architecture does not have kernel memory protection.
[    1.893024] Run /sbin/init as init process
[    1.897104]   with arguments:
[    1.897109]     /sbin/init
[    1.897114]   with environment:
[    1.897119]     HOME=/
[    1.897125]     TERM=linux
[    2.316730] init: Console is alive
[    2.320603] init: - watchdog -
[    3.002394] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.087541] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.099842] init: - preinit -
[    3.835434] random: jshn: uninitialized urandom read (4 bytes read)
[    3.980583] random: jshn: uninitialized urandom read (4 bytes read)
[    4.029556] random: jshn: uninitialized urandom read (4 bytes read)
[    4.380615] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    4.393054] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.399975] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    4.408503] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.594917] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    6.615232] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.714561] procd: - early -
[    6.717693] procd: - watchdog -
[    7.349585] procd: - watchdog -
[    7.353369] procd: - ubus -
[    7.410810] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.419010] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.429780] random: ubusd: uninitialized urandom read (4 bytes read)
[    7.445216] procd: - init -
[    8.105489] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.235998] urngd: v1.0.2 started.
[    8.311530] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    8.319020] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    8.418973] random: crng init done
[    8.422470] random: 31 urandom warning(s) missed due to ratelimiting
[    8.497881] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    8.503620] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    8.510507] pci 0000:00:01.0: enabling device (0006 -> 0007)
[    8.516226] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[    8.777692] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[    8.777692] 
[    9.083091] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[    9.116819] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[   14.584359] PPP generic driver version 2.4.2
[   14.591051] NET: Registered PF_PPPOX protocol family
[   14.601763] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   14.609717] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   14.629014] kmodloader: done loading kernel modules from /etc/modules.d/*
[   17.657317] SQUASHFS error: xz decompression failed, data probably corrupt
[   17.664292] SQUASHFS error: Failed to read block 0x4ff67c: -5
[   17.670121] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.676865] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.683650] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.690415] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.697145] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.703861] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.710600] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.717302] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.724033] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.730749] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.743009] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.749774] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.756501] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.763274] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.770035] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.776730] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.783498] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.790270] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   17.797016] SQUASHFS error: Unable to read fragment cache entry [4ff67c]
[   17.803762] SQUASHFS error: Unable to read page, block 4ff67c, size 6134
[   54.214598] SQUASHFS error: xz decompression failed, data probably corrupt
[   54.221590] SQUASHFS error: Failed to read block 0x558a24: -5
[   54.227371] SQUASHFS error: Unable to read data cache entry [558a24]
[   54.233816] SQUASHFS error: Unable to read page, block 558a24, size 1f278
[   54.240812] SQUASHFS error: Unable to read data cache entry [558a24]
[   54.247210] SQUASHFS error: Unable to read page, block 558a24, size 1f278
[   54.254211] SQUASHFS error: Unable to read data cache entry [558a24]
[   54.260660] SQUASHFS error: Unable to read page, block 558a24, size 1f278
[   57.178173] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   57.199516] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   57.207759] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   57.210787] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   57.223457] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   57.230487] br-lan: port 1(lan1) entered blocking state
[   57.235758] br-lan: port 1(lan1) entered disabled state
[   57.243154] device lan1 entered promiscuous mode
[   57.247829] device eth0 entered promiscuous mode
[   57.275108] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   57.283042] br-lan: port 2(lan2) entered blocking state
[   57.288306] br-lan: port 2(lan2) entered disabled state
[   57.295802] device lan2 entered promiscuous mode
[   57.310767] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   57.318693] br-lan: port 3(lan3) entered blocking state
[   57.323994] br-lan: port 3(lan3) entered disabled state
[   57.331590] device lan3 entered promiscuous mode
[   57.345639] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   57.353607] br-lan: port 4(lan4) entered blocking state
[   57.358849] br-lan: port 4(lan4) entered disabled state
[   57.366650] device lan4 entered promiscuous mode
[   57.382637] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:04] driver [Generic PHY] (irq=POLL)
[   57.391486] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   61.626845] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   61.633822] jffs2_build_filesystem(): unlocking the mtd device... 
[   61.633839] done.
[   61.642004] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   61.781538] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   61.796393] br-lan: port 1(lan1) entered blocking state
[   61.801656] br-lan: port 1(lan1) entered forwarding state
[   61.807720] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   62.535511] mt7530 mdio-bus:1f lan1: Link is Down
[   62.540466] br-lan: port 1(lan1) entered disabled state
[   65.556497] mt7530 mdio-bus:1f lan1: Link is Up - 1Gbps/Full - flow control off
[   65.564077] br-lan: port 1(lan1) entered blocking state
[   65.569433] br-lan: port 1(lan1) entered forwarding state
[   84.036019] done.
[   84.037993] jffs2: notice: (1970) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   84.189069] overlayfs: upper fs does not support tmpfile.

I'll work through the fixes/threads linked here and try to see whether any of the stuff fixes it.

1 Like

Alright, so I applied the changes by Spudz76, as can be found here: https://github.com/openwrt/openwrt/pull/11328 , and the first dmesg after installing factory.bin via GUI doesn't give any squashfs errors. Off to a good start. I'm gonna follow up with implementing my standard configurations: fiddling with LEDs, setting up different network and wifi config, enabling wireguard routing for wifi/lan, etc. and frequently check dmesg/logread for any references to the issue. First dmesg can be found below:

root@OpenWrt:~# dmesg
[    0.000000] Linux version 5.15.106 (joel@Tezcatlipoca) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 12.2.0 r22591-36150ff6ff) 12.2.0, GNU ld (GNU Binutils) 2.40.0) #0 SMP Tue Apr 18 13:25:21 2023
[    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]   HighMem  empty
[    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 11 pages/cpu s15632 r8192 d21232 u45056
[    0.000000] pcpu-alloc: s15632 r8192 d21232 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: 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=000181c0
[    0.000000] Readback ErrCtl register=000181c0
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] Memory: 118824K/131072K available (7135K kernel code, 624K rwdata, 1452K rodata, 1272K init, 242K bss, 12248K reserved, 0K cma-reserved, 0K highmem)
[    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.008069] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066219] pid_max: default: 32768 minimum: 301
[    0.071036] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.078248] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.089201] rcu: Hierarchical SRCU implementation.
[    0.094249] dyndbg: Ignore empty _ddebug table in a CONFIG_DYNAMIC_DEBUG_CORE build
[    0.102390] smp: Bringing up secondary CPUs ...
[    0.107692] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.107719] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.107734] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.107779] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.162168] Synchronize counters for CPU 1: done.
[    0.194685] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.194706] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.194717] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.194746] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.253659] Synchronize counters for CPU 2: done.
[    0.284273] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.284293] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.284304] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.284337] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.338855] Synchronize counters for CPU 3: done.
[    0.368716] smp: Brought up 1 node, 4 CPUs
[    0.376705] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.386502] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.393510] pinctrl core: initialized pinctrl subsystem
[    0.399985] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.406436] thermal_sys: Registered thermal governor 'step_wise'
[    0.407007] cpuidle: using governor teo
[    0.427551] FPU Affinity set after 11720 emulations
[    0.439194] clocksource: Switched to clocksource GIC
[    0.444937] NET: Registered PF_INET protocol family
[    0.449992] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.457708] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 6144 bytes, linear)
[    0.466035] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.473711] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.481322] TCP bind hash table entries: 1024 (order: 1, 8192 bytes, linear)
[    0.488291] TCP: Hash tables configured (established 1024 bind 1024)
[    0.494742] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.501242] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.508422] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.514057] PCI: CLS 0 bytes, default 32
[    0.521012] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.531777] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.537532] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.551382] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.557237] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.563151] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.569249] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.575927] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.584680] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.592785] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.959188] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    0.966084] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    0.970935] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    0.975775] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    0.982933] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    0.989229] pci_bus 0000:00: root bus resource [bus 00-ff]
[    0.994645] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.001490] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.007654] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400
[    1.013600] pci 0000:00:00.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.019813] pci 0000:00:00.0: reg 0x14: [mem 0x60400000-0x6040ffff]
[    1.026074] pci 0000:00:00.0: supports D1
[    1.030004] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.036465] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400
[    1.042455] pci 0000:00:01.0: reg 0x10: [mem 0x00000000-0x7fffffff]
[    1.048638] pci 0000:00:01.0: reg 0x14: [mem 0x60410000-0x6041ffff]
[    1.054938] pci 0000:00:01.0: supports D1
[    1.058857] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.066603] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280
[    1.072607] pci 0000:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.079788] pci 0000:01:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.086928] pci 0000:01:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.094229] pci 0000:01:00.0: supports D1 D2
[    1.098406] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.105026] 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.121056] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.126214] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.132282] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    1.139453] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.146239] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280
[    1.152212] pci 0000:02:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    1.159379] pci 0000:02:00.0: reg 0x18: [mem 0x00000000-0x00003fff 64bit pref]
[    1.166535] pci 0000:02:00.0: reg 0x20: [mem 0x00000000-0x00000fff 64bit pref]
[    1.173829] pci 0000:02:00.0: supports D1 D2
[    1.178007] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.184627] 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.200705] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.205864] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.211933] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    1.219080] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.225702] pci 0000:00:00.0: BAR 0: no space for [mem size 0x80000000]
[    1.232235] pci 0000:00:00.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.239131] pci 0000:00:01.0: BAR 0: no space for [mem size 0x80000000]
[    1.245696] pci 0000:00:01.0: BAR 0: failed to assign [mem size 0x80000000]
[    1.252629] pci 0000:00:00.0: BAR 9: assigned [mem 0x60000000-0x601fffff pref]
[    1.259805] pci 0000:00:01.0: BAR 9: assigned [mem 0x60200000-0x603fffff pref]
[    1.266950] pci 0000:00:00.0: BAR 1: assigned [mem 0x60400000-0x6040ffff]
[    1.273715] pci 0000:00:01.0: BAR 1: assigned [mem 0x60410000-0x6041ffff]
[    1.280448] pci 0000:00:00.0: BAR 7: assigned [io  0x0000-0x0fff]
[    1.286476] pci 0000:00:01.0: BAR 7: assigned [io  0x1000-0x1fff]
[    1.292551] pci 0000:01:00.0: BAR 0: assigned [mem 0x60000000-0x600fffff 64bit pref]
[    1.300243] pci 0000:01:00.0: BAR 2: assigned [mem 0x60100000-0x60103fff 64bit pref]
[    1.307915] pci 0000:01:00.0: BAR 4: assigned [mem 0x60104000-0x60104fff 64bit pref]
[    1.315624] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.320541] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.326568] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x601fffff pref]
[    1.333763] pci 0000:02:00.0: BAR 0: assigned [mem 0x60200000-0x602fffff 64bit pref]
[    1.341456] pci 0000:02:00.0: BAR 2: assigned [mem 0x60300000-0x60303fff 64bit pref]
[    1.349127] pci 0000:02:00.0: BAR 4: assigned [mem 0x60304000-0x60304fff 64bit pref]
[    1.356821] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.361747] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.367780] pci 0000:00:01.0:   bridge window [mem 0x60200000-0x603fffff pref]
[    1.377353] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.385393] printk: console [ttyS0] disabled
[    1.389748] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 19, base_baud = 3125000) is a 16550A
[    1.398733] printk: console [ttyS0] enabled
[    1.407001] printk: bootconsole [early0] disabled
[    1.419539] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.426096] spi-nor spi0.0: en25qh128 (16384 Kbytes)
[    1.431198] 5 fixed-partitions partitions found on MTD device spi0.0
[    1.437569] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.444906] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.452527] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.459900] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.467839] Creating 5 MTD partitions on "spi0.0":
[    1.472691] 0x000000000000-0x000000040000 : "u-boot"
[    1.478706] 0x000000040000-0x000000fa0000 : "firmware"
[    1.485159] 2 uimage-fw partitions found on MTD device firmware
[    1.491133] Creating 2 MTD partitions on "firmware":
[    1.496094] 0x000000000000-0x0000002d0000 : "kernel"
[    1.502087] 0x0000002d0000-0x000000f60000 : "rootfs"
[    1.507880] mtd: setting mtd3 (rootfs) as root device
[    1.513068] 1 squashfs-split partitions found on MTD device rootfs
[    1.519263] 0x000000970000-0x000000f60000 : "rootfs_data"
[    1.525660] 0x000000fa0000-0x000000fb0000 : "config"
[    1.531579] 0x000000fb0000-0x000000ff0000 : "tplink"
[    1.537527] 0x000000ff0000-0x000001000000 : "radio"
[    1.690580] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.703160] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 21
[    1.714796] mtk_soc_eth 1e100000.ethernet wan: mediatek frame engine at 0xbe100000, irq 21
[    1.725260] i2c_dev: i2c /dev entries driver
[    1.732735] NET: Registered PF_INET6 protocol family
[    1.740014] Segment Routing with IPv6
[    1.743758] In-situ OAM (IOAM) with IPv6
[    1.747760] NET: Registered PF_PACKET protocol family
[    1.753355] 8021q: 802.1Q VLAN Support v1.8
[    1.763542] mt7530 mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.796593] mt7530 mdio-bus:1f: configuring for fixed/rgmii link mode
[    1.804056] mt7530 mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    1.810150] mt7530 mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=23)
[    1.823771] mt7530 mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=24)
[    1.836097] mt7530 mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=25)
[    1.848540] mt7530 mdio-bus:1f lan4 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=26)
[    1.860990] DSA: tree 0 setup
[    1.871705] VFS: Mounted root (squashfs filesystem) readonly on device 31:3.
[    1.883022] Freeing unused kernel image (initmem) memory: 1272K
[    1.888967] This architecture does not have kernel memory protection.
[    1.895448] Run /sbin/init as init process
[    1.899551]   with arguments:
[    1.899561]     /sbin/init
[    1.899567]   with environment:
[    1.899572]     HOME=/
[    1.899578]     TERM=linux
[    2.251962] init: Console is alive
[    2.255725] init: - watchdog -
[    2.771054] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    2.883577] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    2.899625] init: - preinit -
[    4.119267] random: crng init done
[    4.591122] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[    4.603577] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[    4.612613] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[    4.619958] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[    6.858012] mount_root: jffs2 not ready yet, using temporary tmpfs overlay
[    6.874362] urandom-seed: Seed file not found (/etc/urandom.seed)
[    6.917378] procd: - early -
[    6.920625] procd: - watchdog -
[    7.569362] procd: - watchdog -
[    7.573139] procd: - ubus -
[    7.819046] procd: - init -
[    8.572877] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.704420] urngd: v1.0.2 started.
[    8.777580] Loading modules backported from Linux version v6.1.24-0-g0102425ac76b
[    8.785113] Backport generated by backports.git v5.15.92-1-44-gd6ea70fafd36
[    8.869700] pci 0000:00:00.0: enabling device (0006 -> 0007)
[    8.875391] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[    8.882334] pci 0000:00:01.0: enabling device (0006 -> 0007)
[    8.888049] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[    9.061916] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20220929104113a
[    9.061916] 
[    9.212473] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20220929104145
[    9.246013] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20220929104205
[   14.703268] PPP generic driver version 2.4.2
[   14.709535] NET: Registered PF_PPPOX protocol family
[   14.718834] wireguard: WireGuard 1.0.0 loaded. See www.wireguard.com for information.
[   14.726698] wireguard: Copyright (C) 2015-2019 Jason A. Donenfeld <Jason@zx2c4.com>. All Rights Reserved.
[   14.744894] kmodloader: done loading kernel modules from /etc/modules.d/*
[   38.876446] mtk_soc_eth 1e100000.ethernet eth0: Link is Down
[   38.897695] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   38.906100] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   38.914726] IPv6: ADDRCONF(NETDEV_CHANGE): eth0: link becomes ready
[   38.922594] mt7530 mdio-bus:1f lan1: configuring for phy/gmii link mode
[   38.930699] br-lan: port 1(lan1) entered blocking state
[   38.935993] br-lan: port 1(lan1) entered disabled state
[   38.943358] device lan1 entered promiscuous mode
[   38.948029] device eth0 entered promiscuous mode
[   38.974875] mt7530 mdio-bus:1f lan2: configuring for phy/gmii link mode
[   38.982816] br-lan: port 2(lan2) entered blocking state
[   38.988073] br-lan: port 2(lan2) entered disabled state
[   38.995471] device lan2 entered promiscuous mode
[   39.010689] mt7530 mdio-bus:1f lan3: configuring for phy/gmii link mode
[   39.018634] br-lan: port 3(lan3) entered blocking state
[   39.023936] br-lan: port 3(lan3) entered disabled state
[   39.031413] device lan3 entered promiscuous mode
[   39.046396] mt7530 mdio-bus:1f lan4: configuring for phy/gmii link mode
[   39.054659] br-lan: port 4(lan4) entered blocking state
[   39.059948] br-lan: port 4(lan4) entered disabled state
[   39.067501] device lan4 entered promiscuous mode
[   39.084138] mtk_soc_eth 1e100000.ethernet wan: PHY [mdio-bus:04] driver [Generic PHY] (irq=POLL)
[   39.092985] mtk_soc_eth 1e100000.ethernet wan: configuring for phy/rgmii link mode
[   42.417956] mt7530 mdio-bus:1f lan4: Link is Up - 1Gbps/Full - flow control off
[   42.425369] br-lan: port 4(lan4) entered blocking state
[   42.430623] br-lan: port 4(lan4) entered forwarding state
[   42.437573] IPv6: ADDRCONF(NETDEV_CHANGE): br-lan: link becomes ready
[   43.310746] jffs2_scan_eraseblock(): End of filesystem marker found at 0x0
[   43.317664] jffs2_build_filesystem(): unlocking the mtd device... 
[   43.317673] done.
[   43.325827] jffs2_build_filesystem(): erasing all blocks after the end marker... 
[   62.378188] done.
[   62.387626] jffs2: notice: (1972) jffs2_build_xattr_subsystem: complete building xattr subsystem, 0 of xdatum (0 unchecked, 0 orphan) and 0 of xref (0 dead, 0 orphan) found.
[   62.533011] overlayfs: upper fs does not support tmpfile.
1 Like

The SquashFS/JFFS bug might be fixed now, see this patch:
https://git.openwrt.org/?p=openwrt/openwrt.git;a=commit;h=2c530fcb972c112e7a2b10f9c21ac6d276624b5e
I'm currently testing a recent snapshot and so far no errors (yet).

3 Likes

Saw that, too, I'll give the patch a go on an OEM device tomorrow or on wednesday.

Thus far, the aforementioned "compression-patch-device" has run without errors, sustaining multiple changes to config files and a couple of reboots in the beginning.

More than 4 days uptime with the patched compression image, no errors or issues. Varying degrees of traffic over both wifi channels (Youtube, websurfing, VoIP calls) as well as Smart-TV connected via LAN (Youtube, Netflix and DAZN). All traffic routed over Wireguard VPN except Netflix and DAZN (nftset rules to route via WAN).

New device flashed with image build from snapshot containing the frequency patch is running. A sysupgrade has been applied successfully. No error messages in dmesg after factory.bin flash nor after reboot and the reboot following the sysupgrade.

Looks like current snapshot builds can be considered stable for the AX23.

1 Like

Same for me, I can confirm that the current snapshots with reduced SPI frequency are working fine now.

I can't say whether this also applies to the stable version 22.03.5. The frequency patch is included in 22.03.5, but I don't think the SPI calibration is included in the 5.10.x kernel (Snapshot has a 5.15.x kernel) but maybe the SPI calibration patch is not necessary at all ?

Yeah, as of now it looks like the frequency patch is the simplest solution and resolves the issue without changing used packages. Happy to see it, since the patched image is significantly larger in size.

I have this flashed on the AX23 V1.2 and everything seems to be working fine. I haven't had it running for a long time yet but it's booted and WiFi is working

I flashed this on my Archer AX23 (rev 1.2) this morning.
It now has 8 hours of uptime and is doing great!

Hey, what is the available size after installing luci and openwrt ??
Is is 16MB after insatlling or reduced to 8MB or something??

With luci and argon theme it takes 2.41 MiB (2.52 MB)