From owner-freebsd-arm@FreeBSD.ORG Tue Mar 26 14:15:32 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id 8251C2A3; Tue, 26 Mar 2013 14:15:32 +0000 (UTC) (envelope-from gnn@neville-neil.com) Received: from vps.hungerhost.com (vps.hungerhost.com [216.38.53.176]) by mx1.freebsd.org (Postfix) with ESMTP id 49B8BF87; Tue, 26 Mar 2013 14:15:32 +0000 (UTC) Received: from [209.249.190.124] (port=59480 helo=gnnmac.hudson-trading.com) by vps.hungerhost.com with esmtpsa (TLSv1:AES128-SHA:128) (Exim 4.80) (envelope-from ) id 1UKUex-0008RO-QM; Tue, 26 Mar 2013 10:15:31 -0400 Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 6.3 \(1503\)) Subject: Re: RFC: "Crochet" build tool From: George Neville-Neil In-Reply-To: Date: Tue, 26 Mar 2013 10:15:32 -0400 Content-Transfer-Encoding: quoted-printable Message-Id: <5DFA61DB-70E4-4C3D-ACA0-995A175706C8@neville-neil.com> References: To: Tim Kientzle X-Mailer: Apple Mail (2.1503) X-AntiAbuse: This header was added to track abuse, please include it with any abuse report X-AntiAbuse: Primary Hostname - vps.hungerhost.com X-AntiAbuse: Original Domain - freebsd.org X-AntiAbuse: Originator/Caller UID/GID - [47 12] / [47 12] X-AntiAbuse: Sender Address Domain - neville-neil.com X-Get-Message-Sender-Via: vps.hungerhost.com: authenticated_id: gnn@neville-neil.com Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 26 Mar 2013 14:15:32 -0000 On Mar 25, 2013, at 1:35 , Tim Kientzle wrote: > I've gone through another non-trivial round of refactoring > for my build tool. Feedback appreciated. >=20 > Most obviously, I've renamed the tool "Crochet" (to remove > any implication that it is BeagleBone specific) and > migrated it to a different github repository: >=20 > https://github.com/kientzle/crochet-freebsd >=20 > Config files from the earlier beaglebsd should still work. >=20 > The biggest internal change: I've completely rethought > how partitioning is handled. Instead of creating and populating > each partition, it's now structured as: > * Create all partitions > * Mount all partitions > * Populate each logical filesystem (boot and freebsd) >=20 > In particular, it should be much easier to do complex > partitioning with this structure. I've also added a few > more customization hooks, refactored some of the board > code, improved error handling, and added a lot more > documentation. >=20 > I've spent the last week verifying that this version can > build bootable images for RaspberryPi, BeagleBone, > and Pandaboard ES. (I don't have any other boards > to try with.) >=20 > It also has two special board definitions: > * NewBoardExample is a skeleton that can be cloned > and used as a (thoroughly-commented) starting point > for new board definitions. > * BeagleBonePlusRaspberryPi is a proof-of-concept > for a single image that can boot on more than one board. > (There's a chunk of kernel work yet to be done before > this really works. This just proves out the boot bits.) >=20 > Tim >=20 > P.S. The name "crochet" was developed partly by searching > for " FreeBSD" for a bunch of different candidate names. > After only a week, my github repository is already the top three > Google hits for "crochet freebsd," so the name seems to be working. >=20 Hi Tim, I think this is some good stuff, but, I am wondering, can we figure out = a better way to integrate this into the main FreeBSD tree? We have, over the years, = had various ways of building images for embedded FreeBSD, such as pico and nanobsd etc. = The thing that would really help most is to make all this main stream and = "just part of the build" even if it's just putting the scripts in some simple interior = location. Have you given much thought to that? That being said, I'll try this set of scripts out soon. Thanks, George