Lines Matching refs:u_boot_console

19     def __init__(self, u_boot_console):  argument
31 persistent = u_boot_console.config.persistent_data_dir + '/' + filename
32 self.path = u_boot_console.config.result_dir + '/' + filename
34 with u_boot_utils.persistent_file_helper(u_boot_console.log, persistent):
36 u_boot_console.log.action('Disk image file ' + persistent +
39 u_boot_console.log.action('Generating ' + persistent)
46 u_boot_utils.run_and_log(u_boot_console, cmd)
51 u_boot_utils.run_and_log(u_boot_console, cmd)
54 u_boot_utils.run_and_log(u_boot_console, cmd)
56 u_boot_utils.run_and_log(u_boot_console, cmd)
59 u_boot_utils.run_and_log(u_boot_console, cmd)
63 def state_disk_image(u_boot_console): argument
71 gtdi = GptTestDiskImage(u_boot_console)
78 def test_gpt_read(state_disk_image, u_boot_console): argument
81 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
82 output = u_boot_console.run_command('gpt read host 0')
87 output = u_boot_console.run_command('part list host 0')
94 def test_gpt_verify(state_disk_image, u_boot_console): argument
97 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
98 output = u_boot_console.run_command('gpt verify host 0')
104 def test_gpt_guid(state_disk_image, u_boot_console): argument
107 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
108 output = u_boot_console.run_command('gpt guid host 0')
114 def test_gpt_save_guid(state_disk_image, u_boot_console): argument
117 if u_boot_console.config.buildconfig.get('config_cmd_gpt', 'n') != 'y':
119 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
120 output = u_boot_console.run_command('gpt guid host 0 newguid')
121 output = u_boot_console.run_command('printenv newguid')
129 def test_gpt_rename_partition(state_disk_image, u_boot_console): argument
132 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
133 u_boot_console.run_command('gpt rename host 0 1 first')
134 output = u_boot_console.run_command('gpt read host 0')
136 u_boot_console.run_command('gpt rename host 0 2 second')
137 output = u_boot_console.run_command('gpt read host 0')
139 output = u_boot_console.run_command('part list host 0')
148 def test_gpt_swap_partitions(state_disk_image, u_boot_console): argument
151 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
152 output = u_boot_console.run_command('part list host 0')
155 u_boot_console.run_command('gpt swap host 0 first second')
156 output = u_boot_console.run_command('part list host 0')
164 def test_gpt_write(state_disk_image, u_boot_console): argument
167 u_boot_console.run_command('host bind 0 ' + state_disk_image.path)
168 output = u_boot_console.run_command('gpt write host 0 "name=all,size=0"')
170 output = u_boot_console.run_command('part list host 0')
172 …output = u_boot_console.run_command('gpt write host 0 "uuid_disk=375a56f7-d6c9-4e81-b5f0-09d41ca89…
174 output = u_boot_console.run_command('part list host 0')
177 output = u_boot_console.run_command('gpt guid host 0')