<br><br>
<div class="gmail_quote">---------- Forwarded message ----------<br>From: <b class="gmail_sendername">Phani Babu Giddi</b> <<a href="mailto:phanig@gmail.com">phanig@gmail.com</a>><br>Date: Jan 1, 2008 8:29 AM<br>Subject: Re: [LinuxBIOS] flashrom on the host or target ?
<br>To: Corey Osgood <<a href="mailto:corey.osgood@gmail.com">corey.osgood@gmail.com</a>><br><br><br>
<div>Hi Corey,</div>
<div> </div>
<div>Thanks for your reply but I am not clear. Let me list the steps, may be that will explain the problem I see.</div>
<div> </div>
<div>1. I have a host target environment</div>
<div>2. I build Linux Kernel image with initrd on the host</div>
<div>3. I also build the root file system on the host</div>
<div>4. Now I build Linux BIOS and specify the Linux Kernel as payload.</div>
<div>5. So at this point I have the .bin/.rom for Linux BIOS and an image file for the root file system.</div>
<div>6. So my question was how do I get this on the flash device. Do I have to use an external programmer for this ? Because there is nothing on the target for me to run flashrom.</div>
<div> </div>
<div>Regards,</div><font color="#888888">
<div>Phani<br><br></div></font>
<div>
<div></div>
<div class="Wj3C7c">
<div class="gmail_quote">On Dec 31, 2007 11:07 PM, Corey Osgood <<a href="mailto:corey.osgood@gmail.com" target="_blank">corey.osgood@gmail.com</a>> wrote:<br>
<blockquote class="gmail_quote" style="PADDING-LEFT: 1ex; MARGIN: 0px 0px 0px 0.8ex; BORDER-LEFT: #ccc 1px solid">
<div>
<div></div>
<div>Phani Babu Giddi wrote:<br>> Hello All,<br>><br>> I am trying to understand how to access the flash chip on<br>> the mainboard for the very first time. Most of the documentation on<br>> Linux BIOS talks about using "flashrom" but I am confused, are we 
<br>> suppose to use this on the target ( mainboard) or host. If its host<br>> are is there a way one can access the flash disk from the host, I have<br>> looked into the Hardware Tools that have been suggested for Linux BIOS 
<br>> but I could not find anything related to this. If flashrom utility is<br>> supposed to be used on the target, then how is that possible because<br>> there is no image on the flash device.<br>><br>> BIOS Saviour and other tools come into picuture if there is some thing 
<br>> already on the flash chip.<br>><br>> So am I suppose to select the payload as etherboot and then try<br>> flashing the device for the first time. Or else I am suppose to use an<br>> external programmer for this. 
<br>><br>> If we succeed in getting the BIOS with the payload into the flash<br>> device what about the root file system and partitions and any other<br>> info. The question might sound elementary to most of you but I would 
<br>> appreciate your help.<br>><br>> To summarize the question is about getting bare bones board up and<br>> running for the very first time.<br>><br>> Regards,<br>> Phani<br><br></div></div>It doesn't matter. As long as you have the chip that you intend to flash 
<br>in the system you run flashrom on, and use compatible hardware (both<br>with the chip and flashrom), then you can flash literally any image onto<br>any flash chip. It doesn't matter if the system you use to flash has 
<br>completely different hardware then the image's intended target.<br><font color="#888888"><br>-Corey<br></font><br>PS Happy new year, everyone!<br></blockquote></div><br></div></div></div><br>