Am Donnerstag, 10. Januar 2008 01:25:44 schrieb Carl-Daniel Hailfinger:
Just adding the right values to flashchips.c is not enough. I need "flashrom -V" output both with your patch and without your patch.
first here is a diff between my "patched" and the actual plain svn version of flashrom:
diff -ubr flashrom.plain/flashchips.c flashrom.patched/flashchips.c --- flashrom.plain/flashchips.c 2008-01-10 13:29:32.000000000 +0100 +++ flashrom.patched/flashchips.c 2008-01-10 13:32:53.000000000 +0100 @@ -52,6 +52,8 @@ probe_29f002, erase_29f002, write_29f002}, {"MX25L4005", MX_ID, MX_25L4005, 512, 256, probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write}, + {"MX25L8005", MX_ID, MX_25L8005, 1024, 256, + probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write}, {"SST25VF040B", SST_ID, SST_25VF040B, 512, 256, probe_spi, generic_spi_chip_erase_c7, generic_spi_chip_write}, {"SST25VF016B", SST_ID, SST_25VF016B, 2048, 256,
It would be really fine, if someone of you could implement that correctly, i can and will test if it works.
I can implement support if I have the output mentioned above. Your problem seems to be caused by the flash translation chip and not the flash chip.
The output of both flashrom versions is attached.
Regards, Carl-Daniel
Thanks for investigating this issue. Regards, Harald