Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 25 Aug 2010 14:58:05 -0700
From:      Patrick Mahan <PMahan@adaranet.com>
To:        Juli Mallett <jmallett@FreeBSD.org>
Cc:        "freebsd-mips@FreeBSD.org" <freebsd-mips@freebsd.org>
Subject:   RE: Is the MIPS kernel buildable from HEAD?
Message-ID:  <32AB5C9615CC494997D9ABB1DB12783C024C8755C6@SJ-EXCH-1.adaranet.com>
In-Reply-To: <AANLkTinhMdBVKEr2dNETKF=aBAu%2B1yTCq_2dk97LGVng@mail.gmail.com>
References:  <32AB5C9615CC494997D9ABB1DB12783C024C875590@SJ-EXCH-1.adaranet.com> <20100825.151325.645538350615354761.imp@bsdimp.com> <32AB5C9615CC494997D9ABB1DB12783C024C8755B1@SJ-EXCH-1.adaranet.com> <AANLkTinhMdBVKEr2dNETKF=aBAu%2B1yTCq_2dk97LGVng@mail.gmail.com>

next in thread | previous in thread | raw e-mail | index | archive | help


> -----Original Message-----
> From: juli@clockworksquid.com [mailto:juli@clockworksquid.com] On Behalf =
Of
> Juli Mallett
> Sent: Wednesday, August 25, 2010 2:48 PM
> To: Patrick Mahan
> Cc: M. Warner Losh; freebsd-mips@FreeBSD.org
> Subject: Re: Is the MIPS kernel buildable from HEAD?
>
> Hi Patrick,
>
> Those aren't errors per se; if nothing is happening after that,
> something else is wrong.  If you aren't using a recent U-Boot, I
> suggest installing a recent U-Boot.  If you are using a recent U-Boot
> and know how to recompile it, I can send you patches that might help.
> There is an unused data structure, linux_app_boot_info_t, which
> clobbers some of the memory used for launching multiple processors in
> U-Boot 1.9.0.  I have patches to remove it if you would like to give
> that a try.
>

Hi Juli,

Okay, I was going on with what I was seeing here versus what I see when
we boot our internal FreeBSD 8.0 MIPS32 image we are building.

I'm using the u-boot that comes with the eval board -

U-Boot 1.1.1 (Development build) (Build time: Feb  6 2009 - 12:34:20)

EBT5800 board revision major:2, minor:0, serial #: 2008-2.0-00308
OCTEON CN5860-NSP pass 2.0, Core clock: 750 MHz, DDR clock: 400 MHz (800 Mh=
z dat
a rate)
DRAM:  2048 MB
Flash:  8 MB
Clearing DRAM........ done
BIST check passed.
Net:   octeth0, octeth1, octeth2, octeth3
 Bus 0 (CF Card): OK

  ide 0: Model: CF 1GB Firm: 20071116 Ser#: TSS25014080506093731
            Type: Removable Hard Disk
            Capacity: 967.6 MB =3D 0.9 GB (1981728 x 512)
Octeon ebt5800#

We never see any of those errors when booting our image.

Thanks,

Patrick

> Thanks,
> Juli.
>
> On Wed, Aug 25, 2010 at 14:34, Patrick Mahan <PMahan@adaranet.com> wrote:
> > Warner,
> >
> > I'm trying to build it for a Cavium eval board EBT5800 -  and I am
> getting
> > the following error(s):
> >
> > Octeon ebt5800# bootoctlinux 20000000
> > ELF file is 32 bit
> > Skipping non LOAD program header (type 0x6)
> > Skipping non LOAD program header (type 0x3)
> > Skipping non LOAD program header (type 0x70000000)
> >
> >
> > Have you seen this?
> >
> > This is trying to build it with OCTEON1-32 configuration file.
> >
> > Thanks,
> >
> > Patrick
> >
> >> -----Original Message-----
> >> From: M. Warner Losh [mailto:imp@bsdimp.com]
> >> Sent: Wednesday, August 25, 2010 2:13 PM
> >> To: Patrick Mahan
> >> Cc: freebsd-mips@FreeBSD.org
> >> Subject: Re: Is the MIPS kernel buildable from HEAD?
> >>
> >> In message: <32AB5C9615CC494997D9ABB1DB12783C024C875590@SJ-EXCH-
> >> 1.adaranet.com>
> >>             Patrick Mahan <PMahan@adaranet.com> writes:
> >> : Is it possible to build the MIPS kernel from HEAD?  Or is the
> >> : current development still external to the HEAD branch?
> >>
> >> Yes.  The tip of head is where the mips action is these days.  There
> >> is no external development branch.
> >>
> >> There is one issue, however.  If you are building for one of the
> >> 64-bit processors a 64-bit kernel, then the required userland won't
> >> build.  There's still issues that need to be sorted out...
> >>
> >> Warner
> > _______________________________________________
> > freebsd-mips@freebsd.org mailing list
> > http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> > To unsubscribe, send any mail to "freebsd-mips-unsubscribe@freebsd.org"
> >



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?32AB5C9615CC494997D9ABB1DB12783C024C8755C6>