From owner-freebsd-arm@FreeBSD.ORG Thu Aug 5 14:05:03 2004 Return-Path: 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 B693E16A4CE for ; Thu, 5 Aug 2004 14:05:03 +0000 (GMT) Received: from dong.ci0.org (cognet.ci0.org [80.65.224.102]) by mx1.FreeBSD.org (Postfix) with ESMTP id 9BE7443D5A for ; Thu, 5 Aug 2004 14:05:02 +0000 (GMT) (envelope-from doginou@dong.ci0.org) Received: from dong.ci0.org (localhost.ci0.org [127.0.0.1]) by dong.ci0.org (8.12.11/8.12.11) with ESMTP id i75EVC39091302; Thu, 5 Aug 2004 16:31:13 +0200 (CEST) (envelope-from doginou@dong.ci0.org) Received: (from doginou@localhost) by dong.ci0.org (8.12.11/8.12.11/Submit) id i75EVCLD091301; Thu, 5 Aug 2004 16:31:12 +0200 (CEST) (envelope-from doginou) Date: Thu, 5 Aug 2004 16:31:12 +0200 From: Olivier Houchard To: Alexander Timoshenko Message-ID: <20040805143112.GB90141@ci0.org> References: <20040804115115.GA39676@univ.kiev.ua> <20040804155300.GA82096@ci0.org> <20040804153653.GA63512@univ.kiev.ua> <20040804174510.GB83850@ci0.org> <20040805120650.GA97698@univ.kiev.ua> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20040805120650.GA97698@univ.kiev.ua> User-Agent: Mutt/1.4.1i cc: freebsd-arm@freebsd.org Subject: Re: A couple of questions X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 05 Aug 2004 14:05:04 -0000 On Thu, Aug 05, 2004 at 03:06:50PM +0300, Alexander Timoshenko wrote: > Olivier Houchard (cognet@ci0.org) wrote: > > On Wed, Aug 04, 2004 at 06:36:53PM +0300, Alexander Timoshenko wrote: > > > Olivier Houchard (cognet@ci0.org) wrote: > > > > > > > > On Wed, Aug 04, 2004 at 02:51:15PM +0300, Alexander Timoshenko wrote: > > > > > Sorry, for distrubing the silence of this templ^W mailing list :) I > > > > > have a couple of questions regarding arm port of freebsd. I'm playing > > > > > with intel development board these days and going to try to run freebsd > > > > > on it, but want to know more before i start. > > > > > > > > > > - How to build image suitable for loading on developemnt board. Are > > > > > there any instructions? Or could someone share his scripts with > > > > > me? > > > > > > > > > > - Could someone describe the generic cycle of development for arm > > > > > CPU? e.g: edit/compile/build image/reset board. What kind of > > > > > bootloader should i use? > > > > > > > > > > Thanks in advance. Sorry for the kind of lame questions. > > > > > > > > > > > > > Hi, > > > > > > > > It all depends of what your board is. > > > > Generally speaking, you won't be able to run FreeBSD, because each board is > > > > too different. > > > > What is on the CVS should support the Assabet board, as this is what Simics > > > > emulate, however I have no clue on how to get FreeBSD on it, as Simics was > > > > loading the kernel for me. > > > > These days, I'm working with an IQ31244 (if you have an IQ80321, it should be > > > > fine too). I cross-build the kernel on an i386 box (gcc/binutils in the base > > > > does not support arm, but I provide patches for that), and use Redboot to > > > > bootp, download the kernel via TFTP and run it (for some definition of run). > > > > > > Thanks for answers. Where could i get your patches(if it is > > > possible, of course)? Are devel/arm-elf-* ports is good enough for > > > kernel cross-building? > > > > > > > > > > Patches against latest current are available here : (I've never try to apply > > them since the gcc 3.4.2 import, so maybe it lacks something, so please let me > > now if it doesn't work) : > .. a lot of usefull info skipped .. > Thanks for help, i'll try to build kernel tonight. > (I'm in the process of re-generating patches for gcc, in order to be able to do a full buildworld, I'll place them in people.FreeBSD.org/~cognet soon). > > Just out of curiosity, what board(s) do you have access to ? > Ugh, it is big and gray :) Im a kind of newbie in the area > of development boards, so i could be wrong, but it seems to be > Intel PXA27x Processor Developer's Kit. > Nice board indeed ! But FreeBSD won't run on it yet (neither will NetBSD). Each arm sub-arch is different enough to require some amount of hackery. If you wish to provide help making FreeBSD run on your board, you'd be more than welcome :-) Cheers, Olivier