On Wed, Nov 21, 2007 at 11:19:01PM +0100, Harald Gutmann 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!? > > did you use flashrom -E befor writing the new file to the chip? > on the spi-revision i must erase the chip before writing something new to it, > else the verification fails.
tried that: $ sudo flashrom -E 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). Erasing flash chip $ sudo flashrom -V --verify --write /home/andi/freeBIOS/testbios Calibrating delay loop... 675M loops per second. OK. Found canidate at: 00000530-00000e70 Found LinuxBIOS table at 0x00000530. LinuxBIOS table found at 0x2b3beb571530. 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 ................... some probing removed 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 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... 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 my 'testbios' does not work, but linuxbios works? Thanks, Andi -- linuxbios mailing list linuxbios@linuxbios.org http://www.linuxbios.org/mailman/listinfo/linuxbios