Re: EFI Boot Stub Early Console

From: Shea Levy
Date: Mon Mar 19 2012 - 12:02:22 EST


On 3/19/12 11:56 AM, Alan Cox wrote:
any bootloader (including the bootstub) will call ExitBootServices()
before any printk'ing actually happens?? Or am I misunderstanding the
spec somehow? I suppose I could just try it and see what happens...
Oops. Good point, that isn't going to work.
Surely it works fine if you are using bootstub directly from EFI ?

ConOut will work before the call to ExitBootServices(), but any bootloader (including the boot stub) calls that before starting the normal kernel boot process. I'm working on a generic earlyprintk that provides the same functionality as the existing earlyprintks that will work for any EFI boot. Matt already submitted a patch for an efi_printk that will be sufficient for the boot stub itself before the call to ExitBootServices().

~Shea
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/