From owner-freebsd-ppc@FreeBSD.ORG Tue May 23 06:16:30 2006 Return-Path: X-Original-To: freebsd-ppc@freebsd.org Delivered-To: freebsd-ppc@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7D02316A426 for ; Tue, 23 May 2006 06:16:30 +0000 (UTC) (envelope-from valiantsoul@earthlink.net) Received: from elasmtp-kukur.atl.sa.earthlink.net (elasmtp-kukur.atl.sa.earthlink.net [209.86.89.65]) by mx1.FreeBSD.org (Postfix) with ESMTP id CEC3B43D45 for ; Tue, 23 May 2006 06:16:29 +0000 (GMT) (envelope-from valiantsoul@earthlink.net) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=dk20050327; d=earthlink.net; b=S9Kg9AfA5IlUN0mZ4MJQ/V7F33L48YiEud1B6c0yE0ZJAV3I+EL1pKC3A76qMqyN; h=Received:Mime-Version:To:Message-Id:Content-Type:From:Subject:Date:X-Mailer:X-ELNK-Trace:X-Originating-IP; Received: from [69.81.131.105] (helo=[192.168.2.100]) by elasmtp-kukur.atl.sa.earthlink.net with asmtp (TLSv1:RC4-SHA:128) (Exim 4.34) id 1FiQBw-0002EU-JN for freebsd-ppc@freebsd.org; Tue, 23 May 2006 02:16:29 -0400 Mime-Version: 1.0 (Apple Message framework v750) To: freebsd-ppc@freebsd.org Message-Id: <6CB0FC67-E5DD-4C9C-9E00-4ACC32C30165@earthlink.net> From: Craig St Jean Date: Tue, 23 May 2006 02:15:41 -0400 X-Mailer: Apple Mail (2.750) X-ELNK-Trace: 0b6360d620a7c653791ceade7a3fce3a9ef193a6bfc3dd48292f91fae983a4fabc9161d27488267e3ca473d225a0f487350badd9bab72f9c350badd9bab72f9c X-Originating-IP: 69.81.131.105 Content-Type: text/plain; charset=US-ASCII; delsp=yes; format=flowed Content-Transfer-Encoding: 7bit X-Content-Filtered-By: Mailman/MimeDel 2.1.5 Subject: I may be able to help with getting it on a G5 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: Tue, 23 May 2006 06:16:30 -0000 > Hi Craig, > > > Not sure if anyone has tried working on getting FreeBSD on a G5 > > machine, but I have some free time and would be happy to help > test. I > > have a quad 2.5GHz G5 PowerMac with plenty of memory and hard > drive space. > > Great ! I'm still struggling to resurrect my PPC dev machines and > environment, but when I do I'd like to get G5 support going. I'll take > any and all offers of help :) I do have a G4 iBook which will help in the process until it boots on the G5. I'm not quite sure how to get everything over to the G5 though - the only OS dev I've done was when the system was already running and I just made modifications. > > > If someone gives me some direction on what may need to be > > done, I would be happy to try to help make FreeBSD run on a G5 > system - > > It's going to be tough. My plan is to get it running in 32-bit mode, > since full 64-bit support requires a massive amount of work, > essentially > a new port. > > What's there: > > - the loader > > What's not there: > > - pmap support. The G5 uses 64-bit addresses in it's PTE > format, so > it's just different enough than the G3/G4 to be annoying. The code is > already there to abstract out the differences, but a lot of > implementation work has to be done. > > - the low-level assembler trap code needs to switch back to 32- > bits. > This isn't too difficult, and the plan was to conditionally compile > the > .S files similar to how ELF 32- and 64-bit support is done. > > - no BAT registers, so the kernel needs to have virtual mappings > created for it. This complicates pmap startup, and various other parts > of the the machine-dependent code that assumes a 1:1 static mapping > for > all memory (e.g. UMA_MD_SMALL_ALLOC, the syscons frame-buffer code, > page > zeroing) > > - cachelines are 128 bytes on the G5 as opposed to 32 bits on > G3/G4. > This is almost abstracted out but some extra work is required. > > - probably a bunch of other things I've forgotten. > > > Unless everyone feels its not worth the time... > > Definitely worth the time. > > later, > > Peter. Note quite sure how to do any of that but I will try looking into it once I get FreeBSD up on my iBook (going through things to make sure I get everything backed up - should have it up tomorrow or the day after. My work takes up a lot of time but I will do my best.