Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 28 Jun 2008 18:47:35 +0200
From:      "Niels S. Eliasen" <nse@delfi-konsult.com>
To:        Garrett Cooper <yanefbsd@gmail.com>
Cc:        freebsd-ppc@freebsd.org
Subject:   Re: pdisk, ofctl and yaboot
Message-ID:  <19F9C010-09DF-4768-9D22-6FC85C5CAE44@delfi-konsult.com>
In-Reply-To: <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com>
References:  <A6B64505-B745-4C2C-A8A6-9672F2759F2E@delfi-konsult.com> <486511F1.60306@freebsd.org> <7E3535B5-26B4-4333-AA92-E1EEE0697144@delfi-konsult.com> <7d6fde3d0806272112g5f9852fan244458642be1d1d8@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help
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 <nse@delfi-=20
> 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: <http://grub.enbug.org/TestingOnPowerPC>.
> -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





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19F9C010-09DF-4768-9D22-6FC85C5CAE44>