Index: flashrom.8 =================================================================== --- flashrom.8 (revision 1254) +++ flashrom.8 (working copy) @@ -157,11 +157,12 @@ that MediaWiki output is not compiled in by default. .TP .B "\-p, \-\-programmer [:parameter[,parameter[,parameter]]]" -Specify the programmer device. Currently supported are: +Specify the programmer device, for details please see 'PROGRAMER SPECIFIC INFO' section. +Currently supported are: .sp .BR "* internal" " (default, for in-system flashing in the mainboard)" .sp -.BR "* dummy" " (just prints all operations and accesses)" +.BR "* dummy" " (prints all operations and accesses, can emulate flash chips)" .sp .BR "* nic3com" " (for flash ROMs on 3COM network cards)" .sp @@ -320,6 +321,42 @@ .sp Example: .B "flashrom \-p dummy:bus=lpc+fwh" +.sp +The dummy programmer supports flash chip emulation for automated self-tests +without hardware access. You have to choose between +.sp +* no emulation +.sp +* ST M25P10.RES SPI flash chip (RES, page write) +.sp +* SST SST25VF040.REMS SPI flash chip (REMS, byte write) +.sp +* SST SST25VF032B SPI flash chip (RDID, AAI write) +.sp + +Example usage: flashrom -p dummy:emulate=SST25VF032B + +Flash image persistence is available as well. +Example usage: flashrom -p dummy:image=dummy_simulator.rom + +Allow setting the max chunksize for page write with the dummy +programmer. +Example usage: flashrom -p dummy:spi_write_256_chunksize=5 + +optional SPI command blacklisting to the flash chip emulator in the +dummy programmer. + +Usage: +flashrom -p dummy:spi_blacklist=hexstring + +If hexstring is 0302, flashrom will blacklist command 0x03 (READ) and +command 0x02 (WRITE). The hexstring can have up to 512 characters (256 +commands) length, and must not start with 0x. + +Multiple parameters can be specified with +.B "flashrom \-p dummy:bus=type[+type[+type]],spi_blacklist=deadbeef" +syntax. + .TP .BR "nic3com" , " nicrealtek" , " nicsmc1211" , " nicnatsemi" , " gfxnvidia\ " , " satasii " and " atahpt " programmers