Home
last modified time | relevance | path

Searched refs:cr50 (Results 1 – 25 of 54) sorted by relevance

123

/external/autotest/server/site_tests/firmware_Cr50Unlock/
Dfirmware_Cr50Unlock.py23 self.cr50.send_command('ccd reset')
27 if self.cr50.get_ccd_info()['Password'] != 'set':
30 self.cr50.set_ccd_level('lock')
33 self.cr50.send_command('ccd unlock ' + self.PASSWORD)
34 if self.cr50.get_ccd_level() != 'unlock':
37 self.cr50.set_ccd_level('lock')
40 self.cr50.send_command('ccd unlock ' + self.PASSWORD.lower())
41 if self.cr50.get_ccd_level() == 'unlock':
64 self.cr50.set_ccd_level('lock')
65 self.cr50.send_command('ccd unlock ' + self.PASSWORD.lower())
[all …]
/external/autotest/server/site_tests/firmware_Cr50Password/
Dfirmware_Cr50Password.py21 self.cr50.send_command('ccd reset')
25 if self.cr50.get_ccd_info()['Password'] != 'set':
29 self.cr50.send_command('ccd reset')
30 if self.cr50.get_ccd_info()['Password'] != 'none':
35 if self.cr50.get_ccd_info()['Password'] != 'set':
41 self.cr50.set_ccd_level('lock')
45 self.cr50.send_command('ccd unlock ' + self.PASSWORD)
49 self.cr50.send_command('ccd testlab open')
56 if self.cr50.get_ccd_info()['Password'] != 'none':
61 if self.cr50.get_ccd_info()['Password'] != 'set':
[all …]
/external/autotest/server/cros/faft/
Dcr50_test.py58 self.can_set_ccd_level = (not self.cr50.using_ccd() or
59 self.cr50.testlab_is_on())
60 self.original_ccd_level = self.cr50.get_ccd_level()
61 self.original_ccd_settings = self.cr50.get_cap_dict(
62 info=self.cr50.CAP_SETTING)
71 self.cr50.set_ccd_level('lock')
321 state['cr50_image_bid'] = self.cr50.get_active_board_id_str()
359 if self.cr50.get_ccd_info()['Password'] != 'none':
361 self.cr50.send_command('ccd reset')
362 if self.cr50.get_ccd_info()['Password'] != 'none':
[all …]
/external/autotest/server/site_tests/firmware_Cr50CheckCap/
Dfirmware_Cr50CheckCap.py25 self.cr50.send_command(command)
26 caps = self.cr50.get_cap_dict()
28 in_factory_mode, is_reset = self.cr50.get_cap_overview(caps)
59 self.cr50.send_command('ccd testlab open')
62 caps = self.cr50.get_cap_dict().keys()
66 self.cr50.set_caps(cap_settings)
69 self.cr50.set_ccd_level(ccd_level, self.PASSWORD)
70 cap_dict = self.cr50.get_cap_dict()
76 if cap_info[self.cr50.CAP_IS_ACCESSIBLE] != expect_accessible:
93 cap_dict = self.cr50.get_cap_dict(info=self.cr50.CAP_REQ)
[all …]
/external/autotest/server/site_tests/firmware_Cr50Testlab/
Dfirmware_Cr50Testlab.py26 if self.cr50.using_ccd():
29 if not self.cr50.has_command('ccdstate'):
49 rv = self.cr50.send_command_get_output('ccd testlab %s' % mode,
59 if mode != self.cr50.get_ccd_level():
62 self.cr50.run_pp(self.cr50.PP_SHORT)
63 if (mode == 'on') != self.cr50.testlab_is_on():
80 if self.cr50.testlab_is_on():
98 self.cr50.set_ccd_level('lock')
115 self.cr50.set_ccd_level('lock')
121 self.cr50.set_ccd_level('lock')
[all …]
/external/autotest/server/site_tests/firmware_Cr50OpenWhileAPOff/
Dfirmware_Cr50OpenWhileAPOff.py44 if not self.cr50.has_command('ccdstate'):
47 dts_mode_works = self.cr50.servo_v4_supports_dts_mode()
58 self.reset_signal = ('cold_reset' if self.cr50.get_board_properties() &
64 self.cr50.send_command('ccd reset')
65 self.cr50.get_ccd_info()
85 self.cr50.set_cap('OpenNoLongPP', 'Always')
121 logging.info(self.cr50.send_command_get_output('ccdstate',
189 start_count = self.cr50.get_deep_sleep_count()
194 return self.cr50.get_deep_sleep_count() - start_count
199 self.cr50.set_ccd_level('lock', self.PASSWORD)
[all …]
/external/autotest/server/site_tests/firmware_Cr50FactoryResetVC/
Dfirmware_Cr50FactoryResetVC.py43 rv = self.cr50.send_command_get_output('gpioget',
51 self.cr50.send_command('ccd testlab open')
57 self.cr50.send_command('gpioset BATT_PRES_L %d' % (0 if enable else 1))
61 self.cr50.set_ccd_level('lock')
66 return 'fwmp_lock' in self.cr50.get_ccd_info()['TPM']
89 return 'set' in self.cr50.get_ccd_info()['Password']
100 self.cr50.send_command('ccd testlab open')
110 caps = self.cr50.get_cap_dict()
112 return self.cr50.get_cap_overview(caps)[0]
171 self.cr50.send_command('ccd testlab open')
[all …]
/external/autotest/server/site_tests/firmware_Cr50RMAOpen/
Dfirmware_Cr50RMAOpen.py65 if not self.cr50.has_command('rma_auth'):
68 if not self.cr50.using_servo_v4():
78 self.cr50.send_command('ccd reset')
79 self.cr50.set_ccd_level('lock')
92 bid = self.cr50.get_active_board_id_str()
96 prod_keys = self.cr50.using_prod_rw_keys()
144 result = self.cr50.send_command_get_output(cmd, [resp])
199 self.cr50.send_command('ccd testlab open')
200 self.cr50.send_command('ccd reset factory')
201 self.cr50.send_command('wp disable atboot')
[all …]
/external/autotest/server/site_tests/firmware_FWMPDisableCCD/
Dfirmware_FWMPDisableCCD.py30 self.cr50.has_command('ccdstate'))
50 self.cr50.set_ccd_level('lock')
52 self.cr50.set_ccd_level(level, self.PASSWORD)
76 self.cr50.send_command('ccd testlab open')
77 self.cr50.send_command('ccd reset')
79 self.cr50.set_cap('OpenNoTPMWipe', 'Always')
95 start_state = self.cr50.get_ccd_info()['TPM']
119 self.cr50.send_command('ccd lock')
Dcontrol9 PURPOSE = "Verify the cr50 response to FWMP flags being set"
16 This test will set FWMP flags. If the test has access to the cr50 console, it
17 will verify that cr50 sees the ccd disable flag is set and disables console
/external/autotest/server/site_tests/firmware_Cr50DeepSleepStress/
Dfirmware_Cr50DeepSleepStress.py39 self.original_cr50_version = self.cr50.get_active_version_info()
44 count = self.cr50.get_deep_sleep_count()
45 version = self.cr50.get_active_version_info()
69 if self.cr50.using_ccd():
78 self.cr50.ccd_disable()
103 self.cr50.ccd_disable()
114 self.cr50.ccd_enable()
150 self.cr50.clear_deep_sleep_count()
/external/autotest/server/site_tests/firmware_Cr50Open/
Dfirmware_Cr50Open.py22 self.cr50.send_command('ccd reset')
23 self.cr50.set_ccd_level('lock')
39 self.cr50.set_ccd_level('lock')
40 self.cr50.get_ccd_info()
44 self.cr50.set_ccd_level('open')
58 self.cr50.set_ccd_level('lock')
/external/autotest/server/site_tests/firmware_Cr50Update/
Dcontrol16 To test postinstall cr50 update script set test to "post_install" or use
22 update using cr50-update.sh. If testing the startup script the updates will be
23 run with cr50-update.conf after reboot..
27 has to be newer than all of the images including the original cr50 image on
33 release_path='/tmp/cr50.bin.prod' or release_ver='0.0.23/ZZAF:ffffffff:7f00'
34 could be used. The test will attempt to get the cr50 image from
35 /tmp/cr50.bin.prod first. If that doesn't exist then it will download the
41 If dev_path is not specified, then the test will get the cr50 devids and
54 should verify the cr50-update.sh post install script. Anything else
55 the test will run using the cr50-update.conf startup script.
Dcontrol.post_install16 To test postinstall cr50 update script set test to "post_install" or use
22 update using cr50-update.sh. If testing the startup script the updates will be
23 run with cr50-update.conf after reboot..
27 has to be newer than all of the images including the original cr50 image on
34 release_path='/tmp/cr50.bin.prod' or release_ver='0.0.23/ZZAF:ffffffff:7f00'
35 could be used. The test will attempt to get the cr50 image from
36 /tmp/cr50.bin.prod first. If that doesn't exist then it will download the
42 If dev_path is not specified, then the test will get the cr50 devids and
55 should verify the cr50-update.sh post install script. Anything else
56 the test will run using the cr50-update.conf startup script.
Dfirmware_Cr50Update.py53 self.cr50.ccd_disable()
103 self.cr50.ccd_disable()
133 self.cr50.wait_until_update_is_allowed()
136 self.cr50.ccd_disable()
149 self.cr50.wait_for_reboot()
/external/autotest/server/site_tests/firmware_Cr50CCDServoCap/
Dfirmware_Cr50CCDServoCap.py112 if not self.cr50.has_command('ccdstate'):
115 if not self.cr50.servo_v4_supports_dts_mode():
121 if not self.cr50.testlab_is_on():
124 self.cr50.set_cap('UartGscTxECRx', 'Always')
162 rv = self.cr50.send_command_get_output('ccdstate',
249 self.cr50.reboot()
250 self.cr50.send_command('ccd testlab open')
/external/autotest/server/site_tests/firmware_Cr50ConsoleCommands/
Dfirmware_Cr50ConsoleCommands.py58 if self.cr50.get_cap('GscFullConsole')[self.cr50.CAP_REQ] == 'Always':
61 self.cr50.set_cap('GscFullConsole', 'IfOpened')
63 self.cr50.set_ccd_level('lock')
80 output = self.cr50.send_safe_command_get_output(cmd,
156 brdprop = self.cr50.get_board_properties()
168 version = self.cr50.get_version().split('.')[1]
/external/autotest/server/site_tests/firmware_Cr50DeferredECReset/
Dfirmware_Cr50DeferredECReset.py34 if not self.cr50.servo_v4_supports_dts_mode():
38 if not self.cr50.testlab_is_on():
72 rv = self.cr50.send_command_get_output('ecrst',
137 time.sleep(self.cr50.SHORT_WAIT)
160 self.cr50.ccd_enable()
/external/autotest/server/site_tests/firmware_Cr50DeviceState/
Dfirmware_Cr50DeviceState.py106 output = self.cr50.send_command_get_output('taskinfo',
125 irq_counts[self.KEY_DEEP_SLEEP] = int(self.cr50.get_deep_sleep_count())
126 irq_counts[self.KEY_TIME] = int(self.cr50.gettime())
399 supports_dts_control = self.cr50.servo_v4_supports_dts_mode()
402 self.cr50.ccd_disable(raise_error=True)
404 self.ccd_enabled = self.cr50.ccd_is_enabled()
409 self.cr50.ccd_enable(raise_error=supports_dts_control)
410 self.ccd_enabled = self.cr50.ccd_is_enabled()
/external/autotest/server/site_tests/firmware_Cr50RejectUpdate/
Dfirmware_Cr50RejectUpdate.py35 if 'DBG' in self.cr50.get_version():
48 self.cr50.wait_until_update_is_allowed()
71 self.cr50.wait_until_update_is_allowed()
112 if self.cr50.gettime() >= 60:
/external/autotest/server/site_tests/firmware_Cr50BID/
Dcontrol9 PURPOSE = "Verify cr50 response to board id"
16 Verify cr50 board id behavior on a board id locked image.
18 Check that cr50 will not accept mismatched board ids when it is running a board
21 Set the board id on a non board id locked image and verify cr50 will rollback
26 needed cr50 images.
/external/autotest/server/site_tests/provision_Cr50Update/
Dcontrol17 cr50-version label of a host to the desired setting. This test attempts to
18 reprogram the cr50 firmware and set the cr50 chip board id using the given
28 @param chip_bid: the desired cr50 chip board id string
/external/autotest/server/site_tests/firmware_Cr50UpdateScriptStress/
Dcontrol9 PURPOSE = "Verify cr50-update"
16 This test clears the cr50 update state and reboots the device many times
17 to verify that the cr50 update is reliable.
/external/autotest/server/site_tests/firmware_Cr50GetName/
Dcontrol9 PURPOSE = "Verify cr50-get-name"
16 Verify cr50-get-name.sh returns the right cr50 image based on the board id.
/external/autotest/server/site_tests/servo_ConsoleStress/
Dcontrol.cr508 NAME = "servo_ConsoleStress.cr50"
9 PURPOSE = "Verify cr50 console."
30 cmd_type = args_dict.get("cmd_type", "cr50")

123