From owner-freebsd-mips@FreeBSD.ORG Wed Aug 25 22:02:20 2010 Return-Path: Delivered-To: freebsd-mips@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 103031065675 for ; Wed, 25 Aug 2010 22:02:20 +0000 (UTC) (envelope-from PMahan@adaranet.com) Received: from barracuda.adaranet.com (smtp.adaranet.com [72.5.229.2]) by mx1.freebsd.org (Postfix) with ESMTP id E3C4B8FC22 for ; Wed, 25 Aug 2010 22:02:19 +0000 (UTC) X-ASG-Debug-ID: 1282773739-5061494c0001-TrbQWW Received: from SJ-EXCH-1.adaranet.com ([10.10.1.29]) by barracuda.adaranet.com with ESMTP id afuSmxuE3OiZ5vhi; Wed, 25 Aug 2010 15:02:19 -0700 (PDT) X-Barracuda-Envelope-From: PMahan@adaranet.com Received: from SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523]) by SJ-EXCH-1.adaranet.com ([fe80::7042:d8c2:5973:c523%14]) with mapi; Wed, 25 Aug 2010 15:02:19 -0700 From: Patrick Mahan X-Barracuda-BBL-IP: fe80::7042:d8c2:5973:c523 X-Barracuda-RBL-IP: fe80::7042:d8c2:5973:c523 To: "M. Warner Losh" Date: Wed, 25 Aug 2010 15:02:16 -0700 X-ASG-Orig-Subj: RE: Is the MIPS kernel buildable from HEAD? Thread-Topic: Is the MIPS kernel buildable from HEAD? Thread-Index: ActEnm89HhbWs5umSBGA9S6xpVr1gwAAjIOQ Message-ID: <32AB5C9615CC494997D9ABB1DB12783C024C8755CC@SJ-EXCH-1.adaranet.com> References: <32AB5C9615CC494997D9ABB1DB12783C024C875590@SJ-EXCH-1.adaranet.com> <20100825.151325.645538350615354761.imp@bsdimp.com> <32AB5C9615CC494997D9ABB1DB12783C024C8755B1@SJ-EXCH-1.adaranet.com> <20100825.154146.1055929314527823379.imp@bsdimp.com> In-Reply-To: <20100825.154146.1055929314527823379.imp@bsdimp.com> Accept-Language: en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: acceptlanguage: en-US Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: quoted-printable MIME-Version: 1.0 X-Barracuda-Connect: UNKNOWN[10.10.1.29] X-Barracuda-Start-Time: 1282773739 X-Barracuda-URL: http://172.16.10.203:8000/cgi-mod/mark.cgi X-Virus-Scanned: by bsmtpd at adaranet.com Cc: "freebsd-mips@FreeBSD.org" Subject: RE: Is the MIPS kernel buildable from HEAD? X-BeenThere: freebsd-mips@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Porting FreeBSD to MIPS List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 25 Aug 2010 22:02:20 -0000 > -----Original Message----- > From: M. Warner Losh [mailto:imp@bsdimp.com] > Sent: Wednesday, August 25, 2010 2:42 PM > To: Patrick Mahan > Cc: freebsd-mips@FreeBSD.org > Subject: Re: Is the MIPS kernel buildable from HEAD? > > In message: <32AB5C9615CC494997D9ABB1DB12783C024C8755B1@SJ-EXCH- > 1.adaranet.com> > Patrick Mahan writes: > : 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? > > Yes. What SDK are you using? > The SDK is 1.8.1, using uboot 1.1.1. > : This is trying to build it with OCTEON1-32 configuration file. > > I've loaded both OCTEON1 and OCTEON1-32 on a uboot from the 1.9.0 > SDK. I've had OCTEON1 fail on an older uboot. > Okay, that might be it. Not having recently retrieved an SDK from Cavium, what SDK version should I be using? Or should I just update uboot from outside Cavium sources? The LED display is showing 'TRAP' so I know something has died. I seem to recall there was something about the boot block pointer being invalid or NULL. Thanks, Patrick > warner > > : 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 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 > : > :