GithubHelp home page GithubHelp logo

Show advanced fusing status about lk2nd HOT 2 OPEN

fxsheep avatar fxsheep commented on July 19, 2024 1
Show advanced fusing status

from lk2nd.

Comments (2)

stephan-gh avatar stephan-gh commented on July 19, 2024

How much do we know (or do we need to know) about the layout of the fuse addresses/bits? Is this platform-specific? Will it need adjustment for every SoC supported in lk2nd?

Regarding the UI screen, I think it would be easier to start with a fastboot command that parses or possibly just dumps this (with parsing in a separate tool?). I think we don't have any consistent way at the moment to display additional screens. If wanted, this could be added later as a second step.

from lk2nd.

fxsheep avatar fxsheep commented on July 19, 2024

How much do we know (or do we need to know) about the layout of the fuse addresses/bits?Is this platform-specific? Will it need adjustment for every SoC supported in lk2nd?

Yes, this is platform specific. For msm8916, all listed above are documented publicly in the TRM(lm80-p0436-100_d_snapdragon_410e_apq8016e_tech_reference_manual_revd.pdf, page 3323), except binning, which is mostly documented in different pieces of CAF kernel sources.

For other platforms, AFAIK, Qualcomm tends to keep backward compatibility, which means the addresses can be cross-referenced from msm8916. This leaves verification a bigger problem though, since QFPROM should be considered static, and it's hard to 'test' the actual meaning.

However, this is actually more a legal problem than a technical one. Years have passed and these offsets are no longer a top secret, and people have been using addresses that come out of nowhere, e.g. here.

possibly just dumps this

TrustZone address protection on QFPROM is not contiguous and LK has to know where to dump from, so I think it's more reasonable to implement parsing on LK and print human-readable results.

from lk2nd.

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.