firmware_LockedME.py | 24 def flashrom(self, ignore_status=False, args=()): member in class:firmware_LockedME 25 """Run flashrom, expect it to work. Fail if it doesn't""" 27 return utils.run('flashrom', ignore_status=ignore_status, args=extra) 32 flashrom_result = self.flashrom(args=('--wp-status',)) 33 logging.info('The above flashrom command returns.... %s', 49 r = self.flashrom(args=('-V',)) 58 r = self.flashrom(args=('-V', '-w', self.BIOS_FILE, 65 self.flashrom(args=('-w', self.BIOS_FILE, 90 # flashrom should have read the section as all 0xff's. If not, 96 err_string = "%s was readable by flashrom" % sectnam [all...] |