From owner-freebsd-arm@FreeBSD.ORG Sun Apr 20 17:43:42 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id 09A2F3ED for ; Sun, 20 Apr 2014 17:43:42 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id B7C1013D7 for ; Sun, 20 Apr 2014 17:43:40 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id s3KHRa4c090541; Sun, 20 Apr 2014 17:27:36 GMT (envelope-from kientzle@freebsd.org) Received: from [192.168.2.101] (192.168.1.66 [192.168.1.66]) by kientzle.com with SMTP id yx6eiihuz2c5yd9wbutzu6829s; Sun, 20 Apr 2014 17:27:36 +0000 (UTC) (envelope-from kientzle@freebsd.org) Content-Type: text/plain; charset=us-ascii Mime-Version: 1.0 (Mac OS X Mail 7.2 \(1874\)) Subject: Today's Crochet fixes From: Tim Kientzle In-Reply-To: Date: Sun, 20 Apr 2014 10:27:36 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <24AD766C-FA11-45AD-94B3-7C99EBF53FD0@freebsd.org> References: To: Winston Smith , FreeBSD ARM X-Mailer: Apple Mail (2.1874) X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.17 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 20 Apr 2014 17:43:42 -0000 I just pushed a couple of changes to Crochet that I thought folks would = be especially interested in: * All boards: Corrected instructions for building xdev tools. The instructions printed out by Crochet now include the right flags for building a correct GCC cross-compiler. With this, I've been able to build a working BeagleBone image on a fresh stock install = of FreeBSD/amd64 11-CURRENT r260789. * BeagleBone: Added a "copy-to-emmc.sh" script to root's home directory After logging in as root, try: /bin/sh copy-to-emmc.sh It will print scary warnings about erasing things. If you go ahead, it will reformat the eMMC and copy the system from SD to eMMC. Suggestions for improvements appreciated. Things I'm interested in help with: * Updating U-Boot for BeagleBone to a newer snapshot (Including migrating Patrick Kelsey's patches to support eMMC = booting) * Building U-Boot with clang (Winston Smith claims it "just works" if you have new enough U-Boot sources; I've not yet tried to = reproduce this. If it works as well as I hope, it will take a while to update U-Boot = sources for each Crochet-supported board.) * We're using geom_label for BeagleBone fstab now; would appreciate if someone could add this to the stock kernel configs. * Diane Bruce fixed the sysutils/u-boot-beaglebone-eabi port so it builds again. I've not yet tested to see if Crochet can generate a bootable image using it. It definitely lacks the newer patches that are in the Crochet-built version of U-Boot for BeagleBone. If this can be cleaned up, it should provide a template for migrating U-Boot for other boards into ports. * Testing other boards: RPi, PandaBoard, WandBoard, etc. If you play with any of the above, please let me know what you find. As always, patches are very welcome, pull requests even more so. Cheers, Tim