summaryrefslogtreecommitdiffstats
path: root/create_pnor_image.pl
diff options
context:
space:
mode:
authorDean Sanner <dsanner@us.ibm.com>2017-04-10 20:11:45 -0500
committerDean Sanner <dsanner@us.ibm.com>2017-05-24 06:30:21 -0500
commita9eb6e42941d10bd8a0788c9b6a0afe3325ddb94 (patch)
tree68196a371b75562869fc577b776ac0a7ade67476 /create_pnor_image.pl
parent3ab2d5d3f0c030bd68a4b431ac128004d54f7511 (diff)
downloadpnor-a9eb6e42941d10bd8a0788c9b6a0afe3325ddb94.tar.gz
pnor-a9eb6e42941d10bd8a0788c9b6a0afe3325ddb94.zip
Add a semi persistent PNOR section for HB reconfig loops
- Hostboot needs a PNOR partition to store semi non-volatile data between reconfig reboots - BMC will clear on any true power down or BMC reboot, which leaves data intact on HB directed reboots
Diffstat (limited to 'create_pnor_image.pl')
-rwxr-xr-xcreate_pnor_image.pl2
1 files changed, 2 insertions, 0 deletions
diff --git a/create_pnor_image.pl b/create_pnor_image.pl
index 1185896..9622e40 100755
--- a/create_pnor_image.pl
+++ b/create_pnor_image.pl
@@ -136,6 +136,7 @@ $build_pnor_command .= " --binFile_CAPP $scratch_dir/cappucode.bin.ecc";
$build_pnor_command .= " --binFile_SECBOOT $scratch_dir/secboot.bin.ecc";
$build_pnor_command .= " --binFile_VERSION $openpower_version_filename";
$build_pnor_command .= " --binFile_IMA_CATALOG $scratch_dir/ima_catalog.bin.ecc";
+
if ($release eq "p9"){
$build_pnor_command .= " --binFile_WOFDATA $wofdata_binary_filename" if -e $wofdata_binary_filename;
}
@@ -146,6 +147,7 @@ if ($release eq "p8"){
$build_pnor_command .= " --binFile_HCODE $scratch_dir/$wink_binary_filename";
$build_pnor_command .= " --binFile_HBBL $scratch_dir/hbbl.bin.ecc";
$build_pnor_command .= " --binFile_RINGOVD $scratch_dir/ringOvd.bin";
+ $build_pnor_command .= " --binFile_HB_VOLATILE $scratch_dir/guard.bin.ecc";
}
$build_pnor_command .= " --fpartCmd \"fpart\"";
$build_pnor_command .= " --fcpCmd \"fcp\"";
OpenPOWER on IntegriCloud