[Banana BPI-R4] Wifi7 status

Good evening and thanks for the information, so I'll wait to see if something comes out that's worth it. For me, the MT7925 works perfectly in AX, in BE it only worked well with a test image from @danpawlik, which I posted above as I had used it via SSH, since the rest of the images, BE, didn't go over 800 megabytes in the best of cases, but normally it only reached 200 megabytes.

So when I saw that with the test image I reached 1.7GB in BE...

I decided to change the card because if the MT7925 had reached that speed, then a BE320 would still reach a much higher speed.

So I'll wait to see if while the work that remains is finished, a card comes out that's worth it.

Thanks for your help

Ralink was a company aquired by Mediatek, this USB Wifi7 has a chip from Realtek (RTL8912AU) - as do all currently available Wifi7 USB-adapters.

Had to mention it since a Wifi7 USB-adapter from Mediatek would be absolutely fantastic :slight_smile:

The RTL8912AU only have Windows drivers - I actually have one, 6GHz and other Wifi7 aspects are still "sketchy"

In US using 6 GHz requires AFC, and that is more tricky, to say the least...

think AFC is not a requirement for indoor AP.

1 Like

refer to iperf test report by BPI, using QCNCM865 as test wifi client.

1 Like

Good morning and thanks for the link, the results are definitely as expected.

I'm finally going to buy it, when I receive it I'll comment on the results.

Thank you very much for your help

I'd like to do some tests with different antenna placement and spacing, but now I'm unable to find a build with good EHT320 performance anymore. Both the latest snapshot and Danpawlik's build from 2024-10-8 are stuck at sub 1 Gbps speed in the best case. Rmandrad's sysupgrade image applied over the snapshot results in the Wireless section being entirely absent from LuCi. Could someone point me to the build that would bring back those 2.5 Gbps figures that we've already seen? What's the reason for the sudden speed regression anyways?

Good day. I also have a mediatek mt7927, on windows 11 24h2 I can't see the 6 GHz frequency, did you manage to see 6 GHz on the mt7927, if so, please describe what needs to be done. Thank you.

so the WO patch doesn't crash anymore a few settings that I add that seems to fix the crash

CONFIG_KERNEL_CGROUP_FREEZER=y
CONFIG_KERNEL_CGROUP_DEVICE=y
CONFIG_KERNEL_NET_CLS_CGROUP=y

for the .config

however console logs full with these messages

 858.505308] swiotlb_tbl_map_single: 24032 callbacks suppressed
[  858.505326] platform 15012000.wed: swiotlb buffer is full (sz: 4096 bytes), total 32768 (slots), used 32751 (slots)

i don't see the bootargs passing any swiotlb values i will try to pass 65536

in fact there are no bootargs...

1 Like

no need for bootargs ... the kernel config didn't have CONFIG_SWIOTLB_DYNAMIC enabled

no more SWIOTLB messages

1 Like

pushed latest changes to my repo

i suggest not to apply any of these changes - unless you want to test (it should work though with wed disabled)

I am having reboots and pstore shows crashes on mt76_wed_offload...

<7>[  226.908717] CPU: 2 PID: 11 Comm: kworker/u8:0 Tainted: G           O       6.6.56 #0
<7>[  226.916450] Hardware name: Bananapi BPI-R4 (DT)
<7>[  226.920969] Workqueue: nf_ft_offload_del nf_flow_rule_route_ipv6 [nf_flow_table]
<7>[  226.928366] pstate: 20400005 (nzCv daif +PAN -UAO -TCO -DIT -SSBS BTYPE=--)
<7>[  226.935316] pc : mt76_wed_offload_disable+0x64/0xa0 [mt76]
<7>[  226.940797] lr : mtk_wed_flow_remove+0x58/0x78
<7>[  226.945235] sp : ffffffc080fabaf0
<7>[  226.948537] x29: ffffffc080fabaf0 x28: 00000000deadbef7 x27: ffffff80c1a0b4a0
<7>[  226.955662] x26: ffffff80d33ce400 x25: 0000000000000001 x24: ffffff80c0ff4c00
<7>[  226.962786] x23: ffffffc080e4bdb8 x22: 0000000000000000 x21: ffffffc0806b1514
<7>[  226.969910] x20: ffffff80cece86e0 x19: ffffff80cece43e0 x18: 0000000000000000
<7>[  226.977033] x17: ffffffc07ea64000 x16: ffffffc080ef8000 x15: fffffffe00278740
<7>[  226.984156] x14: ffffffffffffffff x13: 00000000000000f5 x12: 0000000000000002
<7>[  226.991279] x11: ffffffffff271000 x10: 0000000000000400 x9 : 0000000000000000
<7>[  226.998402] x8 : ffffffc080fabcb8 x7 : 0000000000000000 x6 : 0000000000000000
<7>[  227.005525] x5 : ffffff80c002ac05 x4 : 0000000000000000 x3 : 0000000000000000
<7>[  227.012648] x2 : 0000000000000001 x1 : 0000000000000000 x0 : ffffff80cece83e0
<7>[  227.019773] Call trace:
<7>[  227.022209]  mt76_wed_offload_disable+0x64/0xa0 [mt76]
<7>[  227.027343]  mtk_wed_flow_remove+0x58/0x78
<7>[  227.031429]  mtk_flow_offload_cmd+0x46c/0x5ac
<7>[  227.035776]  mtk_eth_setup_tc_block_cb+0x28/0x38
<7>[  227.040382]  nf_flow_offload_ipv6_hook+0x7ec/0x95c [nf_flow_table]
<7>[  227.046553]  nf_flow_rule_route_ipv6+0x510/0x57c [nf_flow_table]
<7>[  227.052550]  process_one_work+0x178/0x3a0
<7>[  227.056552]  worker_thread+0x2e4/0x4c8
<7>[  227.060291]  kthread+0xd8/0xdc
<7>[  227.063336]  ret_from_fork+0x10/0x20
<0>[  227.066905] Code: 928d4de0 8b000273 91401260 f9444a61 (79401421)
<4>[  227.072985] ---[ end trace 0000000000000000 ]---

so patches missing from mt76 i suspect

btw - I have disabled the nf_flow_offload from the radios and I am not seeing crashes so far ... and got a decent speed of 370Mbps on the radio2 320Mhz
cpu hardly moved ! so it is working :slight_smile:

it crashes a few times all seems to do with nf_flow_offload as per what pstore is showing .

I will disable from the firewall rules offloading like this

    option flow_offloading '0'
    option flow_offloading_hw '0'

Did you use the firmware with rmandrad's be200 patch? Once I used that firmware image my phones and the mt7927 connected fine.

Hello. Do you mean this update from @rmandrad - mda-bananapi4-openwrt-6.6.50-10-mediatek-filogic-bananapi_bpi-r4-squashfs-sysupgrade.itb ?

btw, great progress, the question here how did u mange to kick-in WED/WO if u disable the offloading, have u tested using the bridger in dump ap mode? what is the output of below command while testing?

cat /sys/kernel/debug/ppe0/bind

Hello. seems that my BE14 is not detected and I'm not sure why. I double-checked if it's inserted properly. I used both @danpawlik 's latest release and I also tried @rmandrad 's latest. here is dmesg:

[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[    0.000000] Linux version 6.6.56 (forcer@localhost.localdomain) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r27731-2cea050024) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Sat Oct 12 08:58:59 2024
[    0.000000] Machine model: Bananapi BPI-R4 2.5GE PoE
[    0.000000] OF: reserved mem: 0x0000000042ff0000..0x0000000042ffffff (64 KiB) map non-reusable ramoops@42ff0000
[    0.000000] OF: reserved mem: 0x0000000043000000..0x000000004304ffff (320 KiB) nomap non-reusable secmon@43000000
[    0.000000] Zone ranges:
[    0.000000]   DMA      [mem 0x0000000040000000-0x00000000ffffffff]
[    0.000000]   DMA32    empty
[    0.000000]   Normal   [mem 0x0000000100000000-0x000000013fffffff]
[    0.000000] Movable zone start for each node
[    0.000000] Early memory node ranges
[    0.000000]   node   0: [mem 0x0000000040000000-0x0000000042ffffff]
[    0.000000]   node   0: [mem 0x0000000043000000-0x000000004304ffff]
[    0.000000]   node   0: [mem 0x0000000043050000-0x000000013fffffff]
[    0.000000] Initmem setup node 0 [mem 0x0000000040000000-0x000000013fffffff]
[    0.000000] psci: probing for conduit method from DT.
[    0.000000] psci: PSCIv1.1 detected in firmware.
[    0.000000] psci: Using standard PSCI v0.2 function IDs
[    0.000000] psci: MIGRATE_INFO_TYPE not supported.
[    0.000000] psci: SMC Calling Convention v1.4
[    0.000000] percpu: Embedded 18 pages/cpu s34600 r8192 d30936 u73728
[    0.000000] pcpu-alloc: s34600 r8192 d30936 u73728 alloc=18*4096
[    0.000000] pcpu-alloc: [0] 0 [0] 1 [0] 2 [0] 3
[    0.000000] Detected VIPT I-cache on CPU0
[    0.000000] CPU features: detected: GIC system register CPU interface
[    0.000000] CPU features: detected: Spectre-BHB
[    0.000000] CPU features: kernel page table isolation disabled by kernel configuration
[    0.000000] alternatives: applying boot alternatives
[    0.000000] Kernel command line: console=ttyS0,115200n1 pci=pcie_bus_perf root=/dev/fit0 rootwait
[    0.000000] Dentry cache hash table entries: 524288 (order: 10, 4194304 bytes, linear)
[    0.000000] Inode-cache hash table entries: 262144 (order: 9, 2097152 bytes, linear)
[    0.000000] Built 1 zonelists, mobility grouping on.  Total pages: 1032192
[    0.000000] mem auto-init: stack:off, heap alloc:off, heap free:off
[    0.000000] software IO TLB: area num 4.
[    0.000000] software IO TLB: mapped [mem 0x00000000fa7de000-0x00000000fe7de000] (64MB)
[    0.000000] Memory: 4034244K/4194304K available (8640K kernel code, 896K rwdata, 2540K rodata, 448K init, 289K bss, 160060K reserved, 0K cma-reserved)
[    0.000000] SLUB: HWalign=64, 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: 64, nr_irqs: 64, preallocated irqs: 0
[    0.000000] GICv3: GIC: Using split EOI/Deactivate mode
[    0.000000] GICv3: 416 SPIs implemented
[    0.000000] GICv3: 0 Extended SPIs implemented
[    0.000000] Root IRQ handler: gic_handle_irq
[    0.000000] GICv3: GICv3 features: 16 PPIs
[    0.000000] GICv3: CPU0: found redistributor 0 region 0:0x000000000c080000
[    0.000000] rcu: srcu_init: Setting srcu_struct sizes based on contention.
[    0.000000] arch_timer: cp15 timer(s) running at 13.00MHz (phys).
[    0.000000] clocksource: arch_sys_counter: mask: 0xffffffffffffff max_cycles: 0x2ff89eacb, max_idle_ns: 440795202429 ns
[    0.000000] sched_clock: 56 bits at 13MHz, resolution 76ns, wraps every 4398046511101ns
[    0.000058] Calibrating delay loop (skipped), value calculated using timer frequency.. 26.00 BogoMIPS (lpj=130000)
[    0.000065] pid_max: default: 32768 minimum: 301
[    0.002160] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002173] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003661] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.003943] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.004024] rcu: Hierarchical SRCU implementation.
[    0.004025] rcu: 	Max phase no-delay instances is 1000.
[    0.004306] smp: Bringing up secondary CPUs ...
[    0.004518] Detected VIPT I-cache on CPU1
[    0.004551] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004572] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[    0.004824] Detected VIPT I-cache on CPU2
[    0.004845] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.004855] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[    0.005083] Detected VIPT I-cache on CPU3
[    0.005104] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005113] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[    0.005142] smp: Brought up 1 node, 4 CPUs
[    0.005146] SMP: Total of 4 processors activated.
[    0.005149] CPU features: detected: 32-bit EL0 Support
[    0.005152] CPU features: detected: CRC32 instructions
[    0.005168] spectre-bhb mitigation disabled by compile time option
[    0.005180] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005184] CPU: All CPU(s) started at EL2
[    0.005185] alternatives: applying system-wide alternatives
[    0.008427] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008438] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009378] pinctrl core: initialized pinctrl subsystem
[    0.010037] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010569] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.010670] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.010764] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.011030] thermal_sys: Registered thermal governor 'fair_share'
[    0.011033] thermal_sys: Registered thermal governor 'bang_bang'
[    0.011035] thermal_sys: Registered thermal governor 'step_wise'
[    0.011036] thermal_sys: Registered thermal governor 'user_space'
[    0.011078] ASID allocator initialised with 65536 entries
[    0.011814] pstore: Using crash dump compression: deflate
[    0.011820] printk: console [ramoops-1] enabled
[    0.012033] pstore: Registered ramoops as persistent store backend
[    0.012037] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.018709] Modules: 29536 pages in range for non-PLT usage
[    0.018716] Modules: 521056 pages in range for PLT usage
[    0.019532] cryptd: max_cpu_qlen set to 1000
[    0.021084] SCSI subsystem initialized
[    0.021155] libata version 3.00 loaded.
[    0.022006] clocksource: Switched to clocksource arch_sys_counter
[    0.023725] NET: Registered PF_INET protocol family
[    0.023855] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.026190] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.026212] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.026222] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.026323] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.026734] TCP: Hash tables configured (established 32768 bind 32768)
[    0.026828] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.026896] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.027118] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.027154] PCI: CLS 0 bytes, default 64
[    0.027985] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.031596] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.031603] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.048398] jitterentropy: Initialization failed with host not compliant with requirements: 9
[    0.049302] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
[    0.049821] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.049839] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.049850] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.049863] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.049970] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.049980] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.049990] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.050001] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.050020] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.050029] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.050092] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.050102] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.050111] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.050121] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.050137] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.050145] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.050218] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.050228] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.050237] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.050246] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.050268] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.050275] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    0.054582] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.055377] printk: console [ttyS0] disabled
[    0.075647] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[    0.075686] printk: console [ttyS0] enabled
[    0.993277] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2
[    1.023169] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2
[    1.034982] loop: module loaded
[    1.039361] spi-nand spi0.0: Winbond SPI NAND was found.
[    1.044690] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.052922] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.059280] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.066157] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.073154] Creating 2 MTD partitions on "spi0.0":
[    1.077936] 0x000000000000-0x000000200000 : "bl2"
[    1.084180] 0x000000200000-0x000008000000 : "ubi"
[    1.161082] ubi0: default fastmap pool size: 50
[    1.165627] ubi0: default fastmap WL pool size: 25
[    1.170406] ubi0: attaching mtd1
[    1.987190] ubi0: scanning is finished
[    2.000533] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[    2.006020] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.012888] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.019663] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.026614] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[    2.032696] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.039904] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1697192243
[    2.049023] ubi0: available PEBs: 105, total reserved PEBs: 903, PEBs reserved for bad PEB handling: 20
[    2.058409] ubi0: background thread "ubi_bgt0d" started, PID 236
[    2.059137] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.069893] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.203412] i2c_dev: i2c /dev entries driver
[    2.210720] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.218754] mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0
[    2.226230] mtk-msdc 11230000.mmc: Got CD GPIO
[    2.226343] NET: Registered PF_INET6 protocol family
[    2.236084] Segment Routing with IPv6
[    2.239755] In-situ OAM (IOAM) with IPv6
[    2.243714] NET: Registered PF_PACKET protocol family
[    2.248820] 8021q: 802.1Q VLAN Support v1.8
[    2.266105] phy phy-soc:xphy@11e10000.3: type_sw - reg 0x218, index 0
[    2.273312] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    2.280626] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    2.286909] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    2.295350] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.327606] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.338242] mmc0: new high speed SDHC card at address aaaa
[    2.344351] mmcblk0: mmc0:aaaa SE32G 29.7 GiB
[    2.351618] Alternate GPT is invalid, using primary GPT.
[    2.356946]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    2.652014] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    2.660819] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    2.667871] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    2.675185] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    2.681450] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    2.689887] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    3.032014] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.040796] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110
[    3.047665] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.054976] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.061237] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.069670] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.412014] mtk-pcie-gen3 11300000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.420793] mtk-pcie-gen3: probe of 11300000.pcie failed with error -110
[    3.427653] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    3.434963] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    3.441222] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    3.449655] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    3.792016] mtk-pcie-gen3 11310000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.800794] mtk-pcie-gen3: probe of 11310000.pcie failed with error -110
[    3.808261] FIT: Detected U-Boot 2024.07-OpenWrt-r27731-2cea050024
[    3.814439] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4-poe" (OpenWrt bananapi_bpi-r4-poe)
[    3.824175] FIT:           kernel sub-image 0x00001000..0x0057d97d "kernel-1" (ARM64 OpenWrt Linux-6.6.56)
[    3.833910] FIT:          flat_dt sub-image 0x0057e000..0x0058899e "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4-poe device tree blob)
[    3.845468] FIT:          flat_dt sub-image 0x00589000..0x00589609 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4-poe device tree overlay mt7988a-bananapi-bpi-r4-emmc)
[    3.862147] FIT:          flat_dt sub-image 0x0058a000..0x0058a11c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4-poe device tree overlay mt7988a-bananapi-bpi-r4-rtc)
[    3.878649] FIT:          flat_dt sub-image 0x0058b000..0x0058b5c1 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4-poe device tree overlay mt7988a-bananapi-bpi-r4-sd)
[    3.894978] FIT:          flat_dt sub-image 0x0058c000..0x0058c8f0 "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4-poe device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a)
[    3.913038] FIT:       filesystem sub-image 0x0058d000..0x00fd2fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4-poe rootfs)
[    3.924226] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    3.931966] block mmcblk0p7: mapped remaining space as /dev/fitrw
[    4.063461] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    4.071645] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    4.084252] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082580000, irq 103
[    4.093930] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082580000, irq 103
[    4.103605] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc082580000, irq 103
[    4.194277] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[    4.201778] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    4.228396] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=112)
[    4.266018] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=113)
[    4.303611] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=114)
[    4.341156] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=115)
[    4.352145] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    4.358852] DSA: tree 0 setup
[    4.362071] clk: Disabling unused clocks
[    4.371463] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    4.378708] Freeing unused kernel memory: 448K
[    4.383188] Run /sbin/init as init process
[    4.387273]   with arguments:
[    4.390229]     /sbin/init
[    4.392930]   with environment:
[    4.396058]     HOME=/
[    4.398407]     TERM=linux
[    4.529504] init: Console is alive
[    4.533021] init: - watchdog -
[    4.800273] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    4.822600] usbcore: registered new interface driver usbfs
[    4.828114] usbcore: registered new interface driver hub
[    4.833453] usbcore: registered new device driver usb
[    4.838970] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    4.848848] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    4.856269] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    4.864192] xhci-mtk 11200000.usb: xHCI Host Controller
[    4.869422] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    4.879889] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    4.889049] xhci-mtk 11200000.usb: irq 116, io mem 0x11200000
[    4.894882] xhci-mtk 11200000.usb: xHCI Host Controller
[    4.900098] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    4.907487] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    4.914805] hub 1-0:1.0: USB hub found
[    4.918562] hub 1-0:1.0: 1 port detected
[    4.922694] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    4.930980] hub 2-0:1.0: USB hub found
[    4.934742] hub 2-0:1.0: 1 port detected
[    4.941021] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    4.951040] init: - preinit -
[    5.159477] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[    5.167621] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[    5.187951] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[    5.196807] mt7530-mmio 15020000.switch lan1: Link is Up - 1Gbps/Full - flow control off
[    5.382022] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    5.576121] hub 1-1:1.0: USB hub found
[    5.583760] hub 1-1:1.0: 5 ports detected
[    5.722097] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    5.754610] hub 2-1:1.0: USB hub found
[    5.758521] hub 2-1:1.0: 4 ports detected
[    6.282007] usb 1-1.5: new high-speed USB device number 3 using xhci-mtk
[    6.702011] random: crng init done
[    7.461475] mount_root: overlay filesystem in /dev/fitrw has not been formatted yet
[    8.020262] F2FS-fs (fitrw): Found nat_bits in checkpoint
[    8.031380] F2FS-fs (fitrw): Mounted with checkpoint version = 8f5dc87
[    8.038528] mount_root: overlay filesystem has not been fully initialized yet
[    8.045889] mount_root: switching to f2fs overlay
[    8.052021] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.062800] urandom-seed: Seed file not found (/etc/urandom.seed)
[    8.091615] mt7530-mmio 15020000.switch lan1: Link is Down
[    8.100239] procd: - early -
[    8.103195] procd: - watchdog -
[    8.628127] procd: - watchdog -
[    8.631555] procd: - ubus -
[    8.786428] procd: - init -
[    8.952038] kmodloader: loading kernel modules from /etc/modules.d/*
[    8.975568] pca954x 1-0070: supply vdd not found, using dummy regulator
[    8.982897] i2c i2c-1: Added multiplexed i2c bus 2
[    8.987772] i2c i2c-1: Added multiplexed i2c bus 3
[    8.992639] i2c i2c-1: Added multiplexed i2c bus 4
[    8.997492] i2c i2c-1: Added multiplexed i2c bus 5
[    9.002312] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545
[    9.012586] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff]
[    9.022251] crypto-safexcel 15600000.crypto: failed to get resource
[    9.028506] crypto-safexcel: probe of 15600000.crypto failed with error -16
[    9.038608] at24 2-0050: supply vcc not found, using dummy regulator
[    9.039908] urngd: v1.0.2 started.
[    9.074162] at24 2-0057: supply vcc not found, using dummy regulator
[    9.081109] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    9.088244] Loading modules backported from Linux version v6.11.2-0-g7aa21fec187b
[    9.095724] Backport generated by backports.git v6.1.110-1-32-gc61f71fe0942
[    9.106529] sfp sfp1: Host maximum power 3.0W
[    9.137200] PPP generic driver version 2.4.2
[    9.141923] NET: Registered PF_PPPOX protocol family
[    9.148180] kmodloader: done loading kernel modules from /etc/modules.d/*
[   13.574427] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   13.598007] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   13.606199] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[   13.608294] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[   13.623896] br-lan: port 1(lan1) entered blocking state
[   13.629116] br-lan: port 1(lan1) entered disabled state
[   13.634360] mt7530-mmio 15020000.switch lan1: entered allmulticast mode
[   13.640966] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   13.647887] mt7530-mmio 15020000.switch lan1: entered promiscuous mode
[   13.660248] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[   13.669371] br-lan: port 2(lan2) entered blocking state
[   13.674646] br-lan: port 2(lan2) entered disabled state
[   13.679894] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[   13.686763] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[   13.695982] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[   13.705150] br-lan: port 3(lan3) entered blocking state
[   13.710374] br-lan: port 3(lan3) entered disabled state
[   13.715683] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[   13.722564] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[   13.762346] MediaTek MT7988 2.5GbE PHY mdio-bus:0f: Firmware date code: 0/0/0, version: 0.0
[   13.778766] MediaTek MT7988 2.5GbE PHY mdio-bus:0f: Firmware loading/trigger ok.
[   13.787136] mtk_soc_eth 15100000.ethernet eth1: PHY [mdio-bus:0f] driver [MediaTek MT7988 2.5GbE PHY] (irq=POLL)
[   13.797312] mtk_soc_eth 15100000.ethernet eth1: configuring for phy/internal link mode
[   13.806562] br-lan: port 4(eth1) entered blocking state
[   13.811798] br-lan: port 4(eth1) entered disabled state
[   13.817055] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   13.823954] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   13.833869] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode
[   13.842975] br-wan: port 1(wan) entered blocking state
[   13.848116] br-wan: port 1(wan) entered disabled state
[   13.853270] mt7530-mmio 15020000.switch wan: entered allmulticast mode
[   13.859932] mt7530-mmio 15020000.switch wan: entered promiscuous mode
[   13.869028] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-r link mode
[   13.901198] br-wan: port 2(eth2) entered blocking state
[   13.906459] br-wan: port 2(eth2) entered disabled state
[   13.911703] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode
[   13.918630] mtk_soc_eth 15100000.ethernet eth2: entered promiscuous mode
[   16.101127] mt7530-mmio 15020000.switch wan: Link is Up - 1Gbps/Full - flow control rx/tx
[   16.101705] br-wan: port 1(wan) entered blocking state
[   16.114447] br-wan: port 1(wan) entered forwarding state
[   16.459624] mt7530-mmio 15020000.switch lan1: Link is Up - 1Gbps/Full - flow control off
[   16.460218] br-lan: port 1(lan1) entered blocking state
[   16.472945] br-lan: port 1(lan1) entered forwarding state
[  240.382324] br-lan: port 1(lan1) entered disabled state
[  240.388642] mtk_soc_eth 15100000.ethernet eth1: left allmulticast mode
[  240.395209] mtk_soc_eth 15100000.ethernet eth1: left promiscuous mode
[  240.401715] br-lan: port 4(eth1) entered disabled state```

might be forget to turn on the SW4 on the board, refer to R4 get started for more details.

Also ur board is POE model, have no idea if supported on not yet

1 Like

Use this one. This one has the patch. Danpawlik used his mac80211 patch.
Danpawlik, correct me if I'm wrong.

https://github.com/danpawlik/openwrt-builder/releases/download/Mediatek_mt7988a_bpi-r4_be14_eht-rmadrad-v15-luci-eht-rmadrad-2024-10-08/openwrt-mediatek-filogic-bananapi_bpi-r4-squashfs-sysupgrade.itb

i just disabled to prove the issue is to do with nf_flow_offload ... it hasn't crashed so far

On your latest sysupgrade build i was able to see and connect to 6ghz AX band from mediatek mt7927 on my PC.
Thanks @rmandrad for your work!!!
On AX mode



On BE mode


And BINGO!!! I was able to connect in BE mode widght 320mhz, but download speed is very slow.

3 Likes

SW4 was off. I see all the iw interfaces now. thanks!