Received: from mailman by lists.gnu.org with archive (Exim 4.43) id 1EsRn6-0000iT-TH for mharc-grub-devel@gnu.org; Fri, 30 Dec 2005 16:28:00 -0500 Received: from mailman by lists.gnu.org with tmda-scanned (Exim 4.43) id 1EsRn4-0000h2-DV for grub-devel@gnu.org; Fri, 30 Dec 2005 16:27:58 -0500 Received: from exim by lists.gnu.org with spam-scanned (Exim 4.43) id 1EsRn2-0000fX-4D for grub-devel@gnu.org; Fri, 30 Dec 2005 16:27:57 -0500 Received: from [199.232.76.173] (helo=monty-python.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1EsRn1-0000fO-OA for grub-devel@gnu.org; Fri, 30 Dec 2005 16:27:55 -0500 Received: from [194.109.24.24] (helo=smtp-vbr4.xs4all.nl) by monty-python.gnu.org with esmtp (Exim 4.34) id 1EsRnb-000268-6i for grub-devel@gnu.org; Fri, 30 Dec 2005 16:28:31 -0500 Received: from localhost.localdomain (mgerards.xs4all.nl [82.92.27.129]) by smtp-vbr4.xs4all.nl (8.13.3/8.13.3) with ESMTP id jBULQK6Y059303; Fri, 30 Dec 2005 22:26:21 +0100 (CET) (envelope-from mgerards@xs4all.nl) Mail-Copies-To: mgerards@xs4all.nl To: The development of GRUB 2 References: <59521b110512301020j3dd937afs5bd016bbbebb1b17@mail.gmail.com> From: Marco Gerards Date: Fri, 30 Dec 2005 22:26:21 +0100 In-Reply-To: <59521b110512301020j3dd937afs5bd016bbbebb1b17@mail.gmail.com> (Noah yan's message of "Fri, 30 Dec 2005 12:20:09 -0600") Message-ID: <874q4qcm4i.fsf@xs4all.nl> User-Agent: Gnus/5.1007 (Gnus v5.10.7) Emacs/21.4 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Virus-Scanned: by XS4ALL Virus Scanner Cc: powerpc-discuss@opensolaris.org Subject: Re: grub2 multiboot for ppc and system initalization 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: Fri, 30 Dec 2005 21:27:59 -0000 Noah yan writes: Hi Noah, > I am glad that I have finally made the grub2 multiboot for ppc working. It > is based on Hollis' earlier work ( > http://lists.gnu.org/archive/html/grub-devel/2005-06/msg00049.html) . > Hollis' hello world example works for my building environment and system, > which is Mandrake Linux (2.6.11) on Power Mac G4. A patch is attached for > grub 1.92 release. The patch also includes the util/powerpc/ieee1275/grub- > install.in file, which is missed in 1.92 release (but in cvs checkout). I > have trouble to create the patch by cvs diff, so to apply it, you may have > to use "patch -p1" under the grub2 folder. Cool, but I wonder if it can be applied. Mainly because it is most likely not multiboot compliant because multiboot is x86 only, or am I misunderstanding something? > As in x86 and sparc, the multiboot strap is basically not the real kernel, > but a loader to load ramdisk and initializer of system before exitto unix > module. Here comes several choices about the system initialization: Can you explain that? Usually the kernel loaded by multiboot *is* a real kernel. So I don't understand what you mean. Perhaps you are confused by a single implementation. > 1. should the multiboot strap trust the multiboot_info passed from grub? x86 > multiboot only use the cmdline of it and multiboot is changing as from grub > developers. If use it, it may save some coding efforts. Can you please elaborate? > 2. if multiboot strap collect system information by itself, should it use > GRUB ieee1275 functions or Solaris's own code(mainly in psm/promif/ieee1275, > but would have to port to ppc). Using Grub2's code saves efforts to port > Solaris code. Please explain what you mean with multiboot strap. It certainly isn't GRUB related terminology I have heard of. > 3. grub2 network is not available (Marco planned to work on it on Feb as > posted from grub wiki), shall we port the solaris network stack > (src/stand/lib) for grub or wait? Please wait and who is we? > In summary, what is the role the grub should play in booing and system > initialization, only as a loader, or a loader and system utilities that help > system booting and other purpose? In Solaris x86, I only found the cmdline > of multiboot_info is used by the multiboot strap. It's the loader. I am not sure about what you are saying, but GRUB certainly does not provide run time services to kernels or so. Unfortunately I fail to understand a big part of your email. Can you please describe which project you are working on and what you are trying to accomplish? And please use the terminology we are used to, otherwise it is hard to understand you. -- Marco