corna / me_cleaner

Tool for partial deblobbing of Intel ME/TXE firmware images
GNU General Public License v3.0
4.46k stars 277 forks source link

ASRock Z390M-ITX/AC: firmware is corrupted or missing #244

Open dtbartle opened 5 years ago

dtbartle commented 5 years ago

When running ./me_cleaner.py --check <bios> I get:

Full image detected
The ME/TXE region is valid but the firmware is corrupted or missing

I tried this on the publicly available BIOS files (1.10 and 1.20) as well as BIOS files dumped from my motherboard (which actually differ a fair bit from the "stock" BIOS files for some reason).

https://www.asrock.com/MB/Intel/Z390M-ITXac/index.asp#BIOS

dtbartle commented 5 years ago

It looks like for whatever reason, me_cleaner ends up getting the ME region wrong. I can find $FPT in the file (at 0x4000), while me_cleaner thinks it's at 0x3000.

platomav commented 5 years ago

CSME 12 is not supported by me_cleaner as the CNP CSE region of the SPI chip uses a new structure called CSE Layout Table which combines IFWI v1.6 (BPDT v1) for Code and $FPT v1.0 for Data/FS partitions.

czeej commented 5 years ago

did you dump it twice and use the diff command to make sure it's dumping correctly? Maybe we should be more quiet about this. What causes them to change structures?

dtbartle commented 5 years ago

Yes. I also tested against stock BIOS files.

dt-zero commented 5 years ago

Would you mind testing https://github.com/corna/me_cleaner/pull/282 ? Soft disable might work as expected. I'm having success with a similar board.

dtbartle commented 4 years ago

Yes, confirmed your PR works for this board.