Lines Matching refs:ubman

64 def test_efi_pre_commands(ubman):  argument
71 init_usb = ubman.config.env.get('env__net_uses_usb', False)
73 ubman.run_command('usb start')
75 init_pci = ubman.config.env.get('env__net_uses_pci', False)
77 ubman.run_command('pci enum')
80 def test_efi_setup_dhcp(ubman): argument
87 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False)
89 env_vars = ubman.config.env.get('env__net_static_env_vars', None)
94 ubman.run_command('setenv autoload no')
95 output = ubman.run_command('dhcp')
102 def test_efi_setup_static(ubman): argument
109 env_vars = ubman.config.env.get('env__net_static_env_vars', None)
111 test_dhcp = ubman.config.env.get('env__net_dhcp_server', False)
117 ubman.run_command('setenv %s %s' % (var, val))
122 def fetch_file(ubman, env_conf, proto): argument
131 f = ubman.config.env.get(env_conf, None)
137 addr = utils.find_ram_base(ubman)
146 output = ubman.run_command('%s %x %s' % (cmd, addr, fn))
157 if ubman.config.buildconfig.get('config_cmd_crc32', 'n') != 'y':
160 output = ubman.run_command('crc32 %x $filesize' % addr)
165 def do_test_efi_helloworld_net(ubman, proto): argument
171 addr = fetch_file(ubman, 'env__efi_loader_helloworld_file', proto)
173 output = ubman.run_command('bootefi %x' % addr)
182 def test_efi_helloworld_net_tftp(ubman): argument
188 do_test_efi_helloworld_net(ubman, PROTO_TFTP);
193 def test_efi_helloworld_net_http(ubman): argument
198 if ubman.config.env.get('env__efi_helloworld_net_http_test_skip', True):
201 do_test_efi_helloworld_net(ubman, PROTO_HTTP);
204 def test_efi_helloworld_builtin(ubman): argument
211 output = ubman.run_command('bootefi hello')
218 def test_efi_grub_net(ubman): argument
225 addr = fetch_file(ubman, 'env__efi_loader_grub_file', PROTO_TFTP)
227 ubman.run_command('bootefi %x' % addr, wait_for_prompt=False)
230 check_smbios = ubman.config.env.get('env__efi_loader_check_smbios', False)
232 ubman.wait_for('grub>')
233 ubman.run_command('lsefisystab', wait_for_prompt=False, wait_for_echo=False)
234 ubman.wait_for('SMBIOS')
237 ubman.wait_for('grub>')
238 ubman.run_command('exit', wait_for_prompt=False, wait_for_echo=False)
239 ubman.wait_for(ubman.prompt)
241 ubman.run_command('')