Skip to content

Commit

Permalink
Fix forced-trace command
Browse files Browse the repository at this point in the history
Change-Id: I2f86bca11accf6bd773c297eeb60b9b8d00a17d1
Reviewed-on: http://rchgit01.rchland.ibm.com/gerrit1/65887
Reviewed-by: RAJA DAS <rajadas2@in.ibm.com>
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
  • Loading branch information
Shakeebbk authored and sgupta2m committed Sep 10, 2018
1 parent 9bb6431 commit 6b4839f
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions src/tools/debug/sbe-debug.py
Original file line number Diff line number Diff line change
Expand Up @@ -165,9 +165,9 @@ def forcedCollectTrace():
# version = 0x00 0x02
# rsvd = 0x00 0x00
# image_str = "sbe_seeprom_DD1\0"
image_str = "sbe_seeprom_" + ddsuffix
image_str = "SBE_TRACE"
trace_pattern = [0, 2, 0, 0] + [ord(a) for a in image_str] + [0]
data_read = [0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0, 0]
data_read = [0] * len(trace_pattern)
trace_index = 0
#print trace_pattern
with open(output_path+"DumpPIBMEM", "r") as f:
Expand Down

0 comments on commit 6b4839f

Please sign in to comment.