Hi Stefan,<br><br>  I applied the patches pointed by you<br>  <a href="http://patchwork.coreboot.org/patch/3486/" target="_blank">http://patchwork.coreboot.org/patch/3486/</a> and now i can write 8MB image file.<br><br>  Even with this patch why do we need to give argument to -w image (16MB in mycase). Is this image <br>
   used for verification ?. From the log , i see this is not used and only file which follows -i is being  used (-i image <:file> )<br><br>  In flashrom.c -> verify_flash <br><br>  I have to change <br>  unsigned int len = l->end - l->start + 1; (this is introduced as part of the patch above)<br>
 to <br>   unsigned int len = l->end - l->start ; <br><br>I changed ich_descriptors.c line 822<br>to <br> if(nr > 5) {<br><br> With these changes i am attaching the log.<br><br><br><br><div class="gmail_quote">On Tue, Mar 27, 2012 at 6:08 AM, Stefan Tauner <span dir="ltr"><<a href="mailto:stefan.tauner@student.tuwien.ac.at">stefan.tauner@student.tuwien.ac.at</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">On Tue, 27 Mar 2012 05:16:45 +0530<br>
narayanan best <<a href="mailto:narayananbest@gmail.com">narayananbest@gmail.com</a>> wrote:<br>
<br>
>  Thanks for pointing out layout option. But it still accepts 16MB image as<br>
> argument.<br>
<br>
</div>true, but it will only "use" the part that is needed to fill the<br>
address range defined by the layout file. so this should be already<br>
sufficient for you?<br>
<div class="im"><br>
>   Is there a way where i can select the second chip and give only 8MB image<br>
> file ?.<br>
<br>
</div>not without patches. there is a patch to specify a file per layout<br>
image: <a href="http://patchwork.coreboot.org/patch/3486/" target="_blank">http://patchwork.coreboot.org/patch/3486/</a>
<div class="im"><br>
><br>
> Just curious:<br>
><br>
>   How to select the SPI flash chip using CS on ICH9 ? ICH9 doc states that<br>
> CS can used to select the chip but<br>
>   didn't have enough information on how to program CS.<br>
><br>
>   Is hwseq only solution for accessing multiple chips ?.<br>
<br>
</div>afaik hwseq is the only option because there is no (publicly<br>
documented?) access to any register that allows to toggle CS by the<br>
host software. we have studied all public and some non-public intel<br>
documents to no avail.<br>
<div class="HOEnZb"><div class="h5">--<br>
Kind regards/Mit freundlichen Grüßen, Stefan Tauner<br>
</div></div></blockquote></div><br>