Date: Tue, 4 Dec 2007 13:06:47 +0100 (CET) From: =?iso-8859-1?Q?Bj=F6rn_K=F6nig?= <bkoenig@alpha-tierchen.de> To: "Soeren Straarup" <xride@x12.dk> Cc: freebsd-arm@freebsd.org Subject: Re: Setting up an AT91RM9200 based board (KB9202B) with FreeBSD Message-ID: <61569.212.202.40.215.1196770007.squirrel@webmail.alpha-tierchen.de>
next in thread | raw e-mail | index | archive | help
> 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örn
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?61569.212.202.40.215.1196770007.squirrel>