qemu-devel
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Qemu-devel] osx bootloader


From: Alexander Graf
Subject: Re: [Qemu-devel] osx bootloader
Date: Wed, 29 Jan 2014 15:20:44 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130910 Thunderbird/17.0.9

On 01/29/2014 04:07 AM, Gabriel L. Somlo wrote:
On Tue, Jan 28, 2014 at 11:51:25PM +0100, BALATON Zoltan wrote:
Here are some pages that might help enlightening the boot process:

https://developer.apple.com/library/mac/documentation/Darwin/Conceptual/KernelProgramming/booting/booting.html
http://homepage.ntlworld.com/jonathan.deboynepollard/FGA/efi-boot-process.html#Apple
http://developer.apple.com./mac/library/DOCUMENTATION/Darwin/References/ManPages/man8/bless.8.html
So, basically, every well-behaved OS will drop a (set of) files
somewhere under /EFI/<vendor>/, except for OS X which expects the
BIOS/firmware to bypass all that mundane stuff and go straight for
/System/Library/CoreServices/boot.efi on a the selected boot
partition, and only fall back to /EFI/* if that doesn't pan out :)

But now I think it's starting to make sense. Chameleon's stage2
loader, named "boot" (which we're starting via "-kernel boot", and
which is the only piece of Chameleon we need) is apparently equivalent
to Apple's "boot.efi", which it bypasses, and which I think is what
Alex was talking about (i.e., eventually getting TianoCore to pick
up and run "boot.efi" as left behind by the vanilla OS X installer).

It's even better than that. The "boot.efi" is part of the installation meda as well, so we wouldn't have to rely on _any_ external code at all :).


Alex




reply via email to

[Prev in Thread] Current Thread [Next in Thread]