[flashrom] CR-48 help

David Hendricks dhendrix at google.com
Fri Feb 4 05:15:58 CET 2011


On Thu, Feb 3, 2011 at 6:50 PM, Brian Davis <evulhotdog at gmail.com> wrote:

> Do you have any experience with the cr-48 and hexxeh's script?
>

Sorry I missed you on IRC.

I have not tried his script. However, the error message you pasted shows
that block protection is the reason you encountered difficulty. There are
basically two copies of the Cr-48 firmware. One is the write-protected
recovery copy, and the other is the normal firmware image. The embedded
controller has a similar mechanism, and also has its recovery copy
write-protected.

Some code in the bootblock (which is write-protected) determines whether to
run the recovery mode firmware or the writeable firmware. So the good news
is that you can replace the writeable copy pretty easily with Flashrom
(That's how we deliver firmware updates). You can find out which regions of
the ROM are write-protected using the "--wp-status" command.

If you need to clobber the write-protected stuff as well, then you've got to
take the machine apart and make a small mod to prevent /WP from being
grounded. You're on your own after that, for obvious reasons ;-)

P.S. I recommend using "-p internal:bus=spi" as an argument to Flashrom to
ensure you target the correct firmware chip. Otherwise you might
accidentally clobber your embedded controller firmware, which would not be
fun at all...

-- 
David Hendricks (dhendrix)
Systems Software Engineer, Google Inc.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://www.flashrom.org/pipermail/flashrom/attachments/20110203/a19889f5/attachment.html>


More information about the flashrom mailing list