[coreboot] flashrom -w (Write) does not work on ICH9R / SST25VF016B

Water Chen waterc at gmail.com
Tue Oct 14 03:18:53 CEST 2008


Hi,

I'm running flashrom to flash the BIOS on Supermicro X7DCL-3.
http://www.supermicro.com/products/motherboard/Xeon1333/5100/X7DCL-3.cfm

I found that flashrom -w (Write) does not work on ICH9R / SST25VF016B,
but -E (Erase) and -r (Read) options do work fine.

I once replaced the BIOS chip SST25VF016B with Atmel AT25DF321.
All -w (Write), -E (Erase) and -r (Read) options work fine on ICH9R / AT25DF321.

Is there someone who can fix the bug of flashrom -w on ICH9R / SST25VF016B?

Some of my testing procedures are shown below for your reference.

# dd if=/dev/zero of=BIOS-ROM-All-Zero.bin bs=2M count=1

# hexdump BIOS-ROM-All-Zero.bin
0000000 0000 0000 0000 0000 0000 0000 0000 0000
*
0200000

# ./flashrom -wv BIOS-ROM-All-Zero.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH9R", enabling flash write... OK.
Found chip "SST SST25VF016B" (2048 KB) at physical address 0xffe00000.
Flash image seems to be a legacy BIOS. Disabling checks.
Programming page:
DONE BLOCK 0x0
...
Verifying flash... FAILED!  Expected=0x00, Read=0x01

# ./flashrom -r BIOS-ROM-After-Writing-All-Zero.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH9R", enabling flash write... OK.
Found chip "SST SST25VF016B" (2048 KB) at physical address 0xffe00000.
Reading Flash...done

# hexdump BIOS-ROM-After-Writing-All-Zero.bin
0000000 ff01 ffff ffff ffff ffff ffff ffff ffff
0000010 ffff ffff ffff ffff ffff ffff ffff ffff
*
0000200 ff01 ffff ffff ffff ffff ffff ffff ffff
0000210 ffff ffff ffff ffff ffff ffff ffff ffff
*
0200000

# ./flashrom -E
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH9R", enabling flash write... OK.
Found chip "SST SST25VF016B" (2048 KB) at physical address 0xffe00000.
Erasing flash chip.

# ./flashrom -r BIOS-ROM-After-Erasing.bin
Calibrating delay loop... OK.
No coreboot table found.
Found chipset "Intel ICH9R", enabling flash write... OK.
Found chip "SST SST25VF016B" (2048 KB) at physical address 0xffe00000.
Reading Flash...done

# hexdump BIOS-ROM-After-Erasing.bin
0000000 ffff ffff ffff ffff ffff ffff ffff ffff
*
0200000

Thank you.
Water Chen




More information about the coreboot mailing list