| /test/py/tests/ |
| A D | test_efi_bootmgr.py | 42 ubman.run_command(cmd = 'efidebug boot add ' \ 45 ubman.run_command(cmd = 'efidebug boot dump') 46 ubman.run_command(cmd = 'efidebug boot order 0001') 47 ubman.run_command(cmd = 'bootefi bootmgr') 50 ubman.run_command(cmd = 'exit', wait_for_echo=False) 52 ubman.run_command(cmd = 'efidebug boot add ' \ 55 ubman.run_command(cmd = 'efidebug boot dump') 56 ubman.run_command(cmd = 'efidebug boot order 0002') 57 ubman.run_command(cmd = 'bootefi bootmgr') 62 ubman.run_command(cmd = 'efidebug boot rm 0001') [all …]
|
| A D | test_efi_selftest.py | 17 ubman.run_command(cmd='setenv efi_selftest') 34 ubman.run_command(cmd='setenv efi_selftest list') 54 ubman.run_command(cmd='setenv efi_selftest list') 77 ubman.run_command(cmd=chr(4), wait_for_echo=False, 83 ubman.run_command(cmd=chr(8), wait_for_echo=False, 89 ubman.run_command(cmd=chr(9), wait_for_echo=False, 132 ubman.run_command(cmd=chr(4), wait_for_echo=False, 138 ubman.run_command(cmd=chr(8), wait_for_echo=False, 144 ubman.run_command(cmd=chr(9), wait_for_echo=False, 191 ubman.run_command(cmd='setenv efi_selftest list') [all …]
|
| A D | test_mmc_wr.py | 71 cmd = 'random %s %x' % (src_addr, count_bytes) 72 response = ubman.run_command(cmd) 77 cmd = 'mmc dev %d' % devid 79 cmd += ' %d' % partid 80 response = ubman.run_command(cmd) 90 cmd = 'mmc write %s %x %x' % (src_addr, sector, count_sectors) 91 response = ubman.run_command(cmd) 96 cmd = 'mmc read %s %x %x' % (dst_addr, sector, count_sectors) 97 response = ubman.run_command(cmd) 102 cmd = 'cmp.b %s %s %x' % (src_addr, dst_addr, count_bytes) [all …]
|
| A D | test_mmc_rd.py | 122 cmd = 'mmc dev %d' % devid 124 cmd += ' %d' % partid 125 response = ubman.run_command(cmd) 177 cmd = 'mmc rescan' 178 response = ubman.run_command(cmd) 207 cmd = 'mmc info' 208 response = ubman.run_command(cmd) 254 ubman.run_command(cmd) 257 response = ubman.run_command(cmd) 266 response = ubman.run_command(cmd) [all …]
|
| A D | test_ums.py | 136 ubman.run_command(cmd, wait_for_prompt=False) 154 cmd = ('/bin/mount', host_ums_part_node) 155 utils.run_and_log(ubman, cmd) 171 cmd = ('/bin/umount', host_ums_part_node) 172 utils.run_and_log(ubman, cmd, ignore_errors) 203 cmd = ('rm', '-f', mounted_test_fn) 204 utils.run_and_log(ubman, cmd) 207 cmd = ('cp', test_f.abs_fn, mounted_test_fn) 208 utils.run_and_log(ubman, cmd) 222 cmd = ('rm', '-f', mounted_test_fn) [all …]
|
| A D | test_eficonfig.py | 59 ubman.run_command(cmd=user_str, wait_for_prompt=False, 61 ubman.run_command(cmd='\x0d', wait_for_prompt=False, 145 ubman.run_command(cmd=' ', wait_for_prompt=False, 194 ubman.run_command(cmd = 'bootefi bootmgr') 197 ubman.run_command(cmd = 'exit', wait_for_echo=False) 243 ubman.run_command(cmd='+', wait_for_prompt=False, 254 ubman.run_command(cmd = 'bootefi bootmgr') 270 ubman.run_command(cmd='-', wait_for_prompt=False, 280 ubman.run_command(cmd = 'bootefi bootmgr') 356 ubman.run_command(cmd = 'bootefi bootmgr') [all …]
|
| A D | test_sf.py | 72 output = ubman.run_command(cmd) 124 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 125 ubman.run_command(cmd) 131 response = ubman.run_command(cmd) 157 cmd = 'mw.b %08x %02x %x' % (addr, pattern, count) 158 ubman.run_command(cmd) 162 ubman.run_command(cmd) 198 cmd = 'sf erase %08x %x' % (offset, count) 199 output = ubman.run_command(cmd) 202 cmd = 'mw.b %08x ff %x' % (addr, count) [all …]
|
| A D | test_gpio.py | 118 cmd = 'gpio status -a' 119 response = ubman.run_command(cmd) 143 cmd = 'gpio set ' + gpio_pin_adr 144 response = ubman.run_command(cmd) 167 cmd = 'gpio clear ' + gpio_pin_adr 168 response = ubman.run_command(cmd) 191 cmd = 'gpio set ' + gpio_pin_adr 192 response = ubman.run_command(cmd) 197 response = ubman.run_command(cmd) 220 response = ubman.run_command(cmd) [all …]
|
| A D | test_shell_basics.py | 19 cmd = 'echo hello; echo world' 20 response = ubman.run_command(cmd) 28 cmd = 'setenv list 1; setenv list ${list}2; setenv list ${list}3; ' + \ 30 response = ubman.run_command(cmd)
|
| A D | test_dfu.py | 160 cmd = 'setenv "%s" "%s"' % (dfu_alt_info_env, 162 ubman.run_command(cmd) 164 cmd = 'dfu 0 ' + env__dfu_config['cmd_params'] 165 ubman.run_command(cmd, wait_for_prompt=False) 213 cmd = ['dfu-util', '-a', alt_setting, up_dn_load_arg, fn] 215 cmd += ['-p', env__usb_dev_port['host_usb_port_path']] 216 utils.run_and_log(ubman, cmd)
|
| A D | test_bootmenu.py | 23 response = ubman.run_command(cmd='\x0d', wait_for_echo=False, send_nl=False) 28 response = ubman.run_command(cmd='\x1b\x5b\x41\x0d', wait_for_echo=False, 34 response = ubman.run_command(cmd='\x1b\x5b\x42\x0d', wait_for_echo=False, 40 response = ubman.run_command(cmd='\x1b', wait_for_echo=False, send_nl=False)
|
| A D | test_fit_mkimage_validate.py | 53 cmd = [mkimage, '-f', its_fname, itb_fname] 55 result = subprocess.run(cmd, capture_output=True, text=True) 100 cmd = [mkimage, '-f', its_fname, itb_fname] 102 result = subprocess.run(cmd, capture_output=True, text=True)
|
| A D | test_zynqmp_rpu.py | 119 cmd = f'cpu {cpu_num} release {rel_addr} {rpu_mode}' 120 output = ubman.run_command(cmd) 166 cmd = f'cpu {cpu_num} release {rel_addr} {rpu_mode}' 167 output = ubman.run_command(cmd) 175 cmd = f'cpu {cpu_num} release {rel_addr} {mode}' 176 output = ubman.run_command(cmd) 203 cmd = f'cpu {cpu_num} release {rel_addr} {rpu_mode}' 204 output = ubman.run_command(cmd)
|
| A D | test_gpt.py | 75 cmd = ('sgdisk', 78 utils.run_and_log(ubman, cmd) 80 cmd = ('sgdisk', '--new=1:2048:4095', '--change-name=1:part1', 85 utils.run_and_log(ubman, cmd) 86 cmd = ('sgdisk', '--new=2:4096:7167', '--change-name=2:part2', 89 utils.run_and_log(ubman, cmd) 90 cmd = ('sgdisk', '--load-backup=' + persistent) 91 utils.run_and_log(ubman, cmd) 93 cmd = ('cp', persistent, self.path) 94 utils.run_and_log(ubman, cmd)
|
| A D | test_vbe.py | 114 cmd = base_script % params 117 output = ubman.run_command_list(cmd.splitlines())
|
| A D | test_fit.py | 316 cmd = base_script % params 323 output = ubman.run_command_list(cmd.splitlines()) 355 output = ubman.run_command_list(cmd.splitlines()) 367 output = ubman.run_command_list(cmd.splitlines()) 379 output = ubman.run_command_list(cmd.splitlines()) 393 output = ubman.run_command_list(cmd.splitlines())
|
| /test/py/ |
| A D | console_board.py | 41 cmd = ['u-boot-test-flash', config.board_type, config.board_identity] 42 runner = self.log.get_runner(cmd[0], sys.stdout) 43 runner.run(cmd) 67 cmd = ['u-boot-test-reset'] + args 68 runner = self.log.get_runner(cmd[0], sys.stdout) 69 runner.run(cmd) 82 cmd = ['u-boot-test-release'] + args 83 runner = self.log.get_runner(cmd[0], sys.stdout) 84 runner.run(cmd)
|
| A D | console_sandbox.py | 54 cmd = [] 56 cmd += ['gdbserver', self.config.gdbserver] 57 cmd += [self.config.build_dir + fname, '-v'] 59 cmd += ['-d', self.config.dtb] 60 cmd += self.sandbox_flags 61 return Spawn(cmd, cwd=self.config.source_dir, decode_signal=True)
|
| A D | utils.py | 160 def run_and_log(ubman, cmd, ignore_errors=False, stdin=None, env=None): argument 178 if isinstance(cmd, str): 179 cmd = cmd.split() 180 runner = ubman.log.get_runner(cmd[0], sys.stdout) 181 output = runner.run(cmd, ignore_errors=ignore_errors, stdin=stdin, env=env) 185 def run_and_log_expect_exception(ubman, cmd, retcode, msg): argument 198 runner = ubman.log.get_runner(cmd[0], sys.stdout) 199 runner.run(cmd)
|
| /test/py/tests/test_android/ |
| A D | test_ab.py | 37 cmd = ('sgdisk', persistent) 38 utils.run_and_log(ubman, cmd) 40 cmd = ('sgdisk', '--new=1:64:512', '--change-name=1:misc', 42 utils.run_and_log(ubman, cmd) 43 cmd = ('sgdisk', '--load-backup=' + persistent) 44 utils.run_and_log(ubman, cmd) 46 cmd = ('cp', persistent, self.path) 47 utils.run_and_log(ubman, cmd)
|
| A D | test_abootimg.py | 135 cmd = ('xxd', '-r', '-p', gz_hex, gz) 136 utils.run_and_log(ubman, cmd) 137 cmd = ('gunzip', '-9', gz) 138 utils.run_and_log(ubman, cmd) 140 cmd = ('cp', persistent, self.path) 141 utils.run_and_log(ubman, cmd)
|
| /test/image/ |
| A D | test-imagetools.sh | 69 local cmd="$@" 71 echo "# ${cmd}" 72 ${cmd} 2>&1 83 local cmd="$@" 85 echo "# ${cmd}" 86 ${cmd} >${redir}
|
| /test/dm/ |
| A D | mux-cmd.c | 117 char cmd[BUF_SIZE]; in dm_test_cmd_mux_select() local 131 snprintf(cmd, BUF_SIZE, "mux select a-mux-controller %x %x", i, in dm_test_cmd_mux_select() 133 run_command(cmd, 0); in dm_test_cmd_mux_select() 149 char cmd[BUF_SIZE]; in dm_test_cmd_mux_deselect() local 164 snprintf(cmd, BUF_SIZE, "mux deselect a-mux-controller %d", i); in dm_test_cmd_mux_deselect() 165 run_command(cmd, 0); in dm_test_cmd_mux_deselect()
|
| /test/log/ |
| A D | log_filter.c | 35 char cmd[32]; in log_test_filter() local 73 snprintf(cmd, sizeof(cmd), "log filter-remove %lu", filter_num); \ in log_test_filter() 74 ut_assertok(run_command(cmd, 0)); \ in log_test_filter()
|
| /test/cmd/ |
| A D | test_echo.c | 18 char *cmd; member 48 ut_assertok(run_command(echo_data[i].cmd, 0)); in lib_test_hush_echo()
|