# flashrom -p internal:ich_spi_force=yes,laptop=force_I_want_a_brick -c MX25L6405 -l lenovo-layout -i bios -w ./coreboot_fake_ifd.rom ; echo $? flashrom v0.9.9-r1954 on Linux 4.3.0-1-amd64 (x86_64) flashrom is free software, get the source code at https://flashrom.org Using region: "bios". Calibrating delay loop... OK. Error accessing high tables, 0x100000 bytes at 0x00000000bfe9e000 /dev/mem mmap failed: Resource temporarily unavailable Failed getting access to coreboot high tables. ======================================================================== WARNING! You seem to be running flashrom on an unsupported laptop. Laptops, notebooks and netbooks are difficult to support and we recommend to use the vendor flashing utility. The embedded controller (EC) in these machines often interacts badly with flashing. See the manpage and https://flashrom.org/Laptops for details. If flash is shared with the EC, erase is guaranteed to brick your laptop and write may brick your laptop. Read and probe may irritate your EC and cause fan failure, backlight failure and sudden poweroff. You have been warned. ======================================================================== Proceeding anyway because user forced us to. Found chipset "Intel QM67". Enabling flash write... FREG0: Warning: Flash Descriptor region (0x00000000-0x00000fff) is read-only. FREG2: Warning: Management Engine region (0x00003000-0x004fffff) is locked. Not all flash regions are freely accessible by flashrom. This is most likely due to an active ME. Please see https://flashrom.org/ME for details. Writes have been disabled for safety reasons. You can enforce write support with the ich_spi_force programmer option, but you will most likely harm your hardware! If you force flashrom you will get no support if something breaks. On a few mainboards it is possible to enable write access by setting a jumper (see its documentation or the board itself). Continuing with write support because the user forced us to! OK. Found Macronix flash chip "MX25L6405" (8192 kB, SPI) mapped at physical address 0x00000000ff800000. Warning: Address range of region "pd" exceeds the current chip's address space. Warning: Address range of region "res1" exceeds the current chip's address space. Warning: Address range of region "res2" exceeds the current chip's address space. Warning: Address range of region "res3" exceeds the current chip's address space. Reading old flash chip contents... Transaction error! FAILED. 1