Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHgpw-0005yG-9A for mharc-grub-devel@gnu.org; Sat, 12 Jul 2008 11:16:36 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHgpt-0005vP-Sm for grub-devel@gnu.org; Sat, 12 Jul 2008 11:16:33 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHgps-0005ua-UX for grub-devel@gnu.org; Sat, 12 Jul 2008 11:16:33 -0400 Received: from [199.232.76.173] (port=59917 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHgps-0005uT-Sx for grub-devel@gnu.org; Sat, 12 Jul 2008 11:16:32 -0400 Received: from ag-out-0708.google.com ([72.14.246.250]:48642) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KHgps-0007Vz-Hp for grub-devel@gnu.org; Sat, 12 Jul 2008 11:16:32 -0400 Received: by ag-out-0708.google.com with SMTP id 31so4581420agc.10 for ; Sat, 12 Jul 2008 08:16:32 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=EuN2KkRgG7WByFhM2DCHJS5Wi9LVwtABCZl29q1nYV0=; b=NEqlrgMO2KqeldBnY+UkDr1ono7vfpdCFLqrLamN9krwcwunsKNDCXHTtiucaiPz4o xObOBC1olzNVed1egyhyKG/oxxQdvalZD3KGSFvamrBIt8kggClPNNaFrPAl/XMgTVpN ahOOUv+8cymKLeqh1/6mfHYZy6o4ygmhax1Yw= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=Z/z8NL6KLPGZK+Y0rcB61P98MXZcuod2uGapgWQVwr1TR4xs+HAgCMR+XX0q0cObr5 1em/0HOJiUAHaEa5W3X4CKIHbPVJWvVnBMt0h5vK1CFaRXnrWcxUtK8nzumPM6bVCfeB M9TxORGQe/66JHOqm+ES0LKs062Sh53OtBuu4= Received: by 10.110.49.6 with SMTP id w6mr7194431tiw.6.1215875791254; Sat, 12 Jul 2008 08:16:31 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 12 Jul 2008 08:16:31 -0700 (PDT) Message-ID: Date: Sat, 12 Jul 2008 23:16:31 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080712144131.GE25455@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <48623F1B.4090801@isaac.cedarswampstudios.org> <486617C1.3040705@isaac.cedarswampstudios.org> <486820D7.2030404@isaac.cedarswampstudios.org> <486FFD84.5000607@isaac.cedarswampstudios.org> <487392C9.40208@isaac.cedarswampstudios.org> <20080712144131.GE25455@thorin> X-detected-kernel: by monty-python.gnu.org: Linux 2.6 (newer, 2) Subject: Re: [PATCH] New x86_64 EFI patch 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: Sat, 12 Jul 2008 15:16:34 -0000 On Sat, Jul 12, 2008 at 10:41 PM, Robert Millan wrote: > On Wed, Jul 09, 2008 at 12:31:53AM +0800, Bean wrote: >> > -- I tried passing video=intelfb to linux; it worked under grub2-pc but >> > didn't improve anything under efi. >> >> intelfb doesn't work. The only way to see console in efi is to use >> video=vesafb or video=efifb. > > How come? I thought intelfb used the bare hardware. The video register in efi mode is not setup in the same way as bios. There are two sets of register. In EFI, set A is completely zero, while set B have non-zero value. But in bios mode, both set have non-zero value. I guess this is because bios have text and graphic mode, while efi only have graphic mode. (text mode in efi is emulated) > >> grub2 will detect these options and setup >> frame buffer for you. > > Can you be more specific? I thought grub was completely agnostic about Linux > parameters. In the parameter passed to linux kernel, there are fields for video adapter information, for example, frame buffer address, line length, etc. Normally, we don't have to worry about it, but in the case of efi, we must fill it in, as kernel can't detect the information properly. -- Bean