generic_tpm¶
Predefined TPM tests. TPM is called “TPM”, or “Secure Element” in AVL.
Inherit¶
APROVerification¶
Make old definition as an alias of the new definition for backward compatibility
pytest_name¶
AssertGSCBoardIDIsUnset¶
pytest_name¶
args¶
board_id_type
"ffffffff"
board_id_flags
"ffffffff"
CheckCr50BoardIDNotSet¶
Make old definition as an alias of the new definition for backward compatibility
pytest_name¶
args¶
board_id_type
"ffffffff"
board_id_flags
"ffffffff"
CheckCr50FirmwareVersion¶
pytest_name¶
args¶
method
"CHECK_VERSION"
CheckSecdataVersion¶
pytest_name¶
args¶
major_version
1
minor_version
0
CheckTi50FirmwareVersion¶
pytest_name¶
args¶
method
"CHECK_VERSION"
ClearAPROHash¶
Make old definition as an alias of the new definition for backward compatibility
pytest_name¶
args¶
action
"clear"
ClearCr50APROHash¶
pytest_name¶
args¶
action
"clear"
ClearInactiveTi50Slot¶
pytest_name¶
ClearTPMOwnerRequest¶
pytest_name¶
Cr50APROVerification¶
pytest_name¶
SetAPROHash¶
Make old definition as an alias of the new definition for backward compatibility
pytest_name¶
args¶
action
"set"
SetCr50APROHash¶
pytest_name¶
args¶
action
"set"
TPMState¶
Only needed and applicable for certain projects. b/198711349
pytest_name¶
TPMVerifyEK¶
pytest_name¶
APROVerificationGroup¶
Make old definition as an alias of the new definition for backward compatibility
Serial subtests¶
ClearTPMOwnerRequestGroup¶
Serial subtests¶
RebootStep
Cr50APROVerificationGroup¶
Serial subtests¶
TPMVerifyEKGroup¶
Serial subtests¶
RebootStep
Ti50APROVerification¶
Serial subtests¶
{ "allow_reboot": true, "args": { "enable_swwp": true, "two_stages": "eval! constants.factory_process == 'TWOSTAGES'" }, "label": "Ti50 AP RO Verification (PVT)", "pytest_name": "ti50_ap_ro_verification" }
{ "allow_reboot": true, "args": { "enable_swwp": false, "two_stages": "eval! constants.factory_process == 'TWOSTAGES'" }, "label": "Ti50 AP RO Verification (pre-PVT)", "pytest_name": "ti50_ap_ro_verification", "run_if": "constants.phase != 'PVT'" }
UpdateCr50Firmware¶
Serial subtests¶
{ "args": { "firmware_file": "eval! constants.use_prepvt_cr50_firmware and '/opt/google/cr50/firmware/cr50.bin.prepvt' or None", "skip_prepvt_flag_check": "eval! constants.phase != 'PVT'" }, "pytest_name": "update_cr50_firmware" }
{ "inherit": "RebootStep", "run_if": "device.factory.cr50_update_need_reboot" }
UpdateTi50Firmware¶
Serial subtests¶
{ "args": { "firmware_file": "eval! constants.use_prepvt_ti50_firmware and '/opt/google/ti50/firmware/ti50.bin.prepvt' or None", "skip_prepvt_flag_check": "eval! constants.phase != 'PVT'" }, "label": "Update Ti50 Firmware", "pytest_name": "update_cr50_firmware" }
{ "inherit": "RebootStep", "run_if": "device.factory.cr50_update_need_reboot" }