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
Calibrating delay loop... 296M loops per second. OK. No LinuxBIOS table found. Found chipset "NVIDIA MCP55", enabling flash write... OK. Found board "GIGABYTE GA-M57SLI-S4": enabling flash write... Serial flash segment 0xfffe0000-0xffffffff enabled Serial flash segment 0x000e0000-0x000fffff enabled Serial flash segment 0xffee0000-0xffefffff disabled Serial flash segment 0xfff80000-0xfffeffff enabled LPC write to serial flash enabled serial flash pin 29 OK. Probing for Am29F040B, 512 KB probe_29f040b: id1 0x49, id2 0x4d Probing for Am29LV040B, 512 KB probe_29f040b: id1 0x49, id2 0x4d Probing for Am29F016D, 2048 KB probe_29f040b: id1 0xff, id2 0xff Probing for AE49F2008, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At29C040A, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for At29C020, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At49F002(N), 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At49F002(N)T, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for EN29F002(A)(N)T, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for EN29F002(A)(N)B, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for MBM29F400TC, 512 KB probe_m29f400bt: id1 0x49, id2 0x44 Probing for MX29F002, 256 KB probe_29f002: id1 0x92, id2 0xe4 Probing for MX25L4005, 512 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for MX25L8005, 1024 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Chip status register is 00 Chip status register: Status Register Write Disable (SRWD) is not set Chip status register: Bit 6 is not set Chip status register: Bit 5 is not set Chip status register: Block Protect 2 (BP2) is not set Chip status register: Block Protect 1 (BP1) is not set Chip status register: Block Protect 0 (BP0) is not set Chip status register: Write Enable Latch (WEL) is not set Chip status register: Write In Progress (WIP) is not set MX25L8005 found at physical address 0xfff00000. Flash part is MX25L8005 (1024 KB). No operations were specified.
Calibrating delay loop... 371M loops per second. OK. No LinuxBIOS table found. Found chipset "NVIDIA MCP55", enabling flash write... OK. Found board "GIGABYTE GA-M57SLI-S4": enabling flash write... Serial flash segment 0xfffe0000-0xffffffff enabled Serial flash segment 0x000e0000-0x000fffff enabled Serial flash segment 0xffee0000-0xffefffff disabled Serial flash segment 0xfff80000-0xfffeffff enabled LPC write to serial flash enabled serial flash pin 29 OK. Probing for Am29F040B, 512 KB probe_29f040b: id1 0x49, id2 0x4d Probing for Am29LV040B, 512 KB probe_29f040b: id1 0x49, id2 0x4d Probing for Am29F016D, 2048 KB probe_29f040b: id1 0xff, id2 0xff Probing for AE49F2008, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At29C040A, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for At29C020, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At49F002(N), 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for At49F002(N)T, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for EN29F002(A)(N)T, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for EN29F002(A)(N)B, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for MBM29F400TC, 512 KB probe_m29f400bt: id1 0x49, id2 0x44 Probing for MX29F002, 256 KB probe_29f002: id1 0x92, id2 0xe4 Probing for MX25L4005, 512 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for SST25VF040B, 512 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for SST25VF016B, 2048 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for SST29EE020A, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for SST28SF040A, 512 KB probe_28sf040: id1 0x49, id2 0x4d Probing for SST39SF010A, 128 KB probe_jedec: id1 0xff, id2 0xff Probing for SST39SF020A, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for SST39SF040, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for SST39VF020, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for SST49LF040B, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for SST49LF040, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for SST49LF020A, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for SST49LF080A, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for SST49LF002A/B, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for SST49LF003A/B, 384 KB probe_jedec: id1 0x12, id2 0x17 Probing for SST49LF004A/B, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for SST49LF008A, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for SST49LF004C, 512 KB probe_49lfxxxc: id1 0x49, id2 0x4d Probing for SST49LF008C, 1024 KB probe_49lfxxxc: id1 0xff, id2 0xff Probing for SST49LF016C, 2048 KB probe_49lfxxxc: id1 0xff, id2 0xff Probing for SST49LF160C, 2048 KB probe_49lfxxxc: id1 0xff, id2 0xff Probing for Pm49FL002, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for Pm49FL004, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for W29C011, 128 KB probe_jedec: id1 0xff, id2 0xff Probing for W29C040P, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for W29C020C, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for W29EE011, 128 KB probe_w29ee011: id1 0xff, id2 0xff Probing for W49F002U, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for W49V002A, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for W49V002FA, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for W39V040FA, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for W39V040A, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for W39V040B, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for W39V080A, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for M29F002B, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for M50FW040, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for M29W040B, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for M29F002T/NT, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for M29F400BT, 512 KB probe_m29f400bt: id1 0x49, id2 0x44 Probing for M50FLW040A, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for M50FLW040B, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for M50FLW080A, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for M50FLW080B, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for M50FW080, 1024 KB probe_jedec: id1 0xff, id2 0xff Probing for M50FW016, 2048 KB probe_jedec: id1 0xff, id2 0xff Probing for M50LPW116, 2048 KB probe_jedec: id1 0xff, id2 0xff Probing for M29W010B, 128 KB probe_jedec: id1 0xff, id2 0xff Probing for M29F040B, 512 KB probe_29f040b: id1 0x49, id2 0x4d Probing for M25P05-A, 64 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P10-A, 128 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P20, 256 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P40, 512 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P80, 1024 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P16, 2048 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P32, 4096 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P64, 8192 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for M25P128, 16384 KB RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for 82802ab, 512 KB probe_82802ab: id1 0x49, id2 0x4d Probing for 82802ac, 1024 KB probe_82802ab: id1 0xff, id2 0xff Probing for F49B002UA, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for LHF00L04, 1024 KB probe_lhf00l04: id1 0xff, id2 0xff Probing for S29C51001T, 128 KB probe_jedec: id1 0xff, id2 0xff Probing for S29C51002T, 256 KB probe_jedec: id1 0x92, id2 0xe4 Probing for S29C51004T, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for S29C31004T, 512 KB probe_jedec: id1 0x49, id2 0x4d Probing for EON unknown SPI chip, 0 KB WARNING: size: 0 -> 4096 (page size) RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 Probing for MX unknown SPI chip, 0 KB WARNING: size: 0 -> 4096 (page size) RDID returned c2 20 14. probe_spi: id1 0xc2, id2 0x2014 MX unknown SPI chip found at physical address 0x100000000. Flash part is MX unknown SPI chip (0 KB). No operations were specified.
-- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios