<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0" xml:base="http://www.hermann-uwe.de" xmlns:dc="http://purl.org/dc/elements/1.1/">
<channel>
 <title>Uwe Hermann - Flashing a BIOS the Linux Way (tm) using flashrom - Comments</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom</link>
 <description>Comments for &quot;Flashing a BIOS the Linux Way (tm) using flashrom&quot;</description>
 <language>en</language>
<item>
 <title>flashrom help</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-79485</link>
 <description>&lt;p&gt;Hi, please ask on the flashrom &lt;a href=&quot;http://flashrom.org/Mailinglist&quot;&gt;mailing list&lt;/a&gt; or in the &lt;a href=&quot;http://flashrom.org/IRC&quot;&gt;IRC channel&lt;/a&gt;. Make sure to mention the board vendor and name, and post the output of &quot;flashrom -V&quot;, preferrably using the latest flashrom version (built from source, or from Debian unstable which is pretty recent).&lt;/p&gt;
&lt;p&gt;In general: the file size _must_ match, so if your current BIOS is 1024KB, the new one you want to flash must also be 1024KB. But please check back on the mailing list or IRC for more help and information, don&#039;t flash anything if you&#039;re not sure it&#039;ll work.&lt;/p&gt;
&lt;p&gt;Thanks, Uwe.&lt;/p&gt;
</description>
 <pubDate>Sat, 23 Jan 2010 00:56:22 +0100</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 79485 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>-wv does not work/ retrieved file with -r is 1024kB</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-79470</link>
 <description>&lt;p&gt;flashrom -wv givesme something like &quot;two operations read help&quot;&lt;br /&gt;
flashrom -r results in a 1024kB not 512kB file, but the mainboard is in the supported ok list.&lt;br /&gt;
any help for me?&lt;/p&gt;
</description>
 <pubDate>Wed, 20 Jan 2010 14:06:49 +0100</pubDate>
 <dc:creator>Petra</dc:creator>
 <guid isPermaLink="false">comment 79470 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>question about filesize</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-79453</link>
 <description>&lt;p&gt;flashrom -r gives me a file of 1024 kB. Thats the correct filesize of the official msi bios. My board is in the supported list (ok). Is it safe to use flashrom, as you mentioned a correct filesize of 512kB?&lt;/p&gt;
</description>
 <pubDate>Tue, 19 Jan 2010 22:34:22 +0100</pubDate>
 <dc:creator>Petra</dc:creator>
 <guid isPermaLink="false">comment 79453 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>flashrom</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-78325</link>
 <description>&lt;p&gt;Depends, if the P4B533-1015.003 file is exactly 512KB in size it is likely a pure BIOS image (not a DOS/Windows executable or something else). Flashrom does not care about the file name itself though, you don&#039;t have to rename it.&lt;/p&gt;
&lt;p&gt;Either way, please contact the developers on the mailing list and/or IRC (#flashrom on Freenode) for details and mention which board you use, not all of them are supported.&lt;/p&gt;
&lt;p&gt;&lt;a href=&quot;http://www.flashrom.org/mailman/listinfo/flashrom&quot;&gt;http://www.flashrom.org/mailman/listinfo/flashrom&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Uwe.&lt;/p&gt;
</description>
 <pubDate>Tue, 15 Sep 2009 20:48:19 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 78325 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>I have a question ...</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-78314</link>
 <description>&lt;p&gt;Hi all,&lt;br /&gt;
I need to update the bios because I need a the new version for install a new CPU.&lt;/p&gt;
&lt;p&gt;When i run flashrom in my CentOS Server 5.3 I get this message:&lt;/p&gt;
&lt;p&gt;Calibrating delay loop... OK.&lt;br /&gt;
No coreboot table found.&lt;br /&gt;
Found chipset &quot;Intel ICH4/ICH4-L&quot;, enabling flash write... OK.&lt;br /&gt;
Found chip &quot;SST SST49LF004A/B&quot; (512 KB) at physical address 0xfff80000.&lt;br /&gt;
No operations were specified.&lt;/p&gt;
&lt;p&gt;I downloaded the latest BIOS for my motherboard from the Asus site and it is called P4B533-1015.003.&lt;/p&gt;
&lt;p&gt;My question is...&lt;br /&gt;
I write flashrom -wv P4B533-1015.003 or rename the file P4B533-1015.003 in P4B533-1015.003.bin and run flashrom -wv P4B533-1015.003.bin ?&lt;/p&gt;
</description>
 <pubDate>Mon, 14 Sep 2009 20:23:07 +0200</pubDate>
 <dc:creator>Maxcrack</dc:creator>
 <guid isPermaLink="false">comment 78314 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Here goes nothing!</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-77566</link>
 <description>&lt;p&gt;This is an extremely useful post, especially after trying in vain to create boot cds, boot usb keys, etc. etc. i was able to read, write and verify my new bios in literally 3 commands on my flaky Shuttle XPC SG33G5B.&lt;/p&gt;
&lt;p&gt;Now whether my computer boots up again is another story, but, oh wait, this piece of crap barely wants to boot as it is!! But that&#039;s another story altogether...&lt;/p&gt;
</description>
 <pubDate>Wed, 05 Aug 2009 21:56:56 +0200</pubDate>
 <dc:creator>Alex</dc:creator>
 <guid isPermaLink="false">comment 77566 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>flashrom backups</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-76782</link>
 <description>&lt;p&gt;No, if you did &quot;flashrom -r backup.bin&quot; it should have created a file called backup.bin containing your original BIOS in the current directory. That&#039;s not stored in RAM but rather on your disk, so it should survive a reboot.&lt;/p&gt;
&lt;p&gt;Please contact the coreboot@coreboot.org mailing list or join the #coreboot IRC channel on Freenode, I hope we can help restore your system.&lt;/p&gt;
</description>
 <pubDate>Wed, 10 Jun 2009 13:10:36 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 76782 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Where is the backup stored?</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-76775</link>
 <description>&lt;p&gt;Am I right in thinking step three creates a backup? If so where is this backup stored? &lt;/p&gt;
&lt;p&gt;As you might of guessed I killed my bios, all went well and there didn&#039;t appear to be any problems so I thought I was good to go. But as I tried to reboot I noticed it had  gone horribly wrong, it shutdown the OS (Fedora 9). but actually shutdown. I think this was my error, I  flashed the rom with a .700 file and I think that&#039;s why it didn&#039;t work. MSI have their own flash utility and I think it turns the .700 into a usable format. The reason I didn&#039;t use MSI&#039;s utility is the instructions that I found for it were all for Windows users and they were riddled with .EXE&#039;s (I realize/remember now that Dos also uses .EXE right? D&#039;oh!) &lt;/p&gt;
&lt;p&gt;I&#039;ve tired using the flash recovery methods (AMIBOOT) but I can&#039;t use the flash utility, and I cannot find the same version of bios.&lt;/p&gt;
&lt;p&gt;I&#039;m guessing the backup is stored in ram so when the PC powers down you lose it? But I like to clutch at straws?&lt;/p&gt;
</description>
 <pubDate>Tue, 09 Jun 2009 21:16:08 +0200</pubDate>
 <dc:creator>Oakems</dc:creator>
 <guid isPermaLink="false">comment 76775 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Reading the ROM contents</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-75477</link>
 <description>&lt;p&gt;That&#039;s strange, never seen that.&lt;/p&gt;
&lt;p&gt;Did you try &quot;flashrom -r foo.bin&quot; as root? Did you use the latest flashrom version? Try to boot with &quot;nopat&quot; on the Linux kernel command line. You might also have to use a kernel which does &lt;strong&gt;not&lt;/strong&gt; use CONFIG_STRICT_DEVMEM...&lt;/p&gt;
</description>
 <pubDate>Mon, 30 Mar 2009 23:55:37 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 75477 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>reset?</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-75457</link>
 <description>&lt;p&gt;Seems like my MSI GX610 laptop bios are not supported... :(&lt;br /&gt;
I can&#039;t even read the bios... it keeps returning in console&lt;br /&gt;
reset&lt;br /&gt;
reset&lt;br /&gt;
reset&lt;br /&gt;
..&lt;br /&gt;
...&lt;/p&gt;
</description>
 <pubDate>Mon, 30 Mar 2009 17:04:08 +0200</pubDate>
 <dc:creator>freedom</dc:creator>
 <guid isPermaLink="false">comment 75457 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>flashrom</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-49842</link>
 <description>&lt;p&gt;:(&lt;br /&gt;
Got a killed motherboard GA-8IE (Gigabyte Intel 845) with soldered 49LF002A.&lt;br /&gt;
Flashing reported as unsuccessful,&lt;br /&gt;
flashing back original BIOS either unsuccessful,&lt;br /&gt;
comparing 1st time read bios and 2nd time show 00-filled tail of eprom (about 30%).&lt;br /&gt;
Seems like bootblock (BIOS restoration from floppy) is overwritten.&lt;/p&gt;
</description>
 <pubDate>Fri, 28 Dec 2007 14:27:56 +0100</pubDate>
 <dc:creator>AntonK</dc:creator>
 <guid isPermaLink="false">comment 49842 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Flashrom writes</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-49254</link>
 <description>&lt;p&gt;It could be, but it doesn&#039;t have to be, unfortunately.&lt;/p&gt;
&lt;p&gt;Your mainboard might require a special &quot;init&quot; sequence to allow ROM writes, which is likely not documented anywhere and flashrom probably doesn&#039;t know about.&lt;/p&gt;
&lt;p&gt;I&#039;d only try writing if you have a means of recovery in case things go bad; an example is if your BIOS is in a socket so you can remove it, flash it externally (in another board or using an external programmer) and then re-insert it. On a laptop that&#039;s probably not easily possible...&lt;/p&gt;
&lt;p&gt;If you really want to find out, try re-flashing the exact same image you just read from the chip. In theory, even if the write fails your board should not be bricked. Use &quot;flashrom -wv bios.bak&quot; in that case (-v for &quot;verify&quot;) and flashrom will tell you if the write worked. If &lt;em&gt;that&lt;/em&gt; worked fine, you could try to flash a &lt;em&gt;different&lt;/em&gt; BIOS image and see if  that works, too.&lt;/p&gt;
&lt;p&gt;ALL OF THIS MAY BRICK YOUR MAINBOARD! USE AT YOUR OWN RISK! YOU HAVE BEEN WARNED!&lt;/p&gt;
&lt;p&gt;(just in case :-)&lt;/p&gt;
&lt;p&gt;HTH, Uwe.&lt;/p&gt;
</description>
 <pubDate>Wed, 12 Sep 2007 13:46:26 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 49254 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>it seems to work now!</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-49251</link>
 <description>&lt;p&gt;As of your today&#039;s upload (r2769), flashrom seems to support my X31 ThinkPad (not tested with the Z61m yet):&lt;/p&gt;
&lt;p&gt;# flashrom -r bios.bak&lt;br /&gt;
Calibrating delay loop... ok&lt;br /&gt;
No LinuxBIOS table found.&lt;br /&gt;
Found chipset &quot;ICH4-M&quot;: Enabling flash write... OK.&lt;br /&gt;
M50FW080 found at physical address: 0xfff00000&lt;br /&gt;
Flash part is M50FW080 (1024 KB)&lt;br /&gt;
Reading Flash...done&lt;/p&gt;
&lt;p&gt;Should writing back be safe?&lt;/p&gt;
&lt;p&gt;Regards&lt;br /&gt;
Evgeni&lt;/p&gt;
</description>
 <pubDate>Wed, 12 Sep 2007 00:56:58 +0200</pubDate>
 <dc:creator>Evgeni Golov</dc:creator>
 <guid isPermaLink="false">comment 49251 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>flashrom</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-48879</link>
 <description>&lt;p&gt;Yep, should work (see above).&lt;/p&gt;
&lt;p&gt;Uwe.&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 14:00:06 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 48879 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>flashrom</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comment-48878</link>
 <description>&lt;p&gt;Yep, looks good, it should work. Do make a backup of your original BIOS, of course, and first try to reflash the backup BIOS (just to see whether errors appear, but I doubt it).&lt;/p&gt;
&lt;p&gt;If you want to be really, really safe you can get a second ROM chip and flash the backup image on that one...&lt;/p&gt;
&lt;p&gt;HTH, Uwe.&lt;/p&gt;
</description>
 <pubDate>Tue, 24 Jul 2007 13:55:14 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">comment 48878 at http://www.hermann-uwe.de</guid>
</item>
<item>
 <title>Flashing a BIOS the Linux Way (tm) using flashrom</title>
 <link>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom</link>
 <description>&lt;p&gt;There are a &lt;a href=&quot;http://www.nenie.org/misc/flashbootcd.html&quot;&gt;gazillion&lt;/a&gt; &lt;a href=&quot;http://www.linux-sxs.org/hardware/flash_boot_cd.html&quot;&gt;HOWTOs&lt;/a&gt; &lt;a href=&quot;http://www.linuxinsight.com/how-to-flash-motherboard-bios-from-linux-no-dos-windows-no-floppy-drive.html&quot;&gt;out&lt;/a&gt; &lt;a href=&quot;http://doc.gwos.org/index.php/Flash_Bios&quot;&gt;there&lt;/a&gt; for flashing a BIOS image without having to resort to ugly &quot;boot DOS from floppy&quot; or &quot;run Windows *.exe file from BIOS vendor&quot; and other ugly stuff. Unfortunately, the proposed solutions are equally ugly (e.g. creating custom CD-ROMs which contain the &quot;floppy&quot; with DOS/Windows flash tools).&lt;/p&gt;
&lt;p&gt;Folks, this is so much simpler than you think:&lt;/p&gt;
&lt;p&gt;The &lt;a href=&quot;http://linuxbios.org/Flashrom&quot;&gt;flashrom&lt;/a&gt; tool (GPL&#039;d, written for &lt;a href=&quot;http://linuxbios.org&quot;&gt;LinuxBIOS&lt;/a&gt; purposes, but works perfectly fine with proprietary BIOSes, too) will easily do what you want, on a running Linux system. No floppy crap, no CD-ROM crap, no DOS/Windows crap, no rebooting crap.&lt;/p&gt;
&lt;p&gt;Install it:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;apt-get install flashrom&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
Detect whether flashrom knows about your chipset/mainboard/BIOS chip:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;flashrom&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
Read the BIOS image into a file:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;flashrom -r backup.bin&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
Write a BIOS image (proprietary or &lt;a href=&quot;http://linuxbios.org&quot;&gt;LinuxBIOS&lt;/a&gt;) on the ROM chip:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;flashrom -wv newbios.bin&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
&lt;strong style=&quot;color:#ff0000&quot;&gt;WARNING: This will overwrite your current BIOS! Make sure you know what you&#039;re doing!&lt;/strong&gt;&lt;/p&gt;
&lt;p&gt;For the Debian-challenged, flashrom is available in source form too, of course:&lt;/p&gt;
&lt;pre&gt;
  $ &lt;strong&gt;svn co svn://linuxbios.org/repos/trunk/util/flashrom&lt;/strong&gt;
  $ &lt;strong&gt;cd flashrom&lt;/strong&gt;
  $ &lt;strong&gt;make&lt;/strong&gt;
&lt;/pre&gt;&lt;p&gt;
The &lt;a href=&quot;http://linuxbios.org/Flashrom&quot;&gt;list of supported chipsets, mainboards, and ROM chips&lt;/a&gt; is limited of course, but it&#039;s constantly expanding. Contact us &lt;a href=&quot;http://linuxbios.org/Mailinglist&quot;&gt;on the LinuxBIOS mailing list&lt;/a&gt; if you want other hardware supported (or even better: if you have patches!). In many cases adding support for new hardware is pretty easy...&lt;/p&gt;
</description>
 <comments>http://www.hermann-uwe.de/blog/flashing-a-bios-the-linux-way-tm-using-flashrom#comments</comments>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1026">bios</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1246">cdrom</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1795">flashrom</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/36">free software</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/723">gpl</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/144">hack</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/138">howto</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/60">linux</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1525">linuxbios</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/178">open source</category>
 <category domain="http://www.hermann-uwe.de/taxonomy/term/1796">rom</category>
 <pubDate>Mon, 16 Jul 2007 11:41:40 +0200</pubDate>
 <dc:creator>Uwe Hermann</dc:creator>
 <guid isPermaLink="false">1273 at http://www.hermann-uwe.de</guid>
</item>
</channel>
</rss>
