From owner-freebsd-mips@FreeBSD.ORG Thu Aug 26 05:46:27 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 D6EF11065674 for ; Thu, 26 Aug 2010 05:46:27 +0000 (UTC) (envelope-from juli@clockworksquid.com) Received: from mail-wy0-f182.google.com (mail-wy0-f182.google.com [74.125.82.182]) by mx1.freebsd.org (Postfix) with ESMTP id 76B308FC0C for ; Thu, 26 Aug 2010 05:46:27 +0000 (UTC) Received: by wyb33 with SMTP id 33so1999563wyb.13 for ; Wed, 25 Aug 2010 22:46:26 -0700 (PDT) Received: by 10.227.136.146 with SMTP id r18mr8343088wbt.53.1282801586309; Wed, 25 Aug 2010 22:46:26 -0700 (PDT) MIME-Version: 1.0 Sender: juli@clockworksquid.com Received: by 10.216.5.5 with HTTP; Wed, 25 Aug 2010 22:46:06 -0700 (PDT) In-Reply-To: <20100825.232923.287595822763821210.imp@bsdimp.com> References: <32AB5C9615CC494997D9ABB1DB12783C024C875590@SJ-EXCH-1.adaranet.com> <20100825.151325.645538350615354761.imp@bsdimp.com> <20100825.232923.287595822763821210.imp@bsdimp.com> From: Juli Mallett Date: Wed, 25 Aug 2010 22:46:06 -0700 X-Google-Sender-Auth: x0zWgEa2t7c8RLxUcP3Mwh7Copw Message-ID: To: "M. Warner Losh" Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: PMahan@adaranet.com, 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: Thu, 26 Aug 2010 05:46:27 -0000 On Wed, Aug 25, 2010 at 22:29, M. Warner Losh wrote: > I can now build a n64 world in -current. =A0I haven't had a chance to > run it yet, but hope to soon. =A0My CN38xx board doesn't like the 32-bit > kernel anymore... =A0It also doesn't like the 64-bit kernel, but I think > that's a uboot issue. =A0It seems older ldscripts didn't tickle the bugs > the current one does (on the other hand, the old ldscripts only worked > on the CN38xx board). =A0On the other hand, SDK 1.9.0's uboot on another > board works fine with the 64-bit kernel. I'm having no trouble with kernel and world on two CN5020 boards and no trouble with starting the kernel on a CN5860-based board. The CN5860 board has problems I'm dealing with. That said, the two CN5020 boards are running with this patch to U-Boot, which I really did find was necessary because the address the (unused) data was stored at conflicts with the per-CPU storage area, IIRC. http://people.freebsd.org/~jmallett/no-labi.diff I have a more conservative ldscript that I can check in and move the Octeon kernel configurations to, which gets rid of the non-executable program headers that generate messages. All that really matters is that we not have multiple executable program headers because that completely breaks the Octeon ELF loading code. Juli.