On 14.07.2010 12:06, Michael Karcher wrote: > 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. >
Nice idea, makes a lot of sense. There will be some overlap with forced read functionality, though. I can hack up such a mmap programmer, but this would be greatly simplified by solving the address space alignment problem I posted. Regards, Carl-Daniel -- http://www.hailfinger.org/ _______________________________________________ flashrom mailing list [email protected] http://www.flashrom.org/mailman/listinfo/flashrom
