Lines Matching refs:u_boot_console
18 def load_pstore(u_boot_console): argument
21 output = u_boot_console.run_command_list([
23 os.path.join(u_boot_console.config.source_dir, PSTORE_PANIC1)),
25 os.path.join(u_boot_console.config.source_dir, PSTORE_PANIC2)),
27 os.path.join(u_boot_console.config.source_dir, PSTORE_CONSOLE)),
30 def checkfile(u_boot_console, path, filesize, checksum): argument
33 output = u_boot_console.run_command_list([
38 output = u_boot_console.run_command_list([
44 def test_pstore_display_all_records(u_boot_console): argument
47 u_boot_console.run_command('')
48 load_pstore(u_boot_console)
49 response = u_boot_console.run_command('pstore display')
54 def test_pstore_display_one_record(u_boot_console): argument
57 u_boot_console.run_command('')
58 load_pstore(u_boot_console)
59 response = u_boot_console.run_command('pstore display dump 1')
64 def test_pstore_save_records(u_boot_console): argument
69 u_boot_console.run_command('')
70 load_pstore(u_boot_console)
71 u_boot_console.run_command('pstore save hostfs - %s' % (outdir))
73 …checkfile(u_boot_console, '%s/dmesg-ramoops-0' % (outdir), 3798, '8059335ab4cfa62c77324c491659c503…
74 …checkfile(u_boot_console, '%s/dmesg-ramoops-1' % (outdir), 4035, '3ff30df3429d81939c75d0070b5187b9…
75 …checkfile(u_boot_console, '%s/console-ramoops-0' % (outdir), 4084, 'bb44de4a9b8ebd9b17ae9800328732…