Lines Matching full:console

6 # Common logic to interact with U-Boot via the console. This class provides
10 # serial console of real hardware.
19 # Regexes for text we expect U-Boot to send to the console.
41 the specified console output error check. This is useful when deliberately
47 def __init__(self, console, check_type): argument
48 self.console = console
52 self.console.disable_check_count[self.check_type] += 1
53 self.console.eval_bad_patterns()
56 self.console.disable_check_count[self.check_type] -= 1
57 self.console.eval_bad_patterns()
64 def __init__(self, console, timeout): argument
65 self.p = console.p
77 console. This primarily involves executing shell commands, capturing their
82 """Initialize a U-Boot console connection.
105 self.logstream = self.log.get_stream('console', sys.stdout)
124 """Terminate the connection to the U-Boot console.
143 """Execute a command via the U-Boot console.
157 returns the console output that it generated. This can be disabled by
200 raise Exception('Bad pattern found on console: ' +
207 raise Exception('Bad pattern found on console: ' +
273 raise Exception('Bad pattern found on console: ' +
277 """Read from and log the U-Boot console for a short time.
279 U-Boot's console output is only logged when the test code actively
283 exists. In such a case, it is useful to log U-Boot's console output
306 # cause the console output to be read and logged.
351 raise Exception('Bad pattern found on SPL console: ' +
355 raise Exception('Bad pattern found on console: ' +
366 raise Exception('Bad pattern found on console: ' +
434 temporarily disables a particular console output error check.