Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1M1Jie-00023w-15 for mharc-grub-devel@gnu.org; Tue, 05 May 2009 08:25:56 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1M1Jib-00023e-Oy for grub-devel@gnu.org; Tue, 05 May 2009 08:25:54 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1M1JiZ-00023A-Ot for grub-devel@gnu.org; Tue, 05 May 2009 08:25:52 -0400 Received: from [199.232.76.173] (port=41240 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1M1JiY-000232-HH for grub-devel@gnu.org; Tue, 05 May 2009 08:25:51 -0400 Received: from ey-out-1920.google.com ([74.125.78.144]:39493) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1M1JiY-0005eN-4I for grub-devel@gnu.org; Tue, 05 May 2009 08:25:50 -0400 Received: by ey-out-1920.google.com with SMTP id 13so961351eye.24 for ; Tue, 05 May 2009 05:25:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:mime-version:received:in-reply-to:references :date:message-id:subject:from:to:content-type; bh=NLv8SBL2fSobp9m3XWpsglZhnJ+tgTdGNgBPq/vBBPo=; b=M7xCjpZBioT4W6EkcGyGglU6glQgg9x7SitsvHp3yocOE5RuEDZdmQ/lqbRhJQKyvQ FA8/I7TLZ3tZE3UuyyR0y4uQRexW4ZM25srAq4SFgvCMrhc7oON0JiOu30kyDiEWGbyB vCk2En9t8w6Q6+K0xFK0yfUb8ZeQ8dRRIluTM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :content-type; b=OFj8sYspWWwJBAMBRu79viKqpt3RIB82Rwji8GUAd1i7IPKE8T1jnE7xCmnpJgULB2 KVrUcckpR0eDOTwCC+MYsB6LECGLdqxFBsn1hbmEEWaG7+1wqR0QhC7xL8aExSUTJaoQ /TJpcTPZDuzICok+nWCfJHl9bTuh7hY9cIiQI= MIME-Version: 1.0 Received: by 10.210.51.18 with SMTP id y18mr4423880eby.5.1241526349202; Tue, 05 May 2009 05:25:49 -0700 (PDT) In-Reply-To: References: <20090504192725.GA19518@thorin> <20090504203911.GC6649@thorin> Date: Tue, 5 May 2009 14:25:49 +0200 Message-ID: From: "Vladimir 'phcoder' Serbinenko" To: The development of GRUB 2 Content-Type: multipart/alternative; boundary=0015174be8780606aa0469296150 X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: grub-dumpbios X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: The development of GRUB 2 List-Id: The development of GRUB 2 List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 May 2009 12:25:54 -0000 --0015174be8780606aa0469296150 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit On Tue, May 5, 2009 at 2:23 PM, Vladimir 'phcoder' Serbinenko < phcoder@gmail.com> wrote: > > > > ... as Stefan points out (thanks Stefan) this may not be so >> > straightforwarded. I don't think this kind of tweaking is suitable >> > for a setup that "Joe user" will get by default. >> > >> > Btw, if the video rom can be obtained directly from memory, why doesn't >> > GRUB read it in runtime instead? >> >> Actually, the modified rom is what we need, as it contains information >> such as DDC table which is detected on POST, the original rom is not >> very useful in this respect. >> >> A better approach would be to fetch the rom from pci, then emulate the >> POST process in grub2. But this need to port code from x86emu. >> > Default boot.efi passes to OSX kernel a blob device-properties containing > some information about graphic and sound card. I'm nearly sure that it's > retrieved from EFI and have an idea how but am not entirely sure yet. > Forgot the most important question: does it help in any way to generate a suitable dump within grub itself? -- Regards Vladimir 'phcoder' Serbinenko --0015174be8780606aa0469296150 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable

On Tue, May 5, 2009 at 2:23 PM, Vladimir= 'phcoder' Serbinenko <phcoder@gmail.com> wrote:


> ... as Stefan points out (tha= nks Stefan) this may not be so
> straightforwarded. =A0I don't think this kind of tweaking is suita= ble
> for a setup that "Joe user" will get by default.
>
> Btw, if the video rom can be obtained directly from memory, why doesn&= #39;t
> GRUB read it in runtime instead?

Actually, the modified rom is what we need, as it contains informatio= n
such as DDC table which is detected on POST, the original rom is not
very useful in this respect.

A better approach would be to fetch the rom from pci, then emulate the
POST process in grub2. But this need to port code from x86emu.
Default boot.efi passes to OSX kernel a blob device= -properties containing some information about graphic and sound card. I'= ;m nearly sure that it's retrieved from EFI and have an idea how but am= not entirely sure yet.

Forgot the most important question: does it he= lp in any way to generate a suitable dump within grub itself?
--
Reg= ards
Vladimir 'phcoder' Serbinenko
--0015174be8780606aa0469296150--