diff options
author | spashabk-in <shakeebbk@in.ibm.com> | 2017-11-30 02:31:54 -0600 |
---|---|---|
committer | Sachin Gupta <sgupta2m@in.ibm.com> | 2017-12-01 04:45:58 -0500 |
commit | b6054b3ff39537c7fe2c2af7810df6d090ae11f7 (patch) | |
tree | 95bc33a8898a379eedc9e2d585ca6f8d308b51d7 | |
parent | 277f0f10f796b85058c79e79239f4f80d0fc9745 (diff) | |
download | talos-sbe-b6054b3ff39537c7fe2c2af7810df6d090ae11f7.tar.gz talos-sbe-b6054b3ff39537c7fe2c2af7810df6d090ae11f7.zip |
Enable DD2.2 in op build
Remove DD1.0 from pnor sbe partition
Add DD2.2 to the sbe partition
Change-Id: Idc32069a866b8d44c877eaedcf3ef8d0b4786909
Reviewed-on: http://ralgit01.raleigh.ibm.com/gerrit1/50182
Tested-by: Jenkins Server <pfd-jenkins+hostboot@us.ibm.com>
Tested-by: FSP CI Jenkins <fsp-CI-jenkins+hostboot@us.ibm.com>
Reviewed-by: Sachin Gupta <sgupta2m@in.ibm.com>
-rwxr-xr-x | src/build/sbeOpDistribute.py | 9 |
1 files changed, 4 insertions, 5 deletions
diff --git a/src/build/sbeOpDistribute.py b/src/build/sbeOpDistribute.py index f1007efd..18499f88 100755 --- a/src/build/sbeOpDistribute.py +++ b/src/build/sbeOpDistribute.py @@ -27,8 +27,7 @@ import sys import getopt CHIPID = 'p9n' -p9n_EC = ['10', '20', '21'] -DD_level = {'10':'DD1', '20':'DD2', '21':'DD2'} +p9n_EC = {'20':'DD2', '21':'DD2', '22':'DD2'} def usage(): print "usage:sbeOpDistribute.py [--sbe_binary_dir] <sbe binary path> [--img_dir] <images path>" @@ -93,12 +92,12 @@ def main(argv): if (mode == "MAKE"): # Create binaries folder run_system_cmd('mkdir -p '+sbe_binary_dir) - for ecLevel in p9n_EC: + for ecLevel, ddLevel in p9n_EC.items(): # Copy sbe raw binary to binaries folder - run_system_cmd('cp '+img_dir+'/'+'sbe_seeprom_'+DD_level[ecLevel]+'.bin'+' '+sbe_binary_dir+'/'+CHIPID+'_'+ecLevel+'.'+SEEPROM_IMAGE) + run_system_cmd('cp '+img_dir+'/'+'sbe_seeprom_'+ddLevel+'.bin'+' '+sbe_binary_dir+'/'+CHIPID+'_'+ecLevel+'.'+SEEPROM_IMAGE) elif (mode == "INSTALL"): ec_build_sbe_cmd = '' - for ecLevel in p9n_EC: + for ecLevel, ddLevel in p9n_EC.items(): basename = CHIPID+'_'+ecLevel+'.sbe_seeprom' ec_build_sbe_cmd += ' --ecImg_'+ecLevel+' '+scratch_dir+'/'+basename+'.hdr.bin' # Copy sbe raw binary to scratch folder |