From 990f55056394103be65119b38f0e37def16fdcef Mon Sep 17 00:00:00 2001 From: Leah Rowe Date: Sun, 5 Jan 2025 11:24:54 +0000 Subject: [PATCH] ivy_has_common: document setmac restore Signed-off-by: Leah Rowe --- site/docs/install/ivy_has_common.md | 10 ++++++++++ 1 file changed, 10 insertions(+) diff --git a/site/docs/install/ivy_has_common.md b/site/docs/install/ivy_has_common.md index edc53ca..3541e0e 100644 --- a/site/docs/install/ivy_has_common.md +++ b/site/docs/install/ivy_has_common.md @@ -101,6 +101,16 @@ The `setmac` command works by inserting a reference GbE file, contained within lbmk. The `keep` command makes lbmk *skip* changing your current GbE region; it does not, for example, restore the reference GbE image from lbmk. +The `setmac` command, when not using `keep`, copied the default GbE file within +lbmk for that board, modifying the temporary copy and then inserting that. To +insert the *original file*, without modification, you can do this: + + ./mk inject libreboot-RELEASE_targetname.tar.xz setmac restore + +The `restore` setting does the same as `setmac` (without `keep`), but skips +running `nvmutil`; it also skips building nvmutil. Essentially, this will +restore the default MAC address from standard release images. + The above MAC address is a random example; please make sure to use one that matches your board, if you wish. You can also use randomisation this way; the `?` character will be randomised, e.g.: