firmware_LockedME.py | 20 def flashrom(self, ignore_status=False, args=()): member in class:firmware_LockedME 21 """Run flashrom, expect it to work. Fail if it doesn't""" 23 return utils.run('flashrom', ignore_status=ignore_status, args=extra) 28 flashrom_result = self.flashrom(args=('--wp-status',)) 29 logging.info('The above flashrom command returns.... %s', 45 r = self.flashrom(args=('-V',)) 54 r = self.flashrom(args=('-w', self.BIOS_FILE, 60 self.flashrom(args=('-w', self.BIOS_FILE, 85 # flashrom should have read the section as all 0xff's. If not, 91 err_string = "%s was readable by flashrom" % sectnam [all...] |