<div dir="ltr"><br><br><div class="gmail_quote">On Sun, Nov 2, 2008 at 1:20 AM, Carl-Daniel Hailfinger <span dir="ltr"><<a href="mailto:c-d.hailfinger.devel.2006@gmx.net">c-d.hailfinger.devel.2006@gmx.net</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="Ih2E3d">Hi Elia,<br>
<br>
On 30.10.2008 11:45, Elia Yehuda wrote:<br>
</div><div class="Ih2E3d">> I'm trying to play with coreboot to flash my bios on my PC, with no success.<br>
> here are the computer hardware information followed by the commands I'm<br>
> trying to execute.<br>
><br>
</div><div class="Ih2E3d">> cpu: Socket370 Intel Pentium III Celeron<br>
> northbridge: Intel 82810E<br>
> southbridge: Intel 8281AA<br>
</div>> bios device: ST M50FW002<br>
><br>
<br>
Can you try the following flashrom patch? It should find the chip and<br>
allow you to read it. Erase and write will NOT work and may crash.<br>
<br>
Attached if gmail mangles the inline patch.<br>
<br>
Add support for the ST M50FW002 chip to flashrom. Identification only,<br>
erase/write are not implemented.<br>
<br>
Signed-off-by: Carl-Daniel Hailfinger <<a href="mailto:c-d.hailfinger.devel.2006@gmx.net">c-d.hailfinger.devel.2006@gmx.net</a>></blockquote><div>
<span class="nfakPe">tested and <br>Acked</span>-<span class="nfakPe">by</span>: Elia Yehuda <<a href="mailto:z4ziggy@gmail.com">z4ziggy@gmail.com</a>><br> <br></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<br>
<br>
Index: flashrom-M50FW002/flash.h<br>
===================================================================<br>
--- flashrom-M50FW002/flash.h (Revision 3715)<br>
+++ flashrom-M50FW002/flash.h (Arbeitskopie)<br>
@@ -317,6 +317,7 @@<br>
#define ST_M50FLW040B 0x28<br>
#define ST_M50FLW080A 0x80<br>
#define ST_M50FLW080B 0x81<br>
+#define ST_M50FW002 0x29<br>
#define ST_M50FW040 0x2C<br>
#define ST_M50FW080 0x2D<br>
#define ST_M50FW016 0x2E<br>
Index: flashrom-M50FW002/flashchips.c<br>
===================================================================<br>
--- flashrom-M50FW002/flashchips.c (Revision 3715)<br>
+++ flashrom-M50FW002/flashchips.c (Arbeitskopie)<br>
@@ -121,6 +121,7 @@<br>
{"ST", "M50FLW040B", ST_ID, ST_M50FLW040B, 512, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x},<br>
{"ST", "M50FLW080A", ST_ID, ST_M50FLW080A, 1024, 64 * 1024, TEST_OK_PREW, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x},<br>
{"ST", "M50FLW080B", ST_ID, ST_M50FLW080B, 1024, 64 * 1024, TEST_UNTESTED, probe_stm50flw0x0x, erase_stm50flw0x0x, write_stm50flw0x0x},<br>
+ {"ST", "M50FW002", ST_ID, ST_M50FW002, 256, 64 * 1024, TEST_UNTESTED, probe_49lfxxxc, NULL, NULL},<br>
{"ST", "M50FW016", ST_ID, ST_M50FW016, 2048, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab},<br>
{"ST", "M50FW040", ST_ID, ST_M50FW040, 512, 64 * 1024, TEST_OK_PREW, probe_82802ab, erase_82802ab, write_82802ab},<br>
{"ST", "M50FW080", ST_ID, ST_M50FW080, 1024, 64 * 1024, TEST_UNTESTED, probe_82802ab, erase_82802ab, write_82802ab},<br>
<font color="#888888"><br>
<br>
--<br>
<a href="http://www.hailfinger.org/" target="_blank">http://www.hailfinger.org/</a><br>
<br>
</font></blockquote></div>tested and <br>
<span class="nfakPe">Acked</span>-<span class="nfakPe">by</span>: Elia Yehuda <<a href="mailto:z4ziggy@gmail.com">z4ziggy@gmail.com</a>><br></div>