Hi Rich,

Attached the patch which compiled to me on top of flashrom-0.9.7-r1769

Please let me know the result if you experiment it (at your own risk ;-) .

Thanks & Regards,
Rajasekhar


On Wed, Apr 23, 2014 at 4:22 AM, Rich Futyma <rich.futyma@sanmina.com> wrote:
Rajasekhar,

I tried to apply your patch and got the following error. Could you regenerate the patch and attach it
to email - I think this may be a copy and paste problem?

patch -p0 < c2000.diff.txt
patching file flashrom-0.9.7-r1769/chipset_enable.c
patch: **** malformed patch at line 51: @@ -651,6 +694,113 @@
---
Rich



On Tue, Apr 22, 2014 at 2:48 PM, Stefan Tauner <stefan.tauner@student.tuwien.ac.at> wrote:
On Tue, 22 Apr 2014 20:54:04 +0530
Rajasekhar Pulluru <pullururajasekhar@gmail.com> wrote:

> Hi Stefan,
>
> Thanks for the response. I have tried adding support for Rangeley following
> the spec. Attached the patch. But, flashrom -E is failing with below error
> messages
>
> Pasting only the failure messages:
> ..
> ...
> Erasing and writing flash chip... spi_block_erase_20 failed during command
> execution at address 0x0
> Reading current flash chip contents... done. FAILED at 0x00010000!
> Expected=0xff, Found=0x00, failed byte count from 0x00000000-0x0003ffff:
> 0x30000
> ERASE FAILED!
> Reading current flash chip contents... done. spi_chip_erase_60 failed
> during command execution
> Reading current flash chip contents... done. spi_chip_erase_c7 failed
> during command execution
> FAILED!
> Your flash chip is in an unknown state.
> Get help on IRC at chat.freenode.net (channel #flashrom) or
> mail flashrom@flashrom.org with the subject "FAILED: <your board name>"!
> -------------------------------------------------------------------------------
> DO NOT REBOOT OR POWEROFF!

Thank you for the patch. The errors alone do not really help, please
post the full (verbose) log (you can redact DMI information if you
want).

--
Kind regards/Mit freundlichen Grüßen, Stefan Tauner

_______________________________________________
flashrom mailing list
flashrom@flashrom.org
http://www.flashrom.org/mailman/listinfo/flashrom

CONFIDENTIALITY
This e-mail message and any attachments thereto, is intended only for use by the addressee(s) named herein and may contain legally privileged and/or confidential information. If you are not the intended recipient of this e-mail message, you are hereby notified that any dissemination, distribution or copying of this e-mail message, and any attachments thereto, is strictly prohibited.  If you have received this e-mail message in error, please immediately notify the sender and permanently delete the original and any copies of this email and any prints thereof.
ABSENT AN EXPRESS STATEMENT TO THE CONTRARY HEREINABOVE, THIS E-MAIL IS NOT INTENDED AS A SUBSTITUTE FOR A WRITING.  Notwithstanding the Uniform Electronic Transactions Act or the applicability of any other law of similar substance and effect, absent an express statement to the contrary hereinabove, this e-mail message its contents, and any attachments hereto are not intended to represent an offer or acceptance to enter into a contract and are not otherwise intended to bind the sender, Sanmina Corporation (or any of its subsidiaries), or any other person or entity.