Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FS#4004 - mt7915e, 5GHz radio in Belkin RT3200 not showing up in r17470-43f0e386d4 #9000

Open
openwrt-bot opened this issue Sep 4, 2021 · 3 comments
Labels

Comments

@openwrt-bot
Copy link

@openwrt-bot openwrt-bot commented Sep 4, 2021

Cmd-Q:

Supply the following if possible:

  • Device problem occurs on Belkin RT3200/AX3200, Linksys E8450
  • Software versions: OpenWrt SNAPSHOT, r17470-43f0e386d4
  • Update to or flash snapshot

The second radio does not show up. I can see references to the device in the kernel log:
Fri Sep 3 07:53:39 2021 kern.debug kernel: [ 8.157849] mt7915e 0000:01:00.0: assign IRQ: got 143
Fri Sep 3 07:53:39 2021 kern.info kernel: [ 8.167980] mt7915e 0000:01:00.0: enabling device (0000 -> 0002)
Fri Sep 3 07:53:39 2021 kern.debug kernel: [ 8.174080] mt7915e 0000:01:00.0: enabling bus mastering
Fri Sep 3 07:53:39 2021 kern.info kernel: [ 8.254567] mt7915e 0000:01:00.0: HW/SW Version: 0x8a108a10, Build Time: 20201105222230a
Fri Sep 3 07:53:39 2021 kern.info kernel: [ 8.378506] mt7915e 0000:01:00.0: WM Firmware Version: ____000000, Build Time: 20201105222304
Fri Sep 3 07:53:39 2021 kern.info kernel: [ 8.460898] mt7915e 0000:01:00.0: WA Firmware Version: DEV_000000, Build Time: 20201105222323
Fri Sep 3 07:53:39 2021 kern.warn kernel: [ 8.611314] mt7915e: probe of 0000:01:00.0 failed with error -22

This is 100% reproducible upon every boot, reboot as well as manually loading/removing the kernel module (/lib/modules/5.10.61/mt7615e.ko).

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Sep 5, 2021

hnyman:

Likely related to the recent NAND flash driver update.

See the discussion onward from
https://forum.openwrt.org/t/belkin-rt3200-linksys-e8450-wifi-ax-discussion/94302/367

Briefly:
The OEM manufacturer has written the wifi calibration data to the flash without proper ECC correction, and while the "old flash driver" has quietly accepted that, the new flash driver chokes on it.

The flash driver was updated roughly a week ago by @981213. Commits at :
https://git.openwrt.org/?p=openwrt/openwrt.git;a=shortlog;h=9abd2fb6c4dd3befa80a5721e7a6bc77506ac778

@dangowrt has generated a fix for the "UBI variant" of RT3200/E8450: you need to reapply his UBI recovery-installer with at least version 0.5.3. The fix is to read/write the wifi calibration data with the new driver in order to set the ECC bits.

But to my knowledge there is no direct fix for the non-UBI variant, yet.

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Sep 5, 2021

Cmd-Q:

Thanks hnyman for the summary as the discussion was a little hard to follow. I have reapplied the dangowrt's linksys-e8450-openwrt-installer v0.5.3; that is, the UBI recovery-installer flowed by UBI sysupgrade (r17443). After sysupgrade to snapshot, the 5GHz radio shows up again in r17471-b6cbbbb6ef. Should this ticket be closed then?

@openwrt-bot
Copy link
Author

@openwrt-bot openwrt-bot commented Sep 5, 2021

hnyman:

I feel that it might be better to leave this open, so that others can find this.

Although the UBI variant can be fixed by re-applying the dangowrt installer, the underlying bug is still there: due to the new spi-nand driver, the wifi calibration data originally written by the OEM is unreadable as mtdblock, which prevents the 5 GHz radio usage.

And the bug also concerns the non-UBI variant, I think.
https://forum.openwrt.org/t/belkin-rt3200-linksys-e8450-wifi-ax-discussion/94302/404

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant