Giter Site home page Giter Site logo

Device hang after load firmware. about mt76 HOT 2 CLOSED

openwrt avatar openwrt commented on August 20, 2024
Device hang after load firmware.

from mt76.

Comments (2)

omerk avatar omerk commented on August 20, 2024

We have a similar problem:

[   14.400000] ASIC revision: 76120044
[   14.430000] ROM patch already applied
[   14.440000] Firmware Version: 0.0.00
[   14.440000] Build: 1
[   14.450000] Build Time: 201406241830____
[   14.480000] Firmware running!
[   14.480000] pci device driver attached
[   14.490000] ASIC revision: 76020044
[   14.520000] ROM patch already applied
[   14.520000] Firmware Version: 0.0.00 
[   14.530000] Build: 1
(boot hangs)

After sprinkling some debug printk()s I have determined that this is the offending line: https://github.com/openwrt/mt76/blob/master/init.c#L383

Driver executes everything until mt76_set(dev, 0x530, 0xf) and fails straight at that point. Commenting that out causes the driver to fail at a later point. Using Mediatek's mt76x2e driver causes the same problem, though, so I don't think mt76 is solely responsible for this.

A chat with Mediatek suggests that this might be a power issue but on the boards that fail we haven't identified any problems on the power rails. As for the chip revision, all the boards that fail are Revision D.

@nbd168 Have you seen this behaviour before?

from mt76.

nbd168 avatar nbd168 commented on August 20, 2024

I've seen similar issues in cases where the PCI device wasn't properly reset over a reboot. Either way, I'm pretty sure this is not an mt76 bug - it's probably either a hardware issue or a kernel PCI initialization issue.

from mt76.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.