<html>
  <head>
    <meta content="text/html; charset=windows-1252"
      http-equiv="Content-Type">
  </head>
  <body bgcolor="#FFFFFF" text="#000000">
    <div class="moz-cite-prefix">In vanilla.log, I observe the
      following:<br>
      <br>
      Found Winbond flash chip "W25Q64.V" (8192 kB, SPI).<br>
      This chip may contain one-time programmable memory. flashrom
      cannot read<br>
      and may never be able to write it, hence it may not be able to
      completely<br>
      clone the contents of this chip (see man page for details).<br>
      <br>
      Are you sure your flash is not partially protected, as indicated ?<br>
      Also, for point 2, I forgot to ask. What is output of
      ich_descriptors_tool (can be found in flashrom source tree) ?<br>
      <br>
      <br>
      <br>
      Le 16/01/2015 07:41, David Mirabito a écrit :<br>
    </div>
    <blockquote
cite="mid:CACJTkKG_9Uzkq=ukM6x23hhF16rGRS+ACtfUxG6F_dsK9capwA@mail.gmail.com"
      type="cite">
      <div dir="ltr">
        <div>Hello,</div>
        <div><br>
        </div>
        <div>We have a Rangely-based board and would strongly prefer to
          be able to update the bios via flashrom, and I'm coming across
          two issues here:</div>
        <div><br>
        </div>
        <div>Attached is the output from </div>
        <div>'./flashrom  --programmer
          internal:laptop=this_is_not_a_laptop -o vanilla.log -VV'</div>
        <div><br>
        </div>
        <div>1) Note the descriptor table:</div>
        <div>
          <div>--- Details ---</div>
          <div>Region 0 (Descr.) 0x00000000 - 0x0000ffff</div>
          <div>Region 1 (BIOS  ) 0x00200000 - 0x007fffff</div>
          <div>Region 2 (ME    ) is unused.</div>
          <div>Region 3 (GbE   ) is unused.</div>
          <div>Region 4 (Platf.) is unused.</div>
        </div>
        <div><br>
        </div>
        <div>The gap between Regions 0 and 1 appears unreadable, and I
          get transaction failures at 0x00010000. Modifying flashrom to
          only dump the final 6MB works as expected.</div>
        <div><br>
        </div>
        <div>2) Given the above modifications (which ideally I'll roll
          properly into the layout file infrastructure) I am still
          having trouble writing to Region 1.</div>
        <div><br>
        </div>
        <div>After making sure that nothing is attempting to read or
          write outside the required range, the write transaction still
          fails at the first access (see fail.log):</div>
        <div><br>
        </div>
        <div>
          <div>ETransaction error!</div>
          <div>SSFS: SCIP=0, FDONE=1, FCERR=1, AEL=0</div>
          <div>SSFC: SCGO=0, ACS=1, SPOP=0, COP=2, DBC=0, SME=0, SCF=0</div>
          <div>Running OPCODE 0x20 failed at address 0x400000 (payload
            length was 0).</div>
          <div>spi_block_erase_20 failed during command execution at
            address 0x400000</div>
        </div>
        <div><br>
        </div>
        <div>(interestingly, last time I tried this I had the same error
          at 0x200000)</div>
        <div><br>
        </div>
        <div>It appears to me that it should be writiable, is this not
          the case?</div>
        <div><br>
        </div>
        <div>-----</div>
        <div><br>
        </div>
        <div>Thanks for any input! Additionally we may have some input
          with the BIOS vendor (and ability to write via JTAG or
          EFIshell), so if there's anything specific we might ask for as
          far as leaving chipset registers in a certain state, then this
          may be a posisbility if it comes to that.</div>
        <div><br>
        </div>
        <div>Cheers,</div>
        <div>DavidM</div>
        <div>
          <div class="gmail_signature">
            <div dir="ltr"><br>
            </div>
          </div>
        </div>
      </div>
      <br>
      <fieldset class="mimeAttachmentHeader"></fieldset>
      <br>
      <pre wrap="">_______________________________________________
flashrom mailing list
<a class="moz-txt-link-abbreviated" href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a>
<a class="moz-txt-link-freetext" href="http://www.flashrom.org/mailman/listinfo/flashrom">http://www.flashrom.org/mailman/listinfo/flashrom</a></pre>
    </blockquote>
    <br>
  
<br /><br />
<hr style='border:none; color:#909090; background-color:#B0B0B0; height: 1px; width: 99%;' />
<table style='border-collapse:collapse;border:none;'>
        <tr>
                <td style='border:none;padding:0px 15px 0px 8px'>
                        <a href="http://www.avast.com/">
                                <img border=0 src="http://static.avast.com/emails/avast-mail-stamp.png" />
                        </a>
                </td>
                <td>
                        <p style='color:#3d4d5a; font-family:"Calibri","Verdana","Arial","Helvetica"; font-size:12pt;'>
                                L'absence de virus dans ce courrier électronique a été vérifiée par le logiciel antivirus Avast.
                                <br><a href="http://www.avast.com/">www.avast.com</a>
                        </p>
                </td>
        </tr>
</table>
<br />
</body>
</html>