From owner-freebsd-arm@FreeBSD.ORG Mon Mar 25 05:35:08 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 064133EF for ; Mon, 25 Mar 2013 05:35:08 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from mail-pd0-f178.google.com (mail-pd0-f178.google.com [209.85.192.178]) by mx1.freebsd.org (Postfix) with ESMTP id D9FC8AF6 for ; Mon, 25 Mar 2013 05:35:07 +0000 (UTC) Received: by mail-pd0-f178.google.com with SMTP id u10so2361512pdi.37 for ; Sun, 24 Mar 2013 22:35:07 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=20120113; h=x-received:sender:from:content-type:content-transfer-encoding :subject:date:message-id:to:mime-version:x-mailer:x-gm-message-state; bh=eM5hpzeYi33TU8ZuhBiqzRz8l5IBL0XlvNgg076OntY=; b=YH0ohDWUTwtWbuidHLj39civ5IgK7eje8LoKufpX9tynZm4iGETuwAOhix9eWVq/gU 3Q0FWxVLKs8Y7efavph28F9A9GamMQf6XKyaEkXi/QGmb58/z6msHqH5uMT6ctaSgkT/ fjaa8l1Py0T3RwS7QpGlPnlLyv+AMZxcgx7sRzF01vHhPVFZzt3+socMO/ojl4NhGIAw h0li9q7x3hNya3wNzPo+nmmE88QgdMFXFyT4Yx6m7YttSa6igwbnvHNbHqGUyP+wZ+ni xms+t3PC9qVO7dRpYIQrHKZ/gF/3G6bjH9QlFHkGl2IlRm9EP33514g457jvdhmml3Kk Pt/Q== X-Received: by 10.68.211.37 with SMTP id mz5mr15891196pbc.83.1364189707062; Sun, 24 Mar 2013 22:35:07 -0700 (PDT) Received: from [192.168.2.123] (99-74-169-43.lightspeed.sntcca.sbcglobal.net. [99.74.169.43]) by mx.google.com with ESMTPS id y1sm12063776pbg.10.2013.03.24.22.35.04 (version=TLSv1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sun, 24 Mar 2013 22:35:05 -0700 (PDT) Sender: Tim Kientzle From: Tim Kientzle Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit Subject: RFC: "Crochet" build tool Date: Sun, 24 Mar 2013 22:35:03 -0700 Message-Id: To: freebsd-arm@freebsd.org Mime-Version: 1.0 (Apple Message framework v1283) X-Mailer: Apple Mail (2.1283) X-Gm-Message-State: ALoCoQndsdUkvFI5HCH++9PR//sAOEaXZlQPJiTIKoc1P5uy7DvgXwXnkKOr5uuMKzDc1N0nJqkA 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: Mon, 25 Mar 2013 05:35:08 -0000 I've gone through another non-trivial round of refactoring for my build tool. Feedback appreciated. 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: https://github.com/kientzle/crochet-freebsd Config files from the earlier beaglebsd should still work. 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) 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. 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.) 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.) Tim 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.