From owner-freebsd-arm@FreeBSD.ORG Tue Dec 4 18:04:10 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 3C6D816A421 for ; Tue, 4 Dec 2007 18:04:10 +0000 (UTC) (envelope-from hselasky@c2i.net) Received: from swip.net (mailfe09.swipnet.se [212.247.155.1]) by mx1.freebsd.org (Postfix) with ESMTP id 4249013C46A for ; Tue, 4 Dec 2007 18:04:08 +0000 (UTC) (envelope-from hselasky@c2i.net) X-Cloudmark-Score: 0.000000 [] Received: from [85.19.218.45] (account mc467741@c2i.net [85.19.218.45] verified) by mailfe09.swip.net (CommuniGate Pro SMTP 5.1.13) with ESMTPA id 545591946; Tue, 04 Dec 2007 19:04:06 +0100 From: Hans Petter Selasky To: freebsd-arm@freebsd.org Date: Tue, 4 Dec 2007 19:04:36 +0100 User-Agent: KMail/1.9.7 References: <61569.212.202.40.215.1196770007.squirrel@webmail.alpha-tierchen.de> In-Reply-To: <61569.212.202.40.215.1196770007.squirrel@webmail.alpha-tierchen.de> MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable Content-Disposition: inline Message-Id: <200712041904.37074.hselasky@c2i.net> Cc: =?iso-8859-1?q?Bj=F6rn_K=F6nig?= Subject: Re: Setting up an AT91RM9200 based board (KB9202B) with FreeBSD 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, 04 Dec 2007 18:04:10 -0000 On Tuesday 04 December 2007, Bj=F6rn K=F6nig wrote: > > On Mon, 03 Dec 2007 16:46:46 -0700 (MST) > > > > "M. Warner Losh" wrote: > >> u-boot should be able to boot FreeBSD, but you may need to put the > >> kernel into the flash on the board. > > > > Interreting.. > > It might be that i tftp'ed the kernel into ram and then tried to > > boot it that went wrong. > > For example you can do it this way: > > Build a kernel with 'make buildkernel', put the ELF binary into TFTP root, > then run the following commands at u-boot prompt: > tftpboot 20000000 /kernel > erase 10040000 1043ffff > cp.b 20000000 10040000 0x$(filesize) > setenv freebsd cp.b 10040000 20000000 $(filesize)\; go 200000e0 > saveenv > > Now you can boot the kernel from flash with > run freebsd > > This doesn't even require that u-boot supports ELF. > > Bj=F6rn Hi, I've updated the wiki accordingly. http://wiki.freebsd.org/FreeBSDAtmel Let me know if I got anything wrong. =2D-HPS