Skip to content
Snippets Groups Projects
Commit c11041f1 authored by Linux Build Service Account's avatar Linux Build Service Account Committed by Gerrit - the friendly Code Review server
Browse files

Merge "lrdp-v2: Extract chipd from ramdump and pass it to scandumpwrapper as argument."

parents d4c59a75 c9466e77
No related branches found
No related tags found
No related merge requests found
......@@ -131,6 +131,7 @@ class DebugImage_v2():
def parse_scandump(self, version, start, end, client_id, ram_dump):
scandump_file_prefix = "scandump_core"
core_bin_prefix = "core"
chipset = ram_dump.hw_id
try:
scan_wrapper_path = local_settings.scandump_parser_path
except AttributeError:
......@@ -158,7 +159,7 @@ class DebugImage_v2():
val = ram_dump.read_byte(i, False)
header_bin.write(struct.pack("<B", val))
header_bin.close()
subprocess.call('python {0} -d {1} -o {2} -f {3}'.format(scan_wrapper_path, input, output, arch))
subprocess.call('python {0} -d {1} -o {2} -f {3} -c {4}'.format(scan_wrapper_path, input, output, arch, chipset))
sv2 = Scandump_v2(core_num,ram_dump,version)
reg_info = sv2.prepare_dict()
if reg_info is not None:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment