From 6a4b5965d14ec3676ada1601c10e2454d19b34a1 Mon Sep 17 00:00:00 2001 From: Francis Rowe Date: Mon, 11 May 2015 17:08:30 -0400 Subject: docs/maintain/index.html: notes about updating coreboot patches --- (limited to 'docs/maintain') 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 @@

Add/remove/modify patches in coreboot-libre

- TODO: write this section + Under resources/scripts/helpers/download/coreboot you can find + the instructions used for patching coreboot. +

+ +

+ Modify the commit ID on the git reset --hard 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 git am + (you can get the diff by using git-format-patch). +

+ +

+ When you're done, simply download coreboot again:
+ $ ./download coreboot +

+ +

+ Finally, re-build the parts from coreboot that are used + by the build system:
+ $ ./build module coreboot +

+ +

+ 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 + resources/scripts/helpers/build/module/coreboot + except for the part that builds GCC.

-- cgit v0.9.1