summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorBrian Silver <bsilver@us.ibm.com>2014-07-11 14:04:27 -0500
committerBrian Silver <bsilver@us.ibm.com>2014-07-11 14:04:27 -0500
commitea4c6dc89895b445a3a3f182d0cdb4dbfbfa3900 (patch)
tree9a43e8b6143356e6dc9e7ea113b967535e72e6be
parenta7f9b25eb1e7fac405bc1a54597cfc812a07fb3f (diff)
downloadpnor-ea4c6dc89895b445a3a3f182d0cdb4dbfbfa3900.tar.gz
pnor-ea4c6dc89895b445a3a3f182d0cdb4dbfbfa3900.zip
Make targeting bin output file unique from input to avoid zero length output
-rwxr-xr-xupdate_image_palmetto.pl2
1 files changed, 1 insertions, 1 deletions
diff --git a/update_image_palmetto.pl b/update_image_palmetto.pl
index 2034e06..d2a6d42 100755
--- a/update_image_palmetto.pl
+++ b/update_image_palmetto.pl
@@ -44,7 +44,7 @@ while (@ARGV > 0){
#Pad Targeting binary to 4k page size, then add ECC data
run_command("dd if=$op_target_dir/PALMETTO_HB.targeting.bin of=$scratch_dir/PALMETTO_HB.targeting.bin ibs=4k conv=sync");
-run_command("ecc --inject $scratch_dir/PALMETTO_HB.targeting.bin --output $scratch_dir/PALMETTO_HB.targeting.bin --p8");
+run_command("ecc --inject $scratch_dir/PALMETTO_HB.targeting.bin --output $scratch_dir/PALMETTO_HB.targeting.bin.ecc --p8");
run_command("echo \"00000000001800000000000008000000000000000007EF80\" | xxd -r -ps - $scratch_dir/sbe.header");
run_command("echo -en VERSION\\\\0 > $scratch_dir/hostboot.sha.bin");
OpenPOWER on IntegriCloud