on 14/11/2008 17:19 Carl-Daniel Hailfinger said the following:
On 14.11.2008 15:38, Andriy Gapon wrote:
Below is output of flashrom -V. It couldn't find the flash chip. This is ICH9 (G33) chipset. There is one WARNING and one FAILED messages.
A few hours ago I posted a patch to recognize your flash chip. The subject was: [coreboot] [PATCH] flashrom: Implement probe support for Atmel chips
Please try it and tell us if it works.
It seems to have worked and produced 1MByte file on read! $ ~/devel/flashrom/flashrom -V -r -f bios.dump Calibrating delay loop... 260M loops per second, 100 myus = 199 us. OK. No coreboot table found. Found chipset "Intel ICH9R", enabling flash write... BIOS Lock Enable: enabled, BIOS Write Enable: disabled, BIOS_CNTL is 0xa tried to set 0xdc to 0xb on Intel ICH9R failed (WARNING ONLY)
Root Complex Register Block address = 0xfed1c000 GCS = 0xc01444: BIOS Interface Lock-Down: disabled, BOOT BIOS Straps: 0x1 (SPI) Top Swap : not enabled SPIBAR = 0xfed1c000 + 0x3800 0x00: 0x0035 (HSFS) FLOCKDN 1, FDV 1, FDOPSS 0, SCIP 0, BERASE 0, AEL 0, FCERR 0, FDONE 0 0x50: 0x00000a0b (FRAP) BMWAG 0, BMRAG 0, BRWA 10, BRRA 11 0x54: 0x00000000 (FREG0) 0x58: 0x00ff0035 (FREG1) 0x5C: 0x00340003 (FREG2) 0x60: 0x00020001 (FREG3) 0x64: 0x00000fff (FREG4) 0x74: 0x00000000 (PR0) 0x78: 0x00000000 (PR1) 0x7C: 0x00000000 (PR2) 0x80: 0x00000000 (PR3) 0x84: 0x00000000 (PR4) 0xB0: 0x00000000 (FDOC) SPI Read Configuration: prefetching enabled, caching enabled, FAILED! Probing for AMD Am29F002(N)BB, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for AMD Am29F002(N)BT, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for AMD Am29F016D, 2048 KB: probe_29f040b: id1 0xff, id2 0xff Probing for AMD Am29F040B, 512 KB: probe_29f040b: id1 0x3, id2 0x55 Probing for AMD Am29LV040B, 512 KB: probe_29f040b: id1 0x3, id2 0x55 Probing for ASD AE49F2008, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Atmel AT25DF021, 256 KB: Programming OPCODES... done RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF041A, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF081, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF161, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF321, 4096 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF321A, 4096 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25DF641, 8192 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25F512B, 64 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25FS010, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT25FS040, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT26DF041, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT26DF081A, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Opcode 5 not found. run OPCODE 0x05 failed Chip status register is 00 Found chip "Atmel AT26DF081A" (1024 KB) at physical address 0xfff00000. Probing for Atmel AT26DF161, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT26DF161A, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT26F004, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT29C020, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Atmel AT29C040A, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Atmel AT45CS1282, 16896 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB011D, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB021D, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB041D, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB081D, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB161D, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB321C, 4224 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB321D, 4096 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT45DB642D, 8192 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Atmel AT49F002(N), 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Atmel AT49F002(N)T, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for AMIC A25L40P, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for AMIC A29002B, 256 KB: probe_29f002: id1 0xf9, id2 0x63 Probing for AMIC A29002T, 256 KB: probe_29f002: id1 0xf9, id2 0x63 Probing for AMIC A29040B, 512 KB: probe_29f040b: id1 0x3, id2 0x55 Probing for AMIC A49LF040A, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for EMST F49B002UA, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for EON EN29F002(A)(N)B, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for EON EN29F002(A)(N)T, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Fujitsu MBM29F004BC, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Fujitsu MBM29F004TC, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Fujitsu MBM29F400BC, 512 KB: probe_m29f400bt: id1 0x3, id2 0x75 Probing for Fujitsu MBM29F400TC, 512 KB: probe_m29f400bt: id1 0x3, id2 0x75 Probing for Intel 82802AB, 512 KB: probe_82802ab: id1 0x3, id2 0x55 Probing for Intel 82802AC, 1024 KB: probe_82802ab: id1 0xff, id2 0xff Probing for Macronix MX25L512, 64 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L1005, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L2005, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L4005, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L8005, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L1605, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L3205, 4096 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX25L6405, 8192 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix MX29F002B, 256 KB: probe_29f002: id1 0xf9, id2 0x63 Probing for Macronix MX29F002T, 256 KB: probe_29f002: id1 0xf9, id2 0x63 Probing for Numonyx M25PE10, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Numonyx M25PE20, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Numonyx M25PE40, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Numonyx M25PE80, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Numonyx M25PE16, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV010, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV016B, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV020, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV040, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV080B, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm25LV512, 64 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC Pm49FL002, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for PMC Pm49FL004, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Sharp LHF00L04, 1024 KB: probe_lhf00l04: id1 0xff, id2 0xff Probing for Spansion S25FL016A, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for SST SST25VF016B, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for SST SST25VF040B, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for SST SST28SF040A, 512 KB: probe_28sf040: id1 0x3, id2 0x55 Probing for SST SST29EE010, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for SST SST29LE010, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for SST SST29EE020A, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST29LE020, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST39SF010A, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for SST SST39SF020A, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST39SF040, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SST SST39VF512, 64 KB: probe_jedec: id1 0xeb, id2 0xce, id1 parity violation Probing for SST SST39VF010, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for SST SST39VF020, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST39VF040, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SST SST49LF002A/B, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST49LF003A/B, 384 KB: probe_jedec: id1 0x81, id2 0x7c, id1 parity violation Probing for SST SST49LF004A/B, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SST SST49LF004C, 512 KB: probe_49lfxxxc: id1 0x3, id2 0x55 Probing for SST SST49LF008A, 1024 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation Probing for SST SST49LF008C, 1024 KB: probe_49lfxxxc: id1 0xff, id2 0xff Probing for SST SST49LF016C, 2048 KB: probe_49lfxxxc: id1 0xff, id2 0xff Probing for SST SST49LF020A, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SST SST49LF040, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SST SST49LF040B, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SST SST49LF080A, 1024 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation Probing for SST SST49LF160C, 2048 KB: probe_49lfxxxc: id1 0xff, id2 0xff Probing for ST M25P05-A, 64 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P10-A, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P20, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P40, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P40-old, 512 KB: RDID returned 1f 45 01. Probing for ST M25P80, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P16, 2048 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P32, 4096 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P64, 8192 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M25P128, 16384 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST M29F002B, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for ST M29F002T/NT, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for ST M29F040B, 512 KB: probe_29f040b: id1 0x3, id2 0x55 Probing for ST M29F400BT, 512 KB: probe_m29f400bt: id1 0x3, id2 0x75 Probing for ST M29W010B, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for ST M29W040B, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for ST M50FLW040A, 512 KB: probe_stm50flw0x0x: id1 0x3, id2 0x55 Probing for ST M50FLW040B, 512 KB: probe_stm50flw0x0x: id1 0x3, id2 0x55 Probing for ST M50FLW080A, 1024 KB: probe_stm50flw0x0x: id1 0xff, id2 0xff Probing for ST M50FLW080B, 1024 KB: probe_stm50flw0x0x: id1 0xff, id2 0xff Probing for ST M50FW002, 256 KB: probe_49lfxxxc: id1 0xf9, id2 0x63 Probing for ST M50FW016, 2048 KB: probe_82802ab: id1 0xff, id2 0xff Probing for ST M50FW040, 512 KB: probe_82802ab: id1 0x3, id2 0x55 Probing for ST M50FW080, 1024 KB: probe_82802ab: id1 0xff, id2 0xff Probing for ST M50LPW116, 2048 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation Probing for SyncMOS S29C31004T, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for SyncMOS S29C51001T, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for SyncMOS S29C51002T, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for SyncMOS S29C51004T, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W25x10, 128 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Winbond W25x20, 256 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Winbond W25x40, 512 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Winbond W25x80, 1024 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Winbond W29C011, 128 KB: probe_jedec: id1 0x32, id2 0x0 Probing for Winbond W29C020C, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Winbond W29C040P, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W29EE011, 128 KB: === Probing disabled for Winbond W29EE011 because the probing sequence puts the AMIC A49LF040A in a funky state. Use 'flashrom -c W29EE011' if you have a board with this chip. === Probing for Winbond W39V040A, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W39V040B, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W39V040C, 512 KB: probe_w39v040c: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W39V040FA, 512 KB: probe_jedec: id1 0x3, id2 0x55, id1 parity violation Probing for Winbond W39V080A, 1024 KB: probe_jedec: id1 0xff, id2 0xff, id1 parity violation Probing for Winbond W49F002U, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Winbond W49V002A, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Winbond W49V002FA, 256 KB: probe_jedec: id1 0xf9, id2 0x63, id1 parity violation Probing for Winbond W39V080FA, 1024 KB: probe_winbond_fwhub: vid 0xff, did 0xff Probing for Winbond W39V080FA (dual mode), 512 KB: probe_winbond_fwhub: vid 0x3, did 0x55 Probing for Atmel unknown Atmel SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for EON unknown EON SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for Macronix unknown Macronix SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for PMC unknown PMC SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for SST unknown SST SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 Probing for ST unknown ST SPI chip, 0 KB: RDID returned 1f 45 01. probe_spi_rdid_generic: id1 0x1f, id2 0x4501 === This flash part has status UNTESTED for operations: PROBE READ ERASE WRITE Please email a report to flashrom@coreboot.org if any of the above operations work correctly for you with this flash part. Please include the full output from the program, including chipset found. Thank you for your help! === Reading Flash...done