2018-09-11
Congratulations! You forgot to back up your original BIOS dump, and now you're stuck with coreboot forever...right? Not so fast.
Even without the SPI dump, you can still go back to the original BIOS, which is really useful if you experience some problems or decide to install macOS.
$01CB000.FL1
file from this repositoryflashrom
package installed, as well as kernel option iomem=relaxed
set in bootloaderOnly do this if you know what you're doing, be sure to have a Raspberry Pi and a Pomona clip handy to re-flash your SPI chip in case you mess up. I am not responsible for any damage your computer may suffer during this process.
Download this file, and truncate it to exactly 8MByte:
Backup the old content and put it on an external storage:
You may need to tell the tool which flash IC it is with the "-c" option:
As we want to write only the BIOS part in the SPI flash starting at offset 0x500000, we need a layout file:
Update the BIOS portion in the SPI flash
Done!
This guide is mostly based on this wiki page