Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1MemaD-0004fc-Gh for mharc-grub-devel@gnu.org; Sat, 22 Aug 2009 05:08:21 -0400 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1MemaB-0004dT-F8 for grub-devel@gnu.org; Sat, 22 Aug 2009 05:08:19 -0400 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1Mema6-0004Vx-FP for grub-devel@gnu.org; Sat, 22 Aug 2009 05:08:18 -0400 Received: from [199.232.76.173] (port=34437 helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1Mema6-0004Vc-BZ for grub-devel@gnu.org; Sat, 22 Aug 2009 05:08:14 -0400 Received: from rv-out-0708.google.com ([209.85.198.242]:54650) by monty-python.gnu.org with esmtp (Exim 4.60) (envelope-from ) id 1Mema5-0006hI-Ka for grub-devel@gnu.org; Sat, 22 Aug 2009 05:08:13 -0400 Received: by rv-out-0708.google.com with SMTP id f25so590411rvb.6 for ; Sat, 22 Aug 2009 02:08:12 -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 :content-transfer-encoding; bh=rnflu65a5ntrg621VK6PQo6rqhUfQZPmx13akqRl5ps=; b=XxypkTZ0EuB87SWp4s+OPd1DGhPsmlJRgP0rZMoTCtCmzoyuz4UbnGm2JOwSL/kbIH YxTb0F2zC08vmGu1/jfUcrGGvgRuqLC2H+xCGyWHMGlBIekMQBlO1Tp17FgIyY9inOAk uicZFD2BnoPaea7g0ntAIa3CpM67FLxHRHa4c= 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:content-transfer-encoding; b=qPrbw29WAuKTqzzLwP0GCo3fzz3/nyw/186/0nxrmbv+4+2ErFzaE/nHUaoxjdG5KT VaU6GmK97+FioD/PEz+YmoEJ2TTkHDgI23bUF4QZqOIG3d/Cq8h8v4oD5wou+VOGKKRj Z+OKFZz+P20Lngz7T+avaCyTPg0I0uAflbYuk= MIME-Version: 1.0 Received: by 10.140.141.20 with SMTP id o20mr1208295rvd.18.1250932092572; Sat, 22 Aug 2009 02:08:12 -0700 (PDT) In-Reply-To: References: Date: Sat, 22 Aug 2009 17:08:12 +0800 Message-ID: From: Bean To: The development of GRUB 2 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-detected-operating-system: by monty-python.gnu.org: GNU/Linux 2.6 (newer, 2) Subject: Re: [GITGRUB] Support new object format for powerpc-ieee1275 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, 22 Aug 2009 09:08:19 -0000 Hi, Add support for OpenBIOS. it would detect OpenBIOS and add flags for the OpenBIOS platform. The problem with OpenBIOS: /memory/available is present, but the value is different from olpc, instead of start-size pair, it's four number consist of: 0 min_mem max_mem total_mem The current mmap enumerator would generate incorrect data. This is handled by setting the force claim flag so that it just claim memory directly. nextprop method is not implemented, this caused a infinite loop when probing aliases, fixed by checking the return value. With these, it's all right to boot into grub shell, but there are no disk device, this is another unimplemented feature of OpenBIOS, as you also can't list device in the openbios shell. -- Bean gitgrub home: http://github.com/grub/grub/ my fork page: http://github.com/bean123/grub/