Messages in this thread | | | Date | Tue, 15 Jul 2014 16:24:21 +0100 | From | Michael Brown <> | Subject | Re: [PATCH] x86, eboot: Support initrd loaded above 4G |
| |
On 15/07/14 16:10, Matt Fleming wrote: > Going forward, I suspect any attempts to use the EFI File Protocol are > going to result in this kind of breakage, and that the only thing that > can be relied upon is the Disk I/O Protocol. > > But doing Disk I/O would necessitate adding the in-kernel FAT driver to > the EFI boot stub, which is a scary idea (though not without merit).
Booting via iPXE will give you an EFI_SIMPLE_FILE_SYSTEM_PROTOCOL (providing access to the initrd previously downloaded by iPXE). It will also give you a dummy disk I/O protocol which always return EFI_NO_MEDIA.
In those circumstances, only the EFI_SIMPLE_FILE_SYSTEM_PROTOCOL will work.
Michael
| |