Lines Matching refs:u_boot_console
63 def test_net_pre_commands(u_boot_console): argument
70 init_usb = u_boot_console.config.env.get('env__net_uses_usb', False)
72 u_boot_console.run_command('usb start')
74 init_pci = u_boot_console.config.env.get('env__net_uses_pci', False)
76 u_boot_console.run_command('pci enum')
79 def test_net_dhcp(u_boot_console): argument
86 test_dhcp = u_boot_console.config.env.get('env__net_dhcp_server', False)
90 u_boot_console.run_command('setenv autoload no')
91 output = u_boot_console.run_command('dhcp')
98 def test_net_setup_static(u_boot_console): argument
105 env_vars = u_boot_console.config.env.get('env__net_static_env_vars', None)
110 u_boot_console.run_command('setenv %s %s' % (var, val))
116 def test_net_ping(u_boot_console): argument
127 output = u_boot_console.run_command('ping $serverip')
131 def test_net_tftpboot(u_boot_console): argument
144 f = u_boot_console.config.env.get('env__net_tftp_readable_file', None)
150 addr = u_boot_utils.find_ram_base(u_boot_console) + (1024 * 1024 * 4)
153 output = u_boot_console.run_command('tftpboot %x %s' % (addr, fn))
164 if u_boot_console.config.buildconfig.get('config_cmd_crc32', 'n') != 'y':
167 output = u_boot_console.run_command('crc32 %x $filesize' % addr)
171 def test_net_nfs(u_boot_console): argument
184 f = u_boot_console.config.env.get('env__net_nfs_readable_file', None)
190 addr = u_boot_utils.find_ram_base(u_boot_console) + (1024 * 1024 * 4)
193 output = u_boot_console.run_command('nfs %x %s' % (addr, fn))
204 if u_boot_console.config.buildconfig.get('config_cmd_crc32', 'n') != 'y':
207 output = u_boot_console.run_command('crc32 %x $filesize' % addr)