coreboot-kgpe-d16/Documentation/flash_tutorial/int_flashrom.md
Evgeny Zinoviev abe9673774 Documentation: Use inline code block for kernel parameter
Change-Id: I41649d4d0ee0abf9335f6cb3d7b19888c0c62382
Signed-off-by: Evgeny Zinoviev <me@ch1p.io>
Reviewed-on: https://review.coreboot.org/c/coreboot/+/38955
Tested-by: build bot (Jenkins) <no-reply@coreboot.org>
Reviewed-by: Paul Menzel <paulepanter@users.sourceforge.net>
Reviewed-by: Peter Lemenkov <lemenkov@gmail.com>
2020-02-19 12:09:53 +00:00

609 B

Flashing firmware internally

WARNING: If you flash a broken firmware and have no recovery mechanism, you must use the external method to flash a working firmware again.

Using flashrom

This method does only work on Linux, if it isn't locked down. You may also need to boot with iomem=relaxed in the kernel command line if CONFIG_IO_STRICT_DEVMEM is set.

For more details please also check flashrom's wiki. Use the programmer internal to flash coreboot.rom internally:

flashrom -p internal -w coreboot.rom