Re: Powerpc port

2008-03-24 Thread Bruce Cran

K. Bradford wrote:

I have installed 7.0-RELEASE on an old Mac G4.
I have cvs'ed the latest sources (using the RELENG_7 tag)
in order to track 7.0-STABLE.

The problem:  I can boot only off the FreeBSD install CD,
by breaking into open firmware upon bootup like this:

0  boot mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:,\boot\boot.tbxi

Open firmware loads this boot loader which then automagically
loads and runs the FreeBSD loader.  Then, I interrupt using the
space bar to get to the loader prompt and explicitly set the
root device to be the hard drive partition.

OK  set rootdev=mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:3
(My FreeBSD root partition is 3).

Kernel boots up, mounts / off the hard drive and the system
runs fine.

Can someone advise me how to set up everything correctly
on the hard drive so I don't have to jump through all these hoops?

I'm guessing boot.tbxi is needed somewhere under /boot,
but I don't think open firmware can read a BSD partition anyway.

Documentation on the powerpc port  seems sparse.  Could
someone please point me in the right direction, or provide
brief instructions here.  As always, any help/advice is greatly
appreciated.


Since Open Firmware doesn't understand UFS you have two options - you 
can either use the CD as a first-stage loader, or use an OS X partition 
to boot from.   Since I got rid of my OS X partition when I installed 
FreeBSD on my G4 I use the first option.  The simplest way is to just 
leave the CD in the drive and type:


 boot cd:,\boot\loader hd:3

There are more instructions about booting Macs at 
http://people.freebsd.org/~grehan/iso_install.txt


--
Bruce
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Re: Powerpc port

2008-03-21 Thread Simon Chang
Hi there,

On Thu, Mar 20, 2008 at 9:13 PM, K. Bradford [EMAIL PROTECTED] wrote:
 I have installed 7.0-RELEASE on an old Mac G4.
  I have cvs'ed the latest sources (using the RELENG_7 tag)
  in order to track 7.0-STABLE.

...snip...

Yeah, the information about FreeBSD seems rather biased toward
i386/amd64/IA64 and maybe the Alpha.  At any rate the PowerPC is
officially a tier-2 platform so there isn't as much support available.

What you can do, though, is to get basic information like device node
names and such from NetBSD.  I got NetBSD 3.0 running on my PowerMac
G4/533 more than a year ago, and it ran just about flawlessly (it had
some problems shutting down, i.e. froze, but other than that there was
nothing I could complain about).  Some of the setup information,
particularly with regards to how OpenFirmware interacts with the boot
loader and boot devices, may be relevant.  At any rate, NetBSD has had
considerable experience porting the OS to the PowerPC platform so it's
worth a try.

Check out this (huge!) how-to at:

ftp://ftp.netbsd.org/pub/NetBSD/NetBSD-3.1/macppc/INSTALL.html

Good luck,

SC
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]


Powerpc port

2008-03-20 Thread K. Bradford
I have installed 7.0-RELEASE on an old Mac G4.
I have cvs'ed the latest sources (using the RELENG_7 tag)
in order to track 7.0-STABLE.

The problem:  I can boot only off the FreeBSD install CD,
by breaking into open firmware upon bootup like this:

0  boot mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:,\boot\boot.tbxi

Open firmware loads this boot loader which then automagically
loads and runs the FreeBSD loader.  Then, I interrupt using the
space bar to get to the loader prompt and explicitly set the
root device to be the hard drive partition.

OK  set rootdev=mac-io/[EMAIL PROTECTED]/[EMAIL PROTECTED]:3
(My FreeBSD root partition is 3).

Kernel boots up, mounts / off the hard drive and the system
runs fine.

Can someone advise me how to set up everything correctly
on the hard drive so I don't have to jump through all these hoops?

I'm guessing boot.tbxi is needed somewhere under /boot,
but I don't think open firmware can read a BSD partition anyway.

Documentation on the powerpc port  seems sparse.  Could
someone please point me in the right direction, or provide
brief instructions here.  As always, any help/advice is greatly
appreciated.
___
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to [EMAIL PROTECTED]