diff options
author | Shakeeb <shakeebbk@in.ibm.com> | 2016-08-31 15:15:19 -0500 |
---|---|---|
committer | AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com> | 2016-09-01 07:07:29 -0400 |
commit | 1008ef70a71fcfdec398ff30923d5025991c85f4 (patch) | |
tree | b22fc2a7cf2c8414ca20dfc7489a7f6d1a145878 /src/build/parsAndCutElf.py | |
parent | 28cb5c42ddba0cb9d2a86f43785c60499170ef2f (diff) | |
download | talos-sbe-1008ef70a71fcfdec398ff30923d5025991c85f4.tar.gz talos-sbe-1008ef70a71fcfdec398ff30923d5025991c85f4.zip |
SBE code restructure: cleanup
Change-Id: I354cc79ba25b843fdb1a7524a19b8d0c41bd9051
RTC:159709
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/29060
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
Reviewed-by: AMIT J. TENDOLKAR <amit.tendolkar@in.ibm.com>
Diffstat (limited to 'src/build/parsAndCutElf.py')
-rwxr-xr-x | src/build/parsAndCutElf.py | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/build/parsAndCutElf.py b/src/build/parsAndCutElf.py index 934ddf97..acfe64a5 100755 --- a/src/build/parsAndCutElf.py +++ b/src/build/parsAndCutElf.py @@ -31,9 +31,9 @@ import sys # Workaround to cut SBE image from elf image. def parserElf(): - cmd = "readelf -S ../../obj/sbe_seeprom.out" + cmd = "readelf -S ../../images/sbe_seeprom.out" firstSection = ".header" - cmd1 = "nm ../../obj/sbe_seeprom.out | grep _sbe_image_size" + cmd1 = "nm ../../images/sbe_seeprom.out | grep _sbe_image_size" output = subprocess.Popen(cmd, shell=True, stdout=subprocess.PIPE) i = 0; for line in output.stdout: @@ -60,7 +60,7 @@ def parserElf(): exit(-1) # cut the image - cmd1 = "dd skip=" + str(startSize) + " count=" + str(endSize) + " if=../../obj/sbe_seeprom.out of=../../images/sbe_seeprom.bin bs=1" + cmd1 = "dd skip=" + str(startSize) + " count=" + str(endSize) + " if=../../images/sbe_seeprom.out of=../../images/sbe_seeprom.bin bs=1" rc = os.system(cmd1) if ( rc ): print "ERROR running %s: %d "%( cmd1, rc ) |