On 29.01.2009 13:45, Andriy Gapon wrote:
Sorry for top posting. flashrom stopped working for me on intel DG33TL motherboard since I reported success. In the quoted older message below you can find what flashrom reported then, here is what it reports now:
Ah yes. You're hitting the problem that the "read" opcode is prohibited by the BIOS. Older flashrom versions ignored that and simply read the memory-mapped contents near the top of the address space. These dumps were incomplete, though, so in a way claiming to have dumped the ROM was a bug. The new code tries to get it right and hits the roadblock erected by the BIOS.
There's nothing we can do to fix it unless we discover a bug in the hardware (or implement the descriptor mode driver for ICH).
Regards, Carl-Daniel
[interesting parts of unified diff first] @@ -8,8 +8,8 @@ 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 +0x04: 0xe008 (HSFS) +FLOCKDN 1, FDV 1, FDOPSS 1, SCIP 0, BERASE 1, AEL 0, FCERR 0, FDONE 0 0x50: 0x00000a0b (FRAP) BMWAG 0, BMRAG 0, BRWA 10, BRRA 11 0x54: 0x00000000 (FREG0) @@ -22,16 +22,23 @@ 0x7C: 0x00000000 (PR2) 0x80: 0x00000000 (PR3) 0x84: 0x00000000 (PR4) +0x90: 0x00420004 (SSFS, SSFC) +0x94: 0x0006 (PREOP) +0x96: 0x0010 (OPTYPE) +0x98: 0x0001009f (OPMENU) +0x9C: 0x00000000 (OPMENU+4) +0xA0: 0x00000000 (BBAR) 0xB0: 0x00000000 (FDOC) +WARNING: SPI Configuration Lockdown activated. +Generating OPCODES... done SPI Read Configuration: prefetching enabled, caching enabled, FAILED! ... 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 +Invalid OPCODE 0x05 Chip status register is 00 Found chip "Atmel AT26DF081A" (1024 KB) at physical address 0xfff00000. ... === -Reading Flash...done +Reading flash... ich_spi_read_page: offset=0, number=256, buf=0x800e00000 +Invalid OPCODE 0x03 +Error readingdone.