<div dir="ltr"><div>I made 3)<br>3) verify image - flashrom -p internal:laptop=force_I_want_<wbr>a_brick,ich_spi_mode=auto -v boxpc899_0.rom <br><br></div>And result is VERIFIED.<br></div><div class="gmail_extra"><br><div class="gmail_quote">2018-08-14 10:46 GMT+03:00 Владимир Амельянович <span dir="ltr"><<a href="mailto:amelyanovich.vladimir@gmail.com" target="_blank">amelyanovich.vladimir@gmail.com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello,</div><div><br></div><div>1) save image - flashrom -p internal:laptop=force_I_want_<wbr>a_brick,ich_spi_mode=auto -r boxpc899_0.rom <br></div><div>2) write image - flashrom -p internal:laptop=force_I_want_<wbr>a_brick,ich_spi_mode=auto -w boxpc899_0.rom -V -o /lib/live/mount/medium/<br></div><div><br>I have tried to write saved image finally. And got the following message:</div><div><br>FAILED!<br>Uh oh. Erase/write failed. Checking if anything has changed.<br>Reading current flash chip contents... Reading 8388608 bytes starting at 0x000000.<br>done.<br>Apparently at least some data has changed.<br>Your flash chip is in an unknown state.<br>Get help on IRC at <a href="http://chat.freenode.net" target="_blank">chat.freenode.net</a> (channel #flashrom) or<br>mail <a href="mailto:flashrom@flashrom.org" target="_blank">flashrom@flashrom.org</a> with the subject "FAILED: <your board name>"!<br>------------------------------<wbr>------------------------------<wbr>-------------------<br>DO NOT REBOOT OR POWEROFF!<br>Restoring MMIO space at 0x7fb5896f08a0<br>Restoring PCI config space for 00:1f:0 reg 0xdc<br><br></div><div>-V output attached.</div><div><br></div><div>What should i do next?  PC is power on.<br></div><div><br></div></div><div class="HOEnZb"><div class="h5"><div class="gmail_extra"><br><div class="gmail_quote">2018-08-09 23:16 GMT+03:00 Владимир Амельянович <span dir="ltr"><<a href="mailto:amelyanovich.vladimir@gmail.com" target="_blank">amelyanovich.vladimir@gmail.<wbr>com</a>></span>:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr"><div>Hello Nico,</div><div><br></div><div>Thank you very much for your information.<br><br></div><div>Does the image of SPI chip  which i get with -r key contain BIOS firmware or BIOS settings or both?</div><div>My goal is to create  BIOS master image which i can write to 10,20,100 devices with same hardware.<br><br>Regards,</div><div>Vladimir</div><div><div class="m_5368601819234157153h5"><br><div class="gmail_extra"><br><div class="gmail_quote">2018-08-09 22:11 GMT+03:00 Nico Huber <span dir="ltr"><<a href="mailto:nico.h@gmx.de" target="_blank">nico.h@gmx.de</a>></span>:<br><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">Hi Владимир,<span class="m_5368601819234157153m_2686290930983542065gmail-"><br>
<br>
On 08.08.2018 10:07, Владимир Амельянович wrote:<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
flashrom -p internal:laptop=this_is_not_a_<wbr>laptop  didn't change anything<br>
</blockquote>
<br></span>
yes, because your BIOS claims that it's a laptop: `DMI string<br>
chassis-type: "Notebook"`.<span class="m_5368601819234157153m_2686290930983542065gmail-"><br>
<br>
<blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
flashrom -p internal:laptop=force_I_want_a<wbr>_brick show more info. Logs with<br>
different V number are attached.<br>
Please could you please tell me if i can use flashrom in my case?<br>
</blockquote>
<br></span>
You already did. If you let it probe with the above force option,<br>
it can already harm some laptops. But in your case (SPI chip directly<br>
attached) it's safe. You can go ahead (if you have a valid image to<br>
flash). In either case of success of failure, please always keep<br>
logs (best use the -o option) and report back.<br>
<br>
Please note that your message got filtered from the mailing list (there<br>
is a 256KiB limit for the mail size). So I'll attach your least verbose<br>
log for reference.<br>
<br>
Regards,<br>
Nico<br>
</blockquote></div><br></div></div></div></div>
</blockquote></div><br></div>
</div></div></blockquote></div><br></div>