Lines Matching refs:u_boot_console
116 def test_dfu(u_boot_console, env__usb_dev_port, env__dfu_config): argument
154 u_boot_console.log.action(
162 u_boot_console.run_command(cmd)
165 u_boot_console.run_command(cmd, wait_for_prompt=False)
166 u_boot_console.log.action('Waiting for DFU USB device to appear')
188 u_boot_console.log.action(
190 u_boot_console.ctrlc()
191 u_boot_console.log.action(
216 u_boot_utils.run_and_log(u_boot_console, cmd)
217 u_boot_console.wait_for('Ctrl+C to exit ...')
264 test_f = u_boot_utils.PersistentRandomFile(u_boot_console,
266 readback_fn = u_boot_console.config.result_dir + '/dfu_readback.bin'
268 u_boot_console.log.action('Writing test data to DFU primary ' +
272 u_boot_console.log.action('Writing dummy data to DFU secondary ' +
276 u_boot_console.log.action('Reading DFU primary altsetting for ' +
280 u_boot_console.log.action('Comparing written and read data')
298 dummy_f = u_boot_utils.PersistentRandomFile(u_boot_console,
308 u_boot_console.log.action(
313 with u_boot_console.log.section('Data size %d' % size):
317 u_boot_console.log.status_pass('OK')