On Wed, Nov 21, 2007 at 05:11:46PM -0500, Ward Vandewege wrote: > Hi Andi, > > On Wed, Nov 21, 2007 at 11:07:27PM +0100, Andreas B. Mundt wrote: > > today, I replaced the 512kB EEPROM on my GA-M57SLI by a 1024kB > > SST49LF080A chip. Flashing of a 1024kB BIOS (after booting with > > proprietary BIOS) works fine. After booting LB, writing with flashrom > > fails. (If you rewrite the same linuxbios.rom and use '--verify', > > anything looks ok, but if you write something 'new' on the ROM, the > > verification fails. Reading the ROM content and comparing it with the > > content written shows differences at the very end of the image.) > > > > So the issue that has been solved for the 512kB LPC recently seems to > > pop up again!? > > Don't think so - I'm not having any problems and I also use SST49LF080A flash > chips on an m57sli-s4. Something else must be going on. >
Strange. Below the sequence I used to check. The 'testbios' is generated by concatenating 2 proprietary BIOSes. $ sudo flashrom --verify linuxbios.rom Calibrating delay loop... OK. Found LinuxBIOS table at 0x00000530. Vendor ID: GIGABYTE, part ID: m57sli Found chipset "NVIDIA MCP55", enabling flash write... OK. NOT FOUND GIGABYTE:m57sli generic_spi_command called, but no SPI chipset detected SST49LF080A found at physical address 0xfff00000. Flash part is SST49LF080A (1024 KB). Verifying flash... VERIFIED. $ sudo flashrom --verify --write linuxbios.rom Calibrating delay loop... OK. Found LinuxBIOS table at 0x00000530. Vendor ID: GIGABYTE, part ID: m57sli Found chipset "NVIDIA MCP55", enabling flash write... OK. NOT FOUND GIGABYTE:m57sli generic_spi_command called, but no SPI chipset detected SST49LF080A found at physical address 0xfff00000. Flash part is SST49LF080A (1024 KB). Programming page: 0255 at address: 0x000ff000 Verifying flash... VERIFIED. $ sudo flashrom -V --verify --write /home/andi/freeBIOS/testbios Calibrating delay loop... 662M loops per second. OK. Found canidate at: 00000530-00000e70 Found LinuxBIOS table at 0x00000530. LinuxBIOS table found at 0x2b267524e530. LinuxBIOS header(24) checksum: c800 table(2368) checksum: 9d03 entries: 14 Vendor ID: GIGABYTE, part ID: m57sli Found chipset "NVIDIA MCP55", enabling flash write... OK. NOT FOUND GIGABYTE:m57sli Probing for Am29F040B, 512 KB probe_29f040b: id1 0xff, id2 0xff ..............some probes removed........... Probing for SST49LF080A, 1024 KB probe_jedec: id1 0xbf, id2 0x5b SST49LF080A found at physical address 0xfff00000. Flash part is SST49LF080A (1024 KB). Flash image seems to be a legacy BIOS. Disabling checks. Programming page: 0255 at address: 0x000ff000 Verifying flash... address: 0x00000000 FAILED! $ sudo flashrom --verify --write linuxbios.rom Calibrating delay loop... OK. Found LinuxBIOS table at 0x00000530. Vendor ID: GIGABYTE, part ID: m57sli Found chipset "NVIDIA MCP55", enabling flash write... OK. NOT FOUND GIGABYTE:m57sli generic_spi_command called, but no SPI chipset detected SST49LF080A found at physical address 0xfff00000. Flash part is SST49LF080A (1024 KB). Programming page: 0255 at address: 0x000ff000 Verifying flash... VERIFIED. So nothing seems to be written. Or did I make a simple mistake? Thoughts? Thanks, Andi -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios