[coreboot] flashrom and PM49FL004/2

Nikolay Petukhov nikolaypetukhov at gmail.com
Tue Mar 18 17:57:16 CET 2008


Hi.

Patch[] already old.
Try this patch.

2008/3/18, malatesh kamatad <malateshkamat at gmail.com>:
> Hi .....
>
>     We are working on Coreboot we are trying to flash on the
> PM49fl004/SST49lf004B
>
>       but the flashrom has problems with the write and erase operation.
>
>         We have MSI Neo and MSI K9N Ultra mother boards with socketed bios.
>
>
>           So we are following the procedure what you have given in the
> mailing list (patch) ,
>
>            After  compiling we are getting the error as bellow
>
> [malatesh at turtle22 flashrom]$ make
>
> Checking for pciutils and zlib... found.
> 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
>  sst_fwhub.o: In function `probe_sst_fwhub':
> sst_fwhub.c:(.text+0x21a): undefined reference to `probe_49fl00x'
> flashchips.o:(.data+0x644): undefined reference to `probe_49fl00x'
> flashchips.o:(.data+0x648): undefined reference to `erase_49fl00x'
>  flashchips.o:(.data+0x64c): undefined reference to `write_49fl00x'
> flashchips.o:(.data+0x670): undefined reference to `probe_49fl00x'
> flashchips.o:(.data+0x674): undefined reference to `erase_49fl00x'
>  flashchips.o:(.data+0x678): undefined reference to `write_49fl00x'
> collect2: ld returned 1 exit status
> make: *** [flashrom] Error 1
>
>
>       I think we have down a mistake in this step ,
>
>            we are  unable to understand  the step i.e
>
>              diff -Nru flashrom/flash.h flashrom-pm49fl00x/flash.h
>
>              --- flashrom/flash.h 2008-02-07 03:07:58.000000000 +0500
>
>                +++ flashrom-pm49fl00x/flash.h 2008-03-11 13:38:25.000000000
> +0500
>
>                  @@ -373,9 +373,9 @@
>                              please guide us.............
>
>     with regards ,
>     Malatesh.
>
>
>
>
>
>
>
>
>
>
>
>
>


-- 
Nikolay
-------------- next part --------------
A non-text attachment was scrubbed...
Name: coreboot-v2-3167-pm49fl00x.diff
Type: text/x-patch
Size: 5173 bytes
Desc: not available
URL: <http://www.coreboot.org/pipermail/coreboot/attachments/20080318/489b7fab/attachment.diff>


More information about the coreboot mailing list