generic_tpm_examples¶
Examples for testing TPM. TPM is called “TPM”, or “Secure Element” in AVL.
Inherit¶
AssertGSCBoardIDIsPrePVT¶
pytest_name¶
args¶
board_id_flags
"PHASE_PREPVT"
Cr50APROVerificationManual¶
pytest_name¶
args¶
timeout_secs
5
manual_test
true
ProbeTPM¶
pytest_name¶
args¶
component_list
[ "tpm" ]
config_file
"/usr/local/factory/py/hwid/v3/default_probe_statement.json"
overridden_rules
[ [ "tpm", "==", 1 ] ]
UpdateGSCFirmwareWithoutUpstart¶
pytest_name¶
args¶
upstart_mode
false
UpdateTi50From0o0o15To0o0o16¶
pytest_name¶
args¶
upstart_mode
false
firmware_file
"/path/to/ti50.bin.prepvt"
skip_prepvt_flag_check
"eval! constants.phase != 'PVT'"
force_ro_mode
true
CommonTests¶
Serial subtests¶
CheckSecdataVersion
AssertGSCBoardIDIsUnset
ClearTPMOwnerRequestGroup
TPMState
TPMVerifyEKGroup
Cr50Tests¶
Serial subtests¶
UpdateCr50Firmware
Cr50APROVerificationGroup
Ti50Tests¶
Serial subtests¶
UpdateTi50Firmware
Ti50APROVerification