Skip to content
Snippets Groups Projects
Commit 3fc732bc authored by Aparna Das's avatar Aparna Das Committed by Gerrit - the friendly Code Review server
Browse files

linux-ramdump-parser-v2: accomodate for change in memory map

Add support to detect socinfo id correctly for different memory
maps of 8916.

Change-Id: Ic2d83288539e58bcaae1541f57d633a4ba66f169
parent fd9a5f00
No related branches found
No related tags found
No related merge requests found
...@@ -153,14 +153,14 @@ class Board9635(Board): ...@@ -153,14 +153,14 @@ class Board9635(Board):
self.imem_file_name = 'OCIMEM.BIN' self.imem_file_name = 'OCIMEM.BIN'
class Board8916(Board): class Board8916(Board):
def __init__(self, socid): def __init__(self, socid, smem_addr):
super(Board8916, self).__init__() super(Board8916, self).__init__()
self.socid = socid self.socid = socid
self.board_num = 8916 self.board_num = 8916
self.cpu = 'CORTEXA7' self.cpu = 'CORTEXA7'
self.ram_start = 0x80000000 self.ram_start = 0x80000000
#self.ram_start = 0x0 #self.ram_start = 0x0
self.smem_addr = 0xe200000 self.smem_addr = smem_addr
self.phys_offset = 0x80000000 self.phys_offset = 0x80000000
self.imem_start = 0x8600000 self.imem_start = 0x8600000
self.wdog_addr = 0x8605658 self.wdog_addr = 0x8605658
...@@ -180,7 +180,8 @@ class Board8994(Board): ...@@ -180,7 +180,8 @@ class Board8994(Board):
self.imem_file_name = 'OCIMEM.BIN' self.imem_file_name = 'OCIMEM.BIN'
boards = [] boards = []
boards.append(Board8916(socid=206)) boards.append(Board8916(socid=206, smem_addr=0xe200000))
boards.append(Board8916(socid=206, smem_addr=0x6300000))
boards.append(Board8974(socid=126)) boards.append(Board8974(socid=126))
boards.append(Board8974(socid=184)) boards.append(Board8974(socid=184))
boards.append(Board8974(socid=185)) boards.append(Board8974(socid=185))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment