Hello all ............<br> <br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        --> </style><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)"><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title>
</title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">


        
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;"><font face="times new roman, new york, times, serif"><font size="3">we
are working on the coreboot project .....</font></font></p>
<br>Initially we are copied the BIOS(PM49FL004)  content that is present in the motherboard( 


        
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        --></style><font face="times new roman, new york, times, serif"><font size="3">ASRock K8Upgrade-VM800) <br></font></font><br>in a file name called jan-14  and tried to flash(write) the content in the filename  jan-14 on to a new flashrom SST49LF004B..<br>
<br><meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">but flash is not happened properly .. these are the steps we followed ...


        
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;">[root@turtle9 flashrom]# flashrom 
</p>
<p style="margin-bottom: 0in;">Calibrating delay loop... OK. 
</p>
<p style="margin-bottom: 0in;">No LinuxBIOS table found. 
</p>
<p style="margin-bottom: 0in;">Found chipset "VT8237",
enabling flash write... OK. 
</p>
<p style="margin-bottom: 0in;">generic_spi_command called, but no SPI
chipset detected 
</p>
<p style="margin-bottom: 0in;">Pm49FL004 found at physical address
0xfff80000. 
</p>
<p style="margin-bottom: 0in;">Flash part is Pm49FL004 (512 KB). 
</p>
<p style="margin-bottom: 0in;">No operations were specified.</p>



        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;"><u>Reading the original Bios content in
to the file jan14:</u></p>
<p style="margin-bottom: 0in;">[root@turtle9 flashrom]# flashrom -r
jan14</p>
<p style="margin-bottom: 0in;">Calibrating delay loop... OK. 
</p>
<p style="margin-bottom: 0in;">No LinuxBIOS table found. 
</p>
<p style="margin-bottom: 0in;">Found chipset "VT8237",
enabling flash write... OK. 
</p>
<p style="margin-bottom: 0in;">generic_spi_command called, but no SPI
chipset detected 
</p>
<p style="margin-bottom: 0in;">Pm49FL004 found at physical address
0xfff80000. 
</p>
<p style="margin-bottom: 0in;">Flash part is Pm49FL004 (512 KB). 
</p>
<p style="margin-bottom: 0in;">Reading Flash...done 
</p>
<br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;">[root@turtle9 flashrom]# flashrom -v
jan14 
</p>
<p style="margin-bottom: 0in;">Calibrating delay loop... OK. 
</p>
<p style="margin-bottom: 0in;">No LinuxBIOS table found. 
</p>
<p style="margin-bottom: 0in;">Found chipset "VT8237",
enabling flash write... OK. 
</p>
<p style="margin-bottom: 0in;">generic_spi_command called, but no SPI
chipset detected 
</p>
<p style="margin-bottom: 0in;">Pm49FL004 found at physical address
0xfff80000. 
</p>
<p style="margin-bottom: 0in;">Flash part is Pm49FL004 (512 KB). 
</p>
<p style="margin-bottom: 0in;">Flash image seems to be a legacy BIOS.
Disabling checks. 
</p>
<p style="margin-bottom: 0in;">Verifying flash... VERIFIED.</p>
<br>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

<p style="margin-bottom: 0in;">***Then we removed the original Bios
chip and inserted the new flashrom SST49LF004B and tried to flash(write)</p><p style="margin-bottom: 0in;">
the content present in the filename jan14 ,but finally we got the result
as bellow ........</p>
<p><br><u>Writing on to the new Bios chip (SST49LF004B):</u></p>
<p style="margin-bottom: 0in;">[root@turtle9 flashrom]# flashrom -w
jan14 
</p>
<p style="margin-bottom: 0in;">Calibrating delay loop... OK. 
</p>
<p style="margin-bottom: 0in;">No LinuxBIOS table found. 
</p>
<p style="margin-bottom: 0in;">Found chipset "VT8237",
enabling flash write... OK. 
</p>
<p style="margin-bottom: 0in;">generic_spi_command called, but no SPI
chipset detected 
</p>
<p style="margin-bottom: 0in;">SST49LF004A/B found at physical address
0xfff80000. 
</p>
<p style="margin-bottom: 0in;">Flash part is SST49LF004A/B (512 KB). 
</p>
<p style="margin-bottom: 0in;">Flash image seems to be a legacy BIOS.
Disabling checks. 
</p>
<p style="margin-bottom: 0in;">Programming page: 0007 at address:
0x00070000 
</p>

<p><u>Then we varified .....</u></p>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in </style>[root@turtle9 flashrom]# flashrom -v
jan14 

<p>


        <meta http-equiv="CONTENT-TYPE" content="text/html; charset=utf-8"><title></title><meta name="GENERATOR" content="OpenOffice.org 2.3  (Linux)">
        
        
        <style type="text/css">
        <!--
                @page { size: 8.5in 11in; margin: 0.79in }
                P { margin-bottom: 0.08in }
        -->
        </style>

</p><pre><font face="Liberation Serif, serif"><font size="3">Calibrating delay loop... ok</font></font>
<font face="Liberation Serif, serif"><font size="3">No LinuxBIOS table found.</font></font>
<font face="Liberation Serif, serif"><font size="3">Found chipset "VT8237": Enabling flash write... OK.</font></font>
<font face="Liberation Serif, serif"><font size="3">SST49LF004A/B found at physical address: 0xfff80000</font></font>
<font face="Liberation Serif, serif"><font size="3">Flash part is SST49LF004A/B (512 KB)</font></font>
<font face="Liberation Serif, serif"><font size="3">Flash image seems to be a legacy BIOS. Disabling checks.</font></font>
<font face="Liberation Serif, serif"><font size="3">Verifying flash - FAILED</font></font></pre>
<p></p>
So we tried to change the flashrom utility code..so  first we downloaded  coreboot code<br> <br>from the <a href="http://coreboot.org">coreboot.org</a> then in that we tried to change  the code in util/flashrom file but stil we <br>
<br>are unable to get the  way  where  we  need to  change  the  code  such  that  the flash can happen ...<br> <br>we  are also gone through the datasheet of SST49LF004B and PM49FL004 but we are not getting<br><br>any exact  idea .......<br>
 <br>please  guide  us...............<br><br> <br>with regards, <br><br>lalitha <br><br><br><br><br><br><br><br><br><br><br><br><br>