1// Copyright 2022 The ChromiumOS Authors 2// Use of this source code is governed by a BSD-style license that can be 3// found in the LICENSE file. 4 5syntax = "proto3"; 6 7package chromiumos.test.api; 8 9option go_package = "go.chromium.org/chromiumos/config/go/test/api"; 10 11import "chromiumos/build/api/firmware_config.proto"; 12 13// FirmwareProvisionStartupMetadata can be passed to ProvisionStartupRequest.metadata 14message FirmwareProvisionStartupMetadata { 15 reserved 1; 16 reserved "cache_server_address"; 17} 18 19// FirmwareProvisionInstallMetadata can be passed to InstallRequest.metadata 20message FirmwareProvisionInstallMetadata { 21 // Detailed Request allows you to specify individual versions of 22 // AP_RW, AP_RO, EC_RO, and PD_RO. 23 // Service will extract the images from firmware archive and install 24 // them individually over futility. 25 // ec_ro over Servo is flashed using flash_ec. 26 chromiumos.build.api.FirmwareConfig firmware_config = 1; 27} 28 29// FirmwareProvisionResponse records the response of the firmware provisioning. 30message FirmwareProvisionResponse { 31 // If the provisioning failed, here is the detailed error message. 32 string error_message = 1; 33 // The firmware versions on the DUT (if success), or the versions that were attempted to be flashed (if failed). 34 string ap_ro_version = 2; 35 string ap_rw_version = 3; 36 string ec_ro_version = 4; 37 string ec_rw_version = 5; 38} 39