From b4cbc8e299e0a038b618e1cad71602aa593b9af8 Mon Sep 17 00:00:00 2001 From: Jeevan Shriram <jshriram@codeaurora.org> Date: Fri, 1 Dec 2017 17:46:21 -0800 Subject: [PATCH] lrdpv2: Add support for sdxpoorwills Add support for detecting sdxpoorwills target and parsing the ramdumps. Change-Id: I7c1d37c8cc87adff0a7eb0b0d3876295d976a5d3 --- linux-ramdump-parser-v2/boards.py | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) diff --git a/linux-ramdump-parser-v2/boards.py b/linux-ramdump-parser-v2/boards.py index 42ea2b2..1326e2d 100644 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -540,6 +540,19 @@ class BoardSDM855(Board): self.wdog_addr = 0x146BF658 self.imem_file_name = 'OCIMEM.BIN' +class BoardPoorwills(Board): + def __init__(self, socid): + super(BoardPoorwills, self).__init__() + self.socid = socid + self.board_num = "poorwills" + self.cpu = 'CORTEXA7' + self.ram_start = 0x80000000 + self.smem_addr = 0xFE40000 + self.phys_offset = 0x80000000 + self.imem_start = 0x14680000 + self.wdog_addr = 0x14680658 + self.imem_file_name = 'OCIMEM.BIN' + boards = [] boards.append(Board9640(socid=234)) @@ -760,6 +773,9 @@ boards.append(BoardSDM670(socid=337)) boards.append(BoardQCS605(socid=347)) +boards.append(BoardPoorwills(socid=334)) +boards.append(BoardPoorwills(socid=335)) + def get_supported_boards(): """ Called by other part of the code to get a list of boards """ return boards -- GitLab