Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1KHh9r-0007A6-V6 for mharc-grub-devel@gnu.org; Sat, 12 Jul 2008 11:37:11 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1KHh9p-00079u-NN for grub-devel@gnu.org; Sat, 12 Jul 2008 11:37:09 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1KHh9o-00079a-44 for grub-devel@gnu.org; Sat, 12 Jul 2008 11:37:09 -0400 Received: from [199.232.76.173] (port=39387 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1KHh9n-00079X-UQ for grub-devel@gnu.org; Sat, 12 Jul 2008 11:37:07 -0400 Received: from ti-out-0910.google.com ([209.85.142.184]:8913) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1KHh9n-00024j-6P for grub-devel@gnu.org; Sat, 12 Jul 2008 11:37:07 -0400 Received: by ti-out-0910.google.com with SMTP id u5so1804305tia.10 for ; Sat, 12 Jul 2008 08:37:04 -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=0stnhAZ/ec3auPvXigZJ4ftLcPQnVbqvUzDniKlSNKw=; b=oi5zc93/OF6d/M+aftF+64zIjIKAvsn3dCrIQ0erQL0bx/r1AgIvvzbuWtu64gzrzx S+pGgLx1R875IR3ztXYJOY4H8OqunvZsXoPseH8VaUdzpXHgzkDXwWKe3psGBjF7mB5T OldwdKB9jtf307NOijcREAAffjHN11//ZZMGA= 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=LOt2o/e4fEW7pLeDiGQ1N/2LMKACbQI2inriliemJjH5wXrLzcAnJFcCcf3bIPo3eK EdfmDbkiSzk+kmJ50ri2XFsEqu3RVMjMo9pWTLruU7vmkCKLWJBEe2DgUOzDRAAMfiK0 XvjORGkmLfsQDx01bEgErsG0O6Suyqyk9Mgk8= Received: by 10.110.8.5 with SMTP id 5mr7209656tih.3.1215877024367; Sat, 12 Jul 2008 08:37:04 -0700 (PDT) Received: by 10.110.16.5 with HTTP; Sat, 12 Jul 2008 08:37:04 -0700 (PDT) Message-ID: Date: Sat, 12 Jul 2008 23:37:04 +0800 From: Bean To: "The development of GRUB 2" In-Reply-To: <20080712152637.GA5235@thorin> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <486617C1.3040705@isaac.cedarswampstudios.org> <486820D7.2030404@isaac.cedarswampstudios.org> <486FFD84.5000607@isaac.cedarswampstudios.org> <487392C9.40208@isaac.cedarswampstudios.org> <20080712144131.GE25455@thorin> <20080712152637.GA5235@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:37:09 -0000 On Sat, Jul 12, 2008 at 11:26 PM, Robert Millan wrote: > On Sat, Jul 12, 2008 at 11:16:31PM +0800, Bean wrote: >> 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) > > But isn't intelfb supposed to access the hardware without any support > from bios/vesa or efi? Intelfb uses the environment setup before, it doesn't try to reinitialize video registers. -- Bean