From owner-freebsd-ppc@FreeBSD.ORG Fri Jun 27 22:06:47 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 13485106567C; Fri, 27 Jun 2008 22:06:47 +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 9BF918FC23; Fri, 27 Jun 2008 22:06:46 +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 A99715D8FB; Sat, 28 Jun 2008 00:06:44 +0200 (CEST) In-Reply-To: <486511F1.60306@freebsd.org> References: <486511F1.60306@freebsd.org> Mime-Version: 1.0 (Apple Message framework v753.1) Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Message-Id: <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> Content-Transfer-Encoding: 7bit From: "Niels S. Eliasen" X-Custom-Header: Yo! this is my X-Face Date: Sat, 28 Jun 2008 00:06:41 +0200 To: grehan@freebsd.org 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: Fri, 27 Jun 2008 22:06:47 -0000 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 (looks > like you've done that). Now that gpart is in the tree, there should > be 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 such file or directory" ?? > >> 3. Anyone that knows how to integrate the Open Firmware parameters >> for FreeBSD with yaboot ? > > At one point the loader's load address conflicted with yaboot. > This may not be the case anymore - it's been a very long time since > I 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 between various "flavours" .... and choosing "Open Firmware" and then just doing "boot hd:loader hd:5" does the trick > >> If only FreeBSD, NetBSD and OpenBSD (all macppc) could agree upon >> how to integrate with yaboot... alternatively find one unified >> boot-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 drives > and the like that I was going to debug and fix a while back, but 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 PowerPC ? > > > later, > > Peter. kind regards nse "Ach, crivens, what a wee snotter....." Quote from "The Wee Free Men" by Terry Pratchett