<span class="gmail_quote"><br></span>Hi .....<br> <br> We are working on Coreboot we are trying to flash on the PM49fl004/SST49lf004B<br><br> but the flashrom has problems with the write and erase operation.<br>
<br> We have MSI Neo and MSI K9N Ultra mother boards with socketed bios. <br>
<br> So we are following the procedure given in the mailing list ( flashrom and PM49FL004/2 patch) ,<br> <br> After compiling we are getting the error as bellow <br> <br>
[malatesh@turtle22 flashrom]$ make<br>
<br>Checking for pciutils and zlib... found.<br>gcc -o flashrom chipset_enable.o board_enable.o udelay.o jedec.o sst28sf040.o am29f040b.o mx29f002.o sst39sf020.o m29f400bt.o w49f002u.o 82802ab.o msys_doc.o pm49fl004.o sst49lf040.o sst49lfxxxc.o sst_fwhub.o layout.o cbtable.o flashchips.o flashrom.o sharplhf00l04.o w29ee011.o spi.o -lpci -lz -static <br>
sst_fwhub.o: In function `probe_sst_fwhub':<br>sst_fwhub.c:(.text+0x21a): undefined reference to `probe_49fl00x'<br>flashchips.o:(.data+0x644): undefined reference to `probe_49fl00x'<br>flashchips.o:(.data+0x648): undefined reference to `erase_49fl00x'<br>
flashchips.o:(.data+0x64c): undefined reference to `write_49fl00x'<br>flashchips.o:(.data+0x670): undefined reference to `probe_49fl00x'<br>flashchips.o:(.data+0x674): undefined reference to `erase_49fl00x'<br>
flashchips.o:(.data+0x678): undefined reference to `write_49fl00x'<br>collect2: ld returned 1 exit status<br>make: *** [flashrom] Error 1<br><br> <br> I think we have down a mistake in this step ,<br>
<br> we are unable to understand the step i.e
<p style="margin-bottom: 0in;"> diff -Nru flashrom/flash.h
flashrom-pm49fl00x/flash.h</p><p style="margin-bottom: 0in;"> --- flashrom/flash.h 2008-02-07
03:07:58.000000000 +0500</p>
<p style="margin-bottom: 0in;"> +++
flashrom-pm49fl00x/flash.h 2008-03-11 13:38:25.000000000 +0500</p>
<p style="margin-bottom: 0in;"> @@ -373,9 +373,9 @@</p> <br> please guide us.............<br> <br> with regards ,<br><span class="sg"> Malatesh.<br>
<br> <br><br><br><br><br><br><br><br>
<br> <br> <br>
</span>