FAQ: Difference between revisions

From flashrom
Jump to navigation Jump to search
m (remove Q:)
Line 1: Line 1:
== flashrom doesn't seem to work on my board, what can I do? ==
== 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 tables above, or use '''flashrom -L''').
* 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.
* 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.
* Should your BIOS menu have a BIOS flash protection option, disable it.
Line 7: Line 7:
** See next question: '''X86_PAT''' and '''nopat'''
** See next question: '''X86_PAT''' and '''nopat'''
** See next question: '''CONFIG_STRICT_DEVMEM'''
** See next question: '''CONFIG_STRICT_DEVMEM'''
* See [[Board Testing HOWTO#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).


== I get 'Can't mmap memory using /dev/mem: Invalid argument' ==
== I get 'Can't mmap memory using /dev/mem: Invalid argument' ==

Revision as of 23:20, 22 March 2010

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:
    • See next question: X86_PAT and nopat
    • See next question: CONFIG_STRICT_DEVMEM
  • 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).

I get 'Can't mmap memory using /dev/mem: Invalid argument'

  • The easiest fix is to update to latest flashrom from svn. It has less strict requirements and works on more systems without having to change the kernel.

How do I use flashrom?

Please see the flashrom(8) manpage.

Is there a flashrom Live CD?

See Flashrom/Live CD.