From owner-freebsd-ppc@FreeBSD.ORG Sat Jun 28 16:47:39 2008 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id CE88C1065671 for ; Sat, 28 Jun 2008 16:47:39 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from perseus.delfi-konsult.com (smtp.hoerhavegaard.dk [87.58.191.122]) by mx1.freebsd.org (Postfix) with ESMTP id 10AF88FC16 for ; Sat, 28 Jun 2008 16:47:38 +0000 (UTC) (envelope-from nse@delfi-konsult.com) Received: from [127.0.0.1] (localhost [127.0.0.1]) by perseus.delfi-konsult.com (Postfix) with ESMTP id E21385D8FB; Sat, 28 Jun 2008 18:47:36 +0200 (CEST) In-Reply-To: <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> References: <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=ISO-8859-1; delsp=yes; format=flowed Message-Id: <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com> Content-Transfer-Encoding: quoted-printable From: "Niels S. Eliasen" X-Custom-Header: Yo! this is my X-Face Date: Sat, 28 Jun 2008 18:47:35 +0200 To: Garrett Cooper X-Mailer: Apple Mail (2.753.1) Cc: freebsd-ppc@freebsd.org Subject: Re: pdisk, ofctl and yaboot X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 28 Jun 2008 16:47:40 -0000 Hi Garrett Downloaded the grub2... tried to run "make".. but get the following: > "Makefile", line 76: Missing dependency operator > "Makefile", line 78: Need an operator > "Makefile", line 80: Need an operator > "../conf/powerpc-ieee1275.mk", line 33: Missing dependency operator > "../conf/powerpc-ieee1275.mk", line 35: Need an operator > "../conf/powerpc-ieee1275.mk", line 48: Need an operator > "../conf/powerpc-ieee1275.mk", line 52: Need an operator > "../conf/powerpc-ieee1275.mk", line 56: Need an operator > "../conf/powerpc-ieee1275.mk", line 71: Need an operator > "../conf/powerpc-ieee1275.mk", line 75: Need an operator > "../conf/powerpc-ieee1275.mk", line 79: Need an operator > "../conf/powerpc-ieee1275.mk", line 122: Need an operator > "../conf/powerpc-ieee1275.mk", line 126: Need an operator > "../conf/powerpc-ieee1275.mk", line 130: Need an operator > "../conf/powerpc-ieee1275.mk", line 134: Need an operator > "../conf/powerpc-ieee1275.mk", line 138: Need an operator > "../conf/powerpc-ieee1275.mk", line 142: Need an operator > "../conf/powerpc-ieee1275.mk", line 146: Need an operator > "../conf/powerpc-ieee1275.mk", line 150: Need an operator > "../conf/powerpc-ieee1275.mk", line 154: Need an operator > "../conf/powerpc-ieee1275.mk", line 158: Need an operator > "../conf/powerpc-ieee1275.mk", line 162: Need an operator > "../conf/powerpc-ieee1275.mk", line 166: Need an operator > "../conf/powerpc-ieee1275.mk", line 170: Need an operator > "../conf/powerpc-ieee1275.mk", line 174: Need an operator > "../conf/powerpc-ieee1275.mk", line 178: Need an operator > "../conf/powerpc-ieee1275.mk", line 182: Need an operator > "../conf/powerpc-ieee1275.mk", line 186: Need an operator > "../conf/powerpc-ieee1275.mk", line 190: Need an operator > "../conf/powerpc-ieee1275.mk", line 194: Need an operator > "../conf/powerpc-ieee1275.mk", line 198: Need an operator > "../conf/powerpc-ieee1275.mk", line 202: Need an operator > "../conf/powerpc-ieee1275.mk", line 206: Need an operator > "../conf/powerpc-ieee1275.mk", line 210: Need an operator > "../conf/powerpc-ieee1275.mk", line 214: Need an operator > ". ad infinitam...... any ideas ? Den 28/06/2008 kl. 6.12 skrev Garrett Cooper: > On Fri, Jun 27, 2008 at 3:06 PM, Niels S. Eliasen konsult.com> wrote: >> hi Peter, guys >> Den 27/06/2008 kl. 18.14 skrev Peter Grehan: >> >>> Hi Niels, >>> >>>> Hi guys >>>> a couple of minor questions...... >>>> 1. Where do I find "pdisk" for FreeBSD ? >>> >>> Not there. It's easy enough to build it from NetBSD source =20 >>> (looks like >>> you've done that). Now that gpart is in the tree, there should be =20= >>> no need >>> for pdisk (at least in CURRENT). >> >> nice... ;-) >>> >>>> 2. Where do I find "ofctl" for FreeBSD ? >>> >>> It's eeprom(8) on FreeBSD. >> >> no such thing in my version of FreeBSD... is that fairly new ? >> ahh.. found it in /usr/src/usr.sbin/eeprom .... >> just complains about "eeprom: could not open /dev/openfirm: no =20 >> such file or >> directory" ?? >>> >>>> 3. Anyone that knows how to integrate the Open Firmware =20 >>>> parameters for >>>> FreeBSD with yaboot ? >>> >>> At one point the loader's load address conflicted with yaboot. =20 >>> This may >>> not be the case anymore - it's been a very long time since I =20 >>> looked at it. >>> But in theory the loader could be booted from yaboot. >> >> Well.. does not appear so.... I use "yaboot" to be able to switch =20 >> between >> various "flavours" .... and choosing "Open Firmware" and then just =20= >> doing >> "boot hd:loader hd:5" does the trick >> >>> >>>> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree =20 >>>> upon how to >>>> integrate with yaboot... alternatively find one unified boot-=20 >>>> sequence... >>>> life would be so much easier .... >>> >>> Might be a bit late for that :( >> >> sigh.... >> >> Garrett Cooper wrote: >> >>> IIRC yaboot was being deprecated for Grub 2.x. There are some >>> outstanding bugs (I found) with how yaboot parses secondary cd =20 >>> drives >>> and the like that I was going to debug and fix a while back, but =20 >>> I got >>> caught up with other things... >>> I'd definitely compile the last stable and work from that though >>> because there are a few new helpful features for booting from >>> non-standard locations for yaboot.conf files. >>> Cheers, >>> -Garrett >> >> Have I missed something in class... or isn't "grub" x86 only ?? >> and if not so... is there any kind of "HOWTO" using grub for =20 >> PowerPC ? > > Grub 1.x, yes. Grub 2.x, no: . > -Garrett mvh/kind regards Niels S. Eliasen H=F8rhavevej 1 DK-4250, Fuglebjerg Tel/Cell: +45 46 32 85 27 +45 21 77 95 90 mailto:nse_rEmOvE_tHiS@delfi-konsult.com