From 2b3f03e198f0da8a7f8d5194925e49f71ff3cd21 Mon Sep 17 00:00:00 2001 From: Shashank Mittal <mittals@codeaurora.org> Date: Fri, 5 Dec 2014 20:03:51 -0800 Subject: [PATCH] linux-ramdump-parser-v2: Add support for msm8992 Add support for detecting 8992 target and parsing the ramdumps. Change-Id: I06b88d67afdfea6a3c6867911c96ebe1317c2ce8 --- 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 34ae644..3d0598d 100755 --- a/linux-ramdump-parser-v2/boards.py +++ b/linux-ramdump-parser-v2/boards.py @@ -231,6 +231,19 @@ class Board8908(Board): self.wdog_addr = 0x8600658 self.imem_file_name = 'OCIMEM.BIN' +class Board8992(Board): + def __init__(self, socid): + super(Board8992, self).__init__() + self.socid = socid + self.board_num = 8992 + self.cpu = 'CORTEXA57A53' + self.ram_start = 0x0 + self.smem_addr = 0x6a00000 + self.phys_offset = 0x0 + self.imem_start = 0xfe800000 + self.wdog_addr = 0xfe87f658 + self.imem_file_name = 'OCIMEM.BIN' + boards = [] boards.append(Board8916(socid=206, smem_addr=0xe200000)) boards.append(Board8916(socid=206, smem_addr=0x6300000)) @@ -379,6 +392,9 @@ boards.append(Board8625(socid=135, board_num=8625)) boards.append(Board8994(socid=207)) +boards.append(Board8992(socid=251)) +boards.append(Board8992(socid=252)) + def get_supported_boards(): """ Called by other part of the code to get a list of boards """ return boards -- GitLab