Hi all,
I'm trying to play with coreboot to flash my bios on my PC, with no success. here are the computer hardware information followed by the commands I'm trying to execute.
<INFO BEGIN> cpu: Socket370 Intel Pentium III Celeron northbridge: Intel 82810E southbridge: Intel 8281AA mainboard: 810 R 4.1 with lan super i/o: Winbond W8362F-AW bios device: ST M50FW002
lspci ooutput: 00:00.0 Host bridge: Intel Corporation 82810E DC-133 (GMCH) Graphics Memory Controller Hub (rev 03) 00:01.0 VGA compatible controller: Intel Corporation 82810E DC-133 (CGC) Chipset Graphics Controller (rev 03) 00:1e.0 PCI bridge: Intel Corporation 82801AA PCI Bridge (rev 02) 00:1f.0 ISA bridge: Intel Corporation 82801AA ISA Bridge (LPC) (rev 02) 00:1f.1 IDE interface: Intel Corporation 82801AA IDE Controller (rev 02) 00:1f.2 USB Controller: Intel Corporation 82801AA USB Controller (rev 02) 00:1f.3 SMBus: Intel Corporation 82801AA SMBus Controller (rev 02) 00:1f.5 Multimedia audio controller: Intel Corporation 82801AA AC'97 Audio Controller (rev 02) 01:05.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL-8139/8139C/8139C+ (rev 10) <INFO END>
$ flashrom -f -r -c M50FW016 mydump Calibrating delay loop... OK. No coreboot table found. Found chipset "Intel ICH", enabling flash write... OK. No EEPROM/flash device found. Force read (-f -r -c) requested, forcing chip probe success: Found chip "ST M50FW016" (2048 KB) at physical address 0xffe00000. Force reading flash...done
$ flashrom -f -w -c M50FW016 mydump Calibrating delay loop... OK. No coreboot table found. Found chipset "Intel ICH", enabling flash write... OK. No EEPROM/flash device found.
I'd appreciate any assistance as all this flashing stuff is new to me. Basically what i'm trying to accomplish is having my linux system running as the payload, but i'm stuck with even re-writing the same bios-dump i've just read from the bios... I'll post any further information required to diagnose this further.
thanks in advance, Elia Yehuda.
Hi Elia,
On 30.10.2008 11:45, Elia Yehuda wrote:
I'm trying to play with coreboot to flash my bios on my PC, with no success. here are the computer hardware information followed by the commands I'm trying to execute.
cpu: Socket370 Intel Pentium III Celeron northbridge: Intel 82810E southbridge: Intel 8281AA mainboard: 810 R 4.1 with lan super i/o: Winbond W8362F-AW bios device: ST M50FW002
lspci output: [...]
$ flashrom -f -r -c M50FW016 mydump Calibrating delay loop... OK. No coreboot table found. Found chipset "Intel ICH", enabling flash write... OK. No EEPROM/flash device found. Force read (-f -r -c) requested, forcing chip probe success: Found chip "ST M50FW016" (2048 KB) at physical address 0xffe00000. Force reading flash...done
It is a bad sign if you had to force the chip type for the read operation.
$ flashrom -f -w -c M50FW016 mydump Calibrating delay loop... OK. No coreboot table found. Found chipset "Intel ICH", enabling flash write... OK. No EEPROM/flash device found.
Force write can't work because the strategy for access is unknown.
I'd appreciate any assistance as all this flashing stuff is new to me. Basically what i'm trying to accomplish is having my linux system running as the payload, but i'm stuck with even re-writing the same bios-dump i've just read from the bios... I'll post any further information required to diagnose this further.
Can you run flashrom -V and report the results to this list?
We may need to change the chipset/board enable sequence for your board.
Regards, Carl-Daniel
Hi Elia,
On 30.10.2008 11:45, Elia Yehuda wrote:
I'm trying to play with coreboot to flash my bios on my PC, with no success. here are the computer hardware information followed by the commands I'm trying to execute.
cpu: Socket370 Intel Pentium III Celeron northbridge: Intel 82810E southbridge: Intel 8281AA bios device: ST M50FW002
Can you try the following flashrom patch? It should find the chip and allow you to read it. Erase and write will NOT work and may crash.
Attached if gmail mangles the inline patch.
Add support for the ST M50FW002 chip to flashrom. Identification only, erase/write are not implemented.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
Index: flashrom-M50FW002/flash.h =================================================================== --- flashrom-M50FW002/flash.h (Revision 3715) +++ flashrom-M50FW002/flash.h (Arbeitskopie) @@ -317,6 +317,7 @@ #define ST_M50FLW040B 0x28 #define ST_M50FLW080A 0x80 #define ST_M50FLW080B 0x81 +#define ST_M50FW002 0x29 #define ST_M50FW040 0x2C #define ST_M50FW080 0x2D #define ST_M50FW016 0x2E Index: flashrom-M50FW002/flashchips.c =================================================================== --- flashrom-M50FW002/flashchips.c (Revision 3715) +++ flashrom-M50FW002/flashchips.c (Arbeitskopie) @@ -121,6 +121,7 @@ {"ST", "M50FLW040B", ST_ID, ST_M50FLW040B, 512, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x}, {"ST", "M50FLW080A", ST_ID, ST_M50FLW080A, 1024, 64 * 1024, TEST_OK_PREW, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x}, {"ST", "M50FLW080B", ST_ID, ST_M50FLW080B, 1024, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x}, + {"ST", "M50FW002", ST_ID, ST_M50FW002, 256, 64 * 1024, TEST_UNTESTED, probe_49lfxxxc, NULL, NULL}, {"ST", "M50FW016", ST_ID, ST_M50FW016, 2048, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab}, {"ST", "M50FW040", ST_ID, ST_M50FW040, 512, 64 * 1024, TEST_OK_PREW, probe_82802ab, erase_82802ab, write_82802ab}, {"ST", "M50FW080", ST_ID, ST_M50FW080, 1024, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab},
On Sun, Nov 2, 2008 at 1:20 AM, Carl-Daniel Hailfinger < c-d.hailfinger.devel.2006@gmx.net> wrote:
Hi Elia,
On 30.10.2008 11:45, Elia Yehuda wrote:
I'm trying to play with coreboot to flash my bios on my PC, with no
success.
here are the computer hardware information followed by the commands I'm trying to execute.
cpu: Socket370 Intel Pentium III Celeron northbridge: Intel 82810E southbridge: Intel 8281AA bios device: ST M50FW002
Can you try the following flashrom patch? It should find the chip and allow you to read it. Erase and write will NOT work and may crash.
Attached if gmail mangles the inline patch.
Add support for the ST M50FW002 chip to flashrom. Identification only, erase/write are not implemented.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
tested and Acked-by: Elia Yehuda z4ziggy@gmail.com
Index: flashrom-M50FW002/flash.h
--- flashrom-M50FW002/flash.h (Revision 3715) +++ flashrom-M50FW002/flash.h (Arbeitskopie) @@ -317,6 +317,7 @@ #define ST_M50FLW040B 0x28 #define ST_M50FLW080A 0x80 #define ST_M50FLW080B 0x81 +#define ST_M50FW002 0x29 #define ST_M50FW040 0x2C #define ST_M50FW080 0x2D #define ST_M50FW016 0x2E Index: flashrom-M50FW002/flashchips.c =================================================================== --- flashrom-M50FW002/flashchips.c (Revision 3715) +++ flashrom-M50FW002/flashchips.c (Arbeitskopie) @@ -121,6 +121,7 @@ {"ST", "M50FLW040B", ST_ID, ST_M50FLW040B, 512, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x}, {"ST", "M50FLW080A", ST_ID, ST_M50FLW080A, 1024, 64 * 1024, TEST_OK_PREW, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x}, {"ST", "M50FLW080B", ST_ID, ST_M50FLW080B, 1024, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x},
{"ST", "M50FW002", ST_ID,
ST_M50FW002, 256, 64 * 1024, TEST_UNTESTED, probe_49lfxxxc, NULL, NULL}, {"ST", "M50FW016", ST_ID, ST_M50FW016, 2048, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab}, {"ST", "M50FW040", ST_ID, ST_M50FW040, 512, 64 * 1024, TEST_OK_PREW, probe_82802ab, erase_82802ab, write_82802ab}, {"ST", "M50FW080", ST_ID, ST_M50FW080, 1024, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab},
tested and
Acked-by: Elia Yehuda z4ziggy@gmail.com
On 02.11.2008 15:18, Elia Yehuda wrote:
On Sun, Nov 2, 2008 at 1:20 AM, Carl-Daniel Hailfinger < c-d.hailfinger.devel.2006@gmx.net> wrote:
Hi Elia,
On 30.10.2008 11:45, Elia Yehuda wrote:
I'm trying to play with coreboot to flash my bios on my PC, with no
success.
here are the computer hardware information followed by the commands I'm trying to execute.
cpu: Socket370 Intel Pentium III Celeron northbridge: Intel 82810E southbridge: Intel 8281AA bios device: ST M50FW002
Can you try the following flashrom patch? It should find the chip and allow you to read it. Erase and write will NOT work and may crash.
Attached if gmail mangles the inline patch.
Add support for the ST M50FW002 chip to flashrom. Identification only, erase/write are not implemented.
Signed-off-by: Carl-Daniel Hailfinger c-d.hailfinger.devel.2006@gmx.net
tested and Acked-by: Elia Yehuda z4ziggy@gmail.com
Thanks, committed in r3717.
Regards, Carl-Daniel