FAQ: Difference between revisions

From flashprog
Jump to navigation Jump to search
Hailfinger@flashrom.org/ (talk)
("Hailfinger@flashrom.org/: →‎flashrom doesn't seem to work on my board, what can I do?: correct link to testing instructions")
Uwe@flashrom.org/ (talk)
("Uwe@flashrom.org/: OpenBSD securelevel issue.")
Line 7: Line 7:
** TODO: '''X86_PAT''' and '''nopat'''
** TODO: '''X86_PAT''' and '''nopat'''
** TODO: '''CONFIG_STRICT_DEVMEM'''
** TODO: '''CONFIG_STRICT_DEVMEM'''
* If you run flashrom on OpenBSD, you might need to obtain raw access permission by setting '''securelevel=-1''' in '''/etc/rc.securelevel''' and rebooting, or rebooting into single user mode.
* See [[Easy projects#Test_flashrom|this page]] for instructions on how to test flashrom support properly (this may be risky, make sure you have a working backup flash chip).
* See [[Easy projects#Test_flashrom|this page]] for instructions on how to test flashrom support properly (this may be risky, make sure you have a working backup flash chip).



Revision as of 17:46, 3 December 2023

flashrom doesn't seem to work on my board, what can I do?

  • First of all, check if your chipset, ROM chip, and mainboard are supported (see Supported hardware, or use flashrom -L).
  • If your board has a jumper for BIOS flash protection (check the manual), disable it.
  • Should your BIOS menu have a BIOS flash protection option, disable it.
  • If you run flashrom on a Linux system with kernels >= 2.6.27 there are two issues you have to check:
    • TODO: X86_PAT and nopat
    • TODO: CONFIG_STRICT_DEVMEM
  • If you run flashrom on OpenBSD, you might need to obtain raw access permission by setting securelevel=-1 in /etc/rc.securelevel and rebooting, or rebooting into single user mode.
  • See this page for instructions on how to test flashrom support properly (this may be risky, make sure you have a working backup flash chip).

How do I use flashrom?

Please see the flashrom(8) manpage.

Is there a flashrom Live CD?

See Flashrom/Live CD.