diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py old mode 100644 new mode 100755 index 6137310caf7b64bd5b43080d025129db0f5eab4c..48714cc41bbe8190abd1a9844d2104f3cfa9a6cc --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -171,7 +171,7 @@ class Board8939(Board): super(Board8939, self).__init__() self.socid = socid self.board_num = 8939 - self.cpu = 'CORTEXA7' + self.cpu = 'CORTEXA53' self.ram_start = 0x80000000 self.smem_addr = smem_addr self.phys_offset = 0x80000000 @@ -184,7 +184,7 @@ class Board8994(Board): super(Board8994, self).__init__() self.socid = socid self.board_num = 8994 - self.cpu = 'CORTEXA7' + self.cpu = 'CORTEXA57A53' self.ram_start = 0x0 self.smem_addr = 0x6a00000 self.phys_offset = 0x0 diff --git a/linux-ramdump-parser-v2/ramdump.py b/linux-ramdump-parser-v2/ramdump.py index 2477f29a7930b8b191cccbde61d994392f5197ae..d2060ed59070b53f6d708ac88cb8cef4c37981d4 100755 --- a/linux-ramdump-parser-v2/ramdump.py +++ b/linux-ramdump-parser-v2/ramdump.py @@ -693,14 +693,10 @@ class RamDump(): startup_script = open(out_path + '/t32_startup_script.cmm', 'wb') - # This is a semi hack until A53 support is fully integrated and tested. - # Remove this at the earliest convenience. - if self.arm64: - startup_script.write( - 'sys.cpu CORTEXA53\n'.encode('ascii', 'ignore')) + if self.arm64 and self.hw_id == 8916: + 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')) + startup_script.write('sys.cpu {0}\n'.format(self.cpu_type).encode('ascii', 'ignore')) startup_script.write('sys.up\n'.encode('ascii', 'ignore')) for ram in self.ebi_files: