From owner-freebsd-ppc@FreeBSD.ORG Thu Feb 22 23:19:55 2007 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 19F1016A400 for ; Thu, 22 Feb 2007 23:19:55 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from dommail.onthenet.com.au (dommail.OntheNet.com.au [203.13.70.57]) by mx1.freebsd.org (Postfix) with ESMTP id A550313C491 for ; Thu, 22 Feb 2007 23:19:54 +0000 (UTC) (envelope-from grehan@freebsd.org) Received: from [10.33.24.110] (nat-198-95-226-228.netapp.com [198.95.226.228]) by dommail.onthenet.com.au (MOS 3.5.7-GR) with ESMTP id CNV05277 (AUTH peterg@ptree32.com.au); Fri, 23 Feb 2007 09:19:49 +1000 (EST) Message-ID: <45DE2581.1040202@freebsd.org> Date: Thu, 22 Feb 2007 15:21:37 -0800 From: Peter Grehan User-Agent: Mozilla/5.0 (X11; U; FreeBSD amd64; en-US; rv:1.8b) Gecko/20051014 MIME-Version: 1.0 To: Andrew Turner References: <20070219100433.66d7ff49@hermies.int.fubar.geek.nz> In-Reply-To: <20070219100433.66d7ff49@hermies.int.fubar.geek.nz> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Cc: freebsd-ppc@freebsd.org Subject: Re: Patch to partially boot an EFIKA 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: Thu, 22 Feb 2007 23:19:55 -0000 Hi Andrew, > The attached patch helps me to partially boot my EFIKA. The file > ofwread.S is from NetBSD and needs to be placed in sys/powerpc/powerpc. > > The patch takes the real-mode ofw interface code from NetBSD and the > TLB exception handlers from //depot/user/jaras in perforce. I can probably put in the exception vector stuff, de-camel-casing in the process. For ofwread.S, I have a slightly different solution that is needed for the G5 that I think will also work on the EFIKA. Plus, it's written in C :) There's a bit of extra code around it but hopefully I'll get it done soon. later, Peter.