intel_common

Inherit

GetIntelDescriptorStatus

Get the status of Intel Descriptor (locked/unlocked). This test item should be run before LockIntelDescriptor and PSR test groups.

pytest_name

get_intel_desc_status

SetEOMNVAR

pytest_name

setup_psr_feature

args

action
"set"

StartPSRLog

pytest_name

setup_psr_feature

args

action
"start"

UpdatePSROEMData

run_if

not device.factory.intel_desc_locked

pytest_name

update_psr_oem_data

args

update_from_config
false
oem_data_value
{
  "Country of Manufacturer": "TW",
  "OEM Make": "ChromeOS",
  "OEM Model": "MTL vPro",
  "OEM Name": "Google"
}

LockIntelDescriptor

run_if

(constants.grt.force_write_protect or constants.phase == 'PVT') and not device.factory.intel_desc_locked

Serial subtests

  • {
      "args": {
        "unlock_csme": false
      },
      "pytest_name": "update_firmware"
    }
    
  • Barrier

  • FullRebootStep

StartPSRLogGroup

Put this test right before GRTFinalize to minimize logging

run_if

not device.factory.intel_desc_locked

Serial subtests

  • SetEOMNVAR

  • {
      "inherit": "FullRebootStep",
      "run_if": "device.factory.psr_update_need_reboot"
    }
    
  • {
      "inherit": "SyncFactoryServer",
      "run_if": "device.factory.psr_update_need_reboot"
    }
    
  • StartPSRLog

UpdateIntelFirmware

Depending on the current descriptor status, DUT will be updated with lock/unlocked FW.

Serial subtests

  • GetIntelDescriptorStatus

  • {
      "args": {
        "unlock_csme": "eval! not device.factory.intel_desc_locked"
      },
      "pytest_name": "update_firmware"
    }
    
  • Barrier

  • FullRebootStep