[flashrom] [PATCH] Allow bus override with forced read

Michael Karcher flashrom at mkarcher.dialup.fu-berlin.de
Wed Jul 14 12:06:29 CEST 2010

Am Mittwoch, den 14.07.2010, 11:53 +0200 schrieb Carl-Daniel Hailfinger:
> If someone wants to perform a forced read of a chip via mmap, we should
> allow that even if the host doesn't support the bus this chip needs.
> Example:
> flashrom -p dummy:bus=spi -V -c Am29F016D -f -r foo.rom
> This won't work right now because -f won't override probe skipping. So
> far the only use of this bus override is for the internal programmer,
> and as such I wonder whether we should make the bus override conditional
> on the internal programmer. It's pointless for other programmers anyway.
Another option would be a "mmap" programmer that is read only, doesn't
support probes (or supports probing by looking for repetition) and has
another special bus type (e.g. DUMMY), which is matched by dummy chips
in the chip table with all common sizes. This dummy mmap programmer
would *not* have board enables and *not* have chipset enables.

  Michael Karcher

More information about the flashrom mailing list