Hello Flahsrom staff !
I have a problem with my stuff and flashrom. I want upgrade my Bios version but the erase/write function of flashrom has failed. I use “ASUS P5N32-SLI SE Deluxe” motherboard ( Bios version 0801 ) and i would install this new Bios version : http://fr.driverscollection.com/_440158660264bb85a1400351c90/T%C3%A9l%C3%A9…
First operation :
# flashrom -p internal
flashrom v0.9.7-r1711 on FreeBSD 10.0-RELEASE (i386)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
Found chipset "NVIDIA CK804". Enabling flash write... OK.
Found SST flash chip "SST49LF080A" (1024 kB, LPC) at physical address 0xfff00000 .
No operations were specified.
Second operation :
# flashrom -p internal -w P5N32-SLI-SE-ASUS-Deluxe-0901.ROM
flashrom v0.9.7-r1711 on FreeBSD 10.0-RELEASE (i386)
flashrom is free software, get the source code at http://www.flashrom.org
Calibrating delay loop... OK.
Found chipset "NVIDIA CK804". Enabling flash write... OK.
Found SST flash chip "SST49LF080A" (1024 kB, LPC) at physical address 0xfff00000.
Reading old flash chip contents... done.
Erasing and writing flash chip... writing sector at 0x28c35200 failed!
Reading current flash chip contents... done. FAILED at 0x0003c308! Expected=0xff, Found=0x48, failed byte count from 0x00030000-0x0003ffff: 0x3ca7
ERASE FAILED!
FAILED!
Have you an idea for fix this problem ?
Thanks in advance !
Regards.
Alex Johnson
Dear Developer! Heres the outputs of the Abit AN-M2HD board. I cant wrote the Winbod chip. xubuntu@xubuntu:~/Desktop$ sudo flashrom -p internal -Eflashrom v0.9.6.1-r1563 on Linux 3.13.0-8-generic (x86_64)flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK.Found chipset "NVIDIA MCP67". Enabling flash write... This chipset is not really supported yet. Guesswork...Please send the output of "flashrom -V" to flashrom(a)flashrom.org withyour board name: flashrom -V as the subject to help us finish support for yourchipset. Thanks.OK.Found Winbond flash chip "W39V040B" (512 kB, LPC) at physical address 0xfff80000.Erasing and writing flash chip... Erase/write done.xubuntu@xubuntu:~/Desktop$ sudo flashrom -p internal -w JN.BIN flashrom v0.9.6.1-r1563 on Linux 3.13.0-8-generic (x86_64)flashrom is free software, get the source code at http://www.flashrom.org Calibrating delay loop... OK.Found chipset "NVIDIA MCP67". Enabling flash write... This ch
ipset is not really supported yet. Guesswork...Please send the output of "flashrom -V" to flashrom(a)flashrom.org withyour board name: flashrom -V as the subject to help us finish support for yourchipset. Thanks.OK.Found Winbond flash chip "W39V040B" (512 kB, LPC) at physical address 0xfff80000.Flash image seems to be a legacy BIOS. Disabling coreboot-related checks.Reading old flash chip contents... done.Erasing and writing flash chip... writing sector at 0x7fd89382a000 failed!Reading current flash chip contents... done. writing sector at 0x7fd89382a000 failed!FAILED!Uh oh. Erase/write failed. Checking if anything changed.Good. It seems nothing was changed.Writing to the flash chip apparently didn't do anything.This means we have to add special support for your board, programmer or flash chip.Please report this on IRC at irc.freenode.net (channel #flashrom) ormail flashrom@flashrom.org!-------------------------------------------------------------------------------You may now re
boot or simply leave the machine running.xub!
untu@xubuntu:~/Desktop$ sudo flashrom -p internal -Vflashrom v0.9.6.1-r1563 on Linux 3.13.0-8-generic (x86_64)flashrom is free software, get the source code at http://www.flashrom.org flashrom was built with libpci 3.1.9, GCC 4.7.1, little endianCommand line (3 args): flashrom -p internal -VCalibrating delay loop... OS timer resolution is 1 usecs, 388M loops per second, delay more than 10% too short (got 65% of expected delay), recalculating... 494M loops per second, delay more than 10% too short (got 84% of expected delay), recalculating... 509M loops per second, delay more than 10% too short (got 86% of expected delay), recalculating... 457M loops per second, delay more than 10% too short (got 77% of expected delay), recalculating... 511M loops per second, delay loop is unreliable, trying to continue 10 myus = 9 us, 100 myus = 86 us, 1000 myus = 852 us, 10000 myus = 8542 us, 4 myus = 5 us, OK.Initializing internal programmerNo coreboot table found.DMI string system-manufacturer: "
."DMI string system-product-name: "."DMI string system-version: "Unknow"DMI string baseboard-manufacturer: "http://www.abit.com.tw/"DMI string baseboard-product-name: "AN-M2HD(MCP68)"DMI string baseboard-version: "1.x "DMI string chassis-type: "Desktop"Found chipset "NVIDIA MCP67" with PCI ID 10de:0548. Enabling flash write... This chipset is not really supported yet. Guesswork...ISA/LPC bridge reg 0x8a contents: 0x00, bit 6 is 0, bit 5 is 0Flash bus type is LPCFound SMBus device 10de:0542 at 00:01:1MCP SPI BAR is at 0xfec80000Strange. MCP SPI BAR is valid, but chipset apparently doesn't have SPI enabled.Please send the output of "flashrom -V" to flashrom(a)flashrom.org withyour board name: flashrom -V as the subject to help us finish support for yourchipset. Thanks.OK.The following protocols are supported: LPC.Probing for AMIC A49LF040A, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for Atmel AT49LH002, 256 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1
is normal flash content, id2 is normal flash content!
Probing for PMC Pm49FL002, 256 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for PMC Pm49FL004, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for SST SST49LF020, 256 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for SST SST49LF020A, 256 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for SST SST49LF040, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for SST SST49LF040B, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for SST SST49LF080A, 1024 kB: Chip lacks correct probe timing information, using default 10mS/40uS. probe_jedec_common: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for SST SST49LF160C, 2048 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for ST M50FLW040A, 512 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for ST M50FLW040B, 5
12 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for ST M50FLW080A, 1024 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for ST M50FLW080B, 1024 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for ST M50LPW116, 2048 kB: probe_82802ab: id1 0xff, id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for Winbond W39V040A, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for Winbond W39V040B, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Found Winbond flash chip "W39V040B" (512 kB, LPC) at physical address 0xfff80000.Lockout bits:Hardware bootblock locking (#TBL) is active.Hardware remaining chip locking (#WP) is active..Probing for Winbond W39V040C, 512 kB: probe_jedec_common: id1 0xda, id2 0x54Probing for Winb
ond W39V080A, 1024 kB: probe_jedec_common: id1 0xff, !
id2 0xff, id1 parity violation, id1 is normal flash content, id2 is normal flash contentProbing for Winbond W49V002A, 256 kB: probe_jedec_common: id1 0xda, id2 0x54Found Winbond flash chip "W39V040B" (512 kB, LPC).No operations were specified.Restoring PCI config space for 00:01:0 reg 0x6dRestoring PCI config space for 00:01:0 reg 0x90Restoring PCI config space for 00:01:0 reg 0x8cRestoring PCI config space for 00:01:0 reg 0x88xubuntu@xubuntu:~/Desktop$ Thans
Hi
I'm not proficient in programming and have used before available information about flashing bios chips. I have flashed SPI bios using flashrom and RPI. Now I need to flash LPC chip - SST49LF080A. I don't have access to programmer that can program this chip but i was wandering what needs to be done to enable raspberry pi to flash this type of chips.
I have seen programmer using Atmel chip so i wanted to know if something can be changed on raspberry pi side to enable LPC flashing (or parallel for that matter).
I'm willing to experiment with raspberry pi and LPC / parallel chips.
Kind Regards
Goran Metlic
I am using Dediprog programmer and currently using 8192 kB SPI Winbond "W25Q64.W" chip. Currently my time to erase chip is in excess of 10 mins. On the programmer i can see it is working in 4 KB chunks at about 4 chunks per second. So very roughly 16 KB/s.
Is this right? Is there any way to erase a chip faster.
Any insight on this matter would be greatly appreciated.
Regards,
Anthony Enos
Hi,
As requested by flashrom note, here are the logs for probe, erase, read and write operations I successfully performed on a Micron/Numonyx/ST flash chip "N25Q064A11E" through a FT4232H MiniModule.
Thanks for the tool.
Cheers,
Paolo.
Hi, i just flashed the bios on the aforesaid motherboard using flashrom,
it worked well and the process of erasing/writing seemed to
be a lot faster than the dos/(flashutil.exe) in a floppy that i used up by now.
The flash is a EON EN29F002NT. I'm attaching the log as proof.