New version, more bug fixes. Thanks for Carl-Daniel for testing!<div>- Restore the original ROM before beginning the second set of tests.</div><div>- The last iteration of the second test (un-aligned partial writes) was causing problems on a 128KB part (emulated). I've removed it for now since I'm in a hurry to get out tonight.</div>

<div>- Fixed a copy + paste error in the 4k aligned test layout.</div><div>- Added $FLASHROM_PARAM to the list of parameters passed into Flashrom.</div><div><br><div class="gmail_quote">On Tue, Oct 26, 2010 at 5:33 PM, David Hendricks <span dir="ltr"><<a href="mailto:dhendrix@google.com">dhendrix@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;"><div class="gmail_quote"><div class="im">On Tue, Oct 26, 2010 at 4:42 PM, David Hendricks <span dir="ltr"><<a href="mailto:dhendrix@google.com" target="_blank">dhendrix@google.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
After a few tries at manually verifying partial writes and realizing that it's awfully tedious to do any exhaustive testing, I hastily threw together a shell script to help automate the process. Since there are others on this list doing similar things, I figured it might be helpful to throw it up here.<div>



<br></div><div>Note: It's unfinished and probably has bugs, but I figure it's at least a start, even if only to kickstart a conversation about how to test partial writes in a standard and useful manner.</div></blockquote>


<div><br></div></div><div>idwer already noticed at least one issue, so I attempted to correct it along with a couple others.</div><div><br></div><div>- Default path for flashrom binary should be "../flashrom" since that is where a user will typically have built a fresh binary. This can be overridden easily.</div>


<div>- Suppressed some annoying output from "dd" command.</div><div>- Implemented better checks for uuencode and pre-installed (assumed to be stable) flashrom binary.</div><div class="im"><div><br></div><div>Signed-off-by: David Hendricks <<a href="mailto:dhendrix@google.com" target="_blank">dhendrix@google.com</a>></div>


<div><br></div></div></div><div><div></div><div class="h5">-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br>David Hendricks (dhendrix)<br>Systems Software Engineer, Google Inc.<br>
</div>