From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from list by lists.gnu.org with archive (Exim 4.71) id 1UOyxT-0004nC-Dx for mharc-grub-devel@gnu.org; Sun, 07 Apr 2013 19:25:11 -0400 Received: from eggs.gnu.org ([208.118.235.92]:50257) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOylC-00030n-OK for grub-devel@gnu.org; Sun, 07 Apr 2013 19:12:36 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1UOyl6-0002bv-IO for grub-devel@gnu.org; Sun, 07 Apr 2013 19:12:30 -0400 Received: from enchanter.real-time.com ([63.170.91.11]:4688) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1UOyl6-0002bp-C7 for grub-devel@gnu.org; Sun, 07 Apr 2013 19:12:24 -0400 Received: from dors.lan (quozl2.real-time.com [65.165.43.5]) by enchanter.real-time.com (8.12.10/8.12.10) with ESMTP id r37NCJXe012174; Sun, 7 Apr 2013 18:12:20 -0500 Received: from james by dors.lan with local (Exim 4.80) (envelope-from ) id 1UOykk-0006Ij-HX; Mon, 08 Apr 2013 09:12:02 +1000 Date: Mon, 8 Apr 2013 09:12:02 +1000 From: James Cameron To: "Vladimir '??-coder/phcoder' Serbinenko" Subject: Re: GRUB and OLPC Message-ID: <20130407231202.GC15519@us.netrek.org> Mail-Followup-To: James Cameron , Vladimir '??-coder/phcoder' Serbinenko , The development of GRUB 2 , devel@lists.laptop.org, testing@lists.laptop.org References: <5161F705.4050605@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <5161F705.4050605@gmail.com> Organization: Netrek Vanilla Server Dictator Sender: quozl@us.netrek.org User-Agent: Mutt/1.5.21 (2010-09-15) X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x X-Received-From: 63.170.91.11 X-Mailman-Approved-At: Sun, 07 Apr 2013 19:25:10 -0400 Cc: testing@lists.laptop.org, The development of GRUB 2 , devel@lists.laptop.org X-BeenThere: grub-devel@gnu.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: The development of GNU GRUB List-Id: The development of GNU GRUB List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 07 Apr 2013 23:12:37 -0000 On Mon, Apr 08, 2013 at 12:45:25AM +0200, Vladimir '??-coder/phcoder' Serbinenko wrote: > P.S: attitude of OFW devs of rejecting even an idea of GRUB for OLPC > like I've just experienced on IRC isn't helpful. I do apologise if my seeking for information appeared to be rejecting the idea of GRUB for OLPC XO-1. I really had no idea what you were talking about, and you had to teach me first. Since I am very familiar with how OFW boots Linux, and not at all familiar how GRUB boots FreeBSD, I am obviously biased toward OFW doing the task. I look forward to hearing from users of GRUB booting on XO-1. It sounds like an interesting challenge. --> phcoder (~phcoder@245-188.1-85.cust.bluewin.ch) has joined #olpc Hello, all. Is anybody uses / is interested / finds interesting / ... GRUB2 OLPC support? <-- PhoenixSTF has quit (Ping timeout: 276 seconds) grub is for PC BIOS, but OLPC XO has non-PC BIOS, therefore grub seems irrelevant. what feature of grub are you looking for? Quozl: wrong. Platforms currently supported by GRUB: GRUB_PLATFORMS = [ "emu", "i386_pc", "i386_efi", "i386_qemu", "i386_coreboot", "i386_multiboot", "i386_ieee1275", "x86_64_efi", "mips_loongson", "sparc64_ieee1275", "powerpc_ieee1275", "mips_arc", "ia64_efi", "mips_qemu_mips" ] 2 more in merge queue, yet one more in developpement What would be the point? (i'm willing to be convinced there is a valid purpose, but for the moment i can't see one). I think you don't see the current situation: OLPC is supported by GRUB2. The question is whether this support should be dropped as OLPC dies out and distances itself from geeks. I can't see OLPC in the GRUB_PLATFORMS, can you? i386-ieee1275 is OLPC Neato. How could I have known that? ieee1275 is openfirmware I couldn't speak for the users of said support. I've never used it, since the Open Firmware we have includes the necessary code to load kernel and ramdisk of any number of Linux instances. Why was i386-ieee1275 added? But not e.g. FreeBSD And it's easier to adapt existing distro by simply changing installed GRUB flavour that dancing with OFW. I'm sure Open Firmware could boot FreeBSD if somebody tried hard enough. --> PhoenixSTF (~rudi@83.240.154.11) has joined #olpc So the choice is between dancing with GRUB or dancing with Open Firmware? I'm biased, I'd always dance with Open Firmware. So you should not ask me my opinion, as I have no relevant experience. Seems like a waste of time to have Open Firmware transfer control to GRUB only to have GRUB ask Open Firmware to read certain sectors and transfer control to something else. How quickly does this combination boot? No ARM support? Quozl: let me explain: all OLPC-grub devs have gone inactive, that's why the question of retiring the port is on the table in the first place. None of devs even has OLPC. The tests on i386-ieee1275 are performed at best in qemu but your OFW flavour seems to work well only with OLPC, despite claiming to work on qemu and coreboot as well (I tested both) Show me the tests? On coreboot it plainly doesn't see the disks (no AHCI support). Couldn't go any further from there. On qemu it overwrites 1M-1.5M range despite it being marked as usable phcoder: someone on devel@lists.laptop.org might be interested in helping perhaps sth more. I workarounded the ofw-qemu bugs to make our automated tests run. it seems clear that Quozl isn't :-) Are you sure this isn't breakage caused by qemu? ;-) I've not used coreboot. I'm just grabbing grub2 sources to find these tests. cjb: I'm composing a mail now to grub-devel, devel@lists.laptop.org and testing@lists.laptop.org to see if there is a way to reasonably keep it around sounds good, thanks Quozl: on ofw-i386 they are not automated: I gave up when searching for a way to boot grub.elf directly rather than going to prompt Automate by creating a directory boot and a file olpc.fth in it that names grub.elf in place of the kernel? Shipping price to Europe doubles the price of OLPC XO-1 I don't speak forth You can learn. Quozl: I'm not interested in it. Okay. -- James Cameron http://quozl.linux.org.au/