<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="http://www.w3.org/TR/REC-html40">

<head>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=us-ascii">
<meta name=Generator content="Microsoft Word 11 (filtered medium)">
<!--[if !mso]>
<style>
v\:* {behavior:url(#default#VML);}
o\:* {behavior:url(#default#VML);}
w\:* {behavior:url(#default#VML);}
.shape {behavior:url(#default#VML);}
</style>
<![endif]-->
<style>
<!--
 /* Font Definitions */
 @font-face
        {font-family:Tahoma;
        panose-1:2 11 6 4 3 5 4 4 2 4;}
 /* Style Definitions */
 p.MsoNormal, li.MsoNormal, div.MsoNormal
        {margin:0in;
        margin-bottom:.0001pt;
        font-size:12.0pt;
        font-family:"Times New Roman";}
a:link, span.MsoHyperlink
        {color:blue;
        text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
        {color:blue;
        text-decoration:underline;}
span.EmailStyle17
        {mso-style-type:personal-reply;
        font-family:Arial;
        color:navy;}
@page Section1
        {size:8.5in 11.0in;
        margin:1.0in 1.25in 1.0in 1.25in;}
div.Section1
        {page:Section1;}
-->
</style>

</head>

<body lang=EN-US link=blue vlink=blue>

<div class=Section1>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'>            Yes, the backup file, created
by `flashrom –r` is precisely 8M in size – no surprises there.  How can I flash
this system?  It doesn’t have DOS or Windows on it, and if I try to create a
DOS image from which to boot, the 8M file won’t fit on it.<o:p></o:p></span></font></p>

<p class=MsoNormal><font size=2 color=navy face=Arial><span style='font-size:
10.0pt;font-family:Arial;color:navy'><o:p> </o:p></span></font></p>

<div style='border:none;border-left:solid blue 1.5pt;padding:0in 0in 0in 4.0pt'>

<div>

<div class=MsoNormal align=center style='text-align:center'><font size=3
face="Times New Roman"><span style='font-size:12.0pt'>

<hr size=2 width="100%" align=center tabindex=-1>

</span></font></div>

<p class=MsoNormal><b><font size=2 face=Tahoma><span style='font-size:10.0pt;
font-family:Tahoma;font-weight:bold'>From:</span></font></b><font size=2
face=Tahoma><span style='font-size:10.0pt;font-family:Tahoma'> David Hendricks
[mailto:dhendrix@google.com] <br>
<b><span style='font-weight:bold'>Sent:</span></b> Tuesday, January 08, 2013
8:59 PM<br>
<b><span style='font-weight:bold'>To:</span></b> Leslie Rhorer<br>
<b><span style='font-weight:bold'>Cc:</span></b> flashrom<br>
<b><span style='font-weight:bold'>Subject:</span></b> Re: [flashrom] Flashrom
failure</span></font><o:p></o:p></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

<div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>You're fine :-) Apparently M5A99X-EVO-R20-ASUS-1302.CAP is not
exactly 8MB, which is the size of your flash chip (W25Q64). This is just a
simple sanity check flashrom uses to help prevent flashing the wrong file to
your chip.<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>I took a quick look at a BIOS image from Asus' website and it appears
that they append 2KB to their BIOS image:<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>007ff060  00 00 00 00 00 00 00 00  00 00
00 00 00 00 00 00  |................|</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>*</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>00800780  50 45 49 45 2b ac f5 ff  10 00
00 00 00 00 00 00  |PEIE+...........|</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>00800790  00 00 00 00 00 00 00 00  00 00
00 00 00 00 00 00  |................|</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>*</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>008007f0  e9 0d e0 ff ff 00 00 10  00 00
78 56 00 00 f0 ff  |..........xV....|</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Courier New"><span style='font-size:12.0pt;
font-family:"Courier New"'>00800800</span></font><o:p></o:p></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>Usually this junk vendors append to their BIOSes is benign, but you
never really know... I recommend looking around to see if anyone else has had
success flashing this board using Flashrom. I do not recommend bypassing the
size check or truncating the extra 2KB unless you have a means of recovering
(Backup BIOS ROM, external programmer, etc).<o:p></o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>On Tue, Jan 8, 2013 at 5:26 PM, Leslie Rhorer <<a
href="mailto:lrhorer@mygrande.net" target="_blank">lrhorer@mygrande.net</a>>
wrote:<o:p></o:p></span></font></p>

</div>

<div>

<div>

<blockquote style='border:none;border-left:solid #CCCCCC 1.0pt;padding:0in 0in 0in 6.0pt;
margin-left:4.8pt;margin-right:0in'>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
I don't think I am in any jeopardy, but I need to make sure, because an<br>
attempted flashrom write failed.  In addition, I would like to get it to<br>
work, because it as been recommended I upgrade the BIOS due to issues in<br>
lm-sensors.  When I attempted to upgrade the BIOS, I got this error:<br>
<br>
RAID-Server:/RAID/Server-Main/Downloads/Asus Motherboards/M5A99X EVO R2.0#<br>
flashrom -w M5A99X-EVO-R20-ASUS-1302.CAP<br>
flashrom v0.9.4-r1395 on Linux 2.6.32-5-amd64 (x86_64), built with libpci<br>
3.1.7, GCC 4.4.5, little endian<br>
flashrom is free software, get the source code at <a
href="http://www.flashrom.org" target="_blank">http://www.flashrom.org</a><br>
<br>
Calibrating delay loop... OK.<br>
Found chipset "AMD SB700/SB710/SB750/SB850". Enabling flash write...
OK.<br>
This chipset supports the following protocols: LPC, FWH, SPI.<br>
Found Winbond flash chip "W25Q64" (8192 kB, SPI) at physical address<br>
0xff800000.<br>
Error: Image size doesn't match<br>
<br>
        I then verified the flash image against the backup
image and it<br>
apparently passed:<br>
<br>
RAID-Server:/RAID/Server-Main/Downloads/Asus Motherboards/M5A99X EVO R2.0#<br>
flashrom -v Safety_BIOS.cap<br>
flashrom v0.9.4-r1395 on Linux 2.6.32-5-amd64 (x86_64), built with libpci<br>
3.1.7, GCC 4.4.5, little endian<br>
flashrom is free software, get the source code at <a
href="http://www.flashrom.org" target="_blank">http://www.flashrom.org</a><br>
<br>
Calibrating delay loop... OK.<br>
Found chipset "AMD SB700/SB710/SB750/SB850". Enabling flash write...
OK.<br>
This chipset supports the following protocols: LPC, FWH, SPI.<br>
Found Winbond flash chip "W25Q64" (8192 kB, SPI) at physical address<br>
0xff800000.<br>
Flash image seems to be a legacy BIOS. Disabling coreboot-related checks.<br>
Reading old flash chip contents... done.<br>
Verifying flash... VERIFIED.<br>
<br>
        Am I in jeopardy, here?  How can I get
flashrom to properly write<br>
the new BIOS?<br>
<br>
_______________________________________________<br>
flashrom mailing list<br>
<a href="mailto:flashrom@flashrom.org">flashrom@flashrom.org</a><br>
<a href="http://www.flashrom.org/mailman/listinfo/flashrom" target="_blank">http://www.flashrom.org/mailman/listinfo/flashrom</a><o:p></o:p></span></font></p>

</blockquote>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><br>
<br clear=all>
<o:p></o:p></span></font></p>

<div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'><o:p> </o:p></span></font></p>

</div>

<p class=MsoNormal><font size=3 face="Times New Roman"><span style='font-size:
12.0pt'>-- <br>
David Hendricks (dhendrix)<br>
Systems Software Engineer, Google Inc. <o:p></o:p></span></font></p>

</div>

</div>

</div>

</div>

</body>

</html>