From 07473e832ba0b3dbc95657e82e4c18ca0c8d1a5e Mon Sep 17 00:00:00 2001 From: Prasad Sodagudi <psodagud@codeaurora.org> Date: Fri, 6 Nov 2015 12:37:33 +0530 Subject: [PATCH] linux-ramdump-parser-v2: Add support for msm8937 Add support for detecting 8937 target and parsing the ramdumps. Change-Id: If487b01d02c634b8e9788ada07d408cd516af556 --- linux-ramdump-parser-v2/boards.py | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py index a71c0c5..2deb5b8 100755 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -319,6 +319,20 @@ class Board9607(Board): self.wdog_addr = 0x8600658 self.imem_file_name = 'OCIMEM.BIN' + +class Board8937(Board): + def __init__(self, socid): + super(Board8937, self).__init__() + self.socid = socid + self.board_num = 8937 + self.cpu = 'CORTEXA53' + self.ram_start = 0x80000000 + self.smem_addr = 0x6300000 + self.phys_offset = 0x40000000 + self.imem_start = 0x8600000 + self.wdog_addr = 0x8600658 + self.imem_file_name = 'OCIMEM.BIN' + boards = [] boards.append(Board9640(socid=234)) @@ -499,6 +513,9 @@ boards.append(Board9607(socid=297)) boards.append(Board9607(socid=298)) boards.append(Board9607(socid=299)) +boards.append(Board8937(socid=294)) +boards.append(Board8937(socid=295)) + def get_supported_boards(): """ Called by other part of the code to get a list of boards """ return boards -- GitLab