Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 23 Jan 2014 04:49:22 +0000
From:      Alexey Dokuchaev <danfe@FreeBSD.org>
To:        Justin Hibbits <chmeeedalf@gmail.com>
Cc:        powerpc@FreeBSD.org
Subject:   Re: Tightening kernel for Mac Mini G4
Message-ID:  <20140123044922.GA29547@FreeBSD.org>
In-Reply-To: <20140122082542.745de133@zhabar.gateway.2wire.net>
References:  <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, Jan 22, 2014 at 08:25:42AM -0800, Justin Hibbits wrote:
> ata_macio and ata_kauai aren't available as modules.  It's probably
> trivial to make them such, but currently they're not.  Just keep the
> devices in kernel config.

OK, I can live with "device ATA" for a while; but ultimately I do think
that ata_macio and ata_kauai should be factored out as modules (similar
with our existing x86 ata stuff).  Ideally, all hardware-dependent stuff
should be modular.

> Neither of these are necessary for you.  I should probably eventually
> modularize windtunnel driver (and give it a better name).  SMU is for
> G5 systems, PMU is for G4 and G3 systems.

Great, I've removed entire "Misc" section of the config.  I'm wondering
if I can do the same for ADB support?  There are no ADB connectors for
peripherals on Mac Mini; is ADB still required (used internally)?  All
three devices (adb, cuda, pmu) or something can be dropped out?

> Can you drop the output of 'ofwdump -ap' somewhere (freefall?) and I
> can take a look at it.  Internal sound on most PowerPC Apple hardware
> is supported, I'm curious why yours isn't.

Sure, have a look: ~danfe/macmini-g4-ofw.dump.

./danfe

P.S.  "make -j2 buildworld" on tmpfs-backed OBJDIR took 12 hours (default
-CURRENT, i.e. reduced performance) and used 1,2G of tmpfs (and 76% of 1G
swap).  Replacing default 256M of RAM with 1G module was definitely a good
idea.  Alas, "make buildkernel" (without cleaning after buildworld) caused
it to run out of memory. :(



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