generic_tpm_examples

Examples for testing TPM. TPM is called “TPM”, or “Secure Element” in AVL.

Inherit

AssertGSCBoardIDIsPrePVT

pytest_name

check_cr50_board_id

args

board_id_flags
"PHASE_PREPVT"

Cr50APROVerificationManual

pytest_name

cr50_ap_ro_verification

args

timeout_secs
5
manual_test
true

ProbeTPM

pytest_name

probe.probe

args

component_list
[
  "tpm"
]
config_file
"/usr/local/factory/py/hwid/v3/default_probe_statement.json"
overridden_rules
[
  [
    "tpm",
    "==",
    1
  ]
]

UpdateGSCFirmwareWithoutUpstart

pytest_name

update_cr50_firmware

args

upstart_mode
false

UpdateTi50From0o0o15To0o0o16

pytest_name

update_cr50_firmware

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

Cr50Tests

Serial subtests

Ti50Tests

Serial subtests