[LinuxBIOS] Getting Friendly with Flashrom

David H. Barr dhbarr at gozelle.com
Tue Mar 20 03:36:25 CET 2007


On 3/18/07, Peter Stuge <stuge-linuxbios at cdy.org> wrote:
> On Sun, Mar 18, 2007 at 08:54:29PM -0500, David H. Barr wrote:
> > dhbarr at ms7260:~/msi_orig$ sudo flashrom -vV -c Pm49FL004 A7260NMS.300
>
> Try -w

Well -MY- face is red; I forced the chip detection but failed explicitly to
invoke the write.  Looking back, someone else had this trouble only two weeks
ago [1]; obviously I didn't thoroughly do my research.

In any case, I tried with the -w switch and obtained similar results to Adam
Kaufman's [2] until my verify failed at 0x000164d0.  I also tried Stefan
Reinauer's checklist [3], but again verification failed at the same location
with the switch in the RD1 position.  With the switch in the ORG position,
verification succeeded.

Just for grins, I erased the chip then performed a verify against the image
I first tried to flash.  This also failed, again at 0x000164d0.  It
seems as though none of my commands actually -wrote- anything.

Full details after footnotes; you may notice I used the v130 in these test
cases; that is the factory default firmware shipped with my board.

-dhbarr.


1. "Flashrom problem & IRQ questions"
   http://linuxbios.org/pipermail/linuxbios/2007-March/018671.html

2. "LinuxBIOS Solaris Dev"
   http://linuxbios.org/pipermail/linuxbios/2007-February/018172.html

3. "cant detect bios with flash software"
   http://linuxbios.org/pipermail/linuxbios/2006-June/014914.html


-=[Results Similar to A.K.]=-
$ flashrom -vV -c Pm49FL004 -w A7260NMS.130
Calibrating delay loop... Setting up microsecond timing loop
402M loops per second
ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
Trying Pm49FL004, 512 KB
probe_jedec: id1 0x9d, id2 0x6e
Pm49FL004 found at physical address: 0xfff80000
Flash part is Pm49FL004 (512 KB)
Flash image seems to be a legacy BIOS. Disabling checks.
Programming Page: 0007 at address: 0x00070000
Verifying flash address: 0x000164d0 - FAILED


-=[SR's Checklist]=-

$ flashrom -r A7260NMS.org
Calibrating delay loop... ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
W39V040B found at physical address: 0xfff80000
Flash part is W39V040B (512 KB)
Reading Flash...done

$ flashrom -w A7260NMS.org
Calibrating delay loop... ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
Pm49FL004 found at physical address: 0xfff80000
Flash part is Pm49FL004 (512 KB)
Flash image seems to be a legacy BIOS. Disabling checks.
Programming Page: 0007 at address: 0x00070000

$ flashrom -vV A7260NMS.org
Calibrating delay loop... Setting up microsecond timing loop
402M loops per second
ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
<snip>
Trying Pm49FL004, 512 KB
probe_jedec: id1 0x9d, id2 0x6e
Pm49FL004 found at physical address: 0xfff80000
Flash part is Pm49FL004 (512 KB)
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash address: 0x000164d0 - FAILED


-=[Erase then Verify]=-

$ flashrom -E
Calibrating delay loop... ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
Pm49FL004 found at physical address: 0xfff80000
Flash part is Pm49FL004 (512 KB)
Erasing flash chip

$ flashrom -V -v A7260NMS.130 -c Pm49FL004
Calibrating delay loop... Setting up microsecond timing loop
401M loops per second
ok
No LinuxBIOS table found.
Enabling flash write on NVIDIA MCP55...OK
Trying Pm49FL004, 512 KB
probe_jedec: id1 0x9d, id2 0x6e
Pm49FL004 found at physical address: 0xfff80000
Flash part is Pm49FL004 (512 KB)
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash address: 0x000164d0 - FAILED




More information about the coreboot mailing list