diff options
author | Mark Wenning <wenning@us.ibm.com> | 2012-03-06 15:23:46 -0600 |
---|---|---|
committer | A. Patrick Williams III <iawillia@us.ibm.com> | 2012-03-15 10:38:16 -0500 |
commit | ff8472f5e338d17194b5a1300b9553dd1ac3a241 (patch) | |
tree | cc122d81d5af1bc1df5d6ad73825183c77504e9c /src/build | |
parent | 0067927ec9ef6c7f7205d88f23bf0861f61daf74 (diff) | |
download | talos-hostboot-ff8472f5e338d17194b5a1300b9553dd1ac3a241.tar.gz talos-hostboot-ff8472f5e338d17194b5a1300b9553dd1ac3a241.zip |
Increase simics and AWAN timeouts for hb-step
- branch increase_simics_timeout
review fixes
Change-Id: Id2ee35f3d51ad040f68d8502ff11bcf36640be2a
RTC: none
Reviewed-on: http://gfw160.austin.ibm.com:8080/gerrit/724
Tested-by: Jenkins Server
Reviewed-by: A. Patrick Williams III <iawillia@us.ibm.com>
Diffstat (limited to 'src/build')
-rwxr-xr-x | src/build/simics/hb-simdebug.py | 6 | ||||
-rwxr-xr-x | src/build/vpo/hb-istep | 7 |
2 files changed, 9 insertions, 4 deletions
diff --git a/src/build/simics/hb-simdebug.py b/src/build/simics/hb-simdebug.py index 04f8b7b5d..9971283a4 100755 --- a/src/build/simics/hb-simdebug.py +++ b/src/build/simics/hb-simdebug.py @@ -177,7 +177,8 @@ def getStatus(): ## default is to check the readybit, in rare cases we want to skip this. def getSyncStatus( ) : # set # of retries - count = 100 + ## @todo revisit + count = 1000 ## get response. sendCmd() should have bumped g_SeqNum, so we will sit ## here for a reasonable amount of time waiting for the correct sequence @@ -215,7 +216,8 @@ def setMode( cmd ) : IStepModeStr = "phys_mem.write 0x%8.8x 0x4057b007_4057b007 8"%(g_SPLess_IStepMode_Reg) NormalModeStr = "phys_mem.write 0x%8.8x 0x700b7504_700b7504 8"%(g_SPLess_IStepMode_Reg) - count = 50 + ## @todo revisit + count = 1000 if ( cmd == "istep" ) : (result, out) = quiet_run_command( IStepModeStr ) diff --git a/src/build/vpo/hb-istep b/src/build/vpo/hb-istep index 130e7b190..994a111e1 100755 --- a/src/build/vpo/hb-istep +++ b/src/build/vpo/hb-istep @@ -440,7 +440,8 @@ sub getShutDownStatus() sub getSyncStatus( ) { # set # of retries - my $count = 100; + ## @todo revisit + my $count = 1000; my $result = 0; my $seqnum = 0; @@ -644,6 +645,7 @@ sub parse_command( $ ) sub setMode( $ ) { my ( $cmd ) = @_; + my $count = 0; my $expected = 0; my $readybit = 0; @@ -675,7 +677,8 @@ sub setMode( $ ) ## Loop, advancing clock, and wait for readybit - $count = 30; + ## @todo revisit + $count = 1000; while(1) { ## advance HostBoot code by a certain # of cycles, then check the |