<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 12 (filtered medium)">
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Calibri;
        panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
        {font-family:"\0027Courier New\0027";}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman","serif";}
a:link, span.MsoHyperlink
        {mso-style-priority:99;
        color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {mso-style-priority:99;
        color:purple;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:"Tahoma","sans-serif";
        color:#1F497D;
        font-weight:normal;
        font-style:normal;}
.MsoChpDefault
        {mso-style-type:export-only;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.0in 1.0in 1.0in;}
div.Section1
        {page:Section1;}
-->
</style><!--[if gte mso 9]><xml>
 <o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
 <o:shapelayout v:ext="edit">
  <o:idmap v:ext="edit" data="1" />
 </o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-US" link="blue" vlink="purple">
<div class="Section1">
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">Hi David,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">Sorry for the late reply.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">I have done the changes as suggested and don’t see either 1 or 2 for op.atomic after issuing the “flashrom –V –p internal:this_is_not_a_laptop –r foo.bin” command.
 Please see attached log.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">Will this now confirm that the flashrom utility cannot be used for BIOS upgrade on my board?<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">NOTE: The log is collected for AT25DF641A(8MB) flash as opposed to AT25DF321A(4MB) flash before.
<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">Thanks for the help,<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D">Raghu<o:p></o:p></span></p>
<p class="MsoNormal"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";
color:#1F497D"><o:p> </o:p></span></p>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> David Hendricks [mailto:dhendrix@google.com]
<br>
<b>Sent:</b> Wednesday, January 11, 2012 3:32 AM<br>
<b>To:</b> Raghuramchary Jallipalli<br>
<b>Cc:</b> flashrom@flashrom.org; V Balaji; Vishnuvardhan Reddy<br>
<b>Subject:</b> Re: [flashrom] Help: unable to upgrade bios<o:p></o:p></span></p>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<p class="MsoNormal">On Mon, Jan 9, 2012 at 3:20 AM, Raghuramchary Jallipalli <<a href="mailto:Raghuramchary.Jallipalli@lntinfotech.com" target="_blank">Raghuramchary.Jallipalli@lntinfotech.com</a>> wrote:<o:p></o:p></p>
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Thanks David.</span><o:p></o:p></p>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">As you said, the reason for not programming is due to wrong op.atomic configuration. Is there any way
 to set these properly?</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">It should be set automatically.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Carl-Daniel clarified on IRC that the "atomic" cycle flag will always be 0 at the stage they are printed. Sorry for the confusion!<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">I recommend adding a debug print to ich9_run_opcode() to see what the "atomic" flag ends up being:<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">Index: ichspi.c</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">===================================================================</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">--- ichspi.c    (revision 1483)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">+++ ichspi.c    (working copy)</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">@@ -908,6 +908,7 @@</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">           This means the timeout must be sufficient for chip erase</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">           of slow high-capacity chips.</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">         */</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">+       msg_pdbg("opcode: 0x%02x, spi_type: %u, atomic: %u\n", op.opcode, op.spi_type, op.atomic);</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">        switch (op.atomic) {</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">        case 2:</span><o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><span style="font-family:"\0027Courier New\0027"">                /* Select second preop. */</span><o:p></o:p></p>
</div>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Then run "flashrom -V -p internal:this_is_not_a_laptop -r foo.bin" and make sure that the sector erase opcode (0x20) and byte program opcode (0x02) show either "1" or "2" for op.atomic.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">This will help us to prove whether or not this is the problem you are encountering.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<blockquote style="border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in">
<div>
<div>
<p class="MsoNormal" style="mso-margin-top-alt:auto;mso-margin-bottom-alt:auto"><span style="font-size:9.0pt;font-family:"Tahoma","sans-serif";color:#1F497D">Yes jumper selects the ROM at a time.</span> <o:p></o:p></p>
</div>
</div>
</blockquote>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
<div>
<p class="MsoNormal">Okay. I do not think Flashrom is confused about the flash part, then.<o:p></o:p></p>
</div>
<div>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
<p class="MsoNormal">-- <br>
David Hendricks (dhendrix)<br>
Systems Software Engineer, Google Inc.<o:p></o:p></p>
</div>
<br>
<hr>
<font face="Arial" color="Black" size="3">The contents of this e-mail and any attachment(s) may contain confidential or privileged information for the intended recipient(s). Unintended recipients are prohibited from taking action on the basis of information
 in this e-mail and using or disseminating the information, and must notify the sender and delete it from their system. L&T Infotech will not accept responsibility or liability for the accuracy or completeness of, or the presence of any virus or disabling code
 in this e-mail"<br>
</font>
</body>
</html>
<PRE>*************************************************************************
 This email and attachments have been scanned for
 potential proprietary or sensitive information leakage.
 Websense Data Security, Protecting Your Information from the Inside Out.
 www.websense.com
 *************************************************************************
</PRE>