Debian Codegraph @

Documentation/tutorial/flashing_firmware/int_flashrom.md

raw symbols SCIP
1 # Flashing firmware internally
2
3 **WARNING:** If you flash a broken firmware and have no recovery mechanism, you
4 must use the **external method** to flash a working firmware again.
5
6 ## Using flashrom
7 This method does only work on Linux, if it isn't locked down.
8 You may also need to boot with `iomem=relaxed` in the kernel command
9 line if CONFIG_IO_STRICT_DEVMEM is set.
10
11
12 For more details please also check [flashrom's wiki].
13 Use the programmer *internal* to flash *coreboot.rom* internally:
14
15 ```bash
16 flashrom -p internal -w coreboot.rom
17 ```
18
19 [flashrom's wiki]: https://www.flashrom.org/Flashrom