[coreboot] flashrom fails to write/erase on VIA VT8237

vinuxesgmail vinuxes at gmail.com
Fri Mar 27 08:10:43 CET 2009


Hello,
    While trying to flash the bios using flashrom, i get the following 
messages:
{--------------------
# flashrom -E -f
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "VIA VT8237", enabling flash write... OK.
Found chip "SST SST49LF004A/B" (512 KB) at physical address 0xfff80000.
*Erasing flash chip... ERASE FAILED!
FAILED!
ERROR at 0x00000000: Expected=0xff, Read=0x49
*--------------------}

Here's the output of other commands:
{--------------------
# flashrom -r bios.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "VIA VT8237", enabling flash write... OK.
Found chip "SST SST49LF004A/B" (512 KB) at physical address 0xfff80000.
Reading flash... done.

# ./flashrom -v bios.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "VIA VT8237", enabling flash write... OK.
Found chip "SST SST49LF004A/B" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
Verifying flash... VERIFIED. 

# ./flashrom -w bios.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "VIA VT8237", enabling flash write... OK.
Found chip "SST SST49LF004A/B" (512 KB) at physical address 0xfff80000.
Flash image seems to be a legacy BIOS. Disabling checks.
*ERASE FAILED!*
--------------------}

But, when I tried to update the bios using *awdflash *utility, it worked 
successfully.
To describe my board, here's the output of lspci:
{------------------
00:00.0 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge
00:00.1 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge
00:00.2 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge
00:00.3 Host bridge: VIA Technologies, Inc. PT890 Host Bridge
00:00.4 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge
00:00.7 Host bridge: VIA Technologies, Inc. CN700/VN800/P4M800CE/Pro 
Host Bridge
00:01.0 PCI bridge: VIA Technologies, Inc. VT8237/VX700 PCI Bridge
00:09.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast 
Ethernet Controller (rev 10)
00:0a.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast 
Ethernet Controller (rev 10)
00:0c.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast 
Ethernet Controller (rev 10)
00:0d.0 Ethernet controller: Intel Corporation 8255xER/82551IT Fast 
Ethernet Controller (rev 10)
00:0f.0 IDE interface: VIA Technologies, Inc. VIA VT6420 SATA RAID 
Controller (rev 80)
00:0f.1 IDE interface: VIA Technologies, Inc. 
VT82C586A/B/VT82C686/A/B/VT823x/A/C PIPC Bus Master IDE (rev 06)
00:10.0 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
00:10.1 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
00:10.2 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
00:10.3 USB Controller: VIA Technologies, Inc. VT82xxxxx UHCI USB 1.1 
Controller (rev 81)
00:11.0 ISA bridge: VIA Technologies, Inc. VT8237 ISA bridge 
[KT600/K8T800/K8T890 South]
01:00.0 VGA compatible controller: VIA Technologies, Inc. CN700/P4M800 
Pro/P4M800 CE/VN800 [S3 UniChrome Pro] (rev 01)
------------------}

Output of biosdecode:
{------------------
biosdecode 2.9
SMBIOS 2.3 present.
        Structure Table Length: 902 bytes
        Structure Table Address: 0x000F0800
        Number Of Structures: 33
        Maximum Structure Size: 81 bytes
BIOS32 Service Directory present.
        Revision: 0
        Calling Interface Address: 0x000F92C0
PNP BIOS 1.0 present.
        Event Notification: Not Supported
        Real Mode 16-bit Code Address: F000:9E58
        Real Mode 16-bit Data Address: F000:0000
        16-bit Protected Mode Code Address: 0x000F9E30
        16-bit Protected Mode Data Address: 0x000F0000
------------------}
Output of dmidecode is attached as dmidecode.txt.

Am i doing it wrong? Please guide me.

Regards,
Vinod
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090327/320f4593/attachment.html>
-------------- next part --------------
An embedded and charset-unspecified text was scrubbed...
Name: dmidecode.txt
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20090327/320f4593/attachment.txt>


More information about the coreboot mailing list