From owner-freebsd-ppc@FreeBSD.ORG Sat Jan 25 13:17:20 2014 Return-Path: Delivered-To: powerpc@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id B5BB7DCB; Sat, 25 Jan 2014 13:17:20 +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 4AC7C10E8; Sat, 25 Jan 2014 13:17:19 +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 s0PDHDaB004169; Sat, 25 Jan 2014 14:17:16 +0100 (CET) (envelope-from andreast-list@fgznet.ch) Message-ID: <52E3B959.30603@fgznet.ch> Date: Sat, 25 Jan 2014 14:17:13 +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 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> <52E3AE02.1050703@fgznet.ch> <20140125130640.GA97062@FreeBSD.org> In-Reply-To: <20140125130640.GA97062@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, Justin Hibbits 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 13:17:20 -0000 On 25.01.14 14:06, Alexey Dokuchaev wrote: > On Sat, Jan 25, 2014 at 01:28:50PM +0100, Andreas Tobler wrote: >> 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). > > That's a nice idea; I guess I could've saved some time with cross-building > on faster x86 box. > > Netbooting is a lifesaver indeed; that's how I originally installed and also > recovered couple of times after screwing up. Peter's [*] DHCP server sample > config was really handy. :-) > > However, since my custom slim kernels expect matching /boot/loader.conf, I > don't know if it would be possible to test them (GENERIC is not a problem, > of course) with netboot other than manually loading modules on the console. > > ./danfe > > [*] http://people.freebsd.org/~grehan/install.html Here is my draft ;) http://people.freebsd.org/~andreast/netboot_testing_ppc.txt Should be no problem. The root fs is on nfs so you can always modify /nfsroot/boot/loader.conf from your nfs machine and say what to load at boot. I do not press 'space' after 'boot enet:0,loader', I simply leave it and it loads and/or prints verbose the booting process. No more interaction on the OF level than saying 'boot enet:0,loader'. Andreas