lbmk/resources/scripts
Leah Rowe 668de6d81f blobutil: support extracting ME from full ROMs
In cases where the vendor update file contains a full
ROM image encompassing IFD+GbE+ME+BIOS, blobutil was
saving the *entire* ROM containing those, as me.bin.
For example, if it's an 8MB ROM, blobutil would create
a me.bin file that is actually the whole ROM containing:

* Vendor IFD region
* Vendor GbE(if it has one)
* Vendor ME region
* Vendor BIOS region

This fix tries with -M and -O first. In this combination,
me_cleaner shall extract me.bin (neutered) and save it.

If that fails, then the normal method with just -O is
tried, which by this logic would always be a lone ME
image if it succeeds.

I tested downloading ME images on existing boards with
this, and it didn't break them, and this fixes the bug.

This is done for HP 8200 SFF which Riku_V is adding to
lbmk. I'm on IRC with Riku_V as I write this commit
message! Super hot hotfix patch.
2023-04-14 01:41:07 +01:00
..
blobs blobutil: support extracting ME from full ROMs 2023-04-14 01:41:07 +01:00
build build/release/src: include gitclone in release 2023-04-13 17:47:47 +01:00
download add ich9utils back to utils 2023-04-08 18:36:50 +01:00
misc Do not rely on bashisms and behaviour undefined by the POSIX specification. Part 2 2022-12-28 18:43:49 +00:00
modify Do not rely on bashisms and behaviour undefined by the POSIX specification. 2022-12-27 15:50:41 +00:00
update Do not rely on bashisms and behaviour undefined by the POSIX specification. 2022-12-27 15:50:41 +00:00