MT7925 error -12

root@OpenWrt:~# dmesg | grep mt79
[ 10.418958] mt7925e 0000:01:00.0: enabling device (0000 -> 0002)
[ 10.447395] mt7925e 0000:01:00.0: ASIC revision: 79250000
[ 10.538220] mt7925e: probe of 0000:01:00.0 failed with error -12

i have installed the drivers

root@OpenWrt:~# ls -l /lib/firmware/mediatek/mt7925/
-rw-r--r-- 1 root root 212192 Apr 17 16:48 WIFI_MT7925_PATCH_MCU_1_1_hdr.bin
-rw-r--r-- 1 root root 1204648 Apr 17 16:44 WIFI_RAM_CODE_MT7925_1_1.bin

root@OpenWrt:~# lspci
0000:01:00.0 Network controller: MEDIATEK Corp. Device 7925 (rev 02)

is there any reason this isn't working?

Please connect to your OpenWrt device using ssh and copy the output of the following commands and post it here using the "Preformatted text </> " button:
grafik
Remember to redact passwords, MAC addresses and any public IP addresses you may have:

ubus call system board
lspci
cat /etc/config/wireless
root@OpenWrt:~# ubus call system board
{
        "kernel": "6.6.86",
        "hostname": "OpenWrt",
        "system": "ARMv8 Processor rev 1",
        "model": "Raspberry Pi 5 Model B Rev 1.0",
        "board_name": "raspberrypi,5-model-b",
        "rootfs_type": "ext4",
        "release": {
                "distribution": "OpenWrt",
                "version": "24.10.1",
                "revision": "r28597-0425664679",
                "target": "bcm27xx/bcm2712",
                "description": "OpenWrt 24.10.1 r28597-0425664679",
                "builddate": "1744562312"
        }
}
root@OpenWrt:~# lspci
0000:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0000:01:00.0 Network controller: MEDIATEK Corp. Device 7925 (rev 02)
0001:00:00.0 PCI bridge: Broadcom Inc. and subsidiaries BCM2712 PCIe Bridge (rev 21)
0001:01:00.0 Ethernet controller: Raspberry Pi Ltd RP1 PCIe 2.0 South Bridge
root@OpenWrt:~# cat /etc/config/wireless

You could say i am being adventurous, but i don't see why this wouldn't work.

Insufficient power, would be my guess.

well, Jeff Geerling made a video on pi-fi 7 and that seemed to work?

anyways i updated my config.txt to the follow and still happens

dtparam=pciex1

dtparam=pciex1_gen=3
dtparam=pciex1_force_power_on=1

dtoverlay=pciex1-5v

Insufficient address space?

makes sense, but any way to actually check if that's the issue?

Ertno 12 == ENOMEM
no idea how to check, bit if there is a dts parameter or overlay adding pci space try that, even if it fails maybe you get other error indication

I posted this same issue onto r/openwrt subreddit and someone else was having the same issue with the mt7925...so umm.

Add dtoverlay=pcie-32bit-dma-pi5 in /boot/config.txt

2 Likes

This topic was automatically closed 10 days after the last reply. New replies are no longer allowed.