Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Jun 2008 21:12:39 -0700
From:      "Garrett Cooper" <yanefbsd@gmail.com>
To:        "Niels S. Eliasen" <nse@delfi-konsult.com>
Cc:        grehan@freebsd.org, freebsd-ppc@freebsd.org
Subject:   Re: pdisk, ofctl and yaboot
Message-ID:  <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com>
In-Reply-To: <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com>
References:  <A6B64505-B745-4C2C-A8A6-9672F2759F2E@delfi-konsult.com> <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On Fri, Jun 27, 2008 at 3:06 PM, Niels S. Eliasen <nse@delfi-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 (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 ?

Grub 1.x, yes. Grub 2.x, no: <http://grub.enbug.org/TestingOnPowerPC>.
-Garrett



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?7d6fde3d0806272112g5f9852fan244458642be1d1d8>