lkml.org 
[lkml]   [2011]   [Aug]   [11]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    SubjectRe: [PATCH 0/9] x86 EFI boot stub
    From
    Date
    On Thu, 2011-08-11 at 15:05 +0200, Maarten Lankhorst wrote:
    > On 08/11/2011 12:59 PM, Matt Fleming wrote:
    > > From: Matt Fleming <matt.fleming@intel.com>
    > >
    > > This series adds support for an EFI boot stub, similar to the existing
    > > BIOS boot stub. The result is that you can boot a bzImage on an EFI
    > > machine without the use of a boot loader by making the bzImage appear
    > > to the EFI firmware to be an EFI application. Also, a single bzImage
    > > can be booted on either a BIOS or EFI machine.
    > >
    > > Using the EFI boot stub has the advantage that the kernel is
    > > responsible for configuring the machine to the point where we can
    > > fully boot the kernel, so we are no longer at the mercy of the boot
    > > loader.
    > >
    > Fails to boot here. I thought changing characteristics from 0x60500020 to 0xe0500020 would help, but no. :/
    > This change would make the code section writable.

    Thanks for testing out the patches Maarten!

    > FileAlignment you use is probably wrong, I think it should be 0x200 not 0x2000 .

    Yep, thanks. That looks like a typo.

    > Maybe you need to add a data section and fix SizeOfInitializedData too?

    Hmm.. possibly. Is this on x86-64?

    > It just hangs on a blinking cursor, no idea if it actually started executing anything yet or not, since nothing is printed out.

    Hmm.. do you have early printk enabled? Can you hook up a serial console
    to this machine?

    --
    Matt Fleming, Intel Open Source Technology Center



    \
     
     \ /
      Last update: 2011-08-11 17:17    [W:0.025 / U:2.428 seconds]
    ©2003-2016 Jasper Spaans. hosted at Digital OceanAdvertise on this site