<html>
<head>
<meta content="text/html; charset=UTF-8" http-equiv="Content-Type">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hi David,<br>
<br>
I will take a look at the GPIO controls for this chip set. <br>
<br>
Is it possible that the newer version of flashrom version
0.9.4-r1394 has this chip set in it?<br>
<br>
Regards,<br>
<br>
Ken Frost<br>
<br>
On 09/06/2011 08:33 PM, David Hendricks wrote:
<blockquote
cite="mid:CAKOoyUddizcO1u+cLu8-VF6GKFyMSdCbSVfA9k+qM=Wq6r01_g@mail.gmail.com"
type="cite">
<div class="gmail_quote">On Tue, Sep 6, 2011 at 2:13 PM, Kenneth
Frost <span dir="ltr"><<a moz-do-not-send="true"
href="mailto:kfrost@oemcontrols.com">kfrost@oemcontrols.com</a>></span>
wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0
.8ex;border-left:1px #ccc solid;padding-left:1ex;">
Greetings,<br>
<br>
I tried to flash this system with an updated bios using
flashrom utility. The flash chip found was a "SST
49LF008A". I successfully read the flash to a filename,
verified the image read and determined the flash chip on the
board.</blockquote>
<div><br>
</div>
<div>Hi Ken,</div>
<div>I would guess that there is some GPIO-controlled write
protection mechanism enabled on that board. Sometimes you can
disable these thru BIOS settings, though it's entirely up to
the vendor whether or not to expose that.</div>
<div><br>
</div>
<div>Of course, rebooting and toggling that setting in the BIOS
is sort of a pain and probably unfeasible if you wish to
support more than a small handful of motherboards. So it's
usually preferable to toggle that setting in Flashrom. In
Flashrom's board_enable.c file, you'll see several routines
which do things like raise a GPIO to disable write protection.
You'll probably need to do something similar for your board.</div>
<div><br>
</div>
<div>If you're reasonably familiar with the chipset you're using
(SCH US15WPT), you can try to determine the write protection
setting experimentally. Here is one example of how to do it: <a
moz-do-not-send="true"
href="http://www.coreboot.org/pipermail/coreboot/2009-September/051987.html">http://www.coreboot.org/pipermail/coreboot/2009-September/051987.html</a>
.</div>
<div><br>
</div>
<div>Much of the tedious info such gathering and calculating
base addresses and offsets can be found from flashrom verbose
output when you perform a read operation. <a
moz-do-not-send="true"
href="http://code.google.com/p/iotools/">iotools</a> can
also make your life easier when doing simple low-level
operations.</div>
<div><br>
</div>
</div>
-- <br>
David Hendricks (dhendrix)<br>
Systems Software Engineer, Google Inc.<br>
</blockquote>
<br>
<pre class="moz-signature" cols="72">--
OEM CONTROLS Inc.
10 Controls Drive work: (203) 929-8431
Shelton, CT 06484 email: <a class="moz-txt-link-abbreviated" href="mailto:kfrost@oemcontrols.com">kfrost@oemcontrols.com</a>
</pre>
</body>
</html>