<html><head><meta http-equiv="Content-Type" content="text/html charset=us-ascii"></head><body style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;">Resolved it by copy & modifying:<div><br></div><div><div><div><span class="Apple-tab-span" style="white-space: pre;">               </span>else if (force && chip_to_probe)</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>{</div><div>struct registered_programmer *pgm;</div><div><span class="Apple-tab-span" style="white-space:pre">                   </span>int compatible_programmers = 0;</div><div><span class="Apple-tab-span" style="white-space:pre">                      </span>msg_cinfo("Force read (-f -r -c) requested, pretending the chip is there:\n");</div><div><span class="Apple-tab-span" style="white-space:pre">                     </span>/* This loop just counts compatible controllers. */</div><div><span class="Apple-tab-span" style="white-space:pre">                  </span>for (j = 0; j < registered_programmer_count; j++) {</div><div><span class="Apple-tab-span" style="white-space:pre">                               </span>pgm = &registered_programmers[j];</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>/* chip is still set from the chip_to_probe earlier in this function. */</div><div><span class="Apple-tab-span" style="white-space:pre">                             </span>if (pgm->buses_supported & chip->bustype)</div><div><span class="Apple-tab-span" style="white-space:pre">                                  </span>compatible_programmers++;</div><div><span class="Apple-tab-span" style="white-space:pre">                    </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                    </span>if (!compatible_programmers) {</div><div><span class="Apple-tab-span" style="white-space:pre">                               </span>msg_cinfo("No compatible controller found for the requested flash chip.\n");</div><div><span class="Apple-tab-span" style="white-space:pre">                               </span>ret = 1;</div><div><span class="Apple-tab-span" style="white-space:pre">                             </span>goto out_shutdown;</div><div><span class="Apple-tab-span" style="white-space:pre">                   </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                    </span>if (compatible_programmers > 1)</div><div><span class="Apple-tab-span" style="white-space:pre">                           </span>msg_cinfo("More than one compatible controller found for the requested flash "</div><div><span class="Apple-tab-span" style="white-space:pre">                                     </span>  "chip, using the first one.\n");</div><div><span class="Apple-tab-span" style="white-space:pre">                    </span>for (j = 0; j < registered_programmer_count; j++) {</div><div><span class="Apple-tab-span" style="white-space:pre">                               </span>pgm = &registered_programmers[j];</div><div><span class="Apple-tab-span" style="white-space:pre">                                </span>startchip = probe_flash(pgm, 0, &flashes[0], 1);</div><div><span class="Apple-tab-span" style="white-space:pre">                         </span>if (startchip != -1)</div><div><span class="Apple-tab-span" style="white-space:pre">                                 </span>break;</div><div><span class="Apple-tab-span" style="white-space:pre">                       </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">                    </span>msg_cinfo("Please note that forced writes most likely contain garbage.\n");</div><div><span class="Apple-tab-span" style="white-space:pre">                </span>}</div><div><span class="Apple-tab-span" style="white-space:pre">            </span>if (startchip == -1) {</div><div><span class="Apple-tab-span" style="white-space:pre">               </span>ret = 1;</div><div><span class="Apple-tab-span" style="white-space:pre">             </span>goto out_shutdown;</div><div><span class="Apple-tab-span" style="white-space:pre">           </span>}</div></div><div><br></div><div>to the  <span style="font-family: Menlo; font-size: 11px;">cli_classic.c</span></div><div><br></div><div>I think it's better to have 'force & force' option to do the writing.</div><div><br></div><div>Will</div><div><br></div><div><div>2014. 6. 5., pm 5:05, Will Choe <<a href="mailto:jazzbearz@gmail.com">jazzbearz@gmail.com</a>> wrote:</div><br class="Apple-interchange-newline"><blockquote type="cite"><div dir="auto" style="word-wrap: break-word; -webkit-nbsp-mode: space; -webkit-line-break: after-white-space;"><div>Hi,</div><div><br></div><div>Flashrom update failed due to sudden network interruption. After then, when I try the flashrom, following message appears:</div><div><br></div><div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">flashrom v0.9.7-r1711 on Linux 2.6.32-431.5.1.el6.x86_64 (x86_64)</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">flashrom is free software, get the source code at <a href="http://www.flashrom.org">http://www.flashrom.org</a></div><div style="margin: 0px; font-size: 11px; font-family: Menlo; min-height: 13px;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Calibrating delay loop... OK.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">sh: dmidecode: command not found</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">dmidecode execution unsuccessful - continuing without DMI info</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Found chipset "Intel ICH10R". Enabling flash write... OK.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">No EEPROM/flash device found.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Note: flashrom can never write if the flash chip isn't found automatically.</div></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">How do I make the flashrom to force rewrite the rom?</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Thanks in advance.</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div style="margin: 0px; font-size: 11px; font-family: Menlo;">Will</div><div style="margin: 0px; font-size: 11px; font-family: Menlo;"><br></div><div><br></div><div><br></div><div><br></div></div></blockquote></div><br></div></body></html>