summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-03-19 00:59:15 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-03-19 00:59:15 (EDT)
commit4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94 (patch)
treec6e0cf560a160a799ee92ed9ced27ac75e584f76 /docs
parent99beea2e2a341e423a52a55c29a2d56d0bbe9d86 (diff)
downloadlibreboot-4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94.zip
libreboot-4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94.tar.gz
libreboot-4ec0cad51ffb0f8eb4de1af5659ccc0878dcbd94.tar.bz2
docs/hcl/gm45_remove_me.html: add notes about flash write protect
Diffstat (limited to 'docs')
-rw-r--r--docs/hcl/gm45_remove_me.html28
1 files changed, 28 insertions, 0 deletions
diff --git a/docs/hcl/gm45_remove_me.html b/docs/hcl/gm45_remove_me.html
index 0d12d63..618da51 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">