#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+---------------------------------- Flash device is detected as a Winbond W39V040B device. Flashrom attempts to flash device, but verification fails. No actual writing to the chip appears to be done. Tried changing write and erase in flashchips.c to: jedec, winbond_fwhub and 49lfxxxc.
./flashrom -wv xxxx.bin Calibrating delay loop... OK. No coreboot table found. Found chipset "Intel ICH7/ICH7R", enabling flash write... OK. Found chip "Winbond W39V040B" (512 KB) at physical address 0xfff80000. Flash image seems to be a legacy BIOS. Disabling checks. Programming page: 0007 at address: 0x00070000 Verifying flash... FAILED! Expected=0xc7, Read=0x49
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+----------------------------------
Comment(by coreboot01@…):
I got a similar problem using W39V040FBPZ.
After starting flashrom, output stopped at "disabling checks" for a minute or so, then the first "Programming page" appeared and nothing more happened. Looking with strace at the process id showed that the process was doing nothing at all. I left the system at this state for a whole day, but still nothing happened.
Then I tried again using a SST 49LF040 chip on the board (VIA PC2500e) and flashing worked without any problem.
Andreas Wanske
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+----------------------------------
Comment(by hailfinger):
strace is unable to see any flashrom activity because flashrom does not use syscalls. (There are no syscalls for flashing.)
So if you think flashrom does nothing at all, it is still doing something, but no utility like strace can see it.
The Winbond chips are really problematic. If we try to program them according to their data sheets, they fail sometimes. Any insight is appreciated. No other chip vendor has these problems.
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+----------------------------------
Comment(by charles.herndon@…):
Replying to [comment:2 hailfinger]:
strace is unable to see any flashrom activity because flashrom does not
use syscalls. (There are no syscalls for flashing.)
So if you think flashrom does nothing at all, it is still doing
something, but no utility like strace can see it.
The Winbond chips are really problematic. If we try to program them
according to their data sheets, they fail sometimes. Any insight is appreciated. No other chip vendor has these problems.
I'm willing to provide any information you need. The only thing I do know about this chip is that by mistake I was successful programming it with an EEPROM programmer using the settings for SST49LF004 (I forgot to change models to the Winbond part)
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: flashrom v1.1 Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+---------------------------------- Changes (by stepan):
* milestone: => flashrom v1.1
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: flashrom v1.1 Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+----------------------------------
Comment(by hailfinger):
The Winbond W39V040B is one of the chips which sometimes totally deviates from the bhaviour specified in the datasheet. We have no idea why, and it may even be possible that the problematic chips are counterfeit (but given that they appear on brand name mainboards, that's unlikely).
Progress printing in flashrom is on the TODO list.
#119: Winbond W39V040FBPZ is not written correctly by flashrom -----------------------------------------+---------------------------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: new Priority: minor | Milestone: flashrom v1.1 Component: flashrom | Version: v2 Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | -----------------------------------------+----------------------------------
Comment(by hailfinger):
Something I noticed just now:
Charles, you mentioned W39V040FB (FWH) in the summary, but your log says W39V040B (LPC). We did fix one critical timing error for the W39V040B, so this may be solved in current flashrom from svn.
A retest would be appreciated.
#119: Winbond W39V040FBPZ is not written correctly by flashrom ----------------------------------------------------------+----------------- Reporter: charles.herndon@… | Owner: somebody Type: enhancement | Status: closed Priority: minor | Milestone: flashrom v1.1 Component: flashrom (please use trac on flashrom.org) | Resolution: worksforme Keywords: W39V040FBPZ | Dependencies: Patchstatus: there is no patch | ----------------------------------------------------------+----------------- Changes (by hailfinger):
* status: new => closed * resolution: => worksforme
Comment:
We fixed a few bugs:
- Erase is now an auto-verified operation (it wasn't in your flashrom version) - W39* toggle timings were fixed (those resulted in too early false completion reports) - More paranoia and better diagnostics in all steps of flashrom operation
Charles, I will close this bug for now. Feel free to reopen it if you still own the hardware and are willing to test.