<BLOCKQUOTE class=replbq style="PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #1010ff 2px solid">  <div>From: joe@smittys.pointclark.net<BR>Subject: Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive<BR>(Peter Stuge)<BR>To: linuxbios@linuxbios.org<BR>Message-ID:<BR><20070927111757.wj7o11prtw0k4oks@www.smittys.pointclark.net><BR>Content-Type: text/plain; charset=ISO-8859-1; DelSp="Yes";<BR>format="flowed"<BR><BR>Quoting Baski <KBASKI@YAHOO.COM>:<BR><BR>><BR>><BR>> ------------------------------<BR>><BR>> Message: 4<BR>> Date: Thu, 27 Sep 2007 11:04:22 +0200<BR>> From: Peter Stuge<BR>><BR>> Subject: Re: [LinuxBIOS] Dummy pci dev for image on a usb flash drive<BR>> To: linuxbios@linuxbios.org<BR>> Message-ID: <20070927090422.12905.qmail@stuge.se><BR>> Content-Type: text/plain; charset=us-ascii<BR>><BR>> On Wed, Sep 26, 2007 at 10:19:08PM -0700, Baski wrote:<BR>>> I want to place an option ROM image on a
 raw USB flash drive.<BR>><BR>> Please explain why, otherwise we can't help you much.<BR>><BR>><BR>>> It will be an option ROM image of a proper controller with correct<BR>>> option ROM and PNP headers. How can we make linuxBios to look for<BR>>> this drive and allocate dummy pci resources like bus 0 dev-xx, fun<BR>>> yy and irqs?<BR>><BR>> First, LB has no USB drivers. You could move what is in FILO over<BR>> though.<BR>><BR>> More relevant is the fact that LB can't allocate resources to<BR>> hardware that does not exist. Unless you have the controller itself<BR>> it's not possible to set any resources. They are set in registers<BR>> (RAM) that is mandatory for PCI cards to have (the so called PCI<BR>> config space) and no card means nowhere to set things.<BR>><BR>> Furthermore, option ROMs are not really "compatible" with LB, the<BR>> idea is to try to use existing open source drivers with LB instead
 of<BR>> binary blobs with broken interfaces.<BR>><BR>> So - what do you want to accomplish with your idea? There may be a<BR>> better way to do it, or it may be best to forget the whole thing.<BR>> We can't say without more info.<BR>><BR>><BR>> //Peter<BR>><BR>><BR>> This is for my MS project. We want to simulate a PCI card and use <BR>> one of the CPU cores to do our processing. We would also want to <BR>> reserve that core.<BR>> We want to create the dummy pci device so that OS driver can <BR>> communicate with the emulated card. What methods would you suggest?<BR>> Thanks.<BR>><BR>I don't get it. Why do you need to simulate a pci card?? Why not just <BR>use a real one??<BR><BR>Thanks - Joe</div>  <div> </div>  <div>Hi Joe,</div>  <div>That's the whole aim.  We want to emulate a pci card and test it with a real driver before an actual card is built.</div>  <div>Can someone throw me some
 pointers?</div>  <div>Thx</div></BLOCKQUOTE><p>
      <hr size=1>Moody friends. Drama queens. Your life? Nope! - their life, your story.<br> <a href="http://us.rd.yahoo.com/evt=48224/*http://sims.yahoo.com/">Play Sims Stories at Yahoo! Games. </a>