diff options
author | Francis Rowe <info@gluglug.org.uk> | 2015-05-11 22:08:30 +0100 |
---|---|---|
committer | Francis Rowe <info@gluglug.org.uk> | 2015-05-11 22:08:30 +0100 |
commit | 6a4b5965d14ec3676ada1601c10e2454d19b34a1 (patch) | |
tree | ca728231a40ea235277409ad65335cad88088f30 | |
parent | 94b1df3e33427b6686b91e14c7bbe33b61c8fe7e (diff) | |
download | librebootfr-6a4b5965d14ec3676ada1601c10e2454d19b34a1.tar.gz librebootfr-6a4b5965d14ec3676ada1601c10e2454d19b34a1.zip |
docs/maintain/index.html: notes about updating coreboot patches
-rw-r--r-- | docs/maintain/index.html | 31 |
1 files changed, 30 insertions, 1 deletions
diff --git a/docs/maintain/index.html b/docs/maintain/index.html index 71aa2e8e..ec431882 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> |