From owner-freebsd-ppc@FreeBSD.ORG Mon Feb 15 16:05:46 2010 Return-Path: Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 409B7106566C for ; Mon, 15 Feb 2010 16:05:46 +0000 (UTC) (envelope-from nwhitehorn@freebsd.org) Received: from adsum.doit.wisc.edu (adsum.doit.wisc.edu [144.92.197.210]) by mx1.freebsd.org (Postfix) with ESMTP id 166AB8FC17 for ; Mon, 15 Feb 2010 16:05:45 +0000 (UTC) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; CHARSET=US-ASCII; format=flowed Received: from avs-daemon.smtpauth1.wiscmail.wisc.edu by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) id <0KXW00K004PLVQ00@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 15 Feb 2010 10:05:45 -0600 (CST) Received: from comporellon.tachypleus.net (adsl-76-233-146-74.dsl.mdsnwi.sbcglobal.net [76.233.146.74]) by smtpauth1.wiscmail.wisc.edu (Sun Java(tm) System Messaging Server 7u2-7.05 32bit (built Jul 30 2009)) with ESMTPSA id <0KXW00BIH4PJY830@smtpauth1.wiscmail.wisc.edu> for freebsd-ppc@freebsd.org; Mon, 15 Feb 2010 10:05:44 -0600 (CST) Date: Mon, 15 Feb 2010 10:05:43 -0600 From: Nathan Whitehorn To: FreeBSD PowerPC ML Message-id: <4B7970D7.4010702@freebsd.org> X-Spam-Report: AuthenticatedSender=yes, SenderIP=76.233.146.74 X-Spam-PmxInfo: Server=avs-10, Version=5.5.5.374460, Antispam-Engine: 2.7.1.369594, Antispam-Data: 2010.2.15.155421, SenderIP=76.233.146.74 User-Agent: Thunderbird 2.0.0.23 (X11/20100206) Subject: powerpc64 status and request for testers X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 15 Feb 2010 16:05:46 -0000 I have been working on a full 64-bit PowerPC port of FreeBSD which is now mature enough that wider exposure and testing would be appreciated. It boots multiuser and most ports seem to just work, etc. Note that this is still very raw, however; building it remains tricky, and it may have fatal bugs resulting in data loss. Caveats: - Memory above 2 GB is not really supported yet, due to lack of IOMMU support or bounce buffers. - snd_ai2s causes panics on 64-bit kernels - GDB does not completely work yet on live processes (debugging core files works fine, however) - Xorg segfaults while setting up the frame buffer on my iMac for unknown reasons - Compiling a Book-E kernel is currently broken from this branch. Hopefully, this will be fixed soon. Supported hardware: This is a port to the SLB-based Book-S architecture, which includes the 970 (G5), POWER4, POWER5, POWER6, POWER7, and Cell. For lack of drivers, the only set of those in machines we currently support is the G5, but the intention is to broaden that, in particular to the Cell. If you want to try it out, you need to be able to netboot your system, since the make release infrastructure to build bootable CDs is not yet present. The following will get you what you need: svn co svn://svn.freebsd.org/base/projects/ppc64 cd ppc64 make buildworld TARGET_ARCH=powerpc # Get boot loader from this world for TFTP cp /usr/obj/powerpc/.../sys/boot/loader/powerpc/ofw/loader /tftpboot/loader.ppc64 make buildworld buildkernel TARGET_ARCH=powerpc64 WITHOUT_BOOT=1 make installworld installkernel TARGET_ARCH=powerpc64 DESTDIR=/some/nfs/export WITHOUT_BOOT=1 Then set up a DHCP server for netbooting, turn on tftpd, and issue a command like boot enet:0,loader.ppc64 from open firmware on the target machine. If you give this code a try, please let me know the results. -Nathan