-
Notifications
You must be signed in to change notification settings - Fork 342
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
Show advanced fusing status #307
Comments
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. |
Yes, this is platform specific. For msm8916, all listed above are documented publicly in the TRM( 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.
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. |
A wide range of QFPROM ranges can be accessed directly from EL1 on stock TZ firmware. They contain more than just whether secure boot is enabled or not. By adding QFPROM parsing feature, additional information can be displayed on fastboot screen and users could potentially be benefited from:
I don't yet have an idea regarding how it should be displayed. Showing directly on fastboot menu may eventually make it bloated. A secondary menu could be better (also for other possible features such as multi-booting selection, etc). Some manufacturers such as Motorola and Huawei has secondary menus in fastboot to display more info, with even barcodes and QR codes.
The text was updated successfully, but these errors were encountered: