Is the MIPS kernel buildable from HEAD?
Patrick Mahan
PMahan at adaranet.com
Wed Aug 25 22:42:24 UTC 2010
> -----Original Message-----
> From: M. Warner Losh [mailto:imp at bsdimp.com]
> Sent: Wednesday, August 25, 2010 3:02 PM
> To: jmallett at FreeBSD.ORG
> Cc: Patrick Mahan; freebsd-mips at FreeBSD.ORG
> Subject: Re: Is the MIPS kernel buildable from HEAD?
>
> In message: <AANLkTinhMdBVKEr2dNETKF=aBAu+1yTCq_2dk97LGVng at mail.gmail.com>
> Juli Mallett <jmallett at FreeBSD.org> writes:
> : 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.
>
> I've also noticed that each of the boards have a different load
> address. Maybe 200000000 isn't right for your hardware?
>
It is what we have been using successfully here.
Octeon ebt5800# printenv loadaddr
loadaddr=0x20000000
Patrick
>
> : Thanks,
> : Juli.
> :
> : On Wed, Aug 25, 2010 at 14:34, Patrick Mahan <PMahan at 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 at bsdimp.com]
> : >> Sent: Wednesday, August 25, 2010 2:13 PM
> : >> To: Patrick Mahan
> : >> Cc: freebsd-mips at FreeBSD.org
> : >> Subject: Re: Is the MIPS kernel buildable from HEAD?
> : >>
> : >> In message: <32AB5C9615CC494997D9ABB1DB12783C024C875590 at SJ-EXCH-
> : >> 1.adaranet.com>
> : >> Patrick Mahan <PMahan at 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 at freebsd.org mailing list
> : > http://lists.freebsd.org/mailman/listinfo/freebsd-mips
> : > To unsubscribe, send any mail to "freebsd-mips-unsubscribe at freebsd.org"
> : >
> :
> :
More information about the freebsd-mips
mailing list