Date: Fri, 18 Feb 2011 15:02:04 -0800 From: Juli Mallett <jmallett@FreeBSD.org> To: Warner Losh <imp@bsdimp.com> Cc: freebsd-mips@freebsd.org Subject: Re: Bootstraps for Mips/OCTEON platforms Message-ID: <AANLkTimMZY=Lkum6Wf5vNftw9ycfDHQBDbi0pNdamHTW@mail.gmail.com> In-Reply-To: <4D5EF8CA.5010008@bsdimp.com> References: <AC6674AB7BC78549BB231821ABF7A9AE9409045F43@EMBX01-WF.jnpr.net> <4D5EF8CA.5010008@bsdimp.com>
index | next in thread | previous in thread | raw e-mail
On Fri, Feb 18, 2011 at 14:55, Warner Losh <imp@bsdimp.com> wrote: > On 02/18/2011 12:08, Andrew Duane wrote: >> >> I'm starting at ground zero (almost) with an Octeon based platform related >> to the OCTEON1 config in the -CURRENT. The board uses an existing MIPS >> bootstrap and loader, but that does not seem to be compatible with what the >> kernel expects. What bootstrap is used normally? u-boot? > > u-boot is what we support. There's no other support in the codebase right > now. uboot gives us: > > in a3 is passed in the cavium hardware descriptor. All other registers are > ignored on boot. We only support version 6 and newer of the boot > descriptor. You can see the details of the structure in > sys/mips/cavium/octeon_machdep.c starting with platform_start(). It's worth noting that we don't use the Simple Executive ELF Application calling convention but the Octeon Linux one, so 'bootoctlinux' should be used instead of 'bootoctelf'. Juli.help
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTimMZY=Lkum6Wf5vNftw9ycfDHQBDbi0pNdamHTW>
