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

Different results each boot dumping spi #14

Open
bm16ton opened this issue Aug 24, 2024 · 2 comments
Open

Different results each boot dumping spi #14

bm16ton opened this issue Aug 24, 2024 · 2 comments

Comments

@bm16ton
Copy link

bm16ton commented Aug 24, 2024

If i dump the spi and reboot dump spi again i get different results in files. Seems usually ill have large segments of all f's. In the few files i have it seems random so far so ill dump more and look for a pattern. Not sure if it applies or not but the machine does use recoveryAB and so my 32mb bios is dumped as 64mb file. If i split the files the two parts are always identical. Not sure if this all happens because of some security thing, or a glitch in the app. Oh one more piece, if i dont reboot i so far will get the exact same dump, and a warm reset seems to produce less f filled segments. Thank you for writing this software and the blog posts! Very helpful.

@n3k
Copy link
Collaborator

n3k commented Aug 24, 2024

This could happen because of the non-volatile region. That said, there are 2 ways of extracting the flash: the memory mapped way or via spi-controller commands. The version that is in the CLI uses the memory mapped approach. There are examples in the PoCs on how to do it via spi-controller commands that you can use to double check.

@bm16ton
Copy link
Author

bm16ton commented Aug 24, 2024 via email

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

No branches or pull requests

2 participants