Skip to content
Snippets Groups Projects
Commit d1b7d176 authored by Xiaogang Cui's avatar Xiaogang Cui
Browse files

linux-ramdump-parser-v2: fix the t32 path for 8939 and 8936

Fix the t32 tool path for 8939 and 8936, and fix the cpu type in
startup script.

Change-Id: Ia1b7af9f80f2fb46a2b3c964630aecfe8b82e80a
parent 76fc1362
Branches
No related tags found
No related merge requests found
......@@ -171,7 +171,7 @@ class Board8939(Board):
super(Board8939, self).__init__()
self.socid = socid
self.board_num = 8939
self.cpu = 'CORTEXA53'
self.cpu = 'CORTEXA7'
self.ram_start = 0x80000000
self.smem_addr = smem_addr
self.phys_offset = 0x80000000
......@@ -184,7 +184,7 @@ class Board8936(Board):
super(Board8936, self).__init__()
self.socid = socid
self.board_num = 8936
self.cpu = 'CORTEXA53'
self.cpu = 'CORTEXA7'
self.ram_start = 0x80000000
self.smem_addr = 0x6300000
self.phys_offset = 0x80000000
......
......@@ -693,7 +693,7 @@ class RamDump():
startup_script = open(out_path + '/t32_startup_script.cmm', 'wb')
if self.arm64 and self.hw_id == 8916:
if self.arm64 and (self.hw_id == 8916 or self.hw_id == 8939 or self.hw_id == 8936):
startup_script.write('sys.cpu CORTEXA53\n'.encode('ascii', 'ignore'))
else:
startup_script.write('sys.cpu {0}\n'.format(self.cpu_type).encode('ascii', 'ignore'))
......@@ -763,7 +763,7 @@ class RamDump():
t32_bat = open(out_path + '/launch_t32.bat', 'wb')
if self.arm64:
t32_binary = 'C:\\T32\\bin\\windows64\\t32MARM64.exe'
elif self.hw_id == 8916:
elif self.hw_id == 8916 or self.hw_id == 8939 or self.hw_id == 8936:
t32_binary = 'C:\\T32\\bin\\windows64\\t32MARM.exe'
else:
t32_binary = 'c:\\t32\\t32MARM.exe'
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment