Mediatek RZ616 Wi-Fi 6E 160MH // WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2 PowerPC P1010RDB-PB
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
Hi,
I recently got a now obsolete Sophos RED15w with a minipci slot, and thought, since it has 128 MB Nand 512 MB Ram and Gigabit combined with an P1010E CPU it should be fun to replace the old minipci card with a Mediatek MT7922 AX Card (and an adapter off course) to make use as a AX Accesspoint with Openwrt.
But, it ain't so easy as I expected.
First I tried 23.05 for this, selected the mt7921e driver and the firmware for the mt7922, build uploaded it and got an error like
mt7921e a000:01:00.0: Direct firmware load for mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin failed with error -2
[ 10.245053] mt7921e a000:01:00.0: Falling back to sysfs fallback for: mediatek/WIFI_MT7922_patch_mcu_1_1_hdr.bin
when the driver tries to upload the firmware.
I then found this site on the internet which pulls the latest firmware images directly, but that had no effect either
[(https://mans0n.github.io/2023/01/24/diy-6ghz-ap/#MT7922)]
After that, I checked out the master branch of openwrt, compiled and flashed it again, but there is not much of a change.
The device is correctly shown on the pci bus, as well on the linux side as on the u-boot side as well:
01:00.0 - 14c3:0616 - Network controller
Here is the full dmesg output ot the boot via serial terminal)
Is this a problem with the CPU/platform or do I miss something totaly obvious here?
I found a couple of stories with the same wifi card combined with x86 openwrt systems and they didn't seem to have any issues at all.
Thanks for your time and your work! Really appreciated.
Cheers
4920441
Contributor guide
No contributing guide indexed for this repository
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Start with the attached full dmesg output and the mt7921e firmware-loading path, using PCI ID 14c3:0616 and the requested firmware filename as anchors. Compare the 23.05 and master behavior on the PowerPC P1010RDB-PB platform, then determine whether the failure is platform support, firmware packaging, or loading. Done means the cause and a reproducible fix or required limitation are documented.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c, linux
- Domain
- embedded-iot, networking, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100