mt7622 not initializing on ax6s
Nobody has claimed this yet.
- Dominant language
- C
- Stars
- 888
- Forks
- 436
- PR merge metrics
- No merged PRs in 30d
Description
I have two redmi ax6s routers. Both are the same model and series (serial number is different for only two last digits). I've flashed both to openwrt. One works fine, second have a problem with mt7622 driver. I see in logs:
[ 29.286174] mt7622-wmac 18000000.wmac: Message 00000010 (seq 1) timeout
[ 29.292810] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 29.516425] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 29.736309] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 29.956281] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 30.176289] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 30.396317] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 30.616376] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 30.836325] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 31.056280] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 31.276277] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
[ 31.496279] mt7622-wmac 18000000.wmac: Failed to get patch semaphore
After this i can't up wlan0 interface - got i/o error.
But on the second router mt7622 initializes fine:
[ 8.552796] mt7622-wmac 18000000.wmac: HW/SW Version: 0x8a108a10, Build Time: 20190801210006a
[ 8.669194] mt7622-wmac 18000000.wmac: N9 Firmware Version: reserved, Build Time: 20220630094834
On the stock redmi firmware both routers works fine with 2.4ghz.
I've tried different builds of openwrt - but no luck.
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
The payload names no source file or test. Begin by comparing the failing and working mt7622-wmac initialization logs and investigating the repeated patch-semaphore timeout; done means the affected router initializes the driver and wlan0 can be brought up without an I/O error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- c
- Domain
- embedded-iot, operating-systems
- Issue type
- Bug
- Difficulty
- 4/5
- Estimated time
- 3-5 days
- Activity status
- Stale
- Clarity
- Needs clarification
- Newbie friendliness
- 25/100