From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1JDkPo-0005Uq-TK for mharc-grub-devel@gnu.org; Sat, 12 Jan 2008 12:45:04 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1JDkPn-0005UX-6O for grub-devel@gnu.org; Sat, 12 Jan 2008 12:45:03 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1JDkPl-0005UL-Nn for grub-devel@gnu.org; Sat, 12 Jan 2008 12:45:01 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1JDkPl-0005UI-IN for grub-devel@gnu.org; Sat, 12 Jan 2008 12:45:01 -0500 Received: from main.gmane.org ([80.91.229.2] helo=ciao.gmane.org) by monty-python.gnu.org with esmtps (TLS-1.0:RSA_AES_256_CBC_SHA1:32) (Exim 4.60) (envelope-from ) id 1JDkPl-000381-2V for grub-devel@gnu.org; Sat, 12 Jan 2008 12:45:01 -0500 Received: from list by ciao.gmane.org with local (Exim 4.43) id 1JDkPd-0005w0-F2 for grub-devel@gnu.org; Sat, 12 Jan 2008 17:44:53 +0000 Received: from dial-213-168-64-129.netcologne.de ([213.168.64.129]) by main.gmane.org with esmtp (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2008 17:44:53 +0000 Received: from patrick by dial-213-168-64-129.netcologne.de with local (Gmexim 0.1 (Debian)) id 1AlnuQ-0007hv-00 for ; Sat, 12 Jan 2008 17:44:53 +0000 X-Injected-Via-Gmane: http://gmane.org/ To: grub-devel@gnu.org From: Patrick Georgi Date: Sat, 12 Jan 2008 17:44:42 +0000 (UTC) Message-ID: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Complaints-To: usenet@ger.gmane.org X-Gmane-NNTP-Posting-Host: dial-213-168-64-129.netcologne.de User-Agent: Pan/0.129 (Benson & Hedges Moscow Gold) Sender: news X-detected-kernel: by monty-python.gnu.org: Linux 2.6, seldom 2.4 (older, 4) Subject: Using GRUB2 with CoreBoot (formerly known as LinuxBIOS) 1/4: Find tables 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 Jan 2008 17:45:03 -0000 Hi, I had several issues with getting GRUB2 to run on CoreBoot (aka LinuxBIOS), which I'll describe here. They're rather trivial (I have patches), so someone with a working relationship with the FSF, experience with the GRUB2 codebase and C, and 15 minutes time for each issue should be able to fix these issues in a way suitable for GRUB2 mainline. First issue: Right now, grub2 has a hard coded location for the lbtables and gives up if they're not there. According to the coreboot sources, these tables can start anywhere between 0x500 and 0x1000, or between 0xf0000 and 0x100000 at a 16 byte boundary. To find it, checking for the "LBIO"-signature (as is done already) should be enough. Regards, Patrick Georgi