Home
last modified time | relevance | path

Searched refs:ubman (Results 1 – 25 of 107) sorted by relevance

12345

/test/py/tests/test_efi_secboot/
A Dtest_signed.py25 ubman.restart_uboot()
29 output = ubman.run_command_list([
49 ubman.restart_uboot()
93 ubman.restart_uboot()
129 ubman.restart_uboot()
157 ubman.restart_uboot()
214 ubman.restart_uboot()
242 ubman.restart_uboot()
292 ubman.restart_uboot()
316 ubman.restart_uboot()
[all …]
A Dtest_authvar.py24 ubman.restart_uboot()
33 output = ubman.run_command(
52 output = ubman.run_command(
55 output = ubman.run_command(
84 output = ubman.run_command(
102 output = ubman.run_command(
120 output = ubman.run_command(
128 ubman.restart_uboot()
169 ubman.restart_uboot()
210 ubman.restart_uboot()
[all …]
/test/py/tests/
A Dtest_efi_selftest.py21 ubman.restart_uboot()
44 ubman.restart_uboot()
75 ubman.drain_console()
81 ubman.drain_console()
87 ubman.drain_console()
93 ubman.drain_console()
99 ubman.drain_console()
105 ubman.drain_console()
111 ubman.drain_console()
116 ubman.restart_uboot()
[all …]
A Dtest_distro.py12 def test_distro(ubman): argument
14 with ubman.log.section('boot'):
17 with ubman.log.section('Grub'):
32 ubman.ctrl('N')
33 ubman.ctrl('N')
34 ubman.ctrl('N')
38 ubman.ctrl('E')
46 ubman.send(CONSOLE)
49 ubman.log.info("boot")
50 ubman.ctrl('X')
[all …]
A Dtest_tpm2.py44 def force_init(ubman, force=False): argument
64 def test_tpm2_autostart(ubman): argument
89 def test_tpm2_clear(ubman): argument
120 force_init(ubman)
144 force_init(ubman)
165 force_init(ubman)
183 def test_tpm2_pcr_read(ubman): argument
188 force_init(ubman)
215 force_init(ubman)
255 def test_tpm2_cleanup(ubman): argument
[all …]
A Dtest_net_boot.py135 def setup_networking(ubman): argument
141 test_net.test_net_dhcp(ubman)
145 def setup_tftpboot_boot(ubman): argument
155 setup_networking(ubman)
199 ubman
207 with ubman.enable_check(
225 def setup_pxe_boot(ubman): argument
234 setup_networking(ubman)
242 def test_net_pxe_boot(ubman): argument
282 with ubman.enable_check(
[all …]
A Dtest_fpga.py66 def check_dev(ubman): argument
78 dev, f = check_dev(ubman)
100 def test_fpga_fail(ubman): argument
108 def test_fpga_help(ubman): argument
117 def test_fpga_dump(ubman): argument
130 dev, f = check_dev(ubman)
141 dev, f = check_dev(ubman)
150 def test_fpga_info(ubman): argument
204 def test_fpga_load(ubman): argument
214 def test_fpga_loadp(ubman): argument
[all …]
A Dtest_gpt.py51 def __init__(self, ubman): argument
78 utils.run_and_log(ubman, cmd)
85 utils.run_and_log(ubman, cmd)
89 utils.run_and_log(ubman, cmd)
91 utils.run_and_log(ubman, cmd)
94 utils.run_and_log(ubman, cmd)
97 def state_disk_image(ubman): argument
103 return GptTestDiskImage(ubman)
109 def test_gpt_read(state_disk_image, ubman): argument
160 def test_gpt_verify(state_disk_image, ubman): argument
[all …]
A Dtest_source.py12 def test_source(ubman): argument
17 utils.run_and_log(ubman, (mkimage, '-f', its, fit))
20 assert '2' in ubman.run_command('source')
21 assert '1' in ubman.run_command('source :')
22 assert '1' in ubman.run_command('source :script-1')
23 assert '2' in ubman.run_command('source :script-2')
25 assert '2' in ubman.run_command('source \\#')
26 assert '1' in ubman.run_command('source \\#conf-1')
29 ubman.run_command('fdt addr $loadaddr')
31 assert '1' in ubman.run_command('source')
[all …]
A Dtest_zynq_secure.py39 def zynq_secure_pre_commands(ubman): argument
51 def test_zynq_aes_image(ubman): argument
64 zynq_secure_pre_commands(ubman)
65 test_net.test_net_dhcp(ubman)
79 output = ubman.run_command(
93 test_net.test_net_dhcp(ubman)
107 output = ubman.run_command(
121 test_net.test_net_dhcp(ubman)
141 def test_zynq_rsa_image(ubman): argument
147 test_net.test_net_dhcp(ubman)
[all …]
A Dtest_bootmenu.py8 def test_bootmenu(ubman): argument
14 with ubman.temporary_timeout(500):
15 ubman.run_command('setenv bootmenu_default 1')
21 ubman.p.expect([i])
26 ubman.p.expect(['autoboot'])
32 ubman.p.expect(['autoboot'])
38 ubman.p.expect(['autoboot'])
43 ubman.run_command('setenv bootmenu_default')
44 ubman.run_command('setenv bootmenu_0')
45 ubman.run_command('setenv bootmenu_1')
[all …]
A Dtest_saveenv.py31 def setup_saveenv_env(ubman): argument
48 def ret_code(ubman): argument
49 return ubman.run_command('echo $?')
69 def set_env(ubman, var_name, var_value): argument
71 assert ret_code(ubman).endswith('0')
76 def test_saveenv(ubman): argument
80 setup_saveenv_env(ubman)
107 set_env(ubman, 'num_var', rand_num)
121 set_env(ubman, 'empty_var', '')
124 ubman.run_command('saveenv')
[all …]
A Dtest_efi_loader.py64 def test_efi_pre_commands(ubman): argument
73 ubman.run_command('usb start')
77 ubman.run_command('pci enum')
80 def test_efi_setup_dhcp(ubman): argument
102 def test_efi_setup_static(ubman): argument
218 def test_efi_grub_net(ubman): argument
232 ubman.wait_for('grub>')
234 ubman.wait_for('SMBIOS')
237 ubman.wait_for('grub>')
239 ubman.wait_for(ubman.prompt)
[all …]
A Dtest_net.py98 def test_net_pre_commands(ubman): argument
116 def test_net_dhcp(ubman): argument
136 def test_net_dhcp_abort(ubman): argument
168 ubman.wait_for('done')
183 test_net_dhcp(ubman)
186 def test_net_dhcp6(ubman): argument
223 def test_net_ping(ubman): argument
262 def test_net_tftpboot(ubman): argument
303 def test_net_nfs(ubman): argument
343 def test_net_pxe_get(ubman): argument
[all …]
A Dtest_zynqmp_rpu.py36 def get_rpu_apps_env(ubman): argument
68 def ret_code(ubman): argument
72 def tcminit(ubman, rpu_mode): argument
75 return ret_code(ubman)
88 def disable_cpus(ubman, cpu_nums): argument
102 ubman)
103 test_net.test_net_dhcp(ubman)
131 rpu_apps_load(ubman, 'split')
140 ubman)
221 ubman.drain_console()
[all …]
A Dtest_pstore.py18 def load_pstore(ubman): argument
21 output = ubman.run_command_list([
33 output = ubman.run_command_list([
38 output = ubman.run_command_list([
47 ubman.run_command('')
48 load_pstore(ubman)
57 ubman.run_command('')
58 load_pstore(ubman)
64 def test_pstore_save_records(ubman): argument
69 ubman.run_command('')
[all …]
A Dtest_gpio.py17 def test_gpio_input(ubman): argument
29 def test_gpio_exit_statuses(ubman): argument
51 def test_gpio_read(ubman): argument
54 ubman.run_command('gpio clear 0')
119 response = ubman.run_command(cmd)
126 def test_gpio_set_generic(ubman): argument
144 response = ubman.run_command(cmd)
151 def test_gpio_clear_generic(ubman): argument
174 def test_gpio_toggle_generic(ubman): argument
203 def test_gpio_input_generic(ubman): argument
[all …]
/test/py/tests/test_efi_capsule/
A Dtest_capsule_firmware_raw.py49 ubman.restart_uboot()
57 place_capsule_file(ubman, capsule_files)
60 ubman.restart_uboot()
86 capsule_setup(ubman, disk_img, None)
89 place_capsule_file(ubman, capsule_files)
92 ubman.restart_uboot()
111 verify_content(ubman, '100000', expected)
114 verify_content(ubman, '150000', expected)
128 place_capsule_file(ubman, capsule_files)
143 output = ubman.run_command_list([
[all …]
A Dtest_capsule_firmware_fit.py36 self, u_boot_config, ubman, efi_capsule_data): argument
47 ubman.restart_uboot()
55 place_capsule_file(ubman, capsule_files)
61 ubman.restart_uboot(expect_reset = capsule_early)
70 verify_content(ubman, '100000', 'u-boot:Old')
87 place_capsule_file(ubman, capsule_files)
104 verify_content(ubman, '100000', expected)
107 verify_content(ubman, '150000', expected)
122 place_capsule_file(ubman, capsule_files)
139 output = ubman.run_command_list([
[all …]
A Dtest_capsule_firmware_signed_fit.py39 self, u_boot_config, ubman, efi_capsule_data): argument
52 place_capsule_file(ubman, capsule_files)
64 verify_content(ubman, '100000', 'u-boot:New')
67 self, u_boot_config, ubman, efi_capsule_data): argument
81 place_capsule_file(ubman, capsule_files)
96 verify_content(ubman, '100000', 'u-boot:Old')
112 place_capsule_file(ubman, capsule_files)
127 verify_content(ubman, '100000', 'u-boot:Old')
142 place_capsule_file(ubman, capsule_files)
154 output = ubman.run_command_list([
[all …]
A Dtest_capsule_firmware_signed_raw.py37 self, u_boot_config, ubman, efi_capsule_data): argument
49 place_capsule_file(ubman, capsule_files)
61 verify_content(ubman, '100000', 'u-boot:New')
64 self, u_boot_config, ubman, efi_capsule_data): argument
77 place_capsule_file(ubman, capsule_files)
91 verify_content(ubman, '100000', 'u-boot:Old')
106 place_capsule_file(ubman, capsule_files)
121 verify_content(ubman, '100000', 'u-boot:Old')
136 place_capsule_file(ubman, capsule_files)
148 output = ubman.run_command_list([
[all …]
/test/py/tests/test_android/
A Dtest_abootimg.py136 utils.run_and_log(ubman, cmd)
138 utils.run_and_log(ubman, cmd)
141 utils.run_and_log(ubman, cmd)
145 def abootimg_disk_image(ubman): argument
158 def abootimgv4_disk_image_vboot(ubman): argument
171 def abootimgv4_disk_image_boot(ubman): argument
188 def test_abootimg(abootimg_disk_image, ubman): argument
199 ubman.run_command('abootimg get ver v')
221 ubman.run_command('fdt addr $dtb1_start')
246 ubman.run_command('abootimg get ver v')
[all …]
/test/py/tests/test_fs/
A Dtest_basic.py19 def test_fs1(self, ubman, fs_obj_basic): argument
26 output = ubman.run_command_list([
34 output = ubman.run_command(
40 output = ubman.run_command_list([
47 output = ubman.run_command(
51 def test_fs2(self, ubman, fs_obj_basic): argument
59 output = ubman.run_command_list([
68 output = ubman.run_command_list([
74 def test_fs3(self, ubman, fs_obj_basic): argument
89 def test_fs4(self, ubman, fs_obj_basic): argument
[all …]
A Dtest_rename.py15 def test_rename1(self, ubman, fs_obj_rename): argument
24 output = ubman.run_command_list([
31 output = ubman.run_command_list([
36 output = ubman.run_command_list([
41 output = ubman.run_command_list([
56 output = ubman.run_command_list([
63 output = ubman.run_command_list([
68 output = ubman.run_command_list([
73 output = ubman.run_command_list([
88 output = ubman.run_command_list([
[all …]
/test/py/tests/test_fs/test_squashfs/
A Dtest_sqfs_ls.py13 def sqfs_ls_at_root(ubman): argument
34 def sqfs_ls_at_empty_dir(ubman): argument
45 def sqfs_ls_at_subdir(ubman): argument
59 def sqfs_ls_at_symlink(ubman): argument
91 def sqfs_run_all_ls_tests(ubman): argument
97 sqfs_ls_at_root(ubman)
98 sqfs_ls_at_empty_dir(ubman)
99 sqfs_ls_at_subdir(ubman)
100 sqfs_ls_at_symlink(ubman)
109 def test_sqfs_ls(ubman): argument
[all …]

Completed in 48 milliseconds

12345