On 15/04/13 13:10, Jarrod Johnson wrote:
On Mon, Apr 15, 2013 at 7:47 AM, Joshua C. <[email protected]
<mailto:[email protected]>> wrote:
> I have a strange problem with my bin/10ec8168.rom which I
> successfully flashed in my bios. The orom loads and works normally
> when the intel-sata controller is set to either
> AHCI/IDE/Disabled.When I set it to RAID-mode then the orom doesn't load.
The thing I think most likely is that you ran out of option rom space.
In x86 BIOS, it is a very limited area, and quite possibly switching
the intel to raid bloated its footprint enough to leave insufficient
space for your .rom.
Have you tried make bin/10ec8168.mrom or does that not work with the
device in question? That would be my next step. If there are more
non-boot adapters that have option roms, I'd try disabling their option
rom support in BIOS (at least IBM BIOS allows suppresion of slot option
roms, I'm guessing most everyone does_.
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.
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).
Michael
diff --git a/src/arch/i386/prefix/romprefix.S b/src/arch/i386/prefix/romprefix.S
index 091673d..41f8c77 100644
--- a/src/arch/i386/prefix/romprefix.S
+++ b/src/arch/i386/prefix/romprefix.S
@@ -106,7 +106,7 @@ pciheader_runtime_length:
.long pciheader_image_length
.long 512
.long 0
- .ascii ZINFO_TYPE_ADxW
+ .ascii "ADHW"
.long pciheader_runtime_length
.long 512
.long 0
_______________________________________________
ipxe-devel mailing list
[email protected]
https://lists.ipxe.org/mailman/listinfo.cgi/ipxe-devel