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

BIOS Sledgehammer can't handle TPM update files with different BUILD version #9

Closed
texhex opened this issue Apr 15, 2017 · 4 comments
Closed

Comments

@texhex
Copy link
Owner

texhex commented Apr 15, 2017

The original TPM firmware files from HP (from SoftPaq 76423 - ftp://ftp.hp.com/pub/softpaq/sp76001-76500/sp76423.html) listed only one file for the upgrade from TPM 1.2/FW 6.41 to TPM 2.0:

TPM12_6.41.197.0_to_TPM20_7.41.2375.0.BIN

However, the TPM firmware files update from January 2017 (SoftPaq 78910 - ftp://ftp.hp.com/pub/softpaq/sp78501-79000/sp78910.html) now lists two different files for TPM 1.2/FW 6.41 to TPM 2.0:

TPM12_6.41.197.0_to_TPM20_7.61.2785.0.BIN
TPM12_6.41.198.0_to_TPM20_7.61.2785.0.BIN

Note that these two files are only different in the BUILD part of the version: 6.41.197 vs. 6.41.198. It seems .198 is only used when downgrading TPM 2.0/FW 7.61 to TPM 1.2 again as the archive contains on file for this: TPM20_7.61.2785.0_to_TPM12_6.41.198.0.BIN.

The problem is that the Win32_TPM CIM class does not provide the BUILD part in the ManufacturerVersion field, only MAJOR.MINOR.

As we depend on this class, we can never detect if 6.41.197 vs. 6.41.198 is installed. This can lead to an error during the upgrade process.

@texhex
Copy link
Owner Author

texhex commented Apr 24, 2017

I can confirm that machines, that are normally TPM 2.0 and are factory downgraded to TPM 1.2 by HP, will have 6.41.198 installed.

Seems we need to find a fix for this...

@texhex
Copy link
Owner Author

texhex commented May 1, 2017

I expand the settings so a firmware entry can have .A or .B attached. Then we try to the update for A and if this does not work, for B.

@texhex
Copy link
Owner Author

texhex commented May 1, 2017

First commit of the 2.46.x codebase today (5237d3d), hopefully this will enable the special handling for 6.41

@texhex
Copy link
Owner Author

texhex commented May 2, 2017

Fixed in v2.46.1. Closing issue.

@texhex texhex closed this as completed May 2, 2017
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

1 participant