sorry for the delay.<br /><br />the patch works - flashrom informs "Found chip 'ST M50FW002' (256KB) at physical address 0xfffc0000"<br /><br />whats next? :)<br /><br />On Nov 2, 2008 1:20am, Carl-Daniel Hailfinger <c-d.hailfinger.devel.2006@gmx.net> wrote:<br />> Hi Elia,<br />> <br />> <br />> <br />> On 30.10.2008 11:45, Elia Yehuda wrote:<br />> <br />> > I'm trying to play with coreboot to flash my bios on my PC, with no success.<br />> <br />> > here are the computer hardware information followed by the commands I'm<br />> <br />> > trying to execute.<br />> <br />> ><br />> <br />> > cpu:         Socket370 Intel Pentium III Celeron<br />> <br />> > northbridge:    Intel 82810E<br />> <br />> > southbridge:    Intel 8281AA<br />> <br />> > bios device:    ST M50FW002<br />> <br />> ><br />> <br />> <br />> <br />> Can you try the following flashrom patch? It should find the chip and<br />> <br />> allow you to read it. Erase and write will NOT work and may crash.<br />> <br />> <br />> <br />> Attached if gmail mangles the inline patch.<br />> <br />> <br />> <br />> Add support for the ST M50FW002 chip to flashrom. Identification only,<br />> <br />> erase/write are not implemented.<br />> <br />> <br />> <br />> Signed-off-by: Carl-Daniel Hailfinger <br />> <br />> <br />> <br />> Index: flashrom-M50FW002/flash.h<br />> <br />> ===================================================================<br />> <br />> --- flashrom-M50FW002/flash.h   (Revision 3715)<br />> <br />> +++ flashrom-M50FW002/flash.h   (Arbeitskopie)<br />> <br />> @@ -317,6 +317,7 @@<br />> <br />>  #define ST_M50FLW040B          0x28<br />> <br />>  #define ST_M50FLW080A          0x80<br />> <br />>  #define ST_M50FLW080B          0x81<br />> <br />> +#define ST_M50FW002            0x29<br />> <br />>  #define ST_M50FW040            0x2C<br />> <br />>  #define ST_M50FW080            0x2D<br />> <br />>  #define ST_M50FW016            0x2E<br />> <br />> Index: flashrom-M50FW002/flashchips.c<br />> <br />> ===================================================================<br />> <br />> --- flashrom-M50FW002/flashchips.c      (Revision 3715)<br />> <br />> +++ flashrom-M50FW002/flashchips.c      (Arbeitskopie)<br />> <br />> @@ -121,6 +121,7 @@<br />> <br />>         {"ST",          "M50FLW040B",           ST_ID,          ST_M50FLW040B,          512,    64 * 1024,      TEST_UNTESTED,  probe_stm50flw0x0x,     erase_stm50flw0x0x,             write_stm50flw0x0x},<br />> <br />>         {"ST",          "M50FLW080A",           ST_ID,          ST_M50FLW080A,          1024,   64 * 1024,      TEST_OK_PREW,   probe_stm50flw0x0x,     erase_stm50flw0x0x,             write_stm50flw0x0x},<br />> <br />>         {"ST",          "M50FLW080B",           ST_ID,          ST_M50FLW080B,          1024,   64 * 1024,      TEST_UNTESTED,  probe_stm50flw0x0x,     erase_stm50flw0x0x,             write_stm50flw0x0x},<br />> <br />> +       {"ST",          "M50FW002",             ST_ID,          ST_M50FW002,            256,    64 * 1024,      TEST_UNTESTED,  probe_49lfxxxc,         NULL,                   NULL},<br />> <br />>         {"ST",          "M50FW016",             ST_ID,          ST_M50FW016,            2048,   64 * 1024,      TEST_UNTESTED,  probe_82802ab,          erase_82802ab,                  write_82802ab},<br />> <br />>         {"ST",          "M50FW040",             ST_ID,          ST_M50FW040,            512,    64 * 1024,      TEST_OK_PREW,   probe_82802ab,          erase_82802ab,                  write_82802ab},<br />> <br />>         {"ST",          "M50FW080",             ST_ID,          ST_M50FW080,            1024,   64 * 1024,      TEST_UNTESTED,  probe_82802ab,          erase_82802ab,                  write_82802ab},<br />> <br />> <br />> <br />> <br />> <br />> --<br />> <br />> http://www.hailfinger.org/<br />> <br />> <br />>