Comments (2)
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.
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)
- Create new release HOT 2
- Redmi 3(ido) cannot enter the main interface of postmarketOS after being brushed into it HOT 1
- Debug(SWD/UART/Trace) over SDC2 enabling HOT 3
- Support request HOT 10
- On Galaxy J5 2016 (J510H) fastboot doesnt work HOT 14
- dts: add Samsung Galaxy Grand Max grandmaxltekx (SM-G720N0) HOT 4
- lk2nd not booting SM-A500FU HOT 8
- Doesn't boot with my Lenovo Vibe K5 (A6020a40)
- Wileyfox Swift not booting with `fastboot boot lk2nd-msm8916.img` HOT 6
- `Error code 3039 at boot_elf_loader.c Line 1413` On UART after flashing ABOOT partition HOT 6
- `Unable to locate /bootselect partition`
- I'm unable to boot into ROM HOT 6
- [next] Pass bootloader information in the dtb using a generic namespace HOT 8
- Unclear instructions for installing to Samsung HOT 1
- Can't flash userdata on motorola-harpia HOT 4
- [rebase/next] fairphone2 (msm8974) : crash when no screen plugged in
- Makefile issues HOT 2
- lk1st cannot boot kernel HOT 1
- dts: msm8916: heatqlte: Failure to boot from SD card HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from lk2nd.