summaryrefslogtreecommitdiffstats
path: root/docs
diff options
context:
space:
mode:
authorFrancis Rowe <info@gluglug.org.uk>2015-05-11 17:08:30 (EDT)
committer Francis Rowe <info@gluglug.org.uk>2015-05-11 17:08:30 (EDT)
commit6a4b5965d14ec3676ada1601c10e2454d19b34a1 (patch)
treeca728231a40ea235277409ad65335cad88088f30 /docs
parent94b1df3e33427b6686b91e14c7bbe33b61c8fe7e (diff)
downloadlibreboot-6a4b5965d14ec3676ada1601c10e2454d19b34a1.zip
libreboot-6a4b5965d14ec3676ada1601c10e2454d19b34a1.tar.gz
libreboot-6a4b5965d14ec3676ada1601c10e2454d19b34a1.tar.bz2
docs/maintain/index.html: notes about updating coreboot patches
Diffstat (limited to 'docs')
-rw-r--r--docs/maintain/index.html31
1 files changed, 30 insertions, 1 deletions
diff --git a/docs/maintain/index.html b/docs/maintain/index.html
index 71aa2e8..ec43188 100644
--- a/docs/maintain/index.html
+++ b/docs/maintain/index.html
@@ -313,7 +313,36 @@
<h1 id="newpatch_libreboot">Add/remove/modify patches in coreboot-libre</h1>
<p>
- TODO: write this section
+ Under <b>resources/scripts/helpers/download/coreboot</b> you can find
+ the instructions used for patching coreboot.
+ </p>
+
+ <p>
+ Modify the commit ID on the <i>git reset --hard</i> line accordingly,
+ and update the list of patches used accordingly. Do not cherry-pick
+ from review.coreboot.org directly; instead, include the diff in
+ resources/libreboot/patch/ and use <i>git am</i>
+ (you can get the diff by using git-format-patch).
+ </p>
+
+ <p>
+ When you're done, simply download coreboot again:<br/>
+ $ <b>./download coreboot</b>
+ </p>
+
+ <p>
+ Finally, re-build the parts from coreboot that are used
+ by the build system:<br/>
+ $ <b>./build module coreboot</b>
+ </p>
+
+ <p>
+ Instead of running the above command, you can save time
+ by copying out the crossgcc that you compiled before
+ (from coreboot/util/crossgcc/) and then putting it back.
+ After you've done that, run everything in
+ <i>resources/scripts/helpers/build/module/coreboot</i>
+ except for the part that builds GCC.
</p>
<p>