From owner-freebsd-arm@FreeBSD.ORG Wed Jan 4 13:59:52 2006 Return-Path: X-Original-To: freebsd-arm@freebsd.org Delivered-To: freebsd-arm@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id BD6C216A41F for ; Wed, 4 Jan 2006 13:59:52 +0000 (GMT) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id C4FBE43D4C for ; Wed, 4 Jan 2006 13:59:51 +0000 (GMT) (envelope-from mlfbsd@dong.ci0.org) Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1]) by dong.ci0.org (8.13.4/8.13.4) with ESMTP id k04EYH1T057717; Wed, 4 Jan 2006 15:34:18 +0100 (CET) (envelope-from mlfbsd@dong.ci0.org) Received: (from mlfbsd@localhost) by dong.ci0.org (8.13.4/8.13.4/Submit) id k04EYD4j057716; Wed, 4 Jan 2006 15:34:14 +0100 (CET) (envelope-from mlfbsd) Date: Wed, 4 Jan 2006 15:34:13 +0100 From: Olivier Houchard To: Karsten Brandt Message-ID: <20060104143413.GA57653@ci0.org> References: Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.1i Cc: freebsd-arm@freebsd.org Subject: Re: FreeBSD on a TI TMS470 controller board X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 04 Jan 2006 13:59:52 -0000 On Wed, Jan 04, 2006 at 01:51:21PM +0100, Karsten Brandt wrote: > Hi All, > > > I've read that FreeBSD support the ARM architecture. > > I use FreeBSD also on i386 plattforms and I very happy with this OS. > Therefore I want try to port FreeBSD-ARM to the TMS470 controller. > This controller is based on an ARM7-Core. So that I believe it should work > with some adjustments. > > My question is: > > Which sourcecode from FreeBSD kernel is required? > The latest i386 code with patches? > > Is this wrong, where can I get this code? > > What are the rigth steps for porting this controller? > > For example: > In the case that I've a running development environment, what the next > step? > > Adjust register and memory assigments in the header? > > I hope, everybody else can help me to start this project. > Hi Karsten, The sourcecode for ARM is provided with the i386 version. A few patches are needed right now, to get gcc/binutils support. You can find the steps needed to compile a cross-compiler here : http://people.FreeBSD.org/~cognet/freebsd_arm.txt ARM7TDMI generic support should be there, however to support your particular CPU, we need : - a few bits for very early bootstrap, to setup the kernel pagetables. - a lot of drivers, as there're generally different from CPU to CPU. Once you get a working UART driver, things generally get easier. Cheers, Olivier