<html><head><style type="text/css"><!-- DIV {margin:0px;} --></style></head><body><div style="font-family:times new roman,new york,times,serif;font-size:12pt"><div>Hi,<br><br>Thanks, that helps a lot. BTW, I went to the IOSS website and it appears to claim that the BIOS Savior is still available.<br><br>Vikram<br></div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><br><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><font face="Tahoma" size="2"><hr size="1"><b><span style="font-weight: bold;">From:</span></b> Corey Osgood <corey.osgood@gmail.com><br><b><span style="font-weight: bold;">To:</span></b> Vikram Hegde <vikhegde1@yahoo.com><br><b><span style="font-weight: bold;">Cc:</span></b> coreboot@coreboot.org<br><b><span style="font-weight: bold;">Sent:</span></b> Wednesday, December 17, 2008 12:50:30 PM<br><b><span style="font-weight: bold;">Subject:</span></b> Re: [coreboot]
 How to test<br></font><br>
On Wed, Dec 17, 2008 at 2:16 PM, Vikram Hegde <span dir="ltr"><<a rel="nofollow" ymailto="mailto:vikhegde1@yahoo.com" target="_blank" href="mailto:vikhegde1@yahoo.com">vikhegde1@yahoo.com</a>></span> wrote:<br><div class="gmail_quote"><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
<div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;"><div>Hi,<br><br>I am a newbie interested in contributing to coreboot. One question I have is testing.<br><br>How do most people test  new bits. Do they actually flash the BIOS on their motherboards. Doesn't that cause issues because as I understand these PROMs only support a limited number of flashes before they go bad ? Or do folks use some sort of  emulator and/or spare chips to keep testing.</div>
</div></div></blockquote><div><br>You definitely want spare chips, if coreboot fails for any reason, you need to have your stock BIOS accessable, all the stock BIOS's failsafes are overwritten by coreboot. Todays flash chips can survive thousands of erase/write cycles, and most chips cost <$5USD. I have a now-discontinued product called the BIOS Savior RD-1 that I'm currently using, it has a second flash chip and a socket for the original chip built into it, so all you do is flip a switch to change from one chip to the other. If you can find one that works with your system, they're an awesome tool. My testing cycle is basically:<br>
<br>Boot stock bios (base Debian testing install, boots in ~30 seconds)<br>Throw switch or change chip<br>Flash spare chip w/coreboot, transferred via USB flash drive<br>Shut down<br>Fire up minicom on my other computer, to monitor coreboot progress<br>
Press power button, see what happens<br>Shut down<br>Throw switch or change chip back, repeat.<br><br>I also hacked flashrom so that it can't detect my stock BIOS chip, only the spare chip I use for testing coreboot, so I can't accidentally overwrite the stock BIOS.<br>
 </div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div style="font-family: times new roman,new york,times,serif; font-size: 12pt;">
<div>Also any inexpensive standalone bios chip programmers on the market ?</div></div></div></blockquote><div><br>Yes, but most are also very slow. My willem (~$50USD) takes around 7min to program a 512k chip through a parallel port, and it only works under 32-bit windows, or some have reported success with linux and wine. I've only used it maybe 3 or 4 times, to reprogram stock BIOS's before I smartened up and hacked flashrom, and also programmed another spare chip with the stock BIOS and stuffed it in an envelope in a file cabinet. Also see the discussion on the list about the Paraflasher, a similar in-development LPC flasher that will work under linux when it's done, but again it will probably be fairly slow.<br>
</div></div><br>Hope this helps,<br>Corey<br>
</div></div></div></body></html>