From owner-freebsd-ppc@FreeBSD.ORG Sat Aug 23 20:06:13 2003 Return-Path: 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 30F1016A4BF; Sat, 23 Aug 2003 20:06:13 -0700 (PDT) Received: from msr5.hinet.net (msr5.hinet.net [168.95.4.105]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9530643FBF; Sat, 23 Aug 2003 20:06:11 -0700 (PDT) (envelope-from mtlin1@ms36.hinet.net) Received: from morton (paradise.mtlin.org [202.39.10.196]) by msr5.hinet.net (8.9.3/8.9.3) with SMTP id LAA10219; Sun, 24 Aug 2003 11:06:09 +0800 (CST) Message-ID: <002801c369ee$b8ac2c10$c40a27ca@morton> From: "Morton Lin" To: "Peter Grehan" References: <01ac01c36171$28ade6b0$0655608c@mtlin> <3F3A1B04.97E86EC0@freebsd.org> Date: Sun, 24 Aug 2003 11:20:46 +0800 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 cc: freebsd-ppc@freebsd.org Subject: Re: Porting FreeBSD to PowerPC 860 ? X-BeenThere: freebsd-ppc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Morton Lin List-Id: Porting FreeBSD to the PowerPC List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 24 Aug 2003 03:06:13 -0000 > The 860 is quite different than the G3/G4 processors currently supported > by the port > > - no BAT registers > - the MMU is a simple TLB, unlike the OEA h/w tablewalk in the G3/G4 > - no floating point > - a huge amount of system-on-chip logic and peripherals Hi, Peter : Sorry for my response is so late. You are absolutely right. After few days survey, I found maybe I should start from Linux (MontaVista, penguinppc, eCos, ...) for PowerPC to learn more things. Another issues probably are : 1. Big/Little Endian 2. Boot loader 3. Kernel / driver porting 4. .... It seems Embedded Linux had a more mature developed environment. So I will stay there to learn something about basic knowledge and tech. Then I will come back for FreeBSD. :-) > It will be quite a lot of work to get FreeBSD running on an 860, but I have one, > and it is my long term goal. I greatly encourage you to join in the fun :-) > > The NetBSD port to the IBM 4xx is a good place to start: the 4xx is similar to the > 860 in that there is only a TLB for addr translation, and it has no floating point. > A lot of device driver work needs to be done to support the inbuilt peripherals. > > Also, the current port is closely tied to OpenFirmware - that has to be split out, > and you have to find a way to get the loader to run. I'm not sure what ROM monitor > the EmbeddedPlanet boards have, but if it's U-Boot, then there is a bit of work > to be done to interface FreeBSD's loader to it. Valuable information ! Thanks a lot. I will dig into those source tree after I have enough knowledge about "RIGHT THING" and give it a try. Best Regards, Morton Lin.