EAP615WALL Snapshot Bootloop

Afraid my EAP615WALL is still bootlooping on the Snapshot sysupgrade image. This despite the resolution of https://github.com/openwrt/openwrt/issues/19403.

What's odd is that it does boot an FTP'ed initramfs-kernel image. As well as the Stable 24.10.2 image. I'm not sure whether the LZMA dictionary size was the root cause, at least of the issues I've encountered.

Early part of bootlogs
Snapshot Sysupgrade:

incorrect device type in firmware
SF: Detected xm25qh128a with page size 256 Bytes, erase size 64 KiB, total 16 MiB
Reading from flash 0xa0000 to mem 0x80010000, size 0x364060 ...
## Loading kernel from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  MIPS OpenWrt Linux-6.12.40
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x800100e4
     Data Size:    3540580 Bytes = 3.4 MiB
     Architecture: MIPS
     OS:           Linux
     Load Address: 0x80001000
     Entry Point:  0x80001000
     Hash algo:    crc32
     Hash value:   6d92ad30
     Hash algo:    sha1
     Hash value:   d205c80c3940afabb6d9e697d9a7a02d80e98d6f
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 80010000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  MIPS OpenWrt tplink_eap615-wall-v1 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x8037088c
     Data Size:    12936 Bytes = 12.6 KiB
     Architecture: MIPS
     Hash algo:    crc32
     Hash value:   42d1c875
     Hash algo:    sha1
     Hash value:   72ee4516fa6b437ebf6ee729b6846329a972f91c
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x8037088c
   Uncompressing Kernel Image ... lzma compressed: uncompress error 1
Must RESET board to recover

===================================================================
                MT7621   stage1 code Dec 16 2019 17:45:55 (ASIC)
                CPU=500000000 HZ BUS=166666666 HZ
==================================================================
PLL3 FB_DL: 0xa, 1/0 = 611/413 29000000
PLL2 FB_DL: 0xe, 1/0 = 568/456 39000000
PLL4 FB_DL: 0x14, 1/0 = 602/422 51000000
DDR patch working
do DDR setting..[01F40000]
Apply DDR3 Setting...(use default AC)
          0    8   16   24   32   40   48   56   64   72   80   88   96  104  112  120
      --------------------------------------------------------------------------------
0000:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0001:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0002:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0003:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0004:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0005:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0006:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0007:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0008:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0009:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
000D:|    0    0    0    0    0    0    0    0    0    0    0    0    1    1    1    1
000E:|    0    0    0    0    0    0    0    1    1    1    1    1    1    1    1    1
000F:|    0    0    1    1    1    1    1    1    1    1    1    1    0    0    0    0
0010:|    1    1    1    1    1    1    1    0    0    0    0    0    0    0    0    0
0011:|    1    1    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0012:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0013:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0014:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0015:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0016:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0017:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0018:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
0019:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001A:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001B:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001C:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001D:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001E:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
001F:|    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0    0
DRAMC_DQSCTL1[0e0]=13000000
DRAMC_DQSGCTL[124]=80000033
rank 0 coarse = 15
rank 0 fine = 56
B:|    0    0    0    0    0    0    0    0    1    1    1    0    0    0    0    0
opt_dle value:9
DRAMC_DDR2CTL[07c]=C287221D
DRAMC_PADCTL4[0e4]=000022B3
DRAMC_DQIDLY1[210]=0D0D090E
DRAMC_DQIDLY2[214]=0A0F0B0D
DRAMC_DQIDLY3[218]=0A0B080A
DRAMC_DQIDLY4[21c]=0A090C08
DRAMC_R0DELDLY[018]=00002020
==================================================================
                RX      DQS perbit delay software calibration
==================================================================
1.0-15 bit dq delay value
==================================================================
bit|     0  1  2  3  4  5  6  7  8  9
--------------------------------------
0 |    12 8 11 11 11 10 15 9 8 7
10 |    11 10 7 10 9 9
--------------------------------------

==================================================================
2.dqs window
x=pass dqs delay value (min~max)center
y=0-7bit DQ of every group
input delay:DQS0 =32 DQS1 = 32
==================================================================
bit     DQS0     bit      DQS1
0  (1~60)30  8  (1~60)30
1  (1~62)31  9  (1~62)31
2  (1~60)30  10  (1~63)32
3  (1~60)30  11  (1~63)32
4  (1~60)30  12  (1~61)31
5  (1~61)31  13  (1~60)30
6  (1~64)32  14  (1~63)32
7  (1~61)31  15  (1~61)31
==================================================================
3.dq delay value last
==================================================================
bit|    0  1  2  3  4  5  6  7  8   9
--------------------------------------
0 |    14 9 13 13 13 11 15 10 10 8
10 |    11 10 8 12 9 10
==================================================================
==================================================================
     TX  perbyte calibration
==================================================================
DQS loop = 15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqsdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqsdly_pass[1]=15,  finish count=2
DQ loop=15, cmp_err_1 = ffff0000
dqs_perbyte_dly.last_dqdly_pass[0]=15,  finish count=1
dqs_perbyte_dly.last_dqdly_pass[1]=15,  finish count=2
byte:0, (DQS,DQ)=(8,8)
byte:1, (DQS,DQ)=(8,8)
DRAMC_DQODLY1[200]=88888888
DRAMC_DQODLY2[204]=88888888
20,data:88
[EMI] DRAMC calibration passed

===================================================================
                MT7621   stage1 code done
                CPU=500000000 HZ BUS=166666666 HZ
===================================================================

U-Boot SPL 2018.09 (Feb 20 2021 - 09:43:17 +0800)
Trying to boot from NOR


U-Boot 2018.09 (Feb 20 2021 - 09:43:17 +0800)

CPU:   MediaTek MT7621AT ver 1, eco 3
Clocks: CPU: 880MHz, DDR: 1200MHz, Bus: 220MHz, XTAL: 40MHz
Model: MediaTek MT7621 reference board
DRAM:  128 MiB
Loading Environment from SPI Flash... SF: Detected xm25qh128a with page size 256 Bytes, erase size 64 KiB, total 16 MiB
*** Warning - bad CRC, using default environment

In:    uartlite0@1e000c00
Out:   uartlite0@1e000c00
Err:   uartlite0@1e000c00
Net:
Warning: eth@1e100000 (eth0) using random MAC address - ba:6e:8b:bd:30:cf
eth0: eth@1e100000
reset button is not pressed for 10s.
turn on led
Hit any key to stop autoboot:  0
=>

initramfs-kernel:

TFTP from server 192.168.1.2; our IP address is 192.168.1.1
Filename 'openwrt-ramips-mt7621-tplink_eap615-wall-v1-initramfs-kernel.bin'.
Load address: 0x84000000
Loading: #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         #################################################################
         ###########################################################
         6.2 MiB/s
done
Bytes transferred = 7535416 (72fb38 hex)
=> bootm
loading kernel from FIT Image at 84000000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  MIPS OpenWrt Linux-6.12.40
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0x840000e4
     Data Size:    7520569 Bytes = 7.2 MiB
     Architecture: MIPS
     OS:           Linux
     Load Address: 0x80001000
     Entry Point:  0x80001000
     Hash algo:    crc32
     Hash value:   350ed42c
     Hash algo:    sha1
     Hash value:   96c030fadf7f1b5a90388255176484194e92ff7b
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at 84000000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  MIPS OpenWrt tplink_eap615-wall-v1 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0x8472c364
     Data Size:    12936 Bytes = 12.6 KiB
     Architecture: MIPS
     Hash algo:    crc32
     Hash value:   42d1c875
     Hash algo:    sha1
     Hash value:   72ee4516fa6b437ebf6ee729b6846329a972f91c
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0x8472c364
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 87e67000, end 87e6d287 ... OK
[    0.000000] Linux version 6.12.40 (builder@buildhost) (mipsel-openwrt-linux-m                                                                                        usl-gcc (OpenWrt GCC 14.3.0 r30609-ed7d62caf2) 14.3.0, GNU ld (GNU Binutils) 2.4                                                                                        2) #0 SMP Sun Jul 27 16:50:03 2025
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
...

OpenWRT Stable 24.10.2

incorrect device type in firmware
## Loading kernel from FIT Image at bfca0000 ...
   Using 'config-1' configuration
   Trying 'kernel-1' kernel subimage
     Description:  MIPS OpenWrt Linux-6.6.93
     Type:         Kernel Image
     Compression:  lzma compressed
     Data Start:   0xbfca00e4
     Data Size:    3177203 Bytes = 3 MiB
     Architecture: MIPS
     OS:           Linux
     Load Address: 0x80001000
     Entry Point:  0x80001000
     Hash algo:    crc32
     Hash value:   f80bb357
     Hash algo:    sha1
     Hash value:   20e7f829e7bf488d6b06c50c222e1f114cb693b5
   Verifying Hash Integrity ... crc32+ sha1+ OK
## Loading fdt from FIT Image at bfca0000 ...
   Using 'config-1' configuration
   Trying 'fdt-1' fdt subimage
     Description:  MIPS OpenWrt tplink_eap615-wall-v1 device tree blob
     Type:         Flat Device Tree
     Compression:  uncompressed
     Data Start:   0xbffa7d1c
     Data Size:    12628 Bytes = 12.3 KiB
     Architecture: MIPS
     Hash algo:    crc32
     Hash value:   7a2f2684
     Hash algo:    sha1
     Hash value:   18aad5e0c77bef4a59c81a3af1482a3b4f49c725
   Verifying Hash Integrity ... crc32+ sha1+ OK
   Booting using the fdt blob at 0xbffa7d1c
   Uncompressing Kernel Image ... OK
   Loading Device Tree to 87e66000, end 87e6c153 ... OK
[    0.000000] Linux version 6.6.93 (builder@buildhost) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r28739-d9340319c6) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Mon Jun 23 20:40:36 2025
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
...
1 Like

Now my EAP-235Wall v1 has joined the party. It gets as far as Starting kernel ... and then no further. Doesn't even bootloop.

Anyone got similar experience? For the meantime I have downgraded to 24.10.3 which works.

Have now logged issue 20500 for the TP-Link EAP235-Wall v1. Issue 19403 is still open for the EAP615-Wall.

Hi, I will be able to test this next week. Did your process go with a sysupgrade from an older stable version to snapshot or from snapshot to snapshot or did a new flash with factory.bin fail?

I think I have images for 5.15 kernel snapshot, 23.05.5, 6.6 kernel 24.10.2 and snapshot for both 6.6 and 6.12 at hand to jump through the hoops. I can also start building building the different images today. Hardware won’t be available until early next week though.

Thank you @Nihilokrat. Looking at both more closely, I think the experiences are unrelated. The EAP-235Wall v1 doesn't seem to make use of the same decompression as the EAP-615Wall.

There have been a few mt76 PRs merged in the past few days, and a few bug reports are emerging. I suspect the more recent issue will make itself known.

I was upgrading the 235 using owut from a recent snapshot.

The 615 problem can be solved by a dictionary size change. Although quite why the two would use such different methods is not obvious.

Will follow with interest.

My tests will be with EAP615. So the “fix” mentioned on Github is indeed a fix? I can’t test with the 235, since I don’t have any at hand.

I will be able to test with AX23 and C6v3, which have the same “ingridients”, but haven’t seen any mentions from others regarding an issue like this.

Since 24.10.4 just appeared would it be safe to assume the EAP615 issue is present in it ?

It is SNAPSHOT with the newer (larger) kernel that runs into trouble.

24.10.4 works just as 24.10.3 does.

1 Like

FYI

3 Likes

I will make an attempt to build/test this PR this weekend

1 Like

I started the build process, I hope this is the correct way

git clone https://github.com/DragonBluep/openwrt -b eap615-bootfix
cd openwrt
git branch -a
git checkout remotes/origin/eap615-bootfix
scripts/feeds update -a
scripts/feeds install -a
make menuconfig
..Target System > Mediatek Ralink Mips
..Subtarget > MT7621 Based Boards
..Target Profile > TP-Llink EAP 615-Wall
..Luci-> Collections->luci *

make V=s -j $(nproc)

Would have been cleaner to just pull the official OpenWrt repo and apply the PR on top of it, but this should work too.

I'm sorry, I have limited experience in this area.
What is the command to pull this PR on top of the official OpenWrt repo?

Applied the compiled sysupgrade.bin - device booted up

kernel.log
[    0.000000] Linux version 6.12.54 (ed@hplaptop-ed) (mipsel-openwrt-linux-musl-gcc (OpenWrt GCC 14.3.0 r0+31557-ce61121770) 14.3.0, GNU ld (GNU Binutils) 2.44) #0 SMP Thu Oct 23 02:11:03 2025
[    0.000000] SoC Type: MediaTek MT7621 ver:1 eco:3
[    0.000000] printk: legacy bootconsole [early0] enabled
[    0.000000] CPU0 revision is: 0001992f (MIPS 1004Kc)
[    0.000000] MIPS: machine is TP-Link EAP615-Wall 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] OF: reserved mem: Reserved memory: No reserved-memory node in the DT
[    0.000000] percpu: Embedded 13 pages/cpu s22768 r8192 d22288 u53248
[    0.000000] pcpu-alloc: s22768 r8192 d22288 u53248 alloc=13*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3 
[    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=00031c3d
[    0.000000] Readback ErrCtl register=00031c3d
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 32768
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    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] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1 rcu_task_cpu_ids=4.
[    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.000006] sched_clock: 64 bits at 880MHz, resolution 1ns, wraps every 4398046511103ns
[    0.008052] Calibrating delay loop... 586.13 BogoMIPS (lpj=2930688)
[    0.066138] pid_max: default: 32768 minimum: 301
[    0.080914] Mount-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.088135] Mountpoint-cache hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.106510] rcu: Hierarchical SRCU implementation.
[    0.111242] rcu: 	Max phase no-delay instances is 1000.
[    0.117027] Timer migration: 1 hierarchy levels; 8 children per group; 1 crossnode level
[    0.125853] smp: Bringing up secondary CPUs ...
[    0.131442] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.131488] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.131508] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.131559] CPU1 revision is: 0001992f (MIPS 1004Kc)
[    0.192967] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.193003] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.193016] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.193054] CPU2 revision is: 0001992f (MIPS 1004Kc)
[    0.253100] Primary instruction cache 32kB, VIPT, 4-way, linesize 32 bytes.
[    0.253134] Primary data cache 32kB, 4-way, PIPT, no aliases, linesize 32 bytes
[    0.253148] MIPS secondary cache 256kB, 8-way, linesize 32 bytes.
[    0.253190] CPU3 revision is: 0001992f (MIPS 1004Kc)
[    0.312210] smp: Brought up 1 node, 4 CPUs
[    0.392770] Memory: 115800K/131072K available (8437K kernel code, 648K rwdata, 1816K rodata, 1248K init, 226K bss, 13948K reserved, 0K cma-reserved)
[    0.411581] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.421456] futex hash table entries: 1024 (order: 3, 32768 bytes, linear)
[    0.434082] pinctrl core: initialized pinctrl subsystem
[    0.442812] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.449463] thermal_sys: Registered thermal governor 'step_wise'
[    0.452132] /pinctrl: Fixed dependency cycle(s) with /pinctrl/pinctrl0
[    0.469247] FPU Affinity set after 11720 emulations
[    0.483812] clocksource: Switched to clocksource GIC
[    0.498866] NET: Registered PF_INET protocol family
[    0.504021] IP idents hash table entries: 2048 (order: 2, 16384 bytes, linear)
[    0.512068] tcp_listen_portaddr_hash hash table entries: 512 (order: 0, 4096 bytes, linear)
[    0.520439] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.528125] TCP established hash table entries: 1024 (order: 0, 4096 bytes, linear)
[    0.535750] TCP bind hash table entries: 1024 (order: 2, 16384 bytes, linear)
[    0.542851] TCP: Hash tables configured (established 1024 bind 1024)
[    0.550202] MPTCP token hash table entries: 256 (order: 0, 4096 bytes, linear)
[    0.557762] UDP hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.564268] UDP-Lite hash table entries: 256 (order: 1, 8192 bytes, linear)
[    0.572157] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.577879] PCI: CLS 0 bytes, default 32
[    0.585377] workingset: timestamp_bits=14 max_order=15 bucket_order=1
[    0.594731] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.600490] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.618643] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.624849] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.630902] mt7621_gpio 1e000600.gpio: registering 32 gpios
[    0.637245] mt7621-pci 1e140000.pcie: host bridge /pcie@1e140000 ranges:
[    0.643969] mt7621-pci 1e140000.pcie:   No bus range found for /pcie@1e140000, using [bus 00-ff]
[    0.652700] mt7621-pci 1e140000.pcie:      MEM 0x0060000000..0x006fffffff -> 0x0060000000
[    0.660837] mt7621-pci 1e140000.pcie:       IO 0x001e160000..0x001e16ffff -> 0x0000000000
[    0.993822] mt7621-pci 1e140000.pcie: pcie2 no card, disable it (RST & CLK)
[    1.000732] mt7621-pci 1e140000.pcie: PCIE0 enabled
[    1.005611] mt7621-pci 1e140000.pcie: PCIE1 enabled
[    1.010592] PCI coherence region base: 0x60000000, mask/settings: 0xf0000002
[    1.017766] mt7621-pci 1e140000.pcie: PCI host bridge to bus 0000:00
[    1.024109] pci_bus 0000:00: root bus resource [bus 00-ff]
[    1.029519] pci_bus 0000:00: root bus resource [mem 0x60000000-0x6fffffff]
[    1.036382] pci_bus 0000:00: root bus resource [io  0x0000-0xffff]
[    1.042561] pci 0000:00:00.0: [0e8d:0801] type 01 class 0x060400 PCIe Root Port
[    1.049862] pci 0000:00:00.0: BAR 0 [mem 0x00000000-0x7fffffff]
[    1.055756] pci 0000:00:00.0: BAR 1 [mem 0x00000000-0x0000ffff]
[    1.061585] pci 0000:00:00.0: PCI bridge to [bus 00]
[    1.066569] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.072583] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.079355] pci 0000:00:00.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.086620] pci 0000:00:00.0: supports D1
[    1.090552] pci 0000:00:00.0: PME# supported from D0 D1 D3hot
[    1.097170] pci 0000:00:01.0: [0e8d:0801] type 01 class 0x060400 PCIe Root Port
[    1.104509] pci 0000:00:01.0: BAR 0 [mem 0x00000000-0x7fffffff]
[    1.110348] pci 0000:00:01.0: BAR 1 [mem 0x00000000-0x0000ffff]
[    1.116280] pci 0000:00:01.0: PCI bridge to [bus 00]
[    1.121159] pci 0000:00:01.0:   bridge window [io  0x0000-0x0fff]
[    1.127261] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff]
[    1.134001] pci 0000:00:01.0:   bridge window [mem 0x00000000-0x000fffff pref]
[    1.141198] pci 0000:00:01.0: supports D1
[    1.145165] pci 0000:00:01.0: PME# supported from D0 D1 D3hot
[    1.152994] pci 0000:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.160988] pci 0000:00:01.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    1.169205] pci 0000:01:00.0: [14c3:7916] type 00 class 0x000280 PCIe Endpoint
[    1.176472] pci 0000:01:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit pref]
[    1.183274] pci 0000:01:00.0: BAR 2 [mem 0x00000000-0x00003fff 64bit pref]
[    1.190145] pci 0000:01:00.0: BAR 4 [mem 0x00000000-0x00000fff 64bit pref]
[    1.197123] pci 0000:01:00.0: supports D1 D2
[    1.201306] pci 0000:01:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.207947] 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.223061] pci 0000:00:00.0: PCI bridge to [bus 01-ff]
[    1.228300] pci_bus 0000:01: busn_res: [bus 01-ff] end is updated to 01
[    1.235236] pci 0000:02:00.0: [14c3:7915] type 00 class 0x000280 PCIe Endpoint
[    1.242425] pci 0000:02:00.0: BAR 0 [mem 0x00000000-0x000fffff 64bit pref]
[    1.249283] pci 0000:02:00.0: BAR 2 [mem 0x00000000-0x00003fff 64bit pref]
[    1.256117] pci 0000:02:00.0: BAR 4 [mem 0x00000000-0x00000fff 64bit pref]
[    1.263031] pci 0000:02:00.0: supports D1 D2
[    1.267239] pci 0000:02:00.0: PME# supported from D0 D1 D2 D3hot D3cold
[    1.273860] 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.288992] pci 0000:00:01.0: PCI bridge to [bus 02-ff]
[    1.294234] pci_bus 0000:02: busn_res: [bus 02-ff] end is updated to 02
[    1.300805] pci 0000:00:00.0: BAR 0 [mem size 0x80000000]: can't assign; no space
[    1.308233] pci 0000:00:00.0: BAR 0 [mem size 0x80000000]: failed to assign
[    1.315137] pci 0000:00:01.0: BAR 0 [mem size 0x80000000]: can't assign; no space
[    1.322530] pci 0000:00:01.0: BAR 0 [mem size 0x80000000]: failed to assign
[    1.329491] pci 0000:00:00.0: bridge window [mem 0x60000000-0x600fffff]: assigned
[    1.336911] pci 0000:00:00.0: bridge window [mem 0x60100000-0x602fffff pref]: assigned
[    1.344781] pci 0000:00:01.0: bridge window [mem 0x60300000-0x603fffff]: assigned
[    1.352168] pci 0000:00:01.0: bridge window [mem 0x60400000-0x605fffff pref]: assigned
[    1.360074] pci 0000:00:00.0: BAR 1 [mem 0x60600000-0x6060ffff]: assigned
[    1.366817] pci 0000:00:01.0: BAR 1 [mem 0x60610000-0x6061ffff]: assigned
[    1.373511] pci 0000:00:00.0: bridge window [io  0x0000-0x0fff]: assigned
[    1.380287] pci 0000:00:01.0: bridge window [io  0x1000-0x1fff]: assigned
[    1.387035] pci 0000:01:00.0: BAR 0 [mem 0x60100000-0x601fffff 64bit pref]: assigned
[    1.394726] pci 0000:01:00.0: BAR 2 [mem 0x60200000-0x60203fff 64bit pref]: assigned
[    1.402380] pci 0000:01:00.0: BAR 4 [mem 0x60204000-0x60204fff 64bit pref]: assigned
[    1.410112] pci 0000:00:00.0: PCI bridge to [bus 01]
[    1.415028] pci 0000:00:00.0:   bridge window [io  0x0000-0x0fff]
[    1.421034] pci 0000:00:00.0:   bridge window [mem 0x60000000-0x600fffff]
[    1.427813] pci 0000:00:00.0:   bridge window [mem 0x60100000-0x602fffff pref]
[    1.434991] pci 0000:02:00.0: BAR 0 [mem 0x60400000-0x604fffff 64bit pref]: assigned
[    1.442646] pci 0000:02:00.0: BAR 2 [mem 0x60500000-0x60503fff 64bit pref]: assigned
[    1.450376] pci 0000:02:00.0: BAR 4 [mem 0x60504000-0x60504fff 64bit pref]: assigned
[    1.458064] pci 0000:00:01.0: PCI bridge to [bus 02]
[    1.462942] pci 0000:00:01.0:   bridge window [io  0x1000-0x1fff]
[    1.469031] pci 0000:00:01.0:   bridge window [mem 0x60300000-0x603fffff]
[    1.475771] pci 0000:00:01.0:   bridge window [mem 0x60400000-0x605fffff pref]
[    1.482903] pci_bus 0000:00: Some PCI device resources are unassigned, try booting with pci=realloc
[    1.491930] pci_bus 0000:00: resource 4 [mem 0x60000000-0x6fffffff]
[    1.498138] pci_bus 0000:00: resource 5 [io  0x0000-0xffff]
[    1.503637] pci_bus 0000:01: resource 0 [io  0x0000-0x0fff]
[    1.509201] pci_bus 0000:01: resource 1 [mem 0x60000000-0x600fffff]
[    1.515421] pci_bus 0000:01: resource 2 [mem 0x60100000-0x602fffff pref]
[    1.522039] pci_bus 0000:02: resource 0 [io  0x1000-0x1fff]
[    1.527608] pci_bus 0000:02: resource 1 [mem 0x60300000-0x603fffff]
[    1.533835] pci_bus 0000:02: resource 2 [mem 0x60400000-0x605fffff pref]
[    1.542994] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    1.552350] printk: legacy console [ttyS0] disabled
[    1.558186] 1e000c00.uartlite: ttyS0 at MMIO 0x1e000c00 (irq = 18, base_baud = 3125000) is a 16550A
[    1.567286] printk: legacy console [ttyS0] enabled
[    1.576797] printk: legacy bootconsole [early0] disabled
[    1.593338] spi-mt7621 1e000b00.spi: sys_freq: 220000000
[    1.600520] 8 fixed-partitions partitions found on MTD device spi0.0
[    1.607010] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.614402] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.622034] Creating 8 MTD partitions on "spi0.0":
[    1.626981] 0x000000000000-0x000000080000 : "u-boot"
[    1.633552] 0x000000080000-0x000000090000 : "partition-table"
[    1.640477] 0x000000090000-0x0000000a0000 : "product-info"
[    1.647318] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.655090] 0x0000000a0000-0x000000d90000 : "firmware"
[    1.661486] 2 fit-fw partitions found on MTD device firmware
[    1.667241] Creating 2 MTD partitions on "firmware":
[    1.672257] 0x000000000000-0x000000350000 : "kernel"
[    1.678386] 0x000000350000-0x000000cf0000 : "rootfs"
[    1.684560] mtd: setting mtd5 (rootfs) as root device
[    1.689730] 1 squashfs-split partitions found on MTD device rootfs
[    1.695967] 0x0000007b0000-0x000000cf0000 : "rootfs_data"
[    1.702500] 0x000000d90000-0x000000df0000 : "user-config"
[    1.709126] 0x000000f30000-0x000000fb0000 : "mutil-log"
[    1.715571] 0x000000fb0000-0x000000ff0000 : "oops"
[    1.721513] 0x000000ff0000-0x000001000000 : "radio"
[    1.727781] OF: Bad cell count for /palmbus@1e000000/spi@b00/flash@0/partitions
[    1.867457] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    1.885203] mtk_soc_eth 1e100000.ethernet eth0: mediatek frame engine at 0xbe100000, irq 19
[    1.897092] mtk_soc_eth 1e100000.ethernet eth1: mediatek frame engine at 0xbe100000, irq 19
[    1.907389] i2c_dev: i2c /dev entries driver
[    1.915739] NET: Registered PF_INET6 protocol family
[    1.924742] Segment Routing with IPv6
[    1.928527] In-situ OAM (IOAM) with IPv6
[    1.932561] NET: Registered PF_PACKET protocol family
[    1.938139] 8021q: 802.1Q VLAN Support v1.8
[    1.972093] gpio-export gpio-export: 1 gpio(s) exported
[    1.977965] mt7530-mdio mdio-bus:1f: MT7530 adapts as multi-chip module
[    2.012000] mt7530-mdio mdio-bus:1f: configuring for fixed/rgmii link mode
[    2.020040] mt7530-mdio mdio-bus:1f: Link is Up - 1Gbps/Full - flow control rx/tx
[    2.025106] mt7530-mdio mdio-bus:1f lan3 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7530 PHY] (irq=22)
[    2.040865] mt7530-mdio mdio-bus:1f lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7530 PHY] (irq=23)
[    2.054278] mt7530-mdio mdio-bus:1f lan1 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7530 PHY] (irq=24)
[    2.067167] mtk_soc_eth 1e100000.ethernet eth0: entered promiscuous mode
[    2.074100] DSA: tree 0 setup
[    2.078369] clk: Disabling unused clocks
[    2.090559] VFS: Mounted root (squashfs filesystem) readonly on device 31:5.
[    2.102042] Freeing unused kernel image (initmem) memory: 1248K
[    2.108261] This architecture does not have kernel memory protection.
[    2.114735] Run /sbin/init as init process
[    2.118820]   with arguments:
[    2.118828]     /sbin/init
[    2.118835]   with environment:
[    2.118842]     HOME=/
[    2.118849]     TERM=linux
[    2.727764] init: Console is alive
[    2.731603] init: - watchdog -
[    3.638861] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    3.666884] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    3.681041] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    3.691455] init: - preinit -
[    4.470285] mtk_soc_eth 1e100000.ethernet lan0: renamed from eth1
[    6.013824] random: crng init done
[    6.412951] mtk_soc_eth 1e100000.ethernet lan0: PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[    6.431152] mtk_soc_eth 1e100000.ethernet lan0: configuring for phy/rgmii link mode
[   10.614563] mtk_soc_eth 1e100000.ethernet lan0: Link is Up - 1Gbps/Full - flow control rx/tx
[   10.844682] jffs2: notice: (575) jffs2_build_xattr_subsystem: complete building xattr subsystem, 7 of xdatum (0 unchecked, 1 orphan) and 8 of xref (1 dead, 0 orphan) found.
[   10.862481] mount_root: switching to jffs2 overlay
[   10.873004] overlayfs: upper fs does not support tmpfile.
[   10.887957] urandom-seed: Seeding with /etc/urandom.seed
[   11.011709] mtk_soc_eth 1e100000.ethernet lan0: Link is Down
[   11.029766] procd: - early -
[   11.032908] procd: - watchdog -
[   11.645365] procd: - watchdog -
[   11.664660] procd: - ubus -
[   11.833202] procd: - init -
[   12.559035] kmodloader: loading kernel modules from /etc/modules.d/*
[   12.603158] mtk-eip93 1e004000.crypto: EIP93 Crypto Engine Initialized.
[   13.193257] Loading modules backported from Linux version v6.16-0-g038d61fd6422
[   13.200637] Backport generated by backports.git v6.1.145-1-47-g6194bf852a3e
[   13.470928] pci 0000:00:00.0: enabling device (0000 -> 0003)
[   13.476682] mt7915e_hif 0000:01:00.0: enabling device (0000 -> 0002)
[   13.483902] pci 0000:00:01.0: enabling device (0000 -> 0003)
[   13.489614] mt7915e 0000:02:00.0: enabling device (0000 -> 0002)
[   13.664210] urngd: v1.0.2 started.
[   13.819046] mt7915e 0000:02:00.0: HW/SW Version: 0x8a108a10, Build Time: 20240429200716a
[   13.819046] 
[   14.320979] mt7915e 0000:02:00.0: WM Firmware Version: ____000000, Build Time: 20240429200752
[   14.356954] mt7915e 0000:02:00.0: WA Firmware Version: DEV_000000, Build Time: 20240429200812
[   14.476820] mt7915e 0000:02:00.0: registering led 'mt76-phy0'
[   14.559028] mt7915e 0000:02:00.0: registering led 'mt76-phy1'
[   14.716027] PPP generic driver version 2.4.2
[   14.722169] NET: Registered PF_PPPOX protocol family
[   14.735542] kmodloader: done loading kernel modules from /etc/modules.d/*
[   22.627234] mtk_soc_eth 1e100000.ethernet lan0: PHY [mt7530-0:00] driver [MediaTek MT7530 PHY] (irq=POLL)
[   22.647108] mtk_soc_eth 1e100000.ethernet lan0: configuring for phy/rgmii link mode
[   22.656696] br-lan: port 1(lan0) entered blocking state
[   22.661959] br-lan: port 1(lan0) entered disabled state
[   22.667472] mtk_soc_eth 1e100000.ethernet lan0: entered allmulticast mode
[   22.674901] mtk_soc_eth 1e100000.ethernet lan0: entered promiscuous mode
[   22.708007] mtk_soc_eth 1e100000.ethernet eth0: configuring for fixed/rgmii link mode
[   22.721664] mtk_soc_eth 1e100000.ethernet eth0: Link is Up - 1Gbps/Full - flow control rx/tx
[   22.739104] mt7530-mdio mdio-bus:1f lan1: configuring for phy/gmii link mode
[   22.749110] br-lan: port 2(lan1) entered blocking state
[   22.754629] br-lan: port 2(lan1) entered disabled state
[   22.760011] mt7530-mdio mdio-bus:1f lan1: entered allmulticast mode
[   22.766522] mtk_soc_eth 1e100000.ethernet eth0: entered allmulticast mode
[   22.779504] mt7530-mdio mdio-bus:1f lan1: entered promiscuous mode
[   22.800175] mt7530-mdio mdio-bus:1f lan2: configuring for phy/gmii link mode
[   22.809115] br-lan: port 3(lan2) entered blocking state
[   22.814507] br-lan: port 3(lan2) entered disabled state
[   22.819818] mt7530-mdio mdio-bus:1f lan2: entered allmulticast mode
[   22.828156] mt7530-mdio mdio-bus:1f lan2: entered promiscuous mode
[   22.845284] mt7530-mdio mdio-bus:1f lan3: configuring for phy/gmii link mode
[   22.854181] br-lan: port 4(lan3) entered blocking state
[   22.859462] br-lan: port 4(lan3) entered disabled state
[   22.864967] mt7530-mdio mdio-bus:1f lan3: entered allmulticast mode
[   22.873399] mt7530-mdio mdio-bus:1f lan3: entered promiscuous mode
[   29.974552] mtk_soc_eth 1e100000.ethernet lan0: Link is Up - 1Gbps/Full - flow control rx/tx
[   29.983094] br-lan: port 1(lan0) entered blocking state
[   29.988399] br-lan: port 1(lan0) entered forwarding state
1 Like

Append .patch to the URL in your browser, copy that link and use wget to pull it in. Then apply the patch with git am. Then compile.

Can you report in the PR comments it worked for you? Thanks.

1 Like

I Applied the patch the clean way on top of master like this

git clone https://www.github.com/openwrt/openwrt -b master
cd openwrt
git config --global user.email "me@example.com"
git config --global user.name "ed8"
wget https://github.com/openwrt/openwrt/pull/20509.patch
git am 20509.patch
scripts/feeds update -a
scripts/feeds install -a
make menuconfig
..Target System > Mediatek Ralink Mips
..Subtarget > MT7621 Based Boards
..Target Profile > TP-Llink EAP 615-Wall
..Luci-> Collections->luci *

make V=s -j $(nproc)

upgraded with the sysupgrade.bin from openwrt/bin/targets/ramips/mt7621 and device booted up as well

I will add my results to PR 20509

1 Like