Bootstraps for Mips/OCTEON platforms

Juli Mallett jmallett at FreeBSD.org
Fri Feb 18 23:02:25 UTC 2011


On Fri, Feb 18, 2011 at 14:55, Warner Losh <imp at 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.


More information about the freebsd-mips mailing list