From owner-freebsd-current@FreeBSD.ORG Tue Dec 20 16:13:50 2011 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 0A405106564A for ; Tue, 20 Dec 2011 16:13:50 +0000 (UTC) (envelope-from yanegomi@gmail.com) Received: from mail-tul01m020-f182.google.com (mail-tul01m020-f182.google.com [209.85.214.182]) by mx1.freebsd.org (Postfix) with ESMTP id C388C8FC15 for ; Tue, 20 Dec 2011 16:13:49 +0000 (UTC) Received: by obbwd18 with SMTP id wd18so3826050obb.13 for ; Tue, 20 Dec 2011 08:13:49 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=mime-version:in-reply-to:references:date:message-id:subject:from:to :cc:content-type:content-transfer-encoding; bh=zqRsDfE3VzpG4C+LRNyLplOrWjpNey3J+xu9jByW0YM=; b=ZuXeVEjsmo0Hin+0EXtOuiUFEV2K+ElOhGMNGkJJUMSA/YeOvoxzRzQcbTsuL2DCmc TZYbGjmLPLamFpt7KZ6MUTRKS+O/F/OmvhEF6NIYAUEc3zZ1Fg+2Nsz6/MHn4Scykc6/ uSOxh2YsNrGxltFOyMwykYrenAngJb1tBP7V0= MIME-Version: 1.0 Received: by 10.182.231.38 with SMTP id td6mr2203727obc.66.1324397629230; Tue, 20 Dec 2011 08:13:49 -0800 (PST) Received: by 10.182.62.227 with HTTP; Tue, 20 Dec 2011 08:13:48 -0800 (PST) In-Reply-To: References: <20111219224545.GA22631@onelab2.iet.unipi.it> Date: Tue, 20 Dec 2011 08:13:48 -0800 Message-ID: From: Garrett Cooper To: =?ISO-8859-1?Q?Olivier_Cochard=2DLabb=E9?= Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Cc: Luigi Rizzo , current@freebsd.org Subject: Re: cross-arch building picobsd/nanobsd images ? 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: Tue, 20 Dec 2011 16:13:50 -0000 2011/12/20 Olivier Cochard-Labb=E9 : > On Mon, Dec 19, 2011 at 11:45 PM, Luigi Rizzo wrote: >> >> On a related topic, does anyone have experience on cross-building >> nanobsd images ? Hello Mr. Olivier! > I using "little" cross-building nanobsd images (i386 on amd64 and vice ve= rsa). > All my patchs for nanobsd are available on BSD Router Project > (http://bsdrp.net) including a patch for compiling ports from nanobsd > too. Yeah, FreeNAS 8.x employs a similar semi-hacky way of doing a full-blown chroot with a clean environment setup [that you might want to steal ;)..[1]] > Right now I'm working on adding cross-build mips (RouterStation Pro) > nanobsd patch but without the "compiling ports" feature, because I can > only cross-compile word/kernel and I didn't know how to cross-compile > ports. Let's work together on this. It's a non-trivial project that I'd like to see come true for FreeNAS to build an ARM platform on x86 hardware (someday..). Also, I'd pick up some of the recent changes we made to nanobsd [2] -- it might help your cause. Cheers, -Garrett 1. http://freenas.svn.sourceforge.net/viewvc/freenas/trunk/nanobsd/common (look for the CR function; follow the history back for credits to the original inspiration). 2. http://freenas.svn.sourceforge.net/viewvc/freenas/trunk/build/nanobsd/