Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 27 Feb 2004 17:11:24 +1000
From:      Peter Grehan <grehan@freebsd.org>
To:        Suleiman Souhlal <refugee@segfaulted.com>, freebsd-ppc@freebsd.org
Subject:   Re: G5
Message-ID:  <403EED9C.3040701@freebsd.org>
In-Reply-To: <20040227013151.250b0d3d@zZzZ.segfaulted.com>

index | next in thread | previous in thread | raw e-mail

Hi Suleiman,

> I just have a few quick questions regarding booting on the G5s: 
> How far does it get?

  The boot loader works, but I'm still trying to get pmap_bootstrap
sorted out. It's going to take a while :-(  The hash table for
the G5 is the 64-bit version, but if you run in 'bridge' mode,
segment registers can still be used.

  Check out the IBM doc for details:

http://www-306.ibm.com/chips/techlib/techlib.nsf/techdocs/F6153E213FDD912E87256D49006C6541

  Fortunately the work needed to abstract out the hash-table differences
can be used in PPC implementations that don't have a hash table,
such as the IBM 4xx and Motorola 8xx series, which I'm very interested
in.

  I think I'll set up a P4 depot to track the changes I'm doing
for this.

> Are you trying to boot in 32-bit mode or 64-bit mode?

  32-bit mode. 64-bit mode is a hell of a lot of work with
toolchain, ld.so, exec, openfirmware callbacks etc, whereas
32-bit mode is mainly vm/trap work. Plus, it should produce
a kernel that can run on G3/G4/G5, which I think is a better
place for the project than immediately starting a 64-bit port
before the 32-bit port is stable.

> Does 32-bit mode need a toolchain that supports ppc64 anyway?

  There might be some config mods needed, but yes, I think the
32-bit toolchain could support 64-bit mode as well.

later,

Peter.


home | help

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