diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-03-19 04:59:15 +0000 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-03-19 04:59:15 +0000 |
commit | 4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94 (patch) | |
tree | c6e0cf560a160a799ee92ed9ced27ac75e584f76 | |
parent | 99beea2e2a341e423a52a55c29a2d56d0bbe9d86 (diff) | |
download | librebootfr-4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94.tar.gz librebootfr-4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94.zip |
docs/hcl/gm45_remove_me.html: add notes about flash write protect
-rw-r--r-- | docs/hcl/gm45_remove_me.html | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/hcl/gm45_remove_me.html b/docs/hcl/gm45_remove_me.html index 0d12d639..618da519 100644 --- a/docs/hcl/gm45_remove_me.html +++ b/docs/hcl/gm45_remove_me.html @@ -117,6 +117,34 @@ for how to flash it. </p> + <h2> + Write-protecting the flash chip + </h2> + <p> + Look in <i>resources/utilities/ich9deblob/src/descriptor/descript.c</i> + for the following lines in the <i>descriptorHostRegionsUnlocked</i> function: + </p> +<pre> + descriptorStruct.masterAccessSection.flMstr1.fdRegionWriteAccess = 0x1; + descriptorStruct.masterAccessSection.flMstr1.biosRegionWriteAccess = 0x1; + descriptorStruct.masterAccessSection.flMstr1.meRegionWriteAccess = 0x1; + descriptorStruct.masterAccessSection.flMstr1.gbeRegionWriteAccess = 0x1; + descriptorStruct.masterAccessSection.flMstr1.pdRegionWriteAccess = 0x1; +</pre> + + <p> + Change them all the 0x0, then re-compile ich9gen. After you have done that, + follow the notes in <a href="#ich9gen">#ich9gen</a> to generate a new + descriptor+gbe image and insert that into your ROM image, then flash it. + The next time you boot, the flash chip will be ready-only in software + (hardware re-flashing will still work, which you will need for re-flashing + the chip after write-protecting it, to clear the write protection or + to flash yet another ROM image with write protection set in the descriptor). + </p> + <p> + For external flashing guides, refer to <a href="../install/index.html">../install/index.html</a>. + </p> + </div> <div class="section"> |