From owner-freebsd-arm@FreeBSD.ORG Mon Aug 11 02:27:47 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 DF67FA49 for ; Mon, 11 Aug 2014 02:27:47 +0000 (UTC) Received: from mho-01-ewr.mailhop.org (mho-03-ewr.mailhop.org [204.13.248.66]) (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 B1AE62CFA for ; Mon, 11 Aug 2014 02:27:47 +0000 (UTC) Received: from [73.34.117.227] (helo=ilsoft.org) by mho-01-ewr.mailhop.org with esmtpsa (TLSv1:AES256-SHA:256) (Exim 4.72) (envelope-from ) id 1XGfKl-000E62-T6; Mon, 11 Aug 2014 02:27:40 +0000 Received: from [172.22.42.240] (revolution.hippie.lan [172.22.42.240]) by ilsoft.org (8.14.9/8.14.9) with ESMTP id s7B2Rcbm026694; Sun, 10 Aug 2014 20:27:38 -0600 (MDT) (envelope-from ian@FreeBSD.org) X-Mail-Handler: Dyn Standard SMTP by Dyn X-Originating-IP: 73.34.117.227 X-Report-Abuse-To: abuse@dyndns.com (see http://www.dyndns.com/services/sendlabs/outbound_abuse.html for abuse reporting information) X-MHO-User: U2FsdGVkX19eKL1LD0Hin2/KdgvgnILH X-Authentication-Warning: paranoia.hippie.lan: Host revolution.hippie.lan [172.22.42.240] claimed to be [172.22.42.240] Subject: Re: What platform do you use? From: Ian Lepore To: Tim Kientzle In-Reply-To: References: <7EC2AB25-5949-40BF-A5AA-BF4C98F3F640@bsdimp.com> <20140805182438.GP88623@funkthat.com> <53E3E2C7.9000802@hot.ee> <24403276-D738-4CB1-A3BE-BBB72D4370C6@bsdimp.com> <724D10EE-F6DF-4366-91CF-AE4419847389@gromit.dlib.vt.edu> Content-Type: text/plain; charset="us-ascii" Date: Sun, 10 Aug 2014 20:27:37 -0600 Message-ID: <1407724057.56408.461.camel@revolution.hippie.lan> Mime-Version: 1.0 X-Mailer: Evolution 2.32.1 FreeBSD GNOME Team Port Content-Transfer-Encoding: 7bit Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 11 Aug 2014 02:27:47 -0000 On Fri, 2014-08-08 at 21:11 -0700, Tim Kientzle wrote: > On Aug 8, 2014, at 6:35 AM, Paul Mather wrote: > > > > > It would be handy for those of us wanting to cross-build FreeBSD/arm > > for someone who is familiar with the build process to give a quick > > example of how to update a FreeBSD/arm installation that is cross-built > > on another system. > > Personally, I use native "make buildworld buildkernel" and > let it run over the weekend. ;-) > > I know a lot of people are happy with NFS mounts, but > here are two other options that may prove attractive > to some people: > > * For systems that boot from SD card: > Cross-build a new system, mount the SD card onto the > build host, and then update the SD card image with > make ARCH=armv6 DESTDIR=/mnt/ installworld > A slight variation on this can save some time: create a dir to hold a copy of your sdcard root filesystem on your crossbuild host, and use it for the install, then rsync it to the sdcard: make TARGET_ARCH=armv6 DESTDIR=~/bbroot installworld installkernel mount /dev/da0s2a /mnt rsync -vaxH ~/bbroot/ /mnt/ umount /mnt This gets you the rsync "binary diff" speedup of only writing files that actually changed, and it's writing that's typically slow on sdcards. -- Ian