From owner-freebsd-current@FreeBSD.ORG Wed May 13 17:51:01 2009 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 924411065679; Wed, 13 May 2009 17:51:01 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from ebb.errno.com (ebb.errno.com [69.12.149.25]) by mx1.freebsd.org (Postfix) with ESMTP id 68D328FC13; Wed, 13 May 2009 17:51:01 +0000 (UTC) (envelope-from sam@freebsd.org) Received: from trouble.errno.com (trouble.errno.com [10.0.0.248]) (authenticated bits=0) by ebb.errno.com (8.13.6/8.12.6) with ESMTP id n4DHp0V4004803 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Wed, 13 May 2009 10:51:00 -0700 (PDT) (envelope-from sam@freebsd.org) Message-ID: <4A0B0884.7020901@freebsd.org> Date: Wed, 13 May 2009 10:51:00 -0700 From: Sam Leffler Organization: FreeBSD Project User-Agent: Thunderbird 2.0.0.21 (X11/20090411) MIME-Version: 1.0 To: Jon Loeliger References: <20090513170028.GA96051@citylink.fud.org.nz> In-Reply-To: Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-DCC-x.dcc-servers-Metrics: ebb.errno.com; whitelist Cc: freebsd-current@freebsd.org, Andrew Thompson Subject: Re: Building boot2 for ixp425 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 May 2009 17:51:02 -0000 Jon Loeliger wrote: >> >> Are you sure your cross compile toolchain is built? >> > > I just build the whole set using the nanobsd.sh mechanism. > It resulted in an arm kernel, so I'm assuming the toolchain > is available. > > That said, I'm not sure how to *point* to it... > > Which may be the issue at the heart of my "Follow up question"? > The wiki instructions assume you've first done a cross-buildworld which sets up the toolchain required for the subsequent buildkernel and boot2 build. I can't recall if buildkernel will build a toolchain if it's not available but I do recall that boot2 will not build w/o a full toolchain build because it drags in something the kernel does not. I think "make toolchain" will get the bits required. The nanobsd build results will not be used because they go in a different tree under /usr/obj (if I recall). These instructions were written pre-nanobsd support and likely need some TLC and/or need to be split up. Sam