From owner-freebsd-arm@FreeBSD.ORG Tue Sep 18 21:39:18 2007 Return-Path: Delivered-To: freebsd-arm@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 9CD7616A418 for ; Tue, 18 Sep 2007 21:39:18 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from mta02.xtra.co.nz (mta02.xtra.co.nz [210.54.141.253]) by mx1.freebsd.org (Postfix) with ESMTP id 3BFCE13C4EC for ; Tue, 18 Sep 2007 21:39:17 +0000 (UTC) (envelope-from andrew@fubar.geek.nz) Received: from fep03.xtra.co.nz ([172.23.12.31]) by mta01.xtra.co.nz with ESMTP id <20070918210526.DOLO3767.mta01.xtra.co.nz@fep03.xtra.co.nz>; Wed, 19 Sep 2007 09:05:26 +1200 Received: from serv.int.fubar.geek.nz ([219.89.91.5]) by fep03.xtra.co.nz with ESMTP id <20070918210525.NYDS27104.fep03.xtra.co.nz@serv.int.fubar.geek.nz>; Wed, 19 Sep 2007 09:05:25 +1200 Date: Wed, 19 Sep 2007 09:05:24 +1200 From: Andrew Turner To: "M. Warner Losh" Message-ID: <20070919090524.4eede8e3@hermies.int.fubar.geek.nz> In-Reply-To: <20070918.075431.146407018.imp@bsdimp.com> References: <20070918115334.569521c1@sol.hackerzberg.local> <20070918.075431.146407018.imp@bsdimp.com> X-Mailer: Claws Mail 2.10.0 (GTK+ 2.10.14; i386-portbld-freebsd6.2) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Cc: freebsd-arm@FreeBSD.ORG, marius.nuennerich@gmx.net Subject: Re: Porting FreeBSD to the Neo1973 (arm920t) 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: Tue, 18 Sep 2007 21:39:18 -0000 On Tue, 18 Sep 2007 07:54:31 -0600 (MDT) "M. Warner Losh" wrote: > Are there instructions for that posted somewhere. Last time I tried > to get it going I hit all kinds of snags. I used: $ svn checkout https://svn.openmoko.org/trunk/src/host/qemu-neo1973 $ cd qemu-neo1973 $ ./configure --target-list=arm-softmmu $ gmake Lines 49 and 50 of gnokiigsm/device.h will need to be commented out. If you are running -CURRENT you will need to install the lang/gcc34 port and add "--cc=/usr/local/bin/gcc34" to the end of the configure line. > > : Any idea what to do next? How to get the uart working? And how to > tell : the kernel to use it as console? > > Chances are very good that you'll need more than just the uart. The > uart for the samsung devices will need a driver written for it. > You'll also need to initialize memory in some way that's unique for > this SoC Currently the processor specific code is just stub's to get the kernel to compile. The problem is getting information out of the emulator without a working UART or framebuffer. > > : Many Thanks > : Marius > : > : P.S. Should I have posted this to freebsd-arm? > > This is radically cool! > > I'd love to see FreeBSD going on this phone, and would help out as > best I can. I was going to buy one, but my cash flow won't allow it > until I can sell some real estate :-(. Wait until the next version is out, I have a current release phone that can be used to test FreeBSD on. Andrew -- Andrew Turner http://fubar.geek.nz/blog/