Home
last modified time | relevance | path

Searched refs:run_command (Results 1 – 25 of 109) sorted by relevance

12345

/OK3568_Linux_fs/u-boot/test/py/tests/
H A Dtest_gpt.py24 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 Dtest_shell_basics.py14 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 Dtest_efi_loader.py64 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 Dtest_net.py72 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 Dtest_md.py18 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 Dtest_env.py45 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 Dtest_hush_if_test.py111 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')
/OK3568_Linux_fs/device/rockchip/common/build-hooks/
H A D10-kernel.sh46 run_command $KMAKE $RK_KERNEL_CFG $RK_KERNEL_CFG_FRAGMENTS
55 run_command $KMAKE menuconfig
56 run_command $KMAKE savedefconfig
57 run_command mv kernel/defconfig \
61 run_command $KMAKE "$RK_KERNEL_DTS_NAME.img"
62 run_command $KMAKE modules
64run_command $KMAKE modules_install INSTALL_MOD_PATH=$SDK_DIR/buildroot/output/$RK_BUILDROOT_CFG/ta…
69 run_command \
78 run_command $KMAKE modules
89run_command $KMAKE modules_install INSTALL_MOD_PATH=$SDK_DIR/buildroot/output/$RK_BUILDROOT_CFG/ta…
[all …]
H A D70-loader.sh19 run_command cp "$RK_KERNEL_DTB" $UEFI_DIR/$RK_CHIP.dtb
20 run_command cd uefi
21 run_command $UMAKE $RK_UBOOT_CFG
47 run_command cd u-boot
48 run_command $UMAKE $RK_UBOOT_CFG $RK_UBOOT_CFG_FRAGMENTS $UARGS
54 run_command $UMAKE $UARGS_COMMON --spl
59 run_command $UMAKE $UARGS_COMMON --idblock
62 run_command cd ..
/OK3568_Linux_fs/device/rockchip/common/scripts/
H A Dmk-kernel.sh46 run_command $KMAKE $RK_KERNEL_CFG $RK_KERNEL_CFG_FRAGMENTS
55 run_command $KMAKE menuconfig
56 run_command $KMAKE savedefconfig
57 run_command mv kernel/defconfig \
61 run_command $KMAKE "$RK_KERNEL_DTS_NAME.img"
62 run_command $KMAKE modules
64run_command $KMAKE modules_install INSTALL_MOD_PATH=$SDK_DIR/buildroot/output/$RK_BUILDROOT_CFG/ta…
69 run_command \
78 run_command $KMAKE modules
89run_command $KMAKE modules_install INSTALL_MOD_PATH=$SDK_DIR/buildroot/output/$RK_BUILDROOT_CFG/ta…
[all …]
H A Dmk-loader.sh19 run_command cp "$RK_KERNEL_DTB" $UEFI_DIR/$RK_CHIP.dtb
20 run_command cd uefi
21 run_command $UMAKE $RK_UBOOT_CFG
47 run_command cd u-boot
48 run_command $UMAKE $RK_UBOOT_CFG $RK_UBOOT_CFG_FRAGMENTS $UARGS
54 run_command $UMAKE $UARGS_COMMON --spl
59 run_command $UMAKE $UARGS_COMMON --idblock
62 run_command cd ..
/OK3568_Linux_fs/u-boot/test/
H A Dcommand_ut.c18 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()
/OK3568_Linux_fs/yocto/poky/bitbake/lib/bb/
H A Dtinfoil.py53 … return self.tinfoil.run_command('dataStoreConnectorVarHistCmd', self.dsindex, cmd, args, kwargs)
56 …ret = self.tinfoil.run_command('dataStoreConnectorVarHistCmdEmit', self.dsindex, var, oval, val, d…
73 … return self.tinfoil.run_command('dataStoreConnectorIncHistCmd', self.dsindex, cmd, args, kwargs)
97 ret = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, cmd, args, kwargs)
111 keys = self.tinfoil.run_command('dataStoreConnectorCmd', self.dsindex, "keys", [], {})
132 return self.tinfoil.run_command('getAllAppends', self.mc)
144 pkg_pn = defaultdict(list, self.tinfoil.run_command('getRecipes', self.mc) or [])
163 … attrvalue = defaultdict(list, self.tinfoil.run_command('getRecipeDepends', self.mc) or [])
165 …attrvalue = defaultdict(lambda: defaultdict(list), self.tinfoil.run_command('getRuntimeDepends', s…
167 …attrvalue = defaultdict(lambda: defaultdict(list), self.tinfoil.run_command('getRuntimeRecommends'…
[all …]
/OK3568_Linux_fs/u-boot/test/rockchip/
H A Dtest-download.c13 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 Dtest-boot.c13 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 Dtest-storage.c85 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 Dtest-power.c95 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()
/OK3568_Linux_fs/u-boot/cmd/
H A Dscript_update.c99 ret = run_command(next_line, 0); in do_script()
132 ret = run_command(cmd, 0); in do_sd_update()
135 ret = run_command(cmd, 0); in do_sd_update()
157 if (run_command("usb reset", 0)) in do_usb_update()
193 ret = run_command(cmd, 0); in do_usb_update()
196 ret = run_command(cmd, 0); in do_usb_update()
222 run_command("dhcp", 0); in do_tftp_update()
225 ret = run_command(cmd, 0); in do_tftp_update()
228 ret = run_command(cmd, 0); in do_tftp_update()
H A Ddownload.c25 run_command("rockusb 0 $devtype $devnum", 0); in do_download()
29 run_command("rbrom", 0); in do_download()
/OK3568_Linux_fs/kernel/tools/testing/ktest/
H A Dktest.pl1371 sub run_command;
1388 run_command "$power_cycle";
1407 if (run_command $reboot) {
1410 run_command "$power_cycle";
1414 run_command "$power_cycle";
1429 run_command "$power_cycle";
1445 run_command $switch_to_good;
1532 run_command $post_test;
1783 run_command $post_test;
1789 sub run_command { subroutine
[all …]
H A Dconfig-bisect.pl159 sub run_command { subroutine
235 if (!run_command "$make olddefconfig") {
239 if (!run_command "$make oldnoconfig") {
242 run_command "yes '' | $make oldconfig" or
734 run_command "cp $good_start $good" or die "failed to copy to $good\n";
735 run_command "cp $bad_start $bad" or die "failed to copy to $bad\n";
744 run_command "cp $output_config $good" or die "failed to copy $config to $good\n";
746 run_command "cp $output_config $bad" or die "failed to copy $config to $bad\n";
760 run_command "rm $good";
761 run_command "rm $bad";
/OK3568_Linux_fs/kernel/tools/testing/selftests/net/
H A Ddevlink_port_split.py24 def run_command(cmd, should_fail=False): function
56 stdout, stderr = run_command(cmd)
78 stdout, stderr = run_command(cmd)
96 stdout, stderr = run_command(cmd)
112 stdout, stderr = run_command(cmd, should_fail=should_fail)
132 stdout, stderr = run_command(cmd)
211 stdout, stderr = run_command(cmd)
238 stdout, stderr = run_command(cmd)
245 stdout, stderr = run_command(cmd)
/OK3568_Linux_fs/kernel/kernel/trace/
H A Dtrace_dynevent.c362 dynevent_create_fn_t run_command) in dynevent_cmd_init() argument
368 cmd->run_command = run_command; in dynevent_cmd_init()
437 return cmd->run_command(cmd); in dynevent_create()
/OK3568_Linux_fs/yocto/meta-openembedded/meta-oe/classes/
H A Dsocorro-syms.bbclass53 def run_command(command, directory):
107 git_root_dir = run_command(
138 source_long_url = run_command(
145 source_long_url = run_command(
161 source_branch_list = run_command("git show-branch --list", source_file_dir)
177 source_toplevel = run_command(
183 source_revision = run_command("git rev-parse HEAD", source_file_dir)
/OK3568_Linux_fs/buildroot/package/iputils/
H A D0001-meson-Make-tests-optional.patch55 -r = run_command('ip', '-6', 'a')
67 -r = run_command('id', '-u')
144 +r = run_command('ip', '-6', 'a')
154 +r = run_command('id', '-u')

12345