Date: Tue, 4 Dec 2007 19:04:36 +0100 From: Hans Petter Selasky <hselasky@c2i.net> To: freebsd-arm@freebsd.org Cc: =?iso-8859-1?q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de> Subject: Re: Setting up an AT91RM9200 based board (KB9202B) with FreeBSD Message-ID: <200712041904.37074.hselasky@c2i.net> In-Reply-To: <61569.212.202.40.215.1196770007.squirrel@webmail.alpha-tierchen.de> References: <61569.212.202.40.215.1196770007.squirrel@webmail.alpha-tierchen.de>
next in thread | previous in thread | raw e-mail | index | archive | help
On Tuesday 04 December 2007, Bj=F6rn K=F6nig wrote: > > On Mon, 03 Dec 2007 16:46:46 -0700 (MST) > > > > "M. Warner Losh" <imp@bsdimp.com> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200712041904.37074.hselasky>