From ca97d976562041eef7c3254d635ec2d822395885 Mon Sep 17 00:00:00 2001 From: Xiaogang Cui <xiaogang@codeaurora.org> Date: Fri, 5 Jun 2015 20:23:09 +0800 Subject: [PATCH] linux-ramdump-parser-v2: Add support for msm8976 Add support for detecting 8976 target and parsing the ramdumps. Change-Id: I6d61e3fb4ff036b9a0f32be42bf1fd46e8e872e2 --- linux-ramdump-parser-v2/boards.py | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py index a1cb0c6..2631928 100755 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -296,6 +296,19 @@ class Board8952(Board): self.wdog_addr = 0x8600658 self.imem_file_name = 'OCIMEM.BIN' +class Board8976(Board): + def __init__(self, socid): + super(Board8976, self).__init__() + self.socid = socid + self.board_num = 8976 + self.cpu = 'CORTEXA53' + self.ram_start = 0x80000000 + self.smem_addr = 0x6300000 + self.phys_offset = 0x20000000 + self.imem_start = 0x8600000 + self.wdog_addr = 0x8600658 + self.imem_file_name = 'OCIMEM.BIN' + boards = [] boards.append(Board9640(socid=234)) @@ -463,6 +476,11 @@ boards.append(Board8996(socid=246)) boards.append(Board8952(socid=264)) +boards.append(Board8976(socid=266)) +boards.append(Board8976(socid=274)) +boards.append(Board8976(socid=277)) +boards.append(Board8976(socid=278)) + def get_supported_boards(): """ Called by other part of the code to get a list of boards """ return boards -- GitLab