On Mon, 26 Mar 2012 23:54:15 +0530 narayanan best narayananbest@gmail.com wrote:
Hi,
I have Intel ICH9 with 2 SPI flash chips each with 8MB. I am able to read 16MB of flash chip with hardware sequencing. But while writing the image i get ERASE FAILED at 0x00100000! Expected=0xff , Read=0x44, failed byte count from 0x00100000-0x0010ffff:0xfef4 ERASE FAILED
I believe the cause is due to hardware sequencing write does not disable SRPL (sector protection register lock). I used -p internal:ich_spi_force=yes option which didn't help.
This was confirmed when i gave ich_spi_mode=swseq (read or write) as parameter, it disables the SRPL and next write of 16MB with hardware sequencing succeeded.
Let me know if i am missing anything here.
Thanks in advance.
hi and thanks for your report!
i dont have time right now to look at it, but it would be great if you could send a log of flashrom's output with the verbose flags "-VV" added to your write command line (especially the one with hwseq forced, both would be best).
Stefan,
Please find the attached log
On Tue, Mar 27, 2012 at 12:46 AM, Stefan Tauner < stefan.tauner@student.tuwien.ac.at> wrote:
On Mon, 26 Mar 2012 23:54:15 +0530 narayanan best narayananbest@gmail.com wrote:
Hi,
I have Intel ICH9 with 2 SPI flash chips each with 8MB. I am able to read 16MB of flash chip with hardware sequencing. But while writing the image i get ERASE FAILED at 0x00100000! Expected=0xff , Read=0x44, failed byte count from 0x00100000-0x0010ffff:0xfef4 ERASE FAILED
I believe the cause is due to hardware sequencing write does not disable SRPL (sector protection register lock). I used -p internal:ich_spi_force=yes option which didn't help.
This was confirmed when i gave ich_spi_mode=swseq (read or write) as parameter, it disables the SRPL and next write of 16MB with hardware sequencing succeeded.
Let me know if i am missing anything here.
Thanks in advance.
hi and thanks for your report!
i dont have time right now to look at it, but it would be great if you could send a log of flashrom's output with the verbose flags "-VV" added to your write command line (especially the one with hwseq forced, both would be best).
-- Kind regards/Mit freundlichen Grüßen, Stefan Tauner