Skip to content
Snippets Groups Projects
Commit 7dfab339 authored by Shashank Babu Chinta Venkata's avatar Shashank Babu Chinta Venkata
Browse files

Modify scandata to write Needed info into binary file

This change allows to write needed data into a bin file
in parse_scandump method. This bin file is essential for scandump parser
to extract register data from scandump entries in ramdump.

Change-Id: I189950853c1dbc279cc7de502b1c75c0455ef782
CRs-Fixed: 1074805
parent 7b5bf397
No related branches found
No related tags found
No related merge requests found
......@@ -107,11 +107,7 @@ class DebugImage_v2():
if client_id == client.MSM_DUMP_DATA_SCANDUMP:
self.has_scan_dump = True
output = os.path.join(ram_dump.outdir, scandump_file_prefix)
if os.path.isfile(os.path.join(ram_dump.outdir, "vv_msg_4_header.bin")):
input = os.path.join(ram_dump.outdir, "vv_msg_4_header.bin")
else:
print_out_str('File vv_msg_4_header.bin is expected to parse scandump')
return
input = os.path.join(ram_dump.outdir, "vv_msg_4_header.bin")
print_out_str(
'Parsing scandump context start {0:x} end {1:x} {2} {3}'.format(start, end, output, input))
if ram_dump.arm64:
......
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