Hi Stefan,

Attached the full logs (excluding dmi). My observation is that:
1) reading spi flash seems to be good.
2) erasing spi flash : only first 64kb erases successfully, after that erase reports failure.
3) programming spi flash: only first 64kb programs fine, after that erase reports failure.

Thanks & Regards,
Rajasekhar



On Wed, Apr 23, 2014 at 2:18 AM, 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