| /rk3399_rockchip-uboot/test/py/tests/ |
| H A D | test_gpt.py | 24 u_boot_console.run_command('host bind 0 testdisk.raw') 25 output = u_boot_console.run_command('gpt guid host 0') 34 u_boot_console.run_command('host bind 0 testdisk.raw') 35 output = u_boot_console.run_command('gpt guid host 0 newguid') 36 output = u_boot_console.run_command('printenv newguid') 45 u_boot_console.run_command('host bind 0 testdisk.raw') 46 u_boot_console.run_command('gpt rename host 0 1 first') 47 output = u_boot_console.run_command('gpt read host 0') 49 u_boot_console.run_command('gpt rename host 0 2 second') 50 output = u_boot_console.run_command('gpt read host 0') [all …]
|
| H A D | test_shell_basics.py | 14 response = u_boot_console.run_command('echo hello') 21 response = u_boot_console.run_command(cmd) 31 response = u_boot_console.run_command(cmd) 33 u_boot_console.run_command('setenv list') 38 u_boot_console.run_command('setenv foo "setenv monty 1; setenv python 2"') 39 u_boot_console.run_command('run foo') 40 response = u_boot_console.run_command('echo $monty') 42 response = u_boot_console.run_command('echo $python') 44 u_boot_console.run_command('setenv foo') 45 u_boot_console.run_command('setenv monty') [all …]
|
| H A D | test_efi_loader.py | 64 u_boot_console.run_command('usb start') 68 u_boot_console.run_command('pci enum') 82 u_boot_console.run_command('setenv autoload no') 83 output = u_boot_console.run_command('dhcp') 102 u_boot_console.run_command('setenv %s %s' % (var, val)) 125 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn)) 139 output = u_boot_console.run_command('crc32 %x $filesize' % addr) 154 output = u_boot_console.run_command('bootefi %x' % addr) 166 output = u_boot_console.run_command('bootefi hello') 180 u_boot_console.run_command('bootefi %x' % addr, wait_for_prompt=False) [all …]
|
| H A D | test_net.py | 72 u_boot_console.run_command('usb start') 76 u_boot_console.run_command('pci enum') 90 u_boot_console.run_command('setenv autoload no') 91 output = u_boot_console.run_command('dhcp') 110 u_boot_console.run_command('setenv %s %s' % (var, val)) 127 output = u_boot_console.run_command('ping $serverip') 153 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn)) 167 output = u_boot_console.run_command('crc32 %x $filesize' % addr) 193 output = u_boot_console.run_command('nfs %x %s' % (addr, fn)) 207 output = u_boot_console.run_command('crc32 %x $filesize' % addr)
|
| H A D | test_md.py | 18 u_boot_console.run_command('mw ' + addr + ' 0 10') 19 response = u_boot_console.run_command('md ' + addr + ' 10') 21 u_boot_console.run_command('mw ' + addr + ' ' + val) 22 response = u_boot_console.run_command('md ' + addr + ' 10') 34 u_boot_console.run_command('md %s %x' % (addr_base, words)) 35 response = u_boot_console.run_command('')
|
| H A D | test_env.py | 45 response = self.u_boot_console.run_command('printenv') 47 response = self.u_boot_console.run_command('printenv') 109 state_test_env.u_boot_console.run_command('setenv %s' % var) 136 state_test_env.u_boot_console.run_command( 150 response = state_test_env.u_boot_console.run_command('echo $%s' % var) 166 response = state_test_env.u_boot_console.run_command('printenv %s' % var) 189 response = c.run_command('printenv %s' % var)
|
| H A D | test_hush_if_test.py | 111 response = u_boot_console.run_command(cmd) 117 u_boot_console.run_command('setenv ut_var_nonexistent') 118 u_boot_console.run_command('setenv ut_var_exists 1') 130 u_boot_console.run_command('setenv ut_var_exists')
|
| H A D | test_help.py | 9 u_boot_console.run_command('help')
|
| H A D | test_unknown_cmd.py | 13 response = u_boot_console.run_command('non_existent_cmd')
|
| H A D | test_000_version.py | 18 response = u_boot_console.run_command('version')
|
| H A D | test_sandbox_exit.py | 14 u_boot_console.run_command('reset', wait_for_prompt=False)
|
| H A D | test_dfu.py | 162 u_boot_console.run_command(cmd) 165 u_boot_console.run_command(cmd, wait_for_prompt=False)
|
| H A D | test_sleep.py | 17 u_boot_console.run_command('sleep %d' % sleep_time)
|
| H A D | test_ut.py | 28 output = u_boot_console.run_command('ut ' + ut_subtest)
|
| /rk3399_rockchip-uboot/test/ |
| H A D | command_ut.c | 18 run_command("env default -f -a", 0); in do_ut_cmd() 29 run_command("setenv list", 0); in do_ut_cmd() 41 assert(run_command("false", 0) == 1); in do_ut_cmd() 42 assert(run_command("echo", 0) == 0); in do_ut_cmd() 47 run_command("setenv foo 'setenv black 1\nsetenv adder 2'", 0); in do_ut_cmd() 48 run_command("run foo", 0); in do_ut_cmd() 55 assert(run_command("", 0) == 0); in do_ut_cmd() 56 assert(run_command(" ", 0) == 0); in do_ut_cmd() 58 assert(run_command("'", 0) == 1); in do_ut_cmd()
|
| /rk3399_rockchip-uboot/test/rockchip/ |
| H A D | test-download.c | 13 return run_command("rbrom", 0); in do_test_brom() 21 return run_command("fastboot usb 0", 0); in do_test_fastboot() 29 return run_command("rockusb 0 ${devtype} ${devnum}", 0); in do_test_rockusb() 46 ret |= run_command(serverip_cmd, 0); in do_test_tftp() 47 ret |= run_command("dhcp", 0); in do_test_tftp() 48 ret |= run_command(load_cmd, 0); in do_test_tftp()
|
| H A D | test-boot.c | 13 return run_command("boot_android ${devtype} ${devnum}", 0); in do_test_android() 21 return run_command("boot_android ${devtype} ${devnum}", 0); in do_test_android_avb() 29 return run_command("bootrkp", 0); in do_test_bootrkp() 37 return run_command("run distro_bootcmd", 0); in do_test_distro()
|
| H A D | test-storage.c | 85 if (run_command("usb start", 0)) { in do_test_storage() 92 if (run_command(cmd, 0)) { in do_test_storage() 175 if (run_command(cmd, 0)) { in do_test_storage() 203 if (run_command(cmd, 0)) { in do_test_storage() 236 ret = run_command(cmd, 0); in do_test_storage() 327 return run_command("mmc testsecurestorage", 0); in do_test_secure_storage() 415 return run_command("part list ${devtype} ${devnum}", 0); in do_test_part() 423 run_command("usb start", 0); in do_test_usb()
|
| H A D | test-power.c | 95 return run_command("reset", 0); in do_test_reset() 103 return run_command("dvfs", 0); in do_test_dvfs() 182 run_command("pmic dev $this_pmic", 0); in do_test_pmic() 183 ret = run_command("pmic dump", 0); in do_test_pmic()
|
| /rk3399_rockchip-uboot/cmd/ |
| H A D | script_update.c | 100 ret = run_command(next_line, 0); in do_script() 142 ret = run_command(cmd, 0); in do_sd_update() 145 ret = run_command(cmd, 0); in do_sd_update() 167 if (run_command("usb reset", 0)) in do_usb_update() 203 ret = run_command(cmd, 0); in do_usb_update() 206 ret = run_command(cmd, 0); in do_usb_update() 232 run_command("dhcp", 0); in do_tftp_update() 235 ret = run_command(cmd, 0); in do_tftp_update() 238 ret = run_command(cmd, 0); in do_tftp_update()
|
| H A D | download.c | 25 run_command("rockusb 0 $devtype $devnum", 0); in do_download() 29 run_command("rbrom", 0); in do_download()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/rv1103b/ |
| H A D | rv1103b.c | 227 if (!run_command("blk dev mmc 1", 0) && in rk_board_scan_bootdev() 228 !run_command("rkimgtest mmc 1", 0)) { in rk_board_scan_bootdev() 232 run_command("blk dev mtd 2", 0); in rk_board_scan_bootdev()
|
| /rk3399_rockchip-uboot/common/ |
| H A D | cli.c | 33 int run_command(const char *cmd, int flag) in run_command() function 141 if (run_command(arg, flag | CMD_FLAG_ENV) != 0) in do_run()
|
| /rk3399_rockchip-uboot/arch/arm/mach-rockchip/ |
| H A D | board.c | 274 if (!run_command("usb start", -1)) { in boot_from_udisk() 300 if (!run_command(buf, -1)) { in boot_from_udisk() 469 run_command(cmd, 0); in scan_run_cmd() 477 run_command(cmd, 0); in scan_run_cmd() 643 run_command("download", 0); in sanity_cpu_swap() 1119 return run_command(boot_cmd, 0); in board_do_bootm() 1132 return run_command(boot_cmd, 0); in board_do_bootm() 1144 run_command("reset;", 0); in autoboot_command_fail_handle() 1146 run_command("fastboot usb 0;", 0); in autoboot_command_fail_handle() 1150 run_command("download", 0); in autoboot_command_fail_handle() [all …]
|
| /rk3399_rockchip-uboot/board/engicam/common/ |
| H A D | board.c | 31 run_command(cmd, 0); in mmc_late_init()
|