<div dir="ltr"><div><div><div>Let me put more light into the situation: this is a msi p67a-gd65 motherboard with am 8MB winbond bios-chip. The bios file has about 2MB "free" space so I can put some more files on the bios-chip itself. The motherboard uses a cheap realtek trl8111e chip which is soldgered on the motherboard and taps one of the pci-e lanes on the chipset. PCI-E 3.0 is not supported by the p67 chipset. The stock bios uses the propriatery realtek pxe stack which can be downloaded from the realtek official site (current version as of today: 2.54). The pxe stack is integrated into the bios file and I know that the realtek stack is less than 64kb in size.<br>
<br></div>I have my custom ipxe rom which comes at about 81kb in size. As I said the bios flashes successfully and the ipxe works correctly as long as the intel-sata-controller is not set to raid-mode. The intel-orom is about 120kb and I know that some older versions on the intel chipset (i think p57 was it) cannot work with newer oroms because of their size.<br>
<br></div><div>I have disabled all other controllers on the motherboard (I don't need them anyway). The ones being active are usb, network and intel-sata.<br></div><div><br></div>I can't say to the support service that I'm using a custom orom image because of the obvious reasons...<br>
<br></div>I can compile the mrom image but since both the orom and mrom are in the same bios file I'm not sure if this can solve the problem. As I said this is not an expansion card with its own memory/extension bars. I can give it a try... Should I just compile both as stated here: <a href="http://ipxe.org/download">http://ipxe.org/download</a> and put them in the bios file? If so how can the mrom find the orom in this case??<br>
<div><br><br></div><div class="gmail_extra"><br><br><div class="gmail_quote">2013/4/15 Michael Brown <span dir="ltr"><<a href="mailto:mcb30@ipxe.org" target="_blank">mcb30@ipxe.org</a>></span><br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div class="im">On 15/04/13 13:10, Jarrod Johnson wrote:<br>
</div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div class="im">
On Mon, Apr 15, 2013 at 7:47 AM, Joshua C. <<a href="mailto:joshuacov@gmail.com" target="_blank">joshuacov@gmail.com</a><br></div><div class="im">
<mailto:<a href="mailto:joshuacov@gmail.com" target="_blank">joshuacov@gmail.com</a>>> wrote:<br>
> I have a strange problem with my bin/10ec8168.rom which I<br>
> successfully flashed in my bios. The orom loads and works normally<br>
> when the intel-sata controller is set to either<br>
> AHCI/IDE/Disabled.When I set it to RAID-mode then the orom doesn't load.<br>
<br></div><div class="im">
The thing I think most likely is that you ran out of option rom space.<br>
  In x86 BIOS, it is a very limited area, and quite possibly switching<br>
the intel to raid bloated its footprint enough to leave insufficient<br>
space for your .rom.<br>
<br>
Have you tried make bin/10ec8168.mrom or does that not work with the<br>
device in question?  That would be my next step.  If there are more<br>
non-boot adapters that have option roms, I'd try disabling their option<br>
rom support in BIOS (at least IBM BIOS allows suppresion of slot option<br>
roms, I'm guessing most everyone does_.<br>
</div></blockquote>
<br>
I'm pretty sure that this is correct; you are running out of option ROM space when you enable RAID support.  Unfortunately, I don't think RTL8169s don't have a sufficiently large memory BAR for .mrom to work.<br>

<br>
If your BIOS supports PCI3.00 (look at the PCI version shown in iPXE's startup banner), and if the PMM allocations are working (check the startup banner for non-zero values in "PMM+xxxxxxxx+yyyyyyyy"), then you could try the attached patch.  This patch changes the "runtime size" field in the PCI ROM header to the optimistic value (i.e. the value that will be achieved only if the PMM allocations both work).<span class="HOEnZb"><font color="#888888"><br>

<br>
Michael<br>
</font></span><br>_______________________________________________<br>
ipxe-devel mailing list<br>
<a href="mailto:ipxe-devel@lists.ipxe.org">ipxe-devel@lists.ipxe.org</a><br>
<a href="https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel" target="_blank">https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel</a><br>
<br></blockquote></div><br><br clear="all"><br>-- <br>--joshua
</div></div>