BPI-R4: wifi modules recognised by lspci but cannot be used

Hello!

Having the issue with r4: no one wifi module can’t setup for network usage. Tried with mt7922a, ax210 on openwrt(snapshot r26450-6510eb3b5d and official from banana page) and debian, 12V switched off. dmesg logs as pdf is in post attachments. No idea what’s going on…

openwrt_dmesg.html.pdf (281.4 KB)

the ax210 will probably never work, like most ath9k, ath10k etc. - thats a known incompatibility.

i had most luck with mediatek, so i am wondering whats the output with mt7922a. did you compile yourself? did you add the module AND the firmware?

did you compile yourself? did you add the module AND the firmware

Via make menuconfig I chose kmod-mt7922-firmware in wireless drivers. What’s I found by searching 7922:

  │ Symbol: DEFAULT_kmod-mt7922-firmware [=DEFAULT_kmod-mt7922-firmware]                                                                                                                                       │  
  │ Type  : unknown                                                                                                                                                                                            │  
  │                                                                                                                                                                                                            │  
  │                                                                                                                                                                                                            │  
  │ Symbol: DEFAULT_mt7922bt-firmware [=DEFAULT_mt7922bt-firmware]                                                                                                                                             │  
  │ Type  : unknown                                                                                                                                                                                            │  
  │                                                                                                                                                                                                            │  
  │                                                                                                                                                                                                            │  
  │ Symbol: PACKAGE_kmod-mt7922-firmware [=y]                                                                                                                                                                  │  
  │ Type  : tristate                                                                                                                                                                                           │  
  │ Defined at tmp/.config-package.in:23121                                                                                                                                                                    │  
  │   Prompt: kmod-mt7922-firmware............................ MediaTek MT7922 firmware                                                                                                                        │  
  │   Location:                                                                                                                                                                                                │  
  │     -> Kernel modules                                                                                                                                                                                      │  
  │       -> Wireless Drivers                                                                                                                                                                                  │  
  │ (1)     -> kmod-mt7922-firmware............................ MediaTek MT7922 firmware (PACKAGE_kmod-mt7922-firmware [=y])                                                                                   │  
  │ Selects: DRIVER_11AC_SUPPORT [=y] && KERNEL_PAGE_POOL [=y] && PACKAGE_kmod-mac80211 [=y]                                                                                                                   │  
  │                                                                                                                                                                                                            │  
  │                                                                                                                                                                                                            │  
  │ Symbol: PACKAGE_mt7922bt-firmware [=y]                                                                                                                                                                     │  
  │ Type  : tristate                                                                                                                                                                                           │  
  │ Defined at tmp/.config-package.in:10048                                                                                                                                                                    │  
  │   Prompt: mt7922bt-firmware...................................... mt7922bt firmware                                                                                                                        │  
  │   Location:                                                                                                                                                                                                │  
  │     -> Firmware                                                                                                                                                                                            │  
  │ (2)   -> mt7922bt-firmware...................................... mt7922bt firmware (PACKAGE_mt7922bt-firmware [=y])                                                                                        │  
  │ Selects: PACKAGE_libc [=y]  

the ax210 will probably never work, like most ath9k, ath10k etc. - thats a known incompatibility.

Oh, there was no information about incompatibility on R4 homepage :frowning: It makes me sad, because I bought both ax210, be200 and mt7922.

kmod is only the kernel module, its not the firmware. the firmware is located in /lib/firmware and you need the correct one. when you compiled the correct stuff, you should see it in opkg list like:

root@OpenWrt:~# opkg list | grep firmware
eip197-mini-firmware - 20240513-r1
kmod-mt7615-firmware - 6.6.35.2024.05.17~513c131c-r1
kmod-mt7996-firmware - 6.6.35.2024.05.17~513c131c-r1

you can verify that the kernel module is loaded correctly with lsmod, like:

root@OpenWrt:~# lsmod | grep mt
cfg80211              307200  6 mt7996e,mt7915e,mt7615_common,mt76_connac_lib,mt76,mac80211
mac80211              593920  6 mt7996e,mt7915e,mt7615e,mt7615_common,mt76_connac_lib,mt76
mt76                   69632  5 mt7996e,mt7915e,mt7615e,mt7615_common,mt76_connac_lib
mt76_connac_lib        49152  4 mt7996e,mt7915e,mt7615e,mt7615_common
mt7615_common          81920  1 mt7615e
mt7615e                20480  0 
mt7915e               135168  0 
mt7996e               114688  0 
usbcore               188416  4 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd,xhci_hcd
xhci_hcd              131072  3 xhci_plat_hcd,xhci_pci,xhci_mtk_hcd
xhci_mtk_hcd           20480  0

and on the filesystem in /lib/firmware/mediatek like:


root@OpenWrt:~# ls /lib/firmware/mediatek/
mt7615_cr4.bin        mt7615_n9.bin         mt7615_rom_patch.bin  mt7996

if you found the mt package in opkg and in lsmod, it should work. if not, please paste the dmesg

btw.: the cards you ordered are more client-side cards. you can see that they can only have one band and not more than one at the same time, thats why most people go for e.g. the 7615e which can both at the same time (2.4 and 5ghz). and i doubt that those intel cards will ever run on any system other than intel. the be200 and the ax210 are both incompatible even with amd on x86 :X

1 Like

In menuconfig I found only kmod-mt7922-firmware and in /lib/firmware/mediatek/

But my lsmod output is too short :face_with_raised_eyebrow:

root@OpenWrt:~# opkg list | grep firmware
eip197-mini-firmware - 20240513-r1
kmod-mt7922-firmware - 6.6.30.2024.05.17~513c131c-r1
mt7922bt-firmware - 20240513-r1
root@OpenWrt:~# ls /lib/firmware/mediatek/
BT_RAM_CODE_MT7922_1_1_hdr.bin     WIFI_RAM_CODE_MT7922_1.bin
WIFI_MT7922_patch_mcu_1_1_hdr.bin
root@OpenWrt:~# lsmod | grep mt
xhci_mtk_hcd           20480  0
xhci_hcd              131072  3 xhci_mtk_hcd,xhci_pci,xhci_plat_hcd
usbcore               192512  4 xhci_hcd,xhci_mtk_hcd,xhci_pci,xhci_plat_hcd
root@OpenWrt:~# ls /lib/firmware/mediatek/
BT_RAM_CODE_MT7922_1_1_hdr.bin     WIFI_RAM_CODE_MT7922_1.bin
WIFI_MT7922_patch_mcu_1_1_hdr.bin
root@OpenWrt:~# dmesg 
[    0.000000] Booting Linux on physical CPU 0x0000000000 [0x411fd090]
[    0.000000] Linux version 6.6.30 (user@b28f5fbfad8b) (aarch64-openwrt-linux-musl-gcc (OpenWrt GCC 13.3.0 r26450-6510eb3b5d) 13.3.0, GNU ld (GNU Binutils) 2.42) #0 SMP Wed May 29 09:19:08 2024
[    0.000000] Machine model: Bananapi BPI-R4
[    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 s34536 r8192 d31000 u73728
[    0.000000] pcpu-alloc: s34536 r8192 d31000 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 0x00000000fa7b4000-0x00000000fe7b4000] (64MB)
[    0.000000] Memory: 4034432K/4194304K available (8512K kernel code, 894K rwdata, 2504K rodata, 384K init, 287K bss, 159872K 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.002166] Mount-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.002180] Mountpoint-cache hash table entries: 8192 (order: 4, 65536 bytes, linear)
[    0.003671] cacheinfo: Unable to detect cache hierarchy for CPU 0
[    0.003950] RCU Tasks Trace: Setting shift to 2 and lim to 1 rcu_task_cb_adjust=1.
[    0.004028] rcu: Hierarchical SRCU implementation.
[    0.004031] rcu: 	Max phase no-delay instances is 1000.
[    0.004309] smp: Bringing up secondary CPUs ...
[    0.004523] Detected VIPT I-cache on CPU1
[    0.004555] GICv3: CPU1: found redistributor 1 region 0:0x000000000c0a0000
[    0.004575] CPU1: Booted secondary processor 0x0000000001 [0x411fd090]
[    0.004822] Detected VIPT I-cache on CPU2
[    0.004842] GICv3: CPU2: found redistributor 2 region 0:0x000000000c0c0000
[    0.004851] CPU2: Booted secondary processor 0x0000000002 [0x411fd090]
[    0.005081] Detected VIPT I-cache on CPU3
[    0.005101] GICv3: CPU3: found redistributor 3 region 0:0x000000000c0e0000
[    0.005110] CPU3: Booted secondary processor 0x0000000003 [0x411fd090]
[    0.005136] smp: Brought up 1 node, 4 CPUs
[    0.005140] SMP: Total of 4 processors activated.
[    0.005142] CPU features: detected: 32-bit EL0 Support
[    0.005144] CPU features: detected: CRC32 instructions
[    0.005162] spectre-bhb mitigation disabled by compile time option
[    0.005162] spectre-bhb mitigation disabled by compile time option
[    0.005176] CPU features: emulated: Privileged Access Never (PAN) using TTBR0_EL1 switching
[    0.005179] CPU: All CPU(s) started at EL2
[    0.005181] alternatives: applying system-wide alternatives
[    0.008278] clocksource: jiffies: mask: 0xffffffff max_cycles: 0xffffffff, max_idle_ns: 19112604462750000 ns
[    0.008289] futex hash table entries: 1024 (order: 4, 65536 bytes, linear)
[    0.009244] pinctrl core: initialized pinctrl subsystem
[    0.009935] NET: Registered PF_NETLINK/PF_ROUTE protocol family
[    0.010224] DMA: preallocated 512 KiB GFP_KERNEL pool for atomic allocations
[    0.010325] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA pool for atomic allocations
[    0.010419] DMA: preallocated 512 KiB GFP_KERNEL|GFP_DMA32 pool for atomic allocations
[    0.010679] thermal_sys: Registered thermal governor 'fair_share'
[    0.010681] thermal_sys: Registered thermal governor 'bang_bang'
[    0.010683] thermal_sys: Registered thermal governor 'step_wise'
[    0.010685] thermal_sys: Registered thermal governor 'user_space'
[    0.010723] ASID allocator initialised with 65536 entries
[    0.011441] pstore: Using crash dump compression: deflate
[    0.011446] printk: console [ramoops-1] enabled
[    0.011666] pstore: Registered ramoops as persistent store backend
[    0.011671] ramoops: using 0x10000@0x42ff0000, ecc: 0
[    0.018369] Modules: 29584 pages in range for non-PLT usage
[    0.018377] Modules: 521104 pages in range for PLT usage
[    0.019135] cryptd: max_cpu_qlen set to 1000
[    0.020664] SCSI subsystem initialized
[    0.020724] libata version 3.00 loaded.
[    0.021570] clocksource: Switched to clocksource arch_sys_counter
[    0.023294] NET: Registered PF_INET protocol family
[    0.023423] IP idents hash table entries: 65536 (order: 7, 524288 bytes, linear)
[    0.025742] tcp_listen_portaddr_hash hash table entries: 2048 (order: 3, 32768 bytes, linear)
[    0.025765] Table-perturb hash table entries: 65536 (order: 6, 262144 bytes, linear)
[    0.025774] TCP established hash table entries: 32768 (order: 6, 262144 bytes, linear)
[    0.025881] TCP bind hash table entries: 32768 (order: 8, 1048576 bytes, linear)
[    0.026291] TCP: Hash tables configured (established 32768 bind 32768)
[    0.026382] UDP hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.026441] UDP-Lite hash table entries: 2048 (order: 4, 65536 bytes, linear)
[    0.026661] NET: Registered PF_UNIX/PF_LOCAL protocol family
[    0.026706] PCI: CLS 0 bytes, default 64
[    0.027574] workingset: timestamp_bits=46 max_order=20 bucket_order=0
[    0.031210] squashfs: version 4.0 (2009/01/31) Phillip Lougher
[    0.031217] jffs2: version 2.2 (NAND) (SUMMARY) (LZMA) (RTIME) (CMODE_PRIORITY) (c) 2001-2006 Red Hat, Inc.
[    0.049535] jitterentropy: Initialization failed with host not compliant with requirements: 9
[    0.050496] mtk-xsphy soc:xphy@11e10000: failed to get ref_clk(id-1)
[    0.051062] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    0.051083] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    0.051095] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    0.051107] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    0.051197] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    0.051207] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    0.051217] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    0.051226] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    0.051243] /soc/pcie@11290000: Failed to get clk index: 0 ret: -517
[    0.051252] mtk-pcie-gen3 11290000.pcie: failed to get clocks
[    0.051314] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    0.051323] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    0.051331] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    0.051340] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    0.051356] /soc/pcie@11300000: Failed to get clk index: 0 ret: -517
[    0.051363] mtk-pcie-gen3 11300000.pcie: failed to get clocks
[    0.051433] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    0.051443] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    0.051451] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    0.051460] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    0.051474] /soc/pcie@11310000: Failed to get clk index: 0 ret: -517
[    0.051481] mtk-pcie-gen3 11310000.pcie: failed to get clocks
[    0.055933] Serial: 8250/16550 driver, 3 ports, IRQ sharing disabled
[    0.056690] printk: console [ttyS0] disabled
[    0.076954] 11000000.serial: ttyS0 at MMIO 0x11000000 (irq = 99, base_baud = 2500000) is a ST16650V2
[    0.076991] printk: console [ttyS0] enabled
[    0.998936] 11000100.serial: ttyS1 at MMIO 0x11000100 (irq = 100, base_baud = 2500000) is a ST16650V2
[    1.028820] 11000200.serial: ttyS2 at MMIO 0x11000200 (irq = 101, base_baud = 2500000) is a ST16650V2
[    1.040735] loop: module loaded
[    1.045237] spi-nand spi0.0: Winbond SPI NAND was found.
[    1.050552] spi-nand spi0.0: 128 MiB, block size: 128 KiB, page size: 2048, OOB size: 64
[    1.058797] 2 fixed-partitions partitions found on MTD device spi0.0
[    1.065240] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.072123] OF: Bad cell count for /soc/spi@11007000/spi_nand@0/partitions
[    1.079125] Creating 2 MTD partitions on "spi0.0":
[    1.083918] 0x000000000000-0x000000200000 : "bl2"
[    1.090030] 0x000000200000-0x000008000000 : "ubi"
[    1.168248] ubi0: default fastmap pool size: 50
[    1.172784] ubi0: default fastmap WL pool size: 25
[    1.177564] ubi0: attaching mtd1
[    1.994923] ubi0: scanning is finished
[    2.008274] ubi0: attached mtd1 (name "ubi", size 126 MiB)
[    2.013765] ubi0: PEB size: 131072 bytes (128 KiB), LEB size: 126976 bytes
[    2.020628] ubi0: min./max. I/O unit sizes: 2048/2048, sub-page size 2048
[    2.027405] ubi0: VID header offset: 2048 (aligned 2048), data offset: 4096
[    2.034355] ubi0: good PEBs: 1008, bad PEBs: 0, corrupted PEBs: 0
[    2.040436] ubi0: user volume: 3, internal volumes: 1, max. volumes count: 128
[    2.047646] ubi0: max/mean erase counter: 2/0, WL threshold: 4096, image sequence number: 1697192243
[    2.056766] ubi0: available PEBs: 105, total reserved PEBs: 903, PEBs reserved for bad PEB handling: 20
[    2.066151] ubi0: background thread "ubi_bgt0d" started, PID 239
[    2.073774] block ubiblock0_1: created from ubi0:1(rootfs)
[    2.079256] ubiblock: device ubiblock0_1 (rootfs) set to be root filesystem
[    2.212983] i2c_dev: i2c /dev entries driver
[    2.220239] mtk-wdt 1001c000.watchdog: Watchdog enabled (timeout=31 sec, nowayout=0)
[    2.228322] mtk-cpufreq mtk-cpufreq: failed to initialize dvfs info for cpu0
[    2.235852] mtk-msdc 11230000.mmc: Got CD GPIO
[    2.235969] NET: Registered PF_INET6 protocol family
[    2.245728] Segment Routing with IPv6
[    2.249398] In-situ OAM (IOAM) with IPv6
[    2.253347] NET: Registered PF_PACKET protocol family
[    2.258439] 8021q: 802.1Q VLAN Support v1.8
[    2.275019] phy phy-soc:[email protected]: type_sw - reg 0x218, index 0
[    2.282209] mtk-pcie-gen3 11280000.pcie: host bridge /soc/pcie@11280000 ranges:
[    2.289527] mtk-pcie-gen3 11280000.pcie: Parsing ranges property...
[    2.295817] mtk-pcie-gen3 11280000.pcie:       IO 0x0020000000..0x00201fffff -> 0x0020000000
[    2.304260] mtk-pcie-gen3 11280000.pcie:      MEM 0x0020200000..0x0027ffffff -> 0x0020200000
[    2.335797] mmc0: host does not support reading read-only switch, assuming write-enable
[    2.345774] mmc0: new high speed SDHC card at address 0001
[    2.351901] mmcblk0: mmc0:0001 SD16G 14.6 GiB
[    2.361260] Alternate GPT is invalid, using primary GPT.
[    2.367243]  mmcblk0: p1 p2 p3 p4 p5 p6 p7
[    2.661593] mtk-pcie-gen3 11280000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    2.670399] mtk-pcie-gen3: probe of 11280000.pcie failed with error -110
[    2.677439] mtk-pcie-gen3 11290000.pcie: host bridge /soc/pcie@11290000 ranges:
[    2.684756] mtk-pcie-gen3 11290000.pcie: Parsing ranges property...
[    2.691019] mtk-pcie-gen3 11290000.pcie:       IO 0x0028000000..0x00281fffff -> 0x0028000000
[    2.699458] mtk-pcie-gen3 11290000.pcie:      MEM 0x0028200000..0x002fffffff -> 0x0028200000
[    3.041580] mtk-pcie-gen3 11290000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.050362] mtk-pcie-gen3: probe of 11290000.pcie failed with error -110
[    3.057225] mtk-pcie-gen3 11300000.pcie: host bridge /soc/pcie@11300000 ranges:
[    3.064535] mtk-pcie-gen3 11300000.pcie: Parsing ranges property...
[    3.070795] mtk-pcie-gen3 11300000.pcie:       IO 0x0030000000..0x00301fffff -> 0x0030000000
[    3.079231] mtk-pcie-gen3 11300000.pcie:      MEM 0x0030200000..0x0037ffffff -> 0x0030200000
[    3.421585] mtk-pcie-gen3 11300000.pcie: PCIe link down, current LTSSM state: detect.quiet (0x1)
[    3.430364] mtk-pcie-gen3: probe of 11300000.pcie failed with error -110
[    3.437224] mtk-pcie-gen3 11310000.pcie: host bridge /soc/pcie@11310000 ranges:
[    3.444532] mtk-pcie-gen3 11310000.pcie: Parsing ranges property...
[    3.450791] mtk-pcie-gen3 11310000.pcie:       IO 0x0038000000..0x00381fffff -> 0x0038000000
[    3.459223] mtk-pcie-gen3 11310000.pcie:      MEM 0x0038200000..0x003fffffff -> 0x0038200000
[    3.704239] mtk-pcie-gen3 11310000.pcie: set IO trans window[0]: cpu_addr = 0x38000000, pci_addr = 0x38000000, size = 0x200000
[    3.715620] mtk-pcie-gen3 11310000.pcie: set MEM trans window[1]: cpu_addr = 0x38200000, pci_addr = 0x38200000, size = 0x200000
[    3.727085] mtk-pcie-gen3 11310000.pcie: set MEM trans window[2]: cpu_addr = 0x38400000, pci_addr = 0x38400000, size = 0x400000
[    3.738548] mtk-pcie-gen3 11310000.pcie: set MEM trans window[3]: cpu_addr = 0x38800000, pci_addr = 0x38800000, size = 0x800000
[    3.750012] mtk-pcie-gen3 11310000.pcie: set MEM trans window[4]: cpu_addr = 0x39000000, pci_addr = 0x39000000, size = 0x1000000
[    3.761565] mtk-pcie-gen3 11310000.pcie: set MEM trans window[5]: cpu_addr = 0x3a000000, pci_addr = 0x3a000000, size = 0x2000000
[    3.773113] mtk-pcie-gen3 11310000.pcie: set MEM trans window[6]: cpu_addr = 0x3c000000, pci_addr = 0x3c000000, size = 0x4000000
[    3.784896] mtk-pcie-gen3 11310000.pcie: PCI host bridge to bus 0001:00
[    3.791501] pci_bus 0001:00: root bus resource [bus 00-ff]
[    3.796983] pci_bus 0001:00: root bus resource [io  0x600000-0x7fffff] (bus address [0x38000000-0x381fffff])
[    3.806799] pci_bus 0001:00: root bus resource [mem 0x38200000-0x3fffffff]
[    3.813663] pci_bus 0001:00: scanning bus
[    3.817683] pci 0001:00:00.0: [14c3:7988] type 01 class 0x060400
[    3.823696] pci 0001:00:00.0: reg 0x10: [mem 0x00000000-0x00007fff 64bit]
[    3.830533] pci 0001:00:00.0: PME# supported from D0 D3hot D3cold
[    3.836619] pci 0001:00:00.0: PME# disabled
[    3.841935] pci_bus 0001:00: fixups for bus
[    3.846109] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 0
[    3.852801] pci 0001:00:00.0: bridge configuration invalid ([bus 00-00]), reconfiguring
[    3.860797] pci 0001:00:00.0: scanning [bus 00-00] behind bridge, pass 1
[    3.867536] pci_bus 0001:01: scanning bus
[    3.871559] pci 0001:01:00.0: [14c3:0616] type 00 class 0x028000
[    3.877580] pci 0001:01:00.0: reg 0x10: [mem 0x00000000-0x000fffff 64bit pref]
[    3.884807] pci 0001:01:00.0: reg 0x18: [mem 0x00000000-0x00007fff 64bit]
[    3.891702] pci 0001:01:00.0: PME# supported from D0 D3hot D3cold
[    3.897787] pci 0001:01:00.0: PME# disabled
[    3.931609] pci_bus 0001:01: fixups for bus
[    3.935782] pci_bus 0001:01: bus scan returning with max=01
[    3.941342] pci_bus 0001:01: busn_res: [bus 01-ff] end is updated to 01
[    3.947954] pci_bus 0001:00: bus scan returning with max=01
[    3.953529] pci 0001:00:00.0: BAR 8: assigned [mem 0x38200000-0x382fffff]
[    3.960307] pci 0001:00:00.0: BAR 9: assigned [mem 0x38300000-0x383fffff 64bit pref]
[    3.968040] pci 0001:00:00.0: BAR 0: assigned [mem 0x38400000-0x38407fff 64bit]
[    3.975346] pci 0001:01:00.0: BAR 0: assigned [mem 0x38300000-0x383fffff 64bit pref]
[    3.983090] pci 0001:01:00.0: BAR 2: assigned [mem 0x38200000-0x38207fff 64bit]
[    3.990397] pci 0001:00:00.0: PCI bridge to [bus 01]
[    3.995356] pci 0001:00:00.0:   bridge window [mem 0x38200000-0x382fffff]
[    4.002134] pci 0001:00:00.0:   bridge window [mem 0x38300000-0x383fffff 64bit pref]
[    4.009873] pci 0001:00:00.0: Max Payload Size set to  256/ 256 (was  128), Max Read Rq  256
[    4.018317] pci 0001:01:00.0: Max Payload Size set to  128/ 128 (was  128), Max Read Rq  128
[    4.026824] pcieport 0001:00:00.0: assign IRQ: got 112
[    4.031961] pcieport 0001:00:00.0: enabling device (0000 -> 0002)
[    4.038051] pcieport 0001:00:00.0: enabling bus mastering
[    4.043818] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[    4.052257] mtk-pcie-gen3 11310000.pcie: msi#0x1 address_hi 0x0 address_lo 0x11310c00 data 1
[    4.060683] mtk-pcie-gen3 11310000.pcie: msi#0x2 address_hi 0x0 address_lo 0x11310c00 data 2
[    4.069110] mtk-pcie-gen3 11310000.pcie: msi#0x3 address_hi 0x0 address_lo 0x11310c00 data 3
[    4.077537] mtk-pcie-gen3 11310000.pcie: msi#0x4 address_hi 0x0 address_lo 0x11310c00 data 4
[    4.085963] mtk-pcie-gen3 11310000.pcie: msi#0x5 address_hi 0x0 address_lo 0x11310c00 data 5
[    4.094390] mtk-pcie-gen3 11310000.pcie: msi#0x6 address_hi 0x0 address_lo 0x11310c00 data 6
[    4.102815] mtk-pcie-gen3 11310000.pcie: msi#0x7 address_hi 0x0 address_lo 0x11310c00 data 7
[    4.111240] mtk-pcie-gen3 11310000.pcie: msi#0x8 address_hi 0x0 address_lo 0x11310c00 data 8
[    4.119666] mtk-pcie-gen3 11310000.pcie: msi#0x9 address_hi 0x0 address_lo 0x11310c00 data 9
[    4.128091] mtk-pcie-gen3 11310000.pcie: msi#0xa address_hi 0x0 address_lo 0x11310c00 data 10
[    4.136604] mtk-pcie-gen3 11310000.pcie: msi#0xb address_hi 0x0 address_lo 0x11310c00 data 11
[    4.145117] mtk-pcie-gen3 11310000.pcie: msi#0xc address_hi 0x0 address_lo 0x11310c00 data 12
[    4.153633] mtk-pcie-gen3 11310000.pcie: msi#0xd address_hi 0x0 address_lo 0x11310c00 data 13
[    4.162146] mtk-pcie-gen3 11310000.pcie: msi#0xe address_hi 0x0 address_lo 0x11310c00 data 14
[    4.170656] mtk-pcie-gen3 11310000.pcie: msi#0xf address_hi 0x0 address_lo 0x11310c00 data 15
[    4.179171] mtk-pcie-gen3 11310000.pcie: msi#0x10 address_hi 0x0 address_lo 0x11310c00 data 16
[    4.187771] mtk-pcie-gen3 11310000.pcie: msi#0x11 address_hi 0x0 address_lo 0x11310c00 data 17
[    4.196371] mtk-pcie-gen3 11310000.pcie: msi#0x12 address_hi 0x0 address_lo 0x11310c00 data 18
[    4.204971] mtk-pcie-gen3 11310000.pcie: msi#0x13 address_hi 0x0 address_lo 0x11310c00 data 19
[    4.213572] mtk-pcie-gen3 11310000.pcie: msi#0x14 address_hi 0x0 address_lo 0x11310c00 data 20
[    4.222172] mtk-pcie-gen3 11310000.pcie: msi#0x15 address_hi 0x0 address_lo 0x11310c00 data 21
[    4.230770] mtk-pcie-gen3 11310000.pcie: msi#0x16 address_hi 0x0 address_lo 0x11310c00 data 22
[    4.239370] mtk-pcie-gen3 11310000.pcie: msi#0x17 address_hi 0x0 address_lo 0x11310c00 data 23
[    4.247969] mtk-pcie-gen3 11310000.pcie: msi#0x18 address_hi 0x0 address_lo 0x11310c00 data 24
[    4.256569] mtk-pcie-gen3 11310000.pcie: msi#0x19 address_hi 0x0 address_lo 0x11310c00 data 25
[    4.265170] mtk-pcie-gen3 11310000.pcie: msi#0x1a address_hi 0x0 address_lo 0x11310c00 data 26
[    4.273769] mtk-pcie-gen3 11310000.pcie: msi#0x1b address_hi 0x0 address_lo 0x11310c00 data 27
[    4.282369] mtk-pcie-gen3 11310000.pcie: msi#0x1c address_hi 0x0 address_lo 0x11310c00 data 28
[    4.290966] mtk-pcie-gen3 11310000.pcie: msi#0x1d address_hi 0x0 address_lo 0x11310c00 data 29
[    4.299566] mtk-pcie-gen3 11310000.pcie: msi#0x1e address_hi 0x0 address_lo 0x11310c00 data 30
[    4.308166] mtk-pcie-gen3 11310000.pcie: msi#0x1f address_hi 0x0 address_lo 0x11310c00 data 31
[    4.317188] mtk-pcie-gen3 11310000.pcie: msi#0x0 address_hi 0x0 address_lo 0x11310c00 data 0
[    4.325687] pcieport 0001:00:00.0: PME: Signaling with IRQ 113
[    4.331640] pcieport 0001:00:00.0: AER: enabled with IRQ 113
[    4.337333] pcieport 0001:00:00.0: save config 0x00: 0x798814c3
[    4.343274] pcieport 0001:00:00.0: save config 0x04: 0x00100406
[    4.349183] pcieport 0001:00:00.0: save config 0x08: 0x06040001
[    4.355094] pcieport 0001:00:00.0: save config 0x0c: 0x00010000
[    4.361002] pcieport 0001:00:00.0: save config 0x10: 0x38400004
[    4.366912] pcieport 0001:00:00.0: save config 0x14: 0x00000000
[    4.372823] pcieport 0001:00:00.0: save config 0x18: 0x00010100
[    4.378730] pcieport 0001:00:00.0: save config 0x1c: 0x000001f1
[    4.384643] pcieport 0001:00:00.0: save config 0x20: 0x38203820
[    4.390551] pcieport 0001:00:00.0: save config 0x24: 0x38313831
[    4.396461] pcieport 0001:00:00.0: save config 0x28: 0x00000000
[    4.402371] pcieport 0001:00:00.0: save config 0x2c: 0x00000000
[    4.408279] pcieport 0001:00:00.0: save config 0x30: 0x00000000
[    4.414188] pcieport 0001:00:00.0: save config 0x34: 0x00000080
[    4.420095] pcieport 0001:00:00.0: save config 0x38: 0x00000000
[    4.426005] pcieport 0001:00:00.0: save config 0x3c: 0x00020170
[    4.432806] FIT: Detected U-Boot 2024.01-OpenWrt-r26450-6510eb3b5d
[    4.438980] FIT: Selected configuration: "config-mt7988a-bananapi-bpi-r4" (OpenWrt bananapi_bpi-r4)
[    4.448027] FIT:           kernel sub-image 0x00001000..0x00561783 "kernel-1" (ARM64 OpenWrt Linux-6.6.30) 
[    4.457763] FIT:          flat_dt sub-image 0x00562000..0x0056c921 "fdt-1" (ARM64 OpenWrt bananapi_bpi-r4 device tree blob) 
[    4.468974] FIT:          flat_dt sub-image 0x0056d000..0x0056d611 "fdt-mt7988a-bananapi-bpi-r4-emmc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-emmc) 
[    4.485304] FIT:          flat_dt sub-image 0x0056e000..0x0056e11c "fdt-mt7988a-bananapi-bpi-r4-rtc" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-rtc) 
[    4.501460] FIT:          flat_dt sub-image 0x0056f000..0x0056f5c9 "fdt-mt7988a-bananapi-bpi-r4-sd" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-sd) 
[    4.517445] FIT:          flat_dt sub-image 0x00570000..0x005708eb "fdt-mt7988a-bananapi-bpi-r4-wifi-mt7996a" (ARM64 OpenWrt bananapi_bpi-r4 device tree overlay mt7988a-bananapi-bpi-r4-wifi-mt7996a) 
[    4.535160] FIT:       filesystem sub-image 0x00571000..0x01088fff "rootfs-1" (ARM64 OpenWrt bananapi_bpi-r4 rootfs) 
[    4.546007] block mmcblk0p7: mapped 1 uImage.FIT filesystem sub-image as /dev/fit0
[    4.553758] block mmcblk0p7: mapped remaing space as /dev/fitrw
[    4.683088] mtk_soc_eth 15100000.ethernet: generated random MAC address 65:74:68:25:64:00
[    4.693466] mtk_soc_eth 15100000.ethernet eth0: mediatek frame engine at 0xffffffc082600000, irq 103
[    4.703164] mtk_soc_eth 15100000.ethernet eth1: mediatek frame engine at 0xffffffc082600000, irq 103
[    4.712822] mtk_soc_eth 15100000.ethernet eth2: mediatek frame engine at 0xffffffc082600000, irq 103
[    4.804365] mt7530-mmio 15020000.switch: configuring for fixed/internal link mode
[    4.811874] mt7530-mmio 15020000.switch: Link is Up - 10Gbps/Full - flow control rx/tx
[    4.836029] mt7530-mmio 15020000.switch wan (uninitialized): PHY [mt7530-0:00] driver [MediaTek MT7988 PHY] (irq=115)
[    4.871327] mt7530-mmio 15020000.switch lan1 (uninitialized): PHY [mt7530-0:01] driver [MediaTek MT7988 PHY] (irq=116)
[    4.906610] mt7530-mmio 15020000.switch lan2 (uninitialized): PHY [mt7530-0:02] driver [MediaTek MT7988 PHY] (irq=117)
[    4.941883] mt7530-mmio 15020000.switch lan3 (uninitialized): PHY [mt7530-0:03] driver [MediaTek MT7988 PHY] (irq=118)
[    4.952867] mtk_soc_eth 15100000.ethernet eth0: entered promiscuous mode
[    4.959576] DSA: tree 0 setup
[    4.963150] UBI: auto-attach mtd1
[    4.966458] ubi: mtd1 is already attached to ubi0
[    4.971151] UBI error: cannot attach mtd1
[    4.975224] clk: Disabling unused clocks
[    4.984457] VFS: Mounted root (squashfs filesystem) readonly on device 259:0.
[    4.991679] Freeing unused kernel memory: 384K
[    4.996157] Run /sbin/init as init process
[    5.000242]   with arguments:
[    5.003203]     /sbin/init
[    5.005899]   with environment:
[    5.009028]     HOME=/
[    5.011376]     TERM=linux
[    5.130591] init: Console is alive
[    5.134097] init: - watchdog -
[    5.370541] kmodloader: loading kernel modules from /etc/modules-boot.d/*
[    5.387607] usbcore: registered new interface driver usbfs
[    5.393164] usbcore: registered new interface driver hub
[    5.398495] usbcore: registered new device driver usb
[    5.404136] gpio_button_hotplug: loading out-of-tree module taints kernel.
[    5.413973] xhci-mtk 11200000.usb: supply vbus not found, using dummy regulator
[    5.421357] xhci-mtk 11200000.usb: supply vusb33 not found, using dummy regulator
[    5.429305] xhci-mtk 11200000.usb: xHCI Host Controller
[    5.434538] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 1
[    5.444973] xhci-mtk 11200000.usb: hcc params 0x01403f99 hci version 0x110 quirks 0x0000000000200010
[    5.454208] xhci-mtk 11200000.usb: irq 119, io mem 0x11200000
[    5.460002] xhci-mtk 11200000.usb: xHCI Host Controller
[    5.465224] xhci-mtk 11200000.usb: new USB bus registered, assigned bus number 2
[    5.472612] xhci-mtk 11200000.usb: Host supports USB 3.2 Enhanced SuperSpeed
[    5.479951] hub 1-0:1.0: USB hub found
[    5.483724] hub 1-0:1.0: 1 port detected
[    5.487825] usb usb2: We don't know the algorithms for LPM for this host, disabling LPM.
[    5.496160] hub 2-0:1.0: USB hub found
[    5.499914] hub 2-0:1.0: 1 port detected
[    5.506163] kmodloader: done loading kernel modules from /etc/modules-boot.d/*
[    5.516165] init: - preinit -
[    5.725517] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[    5.733677] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[    5.782575] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[    5.891641] usb 2-1: new SuperSpeed USB device number 2 using xhci-mtk
[    5.924508] hub 2-1:1.0: USB hub found
[    5.928416] hub 2-1:1.0: 4 ports detected
[    6.071575] usb 1-1: new high-speed USB device number 2 using xhci-mtk
[    6.253885] hub 1-1:1.0: USB hub found
[    6.257765] hub 1-1:1.0: 5 ports detected
[    7.001579] usb 1-1.2: new high-speed USB device number 3 using xhci-mtk
[    7.081576] random: crng init done
[    7.281572] usb 1-1.5: new high-speed USB device number 4 using xhci-mtk
[    8.167017] F2FS-fs (fitrw): Disable nat_bits due to incorrect cp_ver (3784384522500363945, 10237275604284003999)
[    8.181088] F2FS-fs (fitrw): Mounted with checkpoint version = 351ed6a9
[    8.189631] mount_root: switching to f2fs overlay
[    8.196236] overlayfs: null uuid detected in lower fs '/', falling back to xino=off,index=off,nfs_export=off.
[    8.208169] urandom-seed: Seeding with /etc/urandom.seed
[    8.245712] procd: - early -
[    8.248634] procd: - watchdog -
[    8.783618] procd: - watchdog -
[    8.792033] procd: - ubus -
[    8.945580] procd: - init -
[    9.118821] kmodloader: loading kernel modules from /etc/modules.d/*
[    9.136559] pca954x 1-0070: supply vdd not found, using dummy regulator
[    9.143789] i2c i2c-1: Added multiplexed i2c bus 2
[    9.148649] i2c i2c-1: Added multiplexed i2c bus 3
[    9.153518] i2c i2c-1: Added multiplexed i2c bus 4
[    9.158365] i2c i2c-1: Added multiplexed i2c bus 5
[    9.163159] pca954x 1-0070: registered 4 multiplexed busses for I2C switch pca9545
[    9.173346] crypto-safexcel 15600000.crypto: can't request region for resource [mem 0x15600000-0x1577ffff]
[    9.183017] crypto-safexcel 15600000.crypto: failed to get resource
[    9.189272] crypto-safexcel: probe of 15600000.crypto failed with error -16
[    9.199191] at24 2-0050: supply vcc not found, using dummy regulator
[    9.218491] urngd: v1.0.2 started.
[    9.233492] at24 2-0057: supply vcc not found, using dummy regulator
[    9.240402] at24 2-0057: 256 byte 24c02 EEPROM, writable, 1 bytes/write
[    9.250594] sfp sfp1: Host maximum power 3.0W
[    9.255483] sfp sfp2: Host maximum power 3.0W
[    9.270984] PPP generic driver version 2.4.2
[    9.275848] NET: Registered PF_PPPOX protocol family
[    9.282141] kmodloader: done loading kernel modules from /etc/modules.d/*
[   10.751709] mtk_soc_eth 15100000.ethernet eth0: Link is Down
[   10.763674] mtk_soc_eth 15100000.ethernet eth0: configuring for fixed/internal link mode
[   10.771843] mtk_soc_eth 15100000.ethernet eth0: Link is Up - 10Gbps/Full - flow control rx/tx
[   10.775437] mt7530-mmio 15020000.switch lan1: configuring for phy/internal link mode
[   10.788514] br-lan: port 1(lan1) entered blocking state
[   10.793803] br-lan: port 1(lan1) entered disabled state
[   10.799055] mt7530-mmio 15020000.switch lan1: entered allmulticast mode
[   10.805697] mtk_soc_eth 15100000.ethernet eth0: entered allmulticast mode
[   10.812712] mt7530-mmio 15020000.switch lan1: entered promiscuous mode
[   10.824052] mt7530-mmio 15020000.switch lan2: configuring for phy/internal link mode
[   10.832580] br-lan: port 2(lan2) entered blocking state
[   10.837819] br-lan: port 2(lan2) entered disabled state
[   10.843145] mt7530-mmio 15020000.switch lan2: entered allmulticast mode
[   10.849979] mt7530-mmio 15020000.switch lan2: entered promiscuous mode
[   10.859716] mt7530-mmio 15020000.switch lan3: configuring for phy/internal link mode
[   10.867813] br-lan: port 3(lan3) entered blocking state
[   10.873071] br-lan: port 3(lan3) entered disabled state
[   10.878314] mt7530-mmio 15020000.switch lan3: entered allmulticast mode
[   10.885165] mt7530-mmio 15020000.switch lan3: entered promiscuous mode
[   10.893328] mtk_soc_eth 15100000.ethernet eth1: configuring for inband/10gbase-r link mode
[   10.925536] br-lan: port 4(eth1) entered blocking state
[   10.930775] br-lan: port 4(eth1) entered disabled state
[   10.936051] mtk_soc_eth 15100000.ethernet eth1: entered allmulticast mode
[   10.942995] mtk_soc_eth 15100000.ethernet eth1: entered promiscuous mode
[   10.952454] mt7530-mmio 15020000.switch wan: configuring for phy/internal link mode
[   10.961119] br-wan: port 1(wan) entered blocking state
[   10.966312] br-wan: port 1(wan) entered disabled state
[   10.971474] mt7530-mmio 15020000.switch wan: entered allmulticast mode
[   10.978238] mt7530-mmio 15020000.switch wan: entered promiscuous mode
[   10.987305] mtk_soc_eth 15100000.ethernet eth2: configuring for inband/10gbase-r link mode
[   11.020055] br-wan: port 2(eth2) entered blocking state
[   11.025317] br-wan: port 2(eth2) entered disabled state
[   11.030566] mtk_soc_eth 15100000.ethernet eth2: entered allmulticast mode
[   11.037527] mtk_soc_eth 15100000.ethernet eth2: entered promiscuous mode
[   13.976914] mt7530-mmio 15020000.switch lan2: Link is Up - 1Gbps/Full - flow control rx/tx
[   13.985593] br-lan: port 2(lan2) entered blocking state
[   13.990811] br-lan: port 2(lan2) entered forwarding state

try to locate the .ko and load it with modprobe, then paste the output

the .ko should be somewhere in /lib/modules/$KERNEL, like /lib/modules/6.6.35/mt7996e.ko, then modprobe mt7996e

There is no mt*.ko file

root@OpenWrt:/lib/modules/6.6.30# ls -1 | grep mt
xhci-mtk-hcd.ko
root@OpenWrt:/lib/modules/6.6.30# ls -1 | grep 7922
root@OpenWrt:/lib/modules/6.6.30# 

then it cant work. do a ./scripts/diffconfig.sh and paste the output. are you 100% sure you built the image, flashed it and booted it?

user@9c574d9b3253:~/openwrt_source$ ./scripts/diffconfig.sh
CONFIG_TARGET_mediatek=y
CONFIG_TARGET_mediatek_filogic=y
CONFIG_TARGET_mediatek_filogic_DEVICE_bananapi_bpi-r4=y
# CONFIG_DRIVER_11AX_SUPPORT is not set
CONFIG_HTOP_LMSENSORS=y
CONFIG_LIBSSH2_OPENSSL=y
CONFIG_MC_CHARSET=y
CONFIG_MC_EDITOR=y
CONFIG_MC_SUBSHELL=y
CONFIG_MC_VFS=y
CONFIG_OPENSSL_ENGINE=y
CONFIG_OPENSSL_WITH_ASM=y
CONFIG_OPENSSL_WITH_CHACHA_POLY1305=y
CONFIG_OPENSSL_WITH_CMS=y
CONFIG_OPENSSL_WITH_DEPRECATED=y
CONFIG_OPENSSL_WITH_ERROR_MESSAGES=y
CONFIG_OPENSSL_WITH_IDEA=y
CONFIG_OPENSSL_WITH_MDC2=y
CONFIG_OPENSSL_WITH_PSK=y
CONFIG_OPENSSL_WITH_SEED=y
CONFIG_OPENSSL_WITH_SRP=y
CONFIG_OPENSSL_WITH_TLS13=y
CONFIG_OPENSSL_WITH_WHIRLPOOL=y
CONFIG_PACKAGE_btop=y
CONFIG_PACKAGE_cgi-io=y
CONFIG_PACKAGE_dmesg=y
CONFIG_PACKAGE_glib2=y
CONFIG_PACKAGE_grep=y
CONFIG_PACKAGE_htop=y
CONFIG_PACKAGE_hwinfo=y
CONFIG_PACKAGE_jq=y
CONFIG_PACKAGE_kmod=y
CONFIG_PACKAGE_kmod-fs-squashfs=y
CONFIG_PACKAGE_kmod-mt7922-firmware=y
# CONFIG_PACKAGE_kmod-mt7996-firmware is not set
# CONFIG_PACKAGE_kmod-mt7996e is not set
CONFIG_PACKAGE_libattr=y
CONFIG_PACKAGE_libffi=y
CONFIG_PACKAGE_libkmod=y
CONFIG_PACKAGE_liblucihttp=y
CONFIG_PACKAGE_liblucihttp-ucode=y
CONFIG_PACKAGE_libmount=y
CONFIG_PACKAGE_libncurses=y
CONFIG_PACKAGE_libnl=y
CONFIG_PACKAGE_libnl-cli=y
CONFIG_PACKAGE_libnl-core=y
CONFIG_PACKAGE_libnl-genl=y
CONFIG_PACKAGE_libnl-nf=y
CONFIG_PACKAGE_libnl-route=y
CONFIG_PACKAGE_libopenssl=y
CONFIG_PACKAGE_libpci=y
CONFIG_PACKAGE_libpcre2=y
CONFIG_PACKAGE_libssh2=y
CONFIG_PACKAGE_libstdcpp=y
CONFIG_PACKAGE_luci=y
CONFIG_PACKAGE_luci-app-firewall=y
CONFIG_PACKAGE_luci-app-opkg=y
CONFIG_PACKAGE_luci-base=y
CONFIG_PACKAGE_luci-light=y
CONFIG_PACKAGE_luci-mod-admin-full=y
CONFIG_PACKAGE_luci-mod-network=y
CONFIG_PACKAGE_luci-mod-status=y
CONFIG_PACKAGE_luci-mod-system=y
CONFIG_PACKAGE_luci-proto-ipv6=y
CONFIG_PACKAGE_luci-proto-ppp=y
CONFIG_PACKAGE_luci-theme-bootstrap=y
CONFIG_PACKAGE_mc=y
CONFIG_PACKAGE_mt7922bt-firmware=y
CONFIG_PACKAGE_pciids=y
CONFIG_PACKAGE_pciutils=y
CONFIG_PACKAGE_rpcd=y
CONFIG_PACKAGE_rpcd-mod-file=y
CONFIG_PACKAGE_rpcd-mod-iwinfo=y
CONFIG_PACKAGE_rpcd-mod-luci=y
CONFIG_PACKAGE_rpcd-mod-rrdns=y
CONFIG_PACKAGE_rpcd-mod-ucode=y
CONFIG_PACKAGE_sed=y
CONFIG_PACKAGE_terminfo=y
# CONFIG_PACKAGE_trusted-firmware-a-mt7981-ram-ddr3 is not set
# CONFIG_PACKAGE_trusted-firmware-a-mt7981-ram-ddr4 is not set
# CONFIG_PACKAGE_trusted-firmware-a-mt7986-ram-ddr3 is not set
# CONFIG_PACKAGE_trusted-firmware-a-mt7986-ram-ddr4 is not set
CONFIG_PACKAGE_ucode-mod-html=y
CONFIG_PACKAGE_ucode-mod-math=y
CONFIG_PACKAGE_uhttpd=y
CONFIG_PACKAGE_uhttpd-mod-ubus=y
CONFIG_PACKAGE_which=y
CONFIG_PACKAGE_wireless-tools=y
CONFIG_PACKAGE_wpan-tools=y
CONFIG_PACKAGE_zlib=y
# CONFIG_SECCOMP is not set
CONFIG_TARGET_ROOTFS_TARGZ=y
user@9c574d9b3253:~/openwrt_source$ 

I built the image (located in ./bin/targets/mediatek/filogic/openwrt-mediatek-filogic-bananapi_bpi-r4-sdcard.img.gz) and flashed sd card via dd.

Afair mt7922 is handles by mt7921e module…so enable this in config and load the module

You need a driver (the kernel module) and the matching firmware. You selected only the firmware in your config but no driver. As @frank_w mentioned, seems like mt7921e is the correct module: [Solved] No WiFi with the Mediatek MT7922 adapter and MT7921e driver / Kernel & Hardware / Arch Linux Forums

@frank-w @oli

I enabled kmod-mt7921e and it seems working! It’s not obvious to select mt7921e for mt7922 :smiling_face_with_tear:

After boot ifconfig showed no AP, but in LUCI turned on wifi and ifconfig shows phy0-ap0

And I can see OpenWrt wireless network in wifi list. Name phy0-ap0 is right? Do I have to setup something else?

My openwrt-mediatek-filogic-bananapi_bpi-r4.manifest (6.2 KB) FYI

you need to set up wireless now. there are some guides in openwrt documentation. i would recommend ask there. like [OpenWrt Wiki] Enabling a Wi-Fi access point on OpenWrt

Ack

Found this while quick googling for “mt7922 linux” :slight_smile:

I guess it is because of the 2 chips sharing much code and so it was easier to add mt7922 to mt7921…maybe rename the option to mt792Xe,but this will break out-of-tree defconfigs. This was done for mt798X wmac driver…

Just happend to see this and I actually have the mpcie AX210 running on Banana pi R4 :slight_smile:

Only 2.4GHz is working as AP, but that is a well-known Intel limitation.

Thanks, this saved my bacon!