From: eliot Date: Sat, 18 Sep 2021 16:44:20 +0000 (+0200) Subject: (no commit message) X-Git-Url: https://git.g-eek.se/?a=commitdiff_plain;h=743029f8f7918b03b5d966b4b93f7492b1ffd1f5;p=inbyggd-frihet-wiki.git --- diff --git a/guider.mdwn b/guider.mdwn index 2afcb22..17cf345 100644 --- a/guider.mdwn +++ b/guider.mdwn @@ -87,18 +87,27 @@ Get a newer version of flashrom than in Debian repo. In my case the older versio Note these tools are built and ready [at](https://www.mirrorservice.org/sites/libreboot.org/release/stable/20160907/libreboot_r20160907_util.tar.xz) or similar. #backup current rom - sudo ./flashrom -p internal -r libreboot.rom + sudo ./flashrom -p internal -r my.rom #Optional: remove old GRUB (test) config - ./cbfstool libreboot.rom remove -n grubtest.cfg + ./cbfstool my.rom remove -n grubtest.cfg #Optional: get the new GRUB (test) config into your ROM - ./cbfstool libreboot.rom add -n grubtest.cfg -f grubtest.cfg -t raw + ./cbfstool my.rom add -n grubtest.cfg -f grubtest.cfg -t raw #Optional: change background in GRUB menu (dest must be called background.png /jpg) - #./cbfstool yourrom.rom remove background.png -n background.png - #./cbfstool yourrom.rom add -f background.png -n background.png -t raw - - sudo ./flashrom -p internal -w libreboot.rom #updated image + #./cbfstool my.rom remove background.png -n background.png + #./cbfstool my.rom add -f background.png -n background.png -t raw + + # Required.. If you use new ROM or haven't set MAC address before, this needs to be done! + # These instructions I took from Libreboot flash instructions, sorry if not complete instructions (used my.rom from Libreboot util archive) + # + #mv my.rom resources/utilities/ich9deblob/my.rom + #cd resources/utilities/ich9deblob/ + #./ich9gen --macaddress "00:DE:AD:BE:EF:00" # SET A UNIQUE MAC ADDRESS HERE!! + #dd if=ich9fdgbe_8m.bin of=my.rom bs=1 count=12K conv=notrunc + #cd - && mv resources/utilities/ich9deblob/my.rom . + + sudo ./flashrom -p internal -w my.rom #updated image ## OpenBSD guide