From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 12:29:08 2014 Return-Path: Delivered-To: powerpc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 0619B5C0; Sat, 25 Jan 2014 12:29:08 +0000 (UTC) Received: from smtp.fgznet.ch (mail.fgznet.ch [81.92.96.47]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 8BCED1D61; Sat, 25 Jan 2014 12:29:06 +0000 (UTC) Received: from deuterium.andreas.nets (dhclient-91-190-14-19.flashcable.ch [91.190.14.19]) by smtp.fgznet.ch (8.13.8/8.13.8/Submit_SMTPAUTH) with ESMTP id s0PCSo73083507; Sat, 25 Jan 2014 13:29:04 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E3AE02.1050703@fgznet.ch> Date: Sat, 25 Jan 2014 13:28:50 +0100 From: Andreas Tobler User-Agent: Mozilla/5.0 (Macintosh; Intel Mac OS X 10.8; rv:24.0) Gecko/20100101 Thunderbird/24.2.0 MIME-Version: 1.0 To: Alexey Dokuchaev , Justin Hibbits Subject: Re: Tightening kernel for Mac Mini G4 References: <20140122153323.GA3637@FreeBSD.org> <20140122082542.745de133@zhabar.gateway.2wire.net> <20140123044922.GA29547@FreeBSD.org> <20140122214622.62b36222@zhabar.gateway.2wire.net> <20140125091537.GA39255@FreeBSD.org> In-Reply-To: <20140125091537.GA39255@FreeBSD.org> Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit X-Scanned-By: MIMEDefang 2.64 on 81.92.96.47 Cc: powerpc@freebsd.org X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 25 Jan 2014 12:29:08 -0000 On 25.01.14 10:15, Alexey Dokuchaev wrote: > On Wed, Jan 22, 2014 at 09:46:22PM -0800, Justin Hibbits wrote: >> ADB is unnecessary, as is cuda. PMU isn't strictly necessary, but I'm >> in the process of adding more capabilities to our PMU driver, so you >> may want to keep it, but it's not required for operation. > > Hmm, I guess I indeed better keep it: without it I have this liin in dmesg: > > warning: no time-of-day clock registered, system time will not be set > accurately > > Also, in the Misc. section, "device iicbus" actually required for snd_ai2s. > Not sure about "device kiic": it seems that Keywest I2C controller is fine > with just iicbus: > > iichb0: mem 0xf8001000-0xf8001fff irq 42 on unin0 > iicbus0: on iichb0 > iicbus0: at addr 0x1c0 Yes, 'device iicbus' is needed, also 'device kiic' which offers the base i2c transfer functions for the Keywest I2c. The iicbus0: at addr 0x1c0 is the modem, aka cereal. > I haven't looked into what is this strange "unknown card" yet, but adding > or removing "device kiic" from kernel config does not change dmesg output. > Source code for /sys/powerpc/powermac/kiic.c says it's some support routines > for the controller; not sure if I need them on G4 or not. Is support for > Keywest I2C controller is incomplete without kiic? Thanks, You can try, but I'd leave it. Also, if doing such work which combination fits and which doesn't I rely on netbooting. Iow, I build my kernels cross and boot over the net to see if it boots on the mini (or whatever Mac). If you need hints on how to netboot, let me know. Andreas