Re: NetBSD ppc64 & ppc64le support?

Chris Hanson <[email protected]> Fri, 9 May 2025 10:37:52 -0700
Newsgroups gmane.os.netbsd.ports.ofppc,gmane.os.netbsd.ports.powerpc
Message-ID <[email protected]>
On May 7, 2025, at 4:19=E2=80=AFPM, Greg Troxel <[email protected]> wrote:
>=20
> ofppc seems to be a separate MACHINE, and there is sys/arch/ofppc.  I
> would guess the whole way the kernel deals with the hardware is just
> different enough.

The ofppc port/machine is basically for CHRP and CHRP-derived systems, a =
category which includes essentially all modern 64-bit POWER hardware. =
There are some evolutionary changes of course (updated interrupt =
controllers and other devices) but they're broadly similar from what I =
can tell so far.

> Reading build.sh, I only really see eb/el for mips.  My guess is that
> there were both kinds, from not-DEC and DEC, whereas ppc is more of an
> IBM thing where ~everbody uses eb.

Used; there's a migration to little-endian happening in the POWER world, =
though given that it's IBM continued support for big-endian isn't likely =
to go away any time soon.

  -- Chris