diff options
| author | Raja Das <rajadas2@in.ibm.com> | 2019-07-22 07:21:17 -0500 |
|---|---|---|
| committer | RAJA DAS <rajadas2@in.ibm.com> | 2019-07-22 07:24:00 -0500 |
| commit | 7d3fabc4caadccce072ede9379ddb03b1f4406e0 (patch) | |
| tree | e2aca9830206403b73537b36039811c55945467a /src/tools | |
| parent | 5b8210bfea2f8926365b3745d4718c8ea69b0f56 (diff) | |
| download | talos-sbe-7d3fabc4caadccce072ede9379ddb03b1f4406e0.tar.gz talos-sbe-7d3fabc4caadccce072ede9379ddb03b1f4406e0.zip | |
Updated the pibmem length for Axone in sbe-debug.py
Change-Id: Ia7e4a591b109be7a31d7dde3b4423a7c21c2bbf2
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/80760
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: RAJA DAS <rajadas2@in.ibm.com>
Diffstat (limited to 'src/tools')
| -rwxr-xr-x | src/tools/debug/sbe-debug.py | 14 |
1 files changed, 12 insertions, 2 deletions
diff --git a/src/tools/debug/sbe-debug.py b/src/tools/debug/sbe-debug.py index 234d1501..5d53b408 100755 --- a/src/tools/debug/sbe-debug.py +++ b/src/tools/debug/sbe-debug.py @@ -6,7 +6,7 @@ # # OpenPOWER sbe Project # -# Contributors Listed Below - COPYRIGHT 2016,2018 +# Contributors Listed Below - COPYRIGHT 2016,2019 # [+] International Business Machines Corp. # # @@ -93,7 +93,14 @@ def getSymbolInfo( symbol ): if(re.search(symbol, key)!= None): symAddr = val[0] length = val[1] + + if(ddsuffix == 'AXONE'): + baseAddr = 0xfffc8000 + else: + baseAddr = 0xfffe8000 + print "\n symAddress :", symAddr + print "\n baseAddress :", baseAddr offset = int(symAddr, base = 16) - baseAddr; return (hex(offset), length) @@ -155,7 +162,10 @@ def collectTrace(): def forcedCollectTrace(): # Collect entire PIBMEM offset = "0x00" # PIBMEM BASE - length = "0x16400" + if(ddsuffix == 'AXONE'): + length = "0x37e00" + else: + length = "0x16400" if(target == 'FILE'): createPibmemDumpFile( offset, length ); else: |

