Changeset 926 for trunk/flashrom.8


Ignore:
Timestamp:
Mar 7, 2010 11:29:28 PM (3 years ago)
Author:
mkarcher
Message:

Move untested board enable documentation to manpage

This also checks the testedness of boards in all cases, not just for
PCI/DMI detection.

Signed-off-by: Michael Karcher <flashrom@…>
Acked-by: Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@…>

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/flashrom.8

    r922 r926  
    176176by an equal sign and different pairs are separated by a comma or a colon. 
    177177.TP 
     178.BR "internal " programmer 
     179Some mainboards require to run mainboard specific code to enable flash erase 
     180and write support (and probe support on old systems with parallel flash). 
     181The mainboard brand and model (if it requires specific code) is usually 
     182autodetected using one of the following mechanisms: If your system is 
     183running coreboot, the mainboard type is determined from the coreboot table, 
     184otherwise, the mainboard is detected by examining the onboard PCI devices 
     185and possibly DMI info. If PCI and DMI do not contain information to uniquely 
     186identify the mainboard (which is the exception), it might be necessary to 
     187specify the mainboard using the \-m switch (see above). 
     188.sp 
     189Some of these board-specific flash enabling functions (called board enables) 
     190in flashrom have not yet been tested. If your mainboard is detected needing 
     191an untested board enable function, a warning message is printed and the 
     192board enable is not executed, because a wrong board enable function might 
     193cause the system to behave erratically, as board enable functions touch the 
     194low-level internals of a mainboard. Not executing a board enable function 
     195(if one is needed) might cause detection or erasing failure. If your board 
     196protects only part of the flash (commonly the top end, called boot block), 
     197flashrom might encounter an error only after erasing the unprotected part, 
     198so running without the board-enable function might be dangerous for erase 
     199and write (which includes erase). 
     200.sp 
     201The suggested procedure for a mainboard with untested board specific code is 
     202to first try to probe the ROM (just invoke flashrom and check that it 
     203detects your flash chip type) without running the board enable code (i.e. 
     204without any parameters). If it finds your chip, fine, otherwise, retry 
     205probing your chip with the board-enable code running, using 
     206.sp 
     207.B "flashrom -p internal:boardenable=force" 
     208.sp 
     209If your chip is still not detected, the board enable code seems to be broken 
     210or the flash chip unsupported. Otherwise, make a backup of your current ROM 
     211contents (using \-r) and store it to a medium outside of your computer, like 
     212an USB drive or a network share. If you needed to run the board enable code 
     213already for probing, use it for reading too. Now you can try to write the 
     214new image. You should enable the board enable code in any case now, as it 
     215has been written because it is known that writing/erasing without the board 
     216enable is going to fail. In any case (success or failure), please report to 
     217the flashrom mailing list, see below. 
     218.sp 
    178219.BR "dummy " programmer 
    179220An optional parameter specifies the bus types it 
Note: See TracChangeset for help on using the changeset viewer.